Source: widelands
Version: 1:20-1
Severity: serious
Justification: ftbfs
Tags: ftbfs

Dear Maintainer,

Widelands currently fails to build in Sid with the following error message:
...
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_893c8.dir/link.txt --verbose=1 /usr/bin/cc -g -O2 -fdebug-prefix-map=/build/widelands-20=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -DCHECK_FUNCTION_EXISTS=pthread_create -Wl,-z,relro -rdynamic CMakeFiles/cmTC_893c8.dir/CheckFunctionExists.c.o -o cmTC_893c8 -lpthreads
/usr/bin/ld: cannot find -lpthreads
collect2: error: ld returned 1 exit status
make[3]: *** [CMakeFiles/cmTC_893c8.dir/build.make:87: cmTC_893c8] Error 1 make[3]: Leaving directory '/build/widelands-20/obj-x86_64-linux-gnu/CMakeFiles/CMakeTmp'
make[2]: *** [Makefile:121: cmTC_893c8/fast] Error 2
make[2]: Leaving directory '/build/widelands-20/obj-x86_64-linux-gnu/CMakeFiles/CMakeTmp'



dh_auto_configure: error: cd obj-x86_64-linux-gnu && cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=None -DCMAKE_INSTALL_SYSCONFDIR=/etc -DCMAKE_INSTALL_LOCALSTATEDIR=/var -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON -DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON -DCMAKE_INSTALL_RUNSTATEDIR=/run "-GUnix Makefiles" -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_INSTALL_LIBDIR=lib/x86_64-linux-gnu -DWL_INSTALL_BASEDIR=/usr/share/games/widelands -DWL_INSTALL_BINDIR=games -DWL_INSTALL_DATADIR=/usr/share/games/widelands/data -DWL_INSTALL_PREFIX=/usr -DOPTION_BUILD_WEBSITE_TOOLS=OFF -DCMAKE_BUILD_TYPE=Release .. returned exit code 1
make[1]: *** [debian/rules:14: override_dh_auto_configure] Error 25
make[1]: Leaving directory '/build/widelands-20'
make: *** [debian/rules:10: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2



I suspect the important part is "/usr/bin/ld: cannot find -lpthreads", which I suppose might be due to some underlying library change though I haven't figured it out. Saw the same error message when the package was rebuilt in Ubuntu, and I guess other
packages using -lpthreads might suffer the same fate.

Tried rebuilding the current upstream development version to see if it had a fix,
but ran into a separate issue.

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

Kernel: Linux 5.4.0-3-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

Reply via email to