[Debian-astro-maintainers] Bug#1020027: python-fitsio: FTBFS: ld: cannot find -lbz2: No such file or directory

Lucas Nussbaum lucas at debian.org
Sun Sep 18 07:14:03 BST 2022


Source: python-fitsio
Version: 1.1.7+dfsg-2
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20220917 ftbfs-bookworm

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
> x86_64-linux-gnu-gcc -shared -Wl,-O1 -Wl,-Bsymbolic-functions -g -fwrapv -O2 -Wl,-z,relro -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-x86_64-cpython-310/fitsio/fitsio_pywrap.o -L/usr/lib/x86_64-linux-gnu -lcfitsio -lbz2 -lcurl -lm -o /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_fitsio/build/fitsio/_fitsio_wrap.cpython-310-x86_64-linux-gnu.so
> /usr/bin/ld: cannot find -lbz2: No such file or directory
> /usr/bin/ld: cannot find -lcurl: No such file or directory
> collect2: error: ld returned 1 exit status


The full build log is available from:
http://qa-logs.debian.net/2022/09/17/python-fitsio_1.1.7+dfsg-2_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20220917;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20220917&fusertaguser=lucas@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.



More information about the Debian-astro-maintainers mailing list