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

2017-08-30 Thread Steve Langasek
Package: wsjtx
Version: 1.1.r3496-3.2
Followup-For: Bug #844861
User: ubuntu-de...@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 Developerhttp://www.debian.org/
slanga...@ubuntu.com vor...@debian.org
diff -Nru wsjtx-1.1.r3496/debian/rules wsjtx-1.1.r3496/debian/rules
--- wsjtx-1.1.r3496/debian/rules2016-10-03 03:49:36.0 -0700
+++ wsjtx-1.1.r3496/debian/rules2017-08-29 23:05:22.0 -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"


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

2016-11-18 Thread Lucas Nussbaum
Source: wsjtx
Version: 1.1.r3496-3.2
Severity: serious
Tags: stretch sid
User: debian...@lists.debian.org
Usertags: qa-ftbfs-20161118 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):
> /usr/bin/ld: libjt9.a(fano232.o): relocation R_X86_64_32 against 
> `.rodata.str1.8' can not be used when making a shared object; recompile with 
> -fPIC
> /usr/bin/ld: final link failed: Nonrepresentable section on output
> collect2: error: ld returned 1 exit status

The full build log is available from:
   http://aws-logs.debian.net/2016/11/18/wsjtx_1.1.r3496-3.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.