Package: condor
Version: 8.2.1~dfsg.1-1
Tags: patch
Usertags: origin-ubuntu ubuntu-patch utopic

/usr/bin/ld: ../classad/libclassad.a(fnCall.cpp.o): undefined reference to 
symbol 'dlopen@@GLIBC_2.1'
/usr/lib/gcc/i686-linux-gnu/4.8/../../../i386-linux-gnu/libdl.so: error adding 
symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
make[4]: *** [src/condor_shadow.V6.1/condor_shadow] Error 1
make[4]: Leaving directory 
`/build/buildd/condor-8.0.5~dfsg.1/obj-i686-linux-gnu'
make[3]: *** [src/condor_shadow.V6.1/CMakeFiles/condor_shadow.dir/all] Error 2
make[3]: Leaving directory 
`/build/buildd/condor-8.0.5~dfsg.1/obj-i686-linux-gnu'
make[2]: *** [all] Error 2
make[2]: Leaving directory 
`/build/buildd/condor-8.0.5~dfsg.1/obj-i686-linux-gnu'
dh_auto_build: make -j1 VERBOSE=1 returned exit code 2
make[1]: *** [override_dh_auto_build] Error 2
make[1]: Leaving directory `/build/buildd/condor-8.0.5~dfsg.1'
make: *** [binary] Error 2
dpkg-buildpackage: error: /usr/bin/fakeroot debian/rules binary gave error exit 
status 2


In Ubuntu, we've applied the attached patch to achieve the following:

  * debian/patches/as-needed-libs-ftbfs.patch:
     - Add missing lib to link, resolving FTBFS.

We thought you might be interested in doing the same
diff -Nru condor-8.2.1~dfsg.1/debian/patches/as-needed-libs-ftbfs.patch condor-8.2.1~dfsg.1/debian/patches/as-needed-libs-ftbfs.patch
--- condor-8.2.1~dfsg.1/debian/patches/as-needed-libs-ftbfs.patch	1970-01-01 01:00:00.000000000 +0100
+++ condor-8.2.1~dfsg.1/debian/patches/as-needed-libs-ftbfs.patch	2014-05-30 04:34:36.000000000 +0200
@@ -0,0 +1,9 @@
+Index: condor-8.0.5~dfsg.1/src/condor_shadow.V6.1/CMakeLists.txt
+===================================================================
+--- condor-8.0.5~dfsg.1.orig/src/condor_shadow.V6.1/CMakeLists.txt	2013-12-29 06:24:37.000000000 -0500
++++ condor-8.0.5~dfsg.1/src/condor_shadow.V6.1/CMakeLists.txt	2014-01-14 15:53:03.408347075 -0500
+@@ -26,3 +26,4 @@
+ endif(NOT PROPER AND (LINUX OR DARWIN))
+ condor_daemon( shadow "${shadowRmvElements}" "${CONDOR_LIBS_FOR_SHADOW}" "${C_SBIN}" OFF )
+ 
++TARGET_LINK_LIBRARIES(condor_shadow dl)
diff -Nru condor-8.2.1~dfsg.1/debian/patches/series condor-8.2.1~dfsg.1/debian/patches/series
--- condor-8.2.1~dfsg.1/debian/patches/series	2014-07-13 15:02:01.000000000 +0200
+++ condor-8.2.1~dfsg.1/debian/patches/series	2014-08-19 08:04:32.000000000 +0200
@@ -10,3 +10,4 @@
 fix_condor_run
 alpha-fix-getpid.patch
 noformat_arg
+as-needed-libs-ftbfs.patch

Reply via email to