Source: emacs24
Version: 24.5+1-6
Severity: important
User: [email protected]
Usertags: pie-bindnow-20160906
Tags: patch upstream
Justification: FTBFS on amd64 with extra hardening

Hi,

During a rebuild of all packages in sid, your package failed to build on
amd64 with patched GCC and dpkg.

The rebuild tested if packages are ready for a transition
enabling PIE and bindnow for amd64.

For more information about the changes to sid's dpkg and GCC please
visit:
 https://wiki.debian.org/Hardening/PIEByDefaultTransition

Relevant part (hopefully):
...
else \
  ./temacs --batch --load loadup bootstrap || exit 1; \
  test "X" = X ||  -zex emacs; \
  mv -f emacs bootstrap-emacs; \
fi
/bin/bash: line 7: 26680 Segmentation fault      ./temacs --batch --load
loadup bootstrap
Makefile:815: recipe for target 'bootstrap-emacs' failed
make[3]: *** [bootstrap-emacs] Error 1
...

The full build log is available from:
 
https://people.debian.org/~rbalint/build-logs/pie-bindnow-20160906/emacs24_24.5+1-6_amd64.build.gz

Ubuntu already fixed the issue by disabling PIE:
https://patches.ubuntu.com/e/emacs24/emacs24_24.5+1-6ubuntu3.patch

It would be even better to build with PIE, but apparently
upstream knows about the problem but could not find a fix yet:
https://lists.gnu.org/archive/html/bug-gnu-emacs/2015-03/msg01059.html

Thanks,
Balint

Reply via email to