Package: src:casparcg-server
Version: 2.2.0+dfsg-1
Severity: serious
Tags: ftbfs

Dear maintainer:

I tried to build this package in sid but it failed:

--------------------------------------------------------------------------------
[...]
 debian/rules build-arch
dh build-arch --sourcedirectory=src --buildsystem=cmake
   dh_update_autotools_config -a -O--sourcedirectory=src -O--buildsystem=cmake
   dh_autoreconf -a -O--sourcedirectory=src -O--buildsystem=cmake
   debian/rules override_dh_auto_configure
make[1]: Entering directory '/<<BUILDDIR>>/casparcg-server-2.2.0+dfsg'
dh_auto_configure -- -DENABLE_HTML=OFF
        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 "-GUnix Makefiles" 
-DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_INSTALL_LIBDIR=lib/x86_64-linux-gnu 
-DENABLE_HTML=OFF ../src
-- The C compiler identification is GNU 8.2.0
-- The CXX compiler identification is GNU 8.2.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done

[... snipped ...]

./obj-x86_64-linux-gnu/CMakeFiles/CMakeTmp/./obj-x86_64-linux-gnu/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:
 undefined reference to `pthread_create'
collect2: error: ld returned 1 exit status
make[3]: *** [CMakeFiles/cmTC_43642.dir/build.make:87: cmTC_43642] Error 1
make[3]: Leaving directory 
'/<<BUILDDIR>>/casparcg-server-2.2.0+dfsg/obj-x86_64-linux-gnu/CMakeFiles/CMakeTmp'
make[2]: *** [Makefile:121: cmTC_43642/fast] Error 2
make[2]: Leaving directory 
'/<<BUILDDIR>>/casparcg-server-2.2.0+dfsg/obj-x86_64-linux-gnu/CMakeFiles/CMakeTmp'

File 
/<<BUILDDIR>>/casparcg-server-2.2.0+dfsg/obj-x86_64-linux-gnu/CMakeFiles/CMakeTmp/CheckSymbolExists.c:
/* */
#include <pthread.h>

int main(int argc, char** argv)
{
  (void)argv;
#ifndef pthread_create
  return ((int*)(&pthread_create))[argc];
#else
  (void)argc;
  return 0;
#endif
}

Determining if the function pthread_create exists in the pthreads failed with 
the following output:
Change Dir: 
/<<BUILDDIR>>/casparcg-server-2.2.0+dfsg/obj-x86_64-linux-gnu/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_24c32/fast"
make[2]: Entering directory 
'/<<BUILDDIR>>/casparcg-server-2.2.0+dfsg/obj-x86_64-linux-gnu/CMakeFiles/CMakeTmp'
/usr/bin/make -f CMakeFiles/cmTC_24c32.dir/build.make 
CMakeFiles/cmTC_24c32.dir/build
make[3]: Entering directory 
'/<<BUILDDIR>>/casparcg-server-2.2.0+dfsg/obj-x86_64-linux-gnu/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_24c32.dir/CheckFunctionExists.c.o
/usr/bin/cc   -g -O2 
-fdebug-prefix-map=/<<BUILDDIR>>/casparcg-server-2.2.0+dfsg=. 
-fstack-protector-strong -Wformat -Werror=format-security -Wdate-time 
-D_FORTIFY_SOURCE=2 -DCHECK_FUNCTION_EXISTS=pthread_create   -o 
CMakeFiles/cmTC_24c32.dir/CheckFunctionExists.c.o   -c 
/usr/share/cmake-3.13/Modules/CheckFunctionExists.c
Linking C executable cmTC_24c32
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_24c32.dir/link.txt 
--verbose=1
/usr/bin/cc -g -O2 
-fdebug-prefix-map=/<<BUILDDIR>>/casparcg-server-2.2.0+dfsg=. 
-fstack-protector-strong -Wformat -Werror=format-security -Wdate-time 
-D_FORTIFY_SOURCE=2 -DCHECK_FUNCTION_EXISTS=pthread_create  -Wl,-z,relro  
-rdynamic CMakeFiles/cmTC_24c32.dir/CheckFunctionExists.c.o  -o cmTC_24c32 
-lpthreads 
/usr/bin/ld: cannot find -lpthreads
collect2: error: ld returned 1 exit status
make[3]: *** [CMakeFiles/cmTC_24c32.dir/build.make:87: cmTC_24c32] Error 1
make[3]: Leaving directory 
'/<<BUILDDIR>>/casparcg-server-2.2.0+dfsg/obj-x86_64-linux-gnu/CMakeFiles/CMakeTmp'
make[2]: *** [Makefile:121: cmTC_24c32/fast] Error 2
make[2]: Leaving directory 
'/<<BUILDDIR>>/casparcg-server-2.2.0+dfsg/obj-x86_64-linux-gnu/CMakeFiles/CMakeTmp'


dh_auto_configure: 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 "-GUnix Makefiles" 
-DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_INSTALL_LIBDIR=lib/x86_64-linux-gnu 
-DENABLE_HTML=OFF ../src returned exit code 1
make[1]: *** [debian/rules:6: override_dh_auto_configure] Error 2
make[1]: Leaving directory '/<<BUILDDIR>>/casparcg-server-2.2.0+dfsg'
make: *** [debian/rules:3: build-arch] Error 2
dpkg-buildpackage: error: debian/rules build-arch subprocess returned exit 
status 2
--------------------------------------------------------------------------------

The build was made in my autobuilder with "dpkg-buildpackage -B".
At the time of writing this, it has not been tested here yet:

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/casparcg-server.html

but the error message suggests a missing build-dependency.

Thanks.

Reply via email to