Bug#759248: ssh-cron: FTBFS - missing -lpthread

2014-08-25 Thread Michael Tautschnig
Package: ssh-cron
Version: 0.91.02-1
Severity: serious
Usertags: goto-cc

During a rebuild of all Debian packages in a clean sid chroot (using cowbuilder
and pbuilder) the build failed with the following error.

[...]
LINKING:
g++ -g -O2 -fstack-protector-strong -Wformat -Werror=format-security 
--std=c++11 -Wall  -o bin/binary main.o -lmodules -L. -lbobcat -Wl,-z,relro
ld.bfd.orig: ./libmodules.a(7parentprocess.o): undefined reference to symbol 
'pthread_create@@GLIBC_2.2.5'
//lib/x86_64-linux-gnu/libpthread.so.0: error adding symbols: DSO missing from 
command line
collect2: error: ld returned 1 exit status
system - failure of system call (status 256)
system - failure of system call (status 256)
system - failure of system call (status 256)
system - failure of system call (status 256)
debian/rules:40: recipe for target 'build-stamp' failed
make: *** [build-stamp] Error 1


It seems -lpthread is missing from the build command line.

The full build log is attached; please do let me know if the problem is
unreproducible, in which case I shall try to investigate further.

Best,
Michael


ssh-cron-build-log.txt.gz
Description: application/gunzip


pgpWfG4B_VCha.pgp
Description: PGP signature


Bug#759248: ssh-cron: FTBFS - missing -lpthread

2014-08-25 Thread Frank B. Brokken

Dear Michael Tautschnig, you wrote:
 Package: ssh-cron
 Version: 0.91.02-1
 Severity: serious
 Usertags: goto-cc
 
 During a rebuild of all Debian packages in a clean sid chroot (using 
 cowbuilder
 and pbuilder) the build failed with the following error.
 ...
 It seems -lpthread is missing from the build command line.

Hm, maybe (some) architecture dependency. Anyway, I'll fix this tomorrow.
Thanks for the report!

-- 
Frank B. Brokken
Center for Information Technology, University of Groningen
(+31) 50 363 9281 
Public PGP key: http://pgp.surfnet.nl
Key Fingerprint: DF32 13DE B156 7732 E65E  3B4D 7DB2 A8BE EAE4 D8AA


signature.asc
Description: Digital signature