Cannot build raku-json-marshal
Timo Paulssen
timo+deb at wakelift.de
Sat Oct 26 20:13:07 BST 2024
On 10/25/24 18:19, Dominique Dumont wrote:
> Hi
>
> I have the same issue when building raku-json-marshal in a cowbuilder chroot,
> i.e. in an environment where the build is done with dependency packages
> freshly installed from Debian repo.
>
> It's possible that your podman envvironment is slightly different (may be raku
> build cache ?)
Very strange, on the VM I use to work on debian packaging, I can get the
same error you posted.
Crucially, a few screens up in the output is the output we all know and
love:
2 RMD: Repo changed:
0B7FD47236D9366049C402AFA4E70D782B06B731
BBA780ED8D1125A57AA76657C0C7AA52719C331C
Need to re-check dependencies.
2 RMD: Repo chain changed:
BBA780ED8D1125A57AA76657C0C7AA52719C331C
D1D3C187DB79D10CFA221132D50E3FAD221D083E
Need to re-check dependencies.
2 RMD: Loading precompiled
/usr/lib/perl6/vendor/precomp/AF50A328AB74BE48ACBF2B65E07E64E53E5A7E10/F1/F13CDD097310A077513166697
9B65ADF692574DD
2 RMD: Settings CORE.d already loaded
===SORRY!===Error while compiling
/<<PKGBUILDDIR>>/vendor#sources/DFBBB20BEC15476619A5921C98D6532E467F840C
(JS
ON::Marshal)
Missing or wrong version of dependency 'gen/moar/CORE.c.setting' (from
'vendor#sources/F13CDD097310A07751316669
79B65ADF692574DD (JSON::Fast)')
at
/<<PKGBUILDDIR>>/vendor#sources/DFBBB20BEC15476619A5921C98D6532E467F840C
(JSON::Marshal):108
1 RMD: Settings CORE.c loaded
1 RMD: Settings CORE.d loaded
1 RMD: Attempting 'CompUnit::Repository::Staging' as a pragma
1 RMD: 'CompUnit::Repository::Staging' is not a valid pragma
1 RMD: Attempting to load 'CompUnit::Repository::Staging'
1 RMD: Late loading 'CompUnit::Repository::Staging'
1 RMD: Parsing specs: inst#./debian/tmp/pre-compiled/
1 RMD: try-load source at
/usr/lib/perl6/core/sources/B2976BD56E2DB034D70D1D8BF3CE2452B13BF9A2
1 RMD: Trying to load B2976BD56E2DB034D70D1D8BF3CE2452B13BF9A2
1 RMD: Loaded from /usr/lib/perl6/core/precomp
1 RMD: Trying to load B2976BD56E2DB034D70D1D8BF3CE2452B13BF9A2.repo-id
1 RMD: Loaded from /usr/lib/perl6/core/precomp
1 RMD: Repo changed:
5D83979ABD2A2F061AF964E04A6F9E3B4ADFE0C8
DFB99791001F57B92E34CC15B08EC49C00432720
Need to re-check dependencies.
1 RMD: Loading precompiled
/usr/lib/perl6/core/precomp/AF50A328AB74BE48ACBF2B65E07E64E53E5A7E10/B2/B2976BD56E2DB034D70D1D8BF3CE245
2B13BF9A2
1 RMD: Settings CORE.d already loaded
1 RMD: Performing imports for 'CompUnit::Repository::Staging'
1 RMD: Imports for 'CompUnit::Repository::Staging' done
1 RMD: Settings CORE.d already loaded
Precompiling DFBBB20BEC15476619A5921C98D6532E467F840C (JSON::Marshal)
1 RMD: Precompiling
./debian/tmp/pre-compiled/sources/DFBBB20BEC15476619A5921C98D6532E467F840C
into /<<PKGBUIL
DDIR>>/debian/tmp/pre-compiled/precomp/AF50A328AB74BE48ACBF2B65E07E64E53E5A7E10/DF/DFBBB20BEC15476619A5921C98D6
532E467F840C.bc ( )
1 RMD: Precompiling
./debian/tmp/pre-compiled/sources/DFBBB20BEC15476619A5921C98D6532E467F840C
failed: 1
E67352E3EDC071D0A513EBEDBB138B0269C325D7/usr/lib/perl6/vendor/sources/E67352E3EDC071D0A513EBEDBB138B0269C325D78
2B75DF6293447F6D8868FC53C8895188901A29DCompUnit::DependencySpecification.new(:short-name<JSON::OptIn>)
E3066C4D
42F07870D9E2CE772E07B4D9E37CC014/usr/lib/perl6/vendor/sources/E3066C4D42F07870D9E2CE772E07B4D9E37CC01415A3A7687
D3CC3B7639661819238C3C34696CAF8CompUnit::DependencySpecification.new(:short-name<JSON::Name>,:version-matcher<0
.0.6+>)
in sub MAIN at /usr/share/perl6/tools/install-dist.raku line 19
in block <unit> at /usr/share/perl6/tools/install-dist.raku line 3
dh_raku_build: error: HOME=/<<PKGBUILDDIR>>/debian/tmp/home/
RAKUDO_LOG_PRECOMP=1 RAKUDO_MODULE_DEBUG=1 RAKUDO_
RERESOLVE_DEPENDENCIES=0
RAKULIB=inst\#/<<PKGBUILDDIR>>/debian/tmp/pre-compiled/ raku
/usr/share/perl6/tools/in
stall-dist.raku --for=vendor --from=.
--to=/<<PKGBUILDDIR>>/debian/tmp/pre-compiled/ returned exit code 1
make: *** [debian/rules:21: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit
status 2
--------------------------------------------------------------------------------
Is it the same for you?
Kind Regards
- Timo
More information about the Pkg-rakudo-devel
mailing list