[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#844861: wsjtx: FTBFS: ld: final link failed: Nonrepresentable section on output



Package: wsjtx
Version: 1.1.r3496-3.2
Followup-For: Bug #844861
User: ubuntu-devel@lists.ubuntu.com
Usertags: origin-ubuntu artful ubuntu-patch

Hello,

The fix for this build failure is trivial; just don't disable pie in the
hardening flags for the build.  Now that PIE is enabled by default in
Debian, whatever issue caused wsjtx to fail before when building with PIE
has been resolved.

I have built wsjtx on amd64 with this patch and verified that the resulting
binary runs.

Cheers,
-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                    http://www.debian.org/
slangasek@ubuntu.com                                     vorlon@debian.org
diff -Nru wsjtx-1.1.r3496/debian/rules wsjtx-1.1.r3496/debian/rules
--- wsjtx-1.1.r3496/debian/rules	2016-10-03 03:49:36.000000000 -0700
+++ wsjtx-1.1.r3496/debian/rules	2017-08-29 23:05:22.000000000 -0700
@@ -4,7 +4,7 @@
 #export DH_VERBOSE=1
 
 # enable hardedning.  Don't enable PIE as it causes wsjtx to segfault immediately
-export DEB_BUILD_MAINT_OPTIONS = hardening=+all,-pie
+export DEB_BUILD_MAINT_OPTIONS = hardening=+all
 
 override_dh_auto_configure:
 	echo "running debian/rules/override_dh_auto_configure"

Reply to: