Bug#1018243: libhash-sharedmem-perl: FTBFS on mipsel: undefined symbol: __sync_bool_compare_and_swap_8
Niko Tyni
ntyni at debian.org
Sat Aug 27 19:09:24 BST 2022
Source: libhash-sharedmem-perl
Version: 0.005-1
Severity: important
Tags: ftbfs
x-debbugs-cc: debian-mips at lists.debian.org
This package failed to build on mipsel (and has never built there).
>From the build log:
# Failed test 'use Hash::SharedMem;'
# at t/bad_dir.t line 8.
# Tried to use 'Hash::SharedMem'.
# Error: Can't load '/<<PKGBUILDDIR>>/blib/arch/auto/Hash/SharedMem/SharedMem.so' for module Hash::SharedMem: /<<PKGBUILDDIR>>/blib/arch/auto/Hash/SharedMem/SharedMem.so: undefined symbol: __sync_bool_compare_and_swap_8 at /usr/lib/mipsel-linux-gnu/perl-base/DynaLoader.pm line 187.
# at t/bad_dir.t line 8.
# Compilation failed in require at t/bad_dir.t line 8.
# BEGIN failed--compilation aborted at t/bad_dir.t line 8.
[...]
Result: FAIL
Failed 29/31 test programs. 607/619 subtests failed.
dh_auto_test: error: /usr/bin/perl Build test --verbose 1 returned exit code 3
I see the source uses __sync_bool_compare_and_swap in
lib/Hash/SharedMem.xs:470 . Apparently this is not available on 32-bit
MIPS architectures (or 32-bit PPC either for that matter.)
I'm copying the MIPS porters. Is there a known workaround for this?
--
Niko Tyni ntyni at debian.org
More information about the pkg-perl-maintainers
mailing list