MoarVM segfault on x32 (was Re: rakudo_2016.09-1_amd64.changes ACCEPTED into unstable)
Daniel Dehennin
daniel.dehennin at baby-gnu.org
Sat Oct 8 08:32:14 UTC 2016
Daniel Dehennin <daniel.dehennin at baby-gnu.org> writes:
[...]
> - x32 has segfault
>
> dh build-arch
> dh_testdir -a
> dh_update_autotools_config -a
> debian/rules override_dh_auto_configure
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> perl Configure.pl --prefix=/usr --backends=moar
> Segmentation fault
>
> ===SORRY!===
> Unable to read configuration from NQP on MoarVM
>
> To automatically clone (git) and build a copy of NQP 2016.09,
> try re-running Configure.pl with the '--gen-moar' option.
> Or, use '--prefix=' to explicitly specify the path where the NQP and MoarVM
> executables can be found that are use to build Rakudo.
>
> debian/rules:21: recipe for target 'override_dh_auto_configure' failed
> make[1]: *** [override_dh_auto_configure] Error 139
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
> debian/rules:18: recipe for target 'build-arch' failed
> make: *** [build-arch] Error 2
> dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2
The problem during the rakudo build comes from:
(sid-x32-sbuild)root at hati:/build# /usr/bin/nqp-m --show-config
Segmentation fault
I tried to build nqp from x32 schroot but it fails:
(sid-x32-sbuild)root at hati:/build/nqp-2016.09+dfsg# dpkg-buildpackage
dpkg-buildpackage: info: source package nqp
dpkg-buildpackage: info: source version 2016.09+dfsg-1
dpkg-buildpackage: info: source distribution unstable
dpkg-buildpackage: info: source changed by Dominique Dumont <dod at debian.org>
dpkg-buildpackage: info: host architecture x32
dpkg-source --before-build nqp-2016.09+dfsg
debian/rules clean
dh clean
dh_testdir
dh_auto_clean
dh_clean
dpkg-source -b nqp-2016.09+dfsg
dpkg-source: info: using source format '3.0 (quilt)'
dpkg-source: info: building nqp using existing ./nqp_2016.09+dfsg.orig.tar.gz
dpkg-source: info: building nqp in nqp_2016.09+dfsg-1.debian.tar.xz
dpkg-source: info: building nqp in nqp_2016.09+dfsg-1.dsc
debian/rules build
dh build
dh_testdir
dh_update_autotools_config
debian/rules override_dh_auto_configure
make[1]: Entering directory '/build/nqp-2016.09+dfsg'
perl Configure.pl --backends=moar --prefix=/usr
Creating tools/build/install-jvm-runner.pl ...
Found /usr/bin/moar version 2016.09, which is new enough.
Segmentation fault
Cleaning up ...
You can now use 'make' to build NQP.
After that, 'make test' will run some tests and
'make install' will install NQP.
make[1]: Leaving directory '/build/nqp-2016.09+dfsg'
debian/rules override_dh_auto_build
make[1]: Entering directory '/build/nqp-2016.09+dfsg'
dh_auto_build
make -j1
make[2]: Entering directory '/build/nqp-2016.09+dfsg'
/usr/bin/perl -MExtUtils::Command -e mkpath gen/moar/stage1/gen
/usr/bin/perl tools/build/gen-cat.pl moar src/how/Archetypes.nqp src/how/RoleToRoleApplier.nqp src/how/NQPConcreteRoleHOW.nqp src/how/RoleToClassApplier.nqp src/how/NQPCurriedRoleHOW.nqp src/how/NQPParametricRoleHOW.nqp src/how/NQPClassHOW.nqp src/how/NQPNativeHOW.nqp src/how/NQPAttribute.nqp src/how/NQPModuleHOW.nqp src/how/EXPORTHOW.nqp > gen/moar/stage1/nqpmo.nqp
/usr/bin/moar --libpath=src/vm/moar/stage0 src/vm/moar/stage0/nqp.moarvm --bootstrap --setting=NULL --no-regex-lib --target=mbc \
--output=gen/moar/stage1/nqpmo.moarvm gen/moar/stage1/nqpmo.nqp
Segmentation fault
Makefile:223: recipe for target 'gen/moar/stage1/nqpmo.moarvm' failed
make[2]: *** [gen/moar/stage1/nqpmo.moarvm] Error 139
make[2]: Leaving directory '/build/nqp-2016.09+dfsg'
dh_auto_build: make -j1 returned exit code 2
debian/rules:17: recipe for target 'override_dh_auto_build' failed
make[1]: *** [override_dh_auto_build] Error 2
make[1]: Leaving directory '/build/nqp-2016.09+dfsg'
debian/rules:8: recipe for target 'build' failed
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
Regards.
--
Daniel Dehennin
Récupérer ma clef GPG: gpg --recv-keys 0xCC1E9E5B7A6FE2DF
Fingerprint: 3E69 014E 5C23 50E8 9ED6 2AAD CC1E 9E5B 7A6F E2DF
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 324 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-rakudo-devel/attachments/20161008/4605087d/attachment.sig>
More information about the Pkg-rakudo-devel
mailing list