• Bug#1065759: libbio-samtools-perl: FTBFS on arm{el,hf}: lib/Bio/DB/Sam.

    From Sebastian Ramacher@21:1/5 to All on Sat Mar 9 21:20:01 2024
    Source: libbio-samtools-perl
    Version: 1.43-4
    Severity: serious
    Tags: ftbfs
    Justification: fails to build from source (but built successfully in the past) X-Debbugs-Cc: sramacher@debian.org

    https://buildd.debian.org/status/fetch.php?pkg=libbio-samtools-perl&arch=armhf&ver=1.43-4%2Bb2&stamp=1709807129&raw=0

    arm-linux-gnueabihf-gcc -I/usr/include/samtools -Ic_bin -I/usr/lib/arm-linux-gnueabihf/perl/5.38/CORE '-DVERSION="1.43"' '-DXS_VERSION="1.43"' -fPIC '-D_IOLIB=2' '-D_FILE_OFFSET_BITS=64' '-Wformat=0' -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=/<<PKGBUILDDIR>>=.' -fstack-protector-strong -fstack-clash-protection -Wformat '-Werror=format-
    security' -g -O2 '-Werror=implicit-function-declaration' '-ffile-prefix-map=/<<PKGBUILDDIR>>=.' -fstack-protector-strong -fstack-clash-protection -Wformat '-Werror=format-security' -D_LARGEFILE_SOURCE '-D_FILE_OFFSET_BITS=64' '-D_TIME_BITS=64' -Wdate-
    time '-D_FORTIFY_SOURCE=2' -o lib/Bio/DB/Sam.o lib/Bio/DB/Sam.c lib/Bio/DB/Sam.xs: In function ‘XS_Bio__DB__Bam_sort_core’: lib/Bio/DB/Sam.xs:324:4: error: implicit declaration of function ‘bam_sort_core’; did you mean ‘bam_format1_core’? [-Werror=implicit-function-declaration]
    324 | bam_sort_core(is_by_qname,filename,prefix,max_mem);
    | ^~~~~~~~~~~~~
    | bam_format1_core
    lib/Bio/DB/Sam.xs: In function ‘XS_Bio__DB__Bam__Header_view1’: lib/Bio/DB/Sam.xs:916:8: error: implicit declaration of function ‘bam_view1’ [-Werror=implicit-function-declaration]
    916 | bam_view1(bamh,alignment);
    | ^~~~~~~~~
    cc1: some warnings being treated as errors
    error building lib/Bio/DB/Sam.o from 'lib/Bio/DB/Sam.c' at /usr/share/perl/5.38/ExtUtils/CBuilder/Base.pm line 185.
    dh_auto_build: error: /usr/bin/perl Build returned exit code 2

    Cheers
    --
    Sebastian Ramacher

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)