[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#897459: apt: FTBFS: ./obj-x86_64-linux-gnu/CMakeFiles/CMakeTmp/./obj-x86_64-linux-gnu/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8: undefined reference to `pthread_create'



Control: forcemerge 897149 -1

On Wed, May 02, 2018 at 10:35:01PM +0200, Lucas Nussbaum wrote:
> Source: apt
> Version: 1.6.1
> Severity: serious
> Tags: buster sid
> User: debian-qa@lists.debian.org
> Usertags: qa-ftbfs-20180502 qa-ftbfs
> Justification: FTBFS on amd64
> 
> Hi,
> 
> During a rebuild of all packages in sid, your package failed to build on
> amd64.
> 
> Relevant part (hopefully):
> > /usr/bin/cc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2   -Wl,-z,relro -Wl,-z,now -Wl,--as-needed  CMakeFiles/cmTC_ae68c.dir/CheckSymbolExists.c.o  -o cmTC_ae68c 
> > CMakeFiles/cmTC_ae68c.dir/CheckSymbolExists.c.o: In function `main':
> > ./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

That's not the problem; the problem is failure to find gtest, a duplicate of
bug 897149. CMake just dumps all of its testing output afterwards, hiding
the true error in the middle of the log.................................


-- 
debian developer - deb.li/jak | jak-linux.org - free software dev
ubuntu core developer                              i speak de, en


Reply to: