Bug#1065759: Retitle libbio-samtools-perl: FTBFS on arm{el,hf}: lib/Bio/DB/Sam.xs:324:4: error: implicit declaration of function =?UTF-8?Q?=E2=80=98bam=5Fsort=5Fcore=E2=80=99; ?= did you mean ‘bam_format1_core’? [-Werror=implicit-function-declaration]

Niko Tyni ntyni at debian.org
Tue Mar 12 20:59:10 GMT 2024


Control: tag -1 patch

On Tue, Mar 12, 2024 at 06:31:20PM +0100, Andreas Tille wrote:
 
> I can confirm that this bug also occures on amd64 thus removing the
> arm-restriction from the title.  Unfortunately I have no idea how to fix
> this (except by possibly suppressing the -Werror=implicit-function-declaration
> option).  Thus tagging 'help'

Looks like bam_view1() and bam_sort_core() don't have prototypes in
any header file in libbam-dev. Copying them from the actual .c files
in samtools-legacy seems to work.

Patch attached, this builds and passes the test suite for me.
-- 
Niko
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Lift-prototypes-of-bam_view1-and-bam_sort_core-from-.patch
Type: text/x-diff
Size: 982 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-perl-maintainers/attachments/20240312/f918b8b6/attachment.patch>


More information about the pkg-perl-maintainers mailing list