Project

General

Profile

Actions

tickets #127292

open

dub (pkg mgr as part of the D programming language ecosystem): currently does not buid on s390x

Added by hrauch about 1 year ago. Updated 12 months ago.

Status:
Blocked
Priority:
Normal
Assignee:
Category:
Bugs
Target version:
-
Start date:
2023-04-06
Due date:
% Done:

0%

Estimated time:
Tags:

Description

A certain assertion can't be fulfilled
(TODO: add precise error message)


Related issues 1 (1 open0 closed)

Related to ZSystems - tickets #127301: ldc 1.32.0 build with LLVM15 fails with "Platform not supported" for the druntime (Phobos) libraryBlockedhrauch2023-04-06

Actions
Actions #1

Updated by hrauch about 1 year ago

  • Status changed from New to Workable
Actions #2

Updated by hrauch about 1 year ago

  • Status changed from Workable to In Progress
Actions #3

Updated by hrauch about 1 year ago

Here's the exact error message with respect to the failing assertion:

[  398s] + gdmd -g -ofbin/dub -w -O -version=DubUseCurl -Isource -L-lcurl @build-files.txt
[  757s] 
[  990s] 
[ 1102s] Serializing composite type Flags!(BuildRequirement) which has no serializable fields
[ 1105s] Serializing composite type Flags!(BuildOption) which has no serializable fields
[ 1125s] source/dub/internal/dyaml/stdsumtype.d:2053:13: error: static assert:  "`handlers[0]` of type `template` never matches"
[ 1125s]  2053 |             static assert(matches[].canFind(hid),
[ 1125s]       |             ^
[ 1125s] source/dub/internal/dyaml/stdsumtype.d:1717:52: note: instantiated from here: 'matchImpl!(const(SumType!(NativePath, Version)))'
[ 1125s]  1717 |         return matchImpl!(Yes.exhaustive, handlers)(args);
[ 1125s]       |                                                    ^
[ 1125s] source/dub/commandline.d:2333:43: note: instantiated from here: 'match!(const(SumType!(NativePath, Version)))'
[ 1125s]  2333 |                                 ovr.target.match!(
[ 1125s]       |                                           ^
[ 1126s] 
[ 1226s] error: Bad exit status from /var/tmp/rpm-tmp.gk3KYx (%build)
[ 1226s] 
[ 1226s] RPM build errors:
[ 1226s]     Bad exit status from /var/tmp/rpm-tmp.gk3KYx (%build)
[ 1231s] [ 1202.218365][    T1] sysrq: Power Off
[ 1231s] [ 1202.333638][  T272] reboot: Power down
[ 1231s] 
[ 1231s] oshrauch failed "build dub.spec" at Thu Apr  6 12:02:16 UTC 2023.
Actions #4

Updated by hrauch about 1 year ago

Seems to be a rather general bug with regard to gdmd/gdc (and still occurs with GCC13, at least on s390x), according to:
dub GH issue 2577

Actions #5

Updated by hrauch about 1 year ago

  • Status changed from In Progress to Blocked
Actions #6

Updated by hrauch about 1 year ago

  • Related to tickets #127301: ldc 1.32.0 build with LLVM15 fails with "Platform not supported" for the druntime (Phobos) library added
Actions #7

Updated by hrauch about 1 year ago

Explanation concernining the related issue:

  • We need a working D compiler (including its corresponding druntime library)
  • So far, building dub has been tested only using gdc/gdmd (as this is currently the only available D compiler for s390x)
Actions #8

Updated by hrauch 12 months ago

A SR für a new version of dub has been provided by another user: https://build.opensuse.org/request/show/1084000

Actions

Also available in: Atom PDF