Bug#720818: sinfo: FTBFS: ld: cannot find -lboost_signals-mt

2013-10-24 Thread Hideki Yamane
Control: tags -1 +patch

Hi,

 Attached patch would fix this FTBFS, could you check and consider to 
 apply it, please?

-- 
Regards,

 Hideki Yamane henrich @ debian.or.jp/org
 http://wiki.debian.org/HidekiYamane
diff -Nru sinfo-0.0.46/debian/changelog sinfo-0.0.46/debian/changelog
--- sinfo-0.0.46/debian/changelog	2012-06-30 20:59:06.0 +0900
+++ sinfo-0.0.46/debian/changelog	2013-10-24 10:55:47.0 +0900
@@ -1,3 +1,12 @@
+sinfo (0.0.46-2.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * debian/patches
+- add dont-specify_-mt.patch to fix FTBFS (Closes: #720818)
+  since boost1.54 doesn't have -mt files
+
+ -- Hideki Yamane henr...@debian.org  Thu, 24 Oct 2013 10:54:06 +0900
+
 sinfo (0.0.46-2) unstable; urgency=low
 
   * [4d938bb] Remove .la files on all architectures
diff -Nru sinfo-0.0.46/debian/patches/dont-specify_-mt.patch sinfo-0.0.46/debian/patches/dont-specify_-mt.patch
--- sinfo-0.0.46/debian/patches/dont-specify_-mt.patch	1970-01-01 09:00:00.0 +0900
+++ sinfo-0.0.46/debian/patches/dont-specify_-mt.patch	2013-10-24 10:55:04.0 +0900
@@ -0,0 +1,44 @@
+--- a/sinfo/Makefile.am
 b/sinfo/Makefile.am
+@@ -37,7 +37,7 @@
+ 	../libprotocol/libprotocol.la	\
+ 	../libprotocolasio/libprotocolasio.la	\
+ 	-lpthread			\
+-	-lboost_signals-mt		\
++	-lboost_signals		\
+ 	$(CURSES_LIB)
+ 
+ MAINTAINERCLEANFILES = \
+--- a/sinfo/Makefile.in
 b/sinfo/Makefile.in
+@@ -273,7 +273,7 @@
+ 	../libprotocol/libprotocol.la	\
+ 	../libprotocolasio/libprotocolasio.la	\
+ 	-lpthread			\
+-	-lboost_signals-mt		\
++	-lboost_signals		\
+ 	$(CURSES_LIB)
+ 
+ MAINTAINERCLEANFILES = \
+--- a/sinfod/Makefile.am
 b/sinfod/Makefile.am
+@@ -38,7 +38,7 @@
+ 	../libmessageparser/libmessageparser.la	\
+ 	../libmessageiobase/libmessageiobase.la	\
+ 	../libmessageio/libmessageio.la	\
+-	-lpthread -lboost_signals-mt
++	-lpthread -lboost_signals
+ 
+ MAINTAINERCLEANFILES = \
+ 	$(IDLXSOURCES)
+--- a/sinfod/Makefile.in
 b/sinfod/Makefile.in
+@@ -273,7 +273,7 @@
+ 	../libmessageparser/libmessageparser.la	\
+ 	../libmessageiobase/libmessageiobase.la	\
+ 	../libmessageio/libmessageio.la	\
+-	-lpthread -lboost_signals-mt
++	-lpthread -lboost_signals
+ 
+ MAINTAINERCLEANFILES = \
+ 	$(IDLXSOURCES)
diff -Nru sinfo-0.0.46/debian/patches/series sinfo-0.0.46/debian/patches/series
--- sinfo-0.0.46/debian/patches/series	2012-06-30 00:01:13.0 +0900
+++ sinfo-0.0.46/debian/patches/series	2013-10-24 10:52:51.0 +0900
@@ -1 +1,2 @@
 0001-Change-order-of-libs-to-fix-FTBS-with-as-needed.patch
+dont-specify_-mt.patch


Bug#720818: sinfo: FTBFS: ld: cannot find -lboost_signals-mt

2013-08-25 Thread David Suárez
Source: sinfo
Version: 0.0.46-2
Severity: serious
Tags: jessie sid
User: debian...@lists.debian.org
Usertags: qa-ftbfs-20130825 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):
 g++ -DPACKAGE_NAME=\sinfo\ -DPACKAGE_TARNAME=\sinfo\ 
 -DPACKAGE_VERSION=\0.0.46\ -DPACKAGE_STRING=\sinfo\ 0.0.46\ 
 -DPACKAGE_BUGREPORT=\\ -DPACKAGE_URL=\\ -DPACKAGE=\sinfo\ 
 -DVERSION=\0.0.46\ -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 
 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 
 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 
 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\.libs/\ -DSIMPLE_USER_CACHE=1 -DENABLEIPv6=1 
 -DCPUNO_ADJUST=1 -DHAVE_CURSES_H=1 -DHAVEDEFAULTCOLORS=1 -DHAVE_DIRENT_H=1 
 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_ARPA_INET_H=1 -DHAVE_FCNTL_H=1 
 -DHAVE_LIMITS_H=1 -DHAVE_NETDB_H=1 -DHAVE_NETINET_IN_H=1 -DHAVE_STDLIB_H=1 
 -DHAVE_STRING_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_SOCKET_H=1 
 -DHAVE_SYS_TIME_H=1 -DHAVE_UNISTD_H=1 -DHAVE_UTMP_H=1 -DHAVE_GETOPT_H=1 
 -DTIME_WITH_SYS_TIME=1 -DHAVE_DECL_GETOPT=1 -DHAVE_LIBNSL=1 -DHAVE_FORK=1 
 -DHAVE_VFORK=1 -DHAVE_WORKING_VFORK=1 -DHAVE_WORKING_FORK=1 -DHAVE_STDLIB_H=1 
 -DHAVE_MALLOC=1 -DRETSIGTYPE=void -DHAVE_GETOPT_LONG=1 -DHAVE_DAEMON=1 
 -DHAVE_LIBRESOLV=1 -DHAVE_HSTRERROR=1 -DHAVE_ATEXIT=1 -DHAVE_GETHOSTBYADDR=1 
 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETPAGESIZE=1 -DHAVE_GETTIMEOFDAY=1 
 -DHAVE_INET_NTOA=1 -DHAVE_MEMSET=1 -DHAVE_SELECT=1 -DHAVE_SOCKET=1 
 -DHAVE_STRERROR=1 -DHAVE_STRSTR=1 -DHAVE_UNAME=1 -I. -I../libmessage 
 -I../libmessageparser -I../libmessageiobase -I../libmessageio -I../librpc 
 -I../libsinfotypes -I../libsinfometer  -D_FORTIFY_SOURCE=2  -g -O2 
 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security 
 -c -o sinfo.idlx.parser.o sinfo.idlx.parser.cc
 In file included from ../libmessageparser/templateparser.h:5:0,
  from sinfo.idlx.parser.cc:17:
 /usr/include/boost/signal.hpp:17:4: warning: #warning Boost.Signals is no 
 longer being maintained and is now deprecated. Please switch to 
 Boost.Signals2. To disable this warning message, define 
 BOOST_SIGNALS_NO_DEPRECATION_WARNING. [-Wcpp]
  #  warning  Boost.Signals is no longer being maintained and 
 is now deprecated. Please switch to Boost.Signals2. To disable this warning 
 message, define BOOST_SIGNALS_NO_DEPRECATION_WARNING.
 ^
 /bin/bash ../libtool --tag=CXX   --mode=link g++  -g -O2 -fstack-protector 
 --param=ssp-buffer-size=4 -Wformat -Werror=format-security  -Wl,-z,relro -o 
 sinfod demoninit.o cleanuplist.o broadcastreceiver.o lastgasp.o 
 measureserver.o sinfoworker.o sinfod.o basicmessages.idlx.parser.o 
 sinfo.idlx.parser.o ../librpc/librpc.la ../libsinfotypes/libsinfotypes.la 
 ../libsinfometer/libsinfometer.la ../libmessage/libmessage.la 
 ../libmessageparser/libmessageparser.la 
 ../libmessageiobase/libmessageiobase.la ../libmessageio/libmessageio.la 
 -lpthread -lboost_signals-mt -lresolv -lnsl 
 libtool: link: g++ -g -O2 -fstack-protector --param=ssp-buffer-size=4 
 -Wformat -Werror=format-security -Wl,-z -Wl,relro -o .libs/sinfod demoninit.o 
 cleanuplist.o broadcastreceiver.o lastgasp.o measureserver.o sinfoworker.o 
 sinfod.o basicmessages.idlx.parser.o sinfo.idlx.parser.o  
 ../librpc/.libs/librpc.so ../libsinfotypes/.libs/libsinfotypes.so 
 ../libsinfometer/.libs/libsinfometer.so ../libmessage/.libs/libmessage.so 
 ../libmessageparser/.libs/libmessageparser.so 
 ../libmessageiobase/.libs/libmessageiobase.so 
 ../libmessageio/.libs/libmessageio.so -lpthread -lboost_signals-mt -lresolv 
 -lnsl -Wl,-rpath -Wl,/usr/lib/x86_64-linux-gnu/sinfo
 /usr/bin/ld: cannot find -lboost_signals-mt
 collect2: error: ld returned 1 exit status

The full build log is available from:
   http://aws-logs.debian.net/ftbfs-logs/2013/08/25/sinfo_0.0.46-2_unstable.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org