[Debian-med-packaging] Bug#1066423: sight: FTBFS: ld.gold: error: cannot find -lnsl

Lucas Nussbaum lucas at debian.org
Wed Mar 13 12:05:36 GMT 2024


Source: sight
Version: 23.1.0-2
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20240313 ftbfs-trixie

Hi,

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


Relevant part (hopefully):
> /usr/bin/c++ -fPIC -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -fuse-ld=gold -Wl,--as-needed -Wl,--sort-common -Wl,-O2 -Wl,-z,relro -Wl,-z,now -shared -Wl,-soname,libsight_io_dimse.so.23.1 -o ../../../lib/x86_64-linux-gnu/libsight_io_dimse.so.23.1.0 CMakeFiles/io_dimse.dir/SeriesEnquirer.cpp.o CMakeFiles/io_dimse.dir/SeriesRetriever.cpp.o CMakeFiles/io_dimse.dir/data/PacsConfiguration.cpp.o CMakeFiles/io_dimse.dir/exceptions/Base.cpp.o CMakeFiles/io_dimse.dir/exceptions/NegociateAssociationFailure.cpp.o CMakeFiles/io_dimse.dir/exceptions/NetworkInitializationFailure.cpp.o CMakeFiles/io_dimse.dir/exceptions/PresentationContextMissing.cpp.o CMakeFiles/io_dimse.dir/exceptions/RequestFailure.cpp.o CMakeFiles/io_dimse.dir/exceptions/TagMissing.cpp.o CMakeFiles/io_dimse.dir/helper/Series.cpp.o  -Wl,-rpath,/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/lib/x86_64-linux-gnu: /usr/lib/x86_64-linux-gnu/libdcmnet.so.17.3.6.7 ../../../lib/x86_64-linux-gnu/libsight_data.so.23.1.0 /usr/lib/x86_64-linux-gnu/libdcmdata.so.17.3.6.7 /usr/lib/x86_64-linux-gnu/liboflog.so.17.3.6.7 /usr/lib/x86_64-linux-gnu/libofstd.so.17.3.6.7 -lnsl -lpthread -lrt /usr/lib/x86_64-linux-gnu/libz.so /usr/lib/x86_64-linux-gnu/libxml2.so /usr/lib/x86_64-linux-gnu/libwrap.so ../../../lib/x86_64-linux-gnu/libsight_core.so.23.1.0 /usr/lib/x86_64-linux-gnu/libboost_date_time.so.1.83.0 /usr/lib/x86_64-linux-gnu/libboost_log_setup.so.1.83.0 /usr/lib/x86_64-linux-gnu/libboost_log.so.1.83.0 /usr/lib/x86_64-linux-gnu/libboost_chrono.so.1.83.0 /usr/lib/x86_64-linux-gnu/libboost_filesystem.so.1.83.0 /usr/lib/x86_64-linux-gnu/libboost_regex.so.1.83.0 /usr/lib/x86_64-linux-gnu/libboost_thread.so.1.83.0 /usr/lib/x86_64-linux-gnu/libboost_atomic.so.1.83.0 /usr/lib/x86_64-linux-gnu/libboost_iostreams.so.1.83.0 /usr/lib/x86_64-linux-gnu/libxml2.so /usr/lib/x86_64-linux-gnu/libicuuc.so /usr/lib/x86_64-linux-gnu/libcrypto.so -ldl /usr/lib/gcc/x86_64-linux-gnu/13/libgomp.so /usr/lib/x86_64-linux-gnu/libpthread.a 
> /usr/bin/ld.gold: error: cannot find -lnsl
> collect2: error: ld returned 1 exit status


The full build log is available from:
http://qa-logs.debian.net/2024/03/13/sight_23.1.0-2_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20240313;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20240313&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 mark 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-med-packaging mailing list