[Pkg-giraffe-maintainers] Bug#969297: FTBFS: undefined reference to symbol 'pthread_join@@GLIBC_2.2.5'

Gianfranco Costamagna locutusofborg at debian.org
Wed Dec 9 21:08:44 GMT 2020


control: tags -1 patch pending

--- kopanocore-8.7.0/debian/changelog	2020-03-15 11:05:50.000000000 +0100
+++ kopanocore-8.7.0/debian/changelog	2020-12-09 22:02:13.000000000 +0100
@@ -1,3 +1,10 @@
+kopanocore (8.7.0-7.1) unstable; urgency=medium
+
+  * Non-maintainer upload
+  * Fix build by linking correctly pthread (Closes: #969297)
+
+ -- Gianfranco Costamagna <locutusofborg at debian.org>  Wed, 09 Dec 2020 22:02:13 +0100
+
 kopanocore (8.7.0-7) unstable; urgency=medium
 
   [ Matthias Klose ]
diff -Nru kopanocore-8.7.0/debian/patches/fix-build.patch kopanocore-8.7.0/debian/patches/fix-build.patch
--- kopanocore-8.7.0/debian/patches/fix-build.patch	1970-01-01 01:00:00.000000000 +0100
+++ kopanocore-8.7.0/debian/patches/fix-build.patch	2020-12-09 22:02:11.000000000 +0100
@@ -0,0 +1,16 @@
+Description: Fix build by linking pthread
+Author: Gianfranco Costamagna <locutusofborg at debian.org>
+Bug-Debian: https://bugs.debian.org/969297
+Last-Update: 2020-12-09
+
+--- kopanocore-8.7.0.orig/Makefile.am
++++ kopanocore-8.7.0/Makefile.am
+@@ -769,7 +769,7 @@ dist_phpdata_DATA = \
+ kscriptrun_SOURCES = ECtools/scriptrun.cpp
+ mapitime_SOURCES = ECtools/mapitime.cpp
+ mapitime_LDADD = ${clock_LIBS} libmapi.la libkcutil.la \
+-	${curl_LIBS} ${icu_uc_LIBS}
++	-lpthread ${curl_LIBS} ${icu_uc_LIBS}
+ rosie_test_SOURCES = librosie/test.cpp
+ rosie_test_LDADD = libkcrosie.la
+ tests_ablookup_SOURCES = tests/ablookup.cpp
diff -Nru kopanocore-8.7.0/debian/patches/series kopanocore-8.7.0/debian/patches/series
--- kopanocore-8.7.0/debian/patches/series	2020-02-02 13:08:39.000000000 +0100
+++ kopanocore-8.7.0/debian/patches/series	2020-12-09 22:01:33.000000000 +0100
@@ -31,3 +31,4 @@
 dbadm-pass-shared_ptr-KDatabase-consistently.patch
 dbadm-add-corrective-procedure-for-bug-KC-1444.patch
 freebusy-avoid-out-of-bounds-access-in-HrAddFBBlock.patch
+fix-build.patch


Done.



More information about the Pkg-giraffe-maintainers mailing list