Actions
tickets #127292
opendub (pkg mgr as part of the D programming language ecosystem): currently does not buid on s390x
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)
Updated by hrauch over 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.
Updated by hrauch over 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
Updated by hrauch over 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
Updated by hrauch over 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 usinggdc
/gdmd
(as this is currently the only available D compiler fors390x
)
Updated by hrauch over 1 year ago
A SR für a new version of dub has been provided by another user: https://build.opensuse.org/request/show/1084000
Actions