On Tue, Mar 05, 2024 at 11:55:28PM +0100, John Paul Adrian Glaubitz wrote: > > Thanks! You saved me a lot of headaches!
FWIW to do a bootstrap build of perl I had to: - disable libdb and libgdbm build-deps - disable build-time tests, which would pick up old ndbm module from on-disk and break as a result Not sure if your bootstrap path was similar. > I have run into this issue again trying to rebuild libxs-parse-keyword-perl > with a src:perl that was built with dpkg_1.22.5: > powerpc-linux-gnu-gcc -Isrc/ -I/usr/lib/powerpc-linux-gnu/perl/5.38/CORE > -DVERSION="0.39" -DXS_VERSION="0.39" -fPIC -I. -Ihax -c -D_REENTRANT > -D_GNU_SOURCE -DDEBIAN -fwrapv -fno-strict-aliasing -pipe > -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 > -Werror=implicit-function-declaration > -ffile-prefix-map=/home/glaubitz/perl-modules/libxs-parse-keyword-perl-0.39=. > -fstack- > protector-strong -Wformat -Werror=format-security -g -O2 > -Werror=implicit-function-declaration > -ffile-prefix-map=/home/glaubitz/perl-modules/libxs-parse-keyword-perl-0.39=. > -fstack-protector-strong - > Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 > -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -o lib/XS/Parse/Keyword.o > lib/XS/Parse/Keyword.c > ExtUtils::Mkbootstrap::Mkbootstrap('blib/arch/auto/XS/Parse/Keyword/Keyword.bs') > powerpc-linux-gnu-gcc -g -O2 -Werror=implicit-function-declaration > -ffile-prefix-map=/home/glaubitz/perl-modules/libxs-parse-keyword-perl-0.39=. > -fstack-protector-strong -Wformat -Werror=format- > security -Wl,-z,relro -Wl,-z,now -shared -L/usr/local/lib > -fstack-protector-strong -o blib/arch/auto/XS/Parse/Keyword/Keyword.so > lib/XS/Parse/Keyword.o src/infix.o src/keyword.o > Parser.c: loadable library and perl binaries are mismatched (got first > handshake key 0xb600080, needed 0xb700080) > dh_auto_build: error: /usr/bin/perl Build returned exit code 1 > make: *** [debian/rules:6: binary-arch] Error 1 > dpkg-buildpackage: error: debian/rules binary-arch subprocess returned exit > status 2 I did not run into this. Do you have a mix of old and new packages from perl source installed? > Also, I noticed that libxs-parse-keyword-perl build-depends on > libextutils-cbuilder-perl which is apparently obsolete and also still > depends on the old Perl API [1] which makes me wonder how > libxs-parse-keyword-perl was built for armhf and armel [2]. When modules are incorporated into perl, perl declares a provides: for them. There's no reason to install the libextutils-cbuilder-perl package anymore. (which, btw, was an arch: all package, so in any case it wouldn't be affected by the ABI transition.) -- Steve Langasek Give me a lever long enough and a Free OS Debian Developer to set it on, and I can move the world. Ubuntu Developer https://www.debian.org/ slanga...@ubuntu.com vor...@debian.org
signature.asc
Description: PGP signature