Wireshark-bugs: [Wireshark-bugs] [Bug 11901] dpkg-buildpackage relocation R_X86_64_PC32 against
Date: Wed, 27 Jan 2016 09:30:41 +0000

changed bug 11901


What Removed Added
Status RESOLVED INCOMPLETE
Resolution FIXED ---
Ever confirmed   1

Comment # 8 on bug 11901 from
The fix breaks when using parallel builds, e.g. dpkg-buildpackage -j9

/usr/bin/ld: CMakeFiles/wsutil.dir/privileges.c.o: relocation R_X86_64_PC32
against symbol `started_with_special_privs' can not be used when making a
shared object; recompile with -fPIC
/usr/bin/ld: final link failed: Bad value
collect2: error: ld returned 1 exit status
make[4]: *** [run/libwsutil.so.6.0.0] Error 1

It seems that the $(filter ...) function breaks as the following change works:

diff --git a/debian/rules b/debian/rules
index 37403cb..8787310 100755
--- a/debian/rules
+++ b/debian/rules
@@ -16,7 +16,7 @@ endif
 export DH_OPTIONS

 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
-ifeq (,$(filter $(distrelease),wheezy))
+ifneq (,$(findstring $(distrelease),wheezy))
 export DEB_LDFLAGS_MAINT_APPEND = -Wl,-Bsymbolic
 endif


You are receiving this mail because:
  • You are watching all bug changes.