Bug#960125: Subject: FTBFS: collect2: error: ld returned 1 exit status

Hans Joachim Desserud debian at desserud.org
Sat May 9 19:12:25 BST 2020


Source: ignition-transport
Version: 8.0.0+dfsg-3
Severity: serious
Tags: ftbfs

Dear Maintainer,

ignition-transport 8.0.0+dfsg-3 currently fails to build:

Run Build Command(s):/usr/bin/make cmTC_64ca3/fast && make[2]: Entering 
directory 
'/build/1st/ignition-transport-8.0.0+dfsg/obj-x86_64-linux-gnu/CMakeFiles/CMakeTmp'
/usr/bin/make -f CMakeFiles/cmTC_64ca3.dir/build.make 
CMakeFiles/cmTC_64ca3.dir/build
make[3]: Entering directory 
'/build/1st/ignition-transport-8.0.0+dfsg/obj-x86_64-linux-gnu/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_64ca3.dir/src.c.o
/usr/bin/cc   -g -O2 
-ffile-prefix-map=/build/1st/ignition-transport-8.0.0+dfsg=. 
-fstack-protector-strong -Wformat -Werror=format-security -Wdate-time 
-D_FORTIFY_SOURCE=2 -DCMAKE_HAVE_LIBC_PTHREAD   -o 
CMakeFiles/cmTC_64ca3.dir/src.c.o   -c 
/build/1st/ignition-transport-8.0.0+dfsg/obj-x86_64-linux-gnu/CMakeFiles/CMakeTmp/src.c
Linking C executable cmTC_64ca3
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_64ca3.dir/link.txt 
--verbose=1
/usr/bin/cc -g -O2 
-ffile-prefix-map=/build/1st/ignition-transport-8.0.0+dfsg=. 
-fstack-protector-strong -Wformat -Werror=format-security -Wdate-time 
-D_FORTIFY_SOURCE=2 -DCMAKE_HAVE_LIBC_PTHREAD  -Wl,-z,relro -Wl,-z,now  
CMakeFiles/cmTC_64ca3.dir/src.c.o  -o cmTC_64ca3
/usr/bin/ld: CMakeFiles/cmTC_64ca3.dir/src.c.o: in function `main':
./obj-x86_64-linux-gnu/CMakeFiles/CMakeTmp/./obj-x86_64-linux-gnu/CMakeFiles/CMakeTmp/src.c:11: 
undefined reference to `pthread_create'
/usr/bin/ld: 
./obj-x86_64-linux-gnu/CMakeFiles/CMakeTmp/./obj-x86_64-linux-gnu/CMakeFiles/CMakeTmp/src.c:12: 
undefined reference to `pthread_detach'
/usr/bin/ld: 
./obj-x86_64-linux-gnu/CMakeFiles/CMakeTmp/./obj-x86_64-linux-gnu/CMakeFiles/CMakeTmp/src.c:13: 
undefined reference to `pthread_join'
collect2: error: ld returned 1 exit status
make[3]: *** [CMakeFiles/cmTC_64ca3.dir/build.make:87: cmTC_64ca3] Error 
1
make[3]: Leaving directory 
'/build/1st/ignition-transport-8.0.0+dfsg/obj-x86_64-linux-gnu/CMakeFiles/CMakeTmp'
make[2]: *** [Makefile:121: cmTC_64ca3/fast] Error 2
make[2]: Leaving directory 
'/build/1st/ignition-transport-8.0.0+dfsg/obj-x86_64-linux-gnu/CMakeFiles/CMakeTmp'

See also 
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/ignition-transport.html

-- System Information:
Debian Release: bullseye/sid
   APT prefers unstable
   APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 5.6.0-1-amd64 (SMP w/3 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8), 
LANGUAGE=en_US:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

-- 
mvh / best regards
Hans Joachim Desserud
http://desserud.org



More information about the debian-science-maintainers mailing list