Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 426394 - app-editors/emacs-24.1 with binutils-2.22-r1[vanilla] - paxctl: file temacs does not have a PT_PAX_FLAGS program header, try conversion
Summary: app-editors/emacs-24.1 with binutils-2.22-r1[vanilla] - paxctl: file temacs d...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Emacs project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-07-13 04:28 UTC by Yixun Lan
Modified: 2012-08-07 06:30 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
full build.log (build.log,155.67 KB, text/plain)
2012-07-13 04:28 UTC, Yixun Lan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Yixun Lan archtester gentoo-dev 2012-07-13 04:28:25 UTC
Created attachment 318052 [details]
full build.log

est "no" = "yes" || \
  test "X/sbin/paxctl" = X || /sbin/paxctl -r temacs
file temacs does not have a PT_PAX_FLAGS program header, try conversion
make[1]: *** [temacs] Error 1
make[1]: Leaving directory 

make[1]: Leaving directory `/var/build/portage/app-editors/emacs-24.1/work/emacs-24.1/src'
make: *** [src] Error 2
 * ERROR: app-editors/emacs-24.1 failed (compile phase):
 *   emake failed
Comment 1 Yixun Lan archtester gentoo-dev 2012-07-13 04:30:23 UTC
Portage 2.2.0_alpha112_p9 (default/linux/x86/10.0, gcc-4.7.1, glibc-2.15-r2, 3.5.0-rc3 i686)
=================================================================
System uname: Linux-3.5.0-rc3-i686-Intel-R-_Core-TM-2_Quad_CPU_Q8200_@_2.33GHz-with-gentoo-2.1
Timestamp of tree: Thu, 12 Jul 2012 13:45:01 +0000
distcc 3.1 i686-pc-linux-gnu [disabled]
ccache version 3.1.7 [disabled]
app-shells/bash:          4.2_p36
dev-java/java-config:     2.1.12
dev-lang/python:          2.6.8, 2.7.3-r2, 3.1.5, 3.2.3-r1
dev-util/ccache:          3.1.7
dev-util/cmake:           2.8.8-r3
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.1-r1
sys-apps/openrc:          0.10.5
sys-apps/sandbox:         2.6
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.7.9-r2, 1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.5, 1.12.2
sys-devel/binutils:       9999
sys-devel/gcc:            4.5.3-r2, 4.6.3, 4.7.1::ofree
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 3.4-r1 (virtual/os-headers)
sys-libs/glibc:           2.15-r2
Repositories: gentoo local xfce-dev enlightenment-niifaq dilfridge dustin bleeding-edge sunrise gentoo-android gentoo-zh systemd ofree
ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=prescott -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /opt/openfire/resources/security/ /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/openvpn/easy-rsa /var/bind /var/lib/hsqldb /var/qmail/alias /var/qmail/control"
CONFIG_PROTECT_MASK="${EPREFIX}/etc/gconf /etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.4/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cli-php5.4/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -march=prescott -pipe -fomit-frame-pointer -fprefetch-loop-arrays "
DISTDIR="/mnt/work/ftp/locals"
FCFLAGS="-O2 -march=i686 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles news nostrip parallel-fetch parallel-install parse-eapi-ebuild-head preserve-libs protect-owned sandbox sfperms split-log strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -march=i686 -pipe"
GENTOO_MIRRORS="http://mirrors.163.com/gentoo http://mirrors.xmu.edu.cn/gentoo http://ftp.twaren.net/Linux/Gentoo  "
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en en_US zh zh_CN"
MAKEOPTS="-j7 -l7"
PKGDIR="/mnt/source/gentoo-package"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/build"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/local /var/lib/layman/xfce-dev /var/lib/layman/enlightenment-niifaq /var/lib/layman/dilfridge /var/lib/layman/dustin /var/lib/layman/bleeding-edge /var/lib/layman/sunrise /var/lib/layman/gentoo-android /var/lib/layman/gentoo-zh /var/lib/layman/systemd /var/lib/layman/ofree"
SYNC="rsync://sabayon/gentoo-portage"
USE="3dnow X acl alsa bash-completion berkdb bzip2 cairo cli cracklib crypt cups cxx dbus doc dri fortran gdbm gpm gstreamer iconv imap introspection ipv6 jpeg jpeg2k libnotify maildir mmx modules mp3 mudflap mysql ncurses nls nptl opengl openmp pam pcre png pppd python readline session sse sse2 sse3 ssl ssse3 svg syslog tcpd truetype unicode vorbis webkit x264 x86 xml xorg xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias threads proxy_connect proxy_ftp proxy_http log proxy version" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en en_US zh zh_CN" PHP_TARGETS="php5-3" PYTHON_TARGETS="python3_2 python2_7" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="fbdev vesa intel" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 2 Yixun Lan archtester gentoo-dev 2012-07-13 04:32:28 UTC
and the same error with emacs-23.4-r3, also note those two versions are compiled fine previously. So I suspect something changes affect this.
Comment 3 Ulrich Müller gentoo-dev 2012-07-18 07:16:55 UTC
(In reply to comment #1)
> sys-devel/binutils:       9999

Not a supported configuration.
Please retry with a binutils version that is not masked and reopen if emacs still doesn't build.
Comment 4 Ulrich Müller gentoo-dev 2012-07-18 15:03:16 UTC
Hm, I can reproduce this also with binutils-2.22-r1 with USE=vanilla.

Maybe Emacs should be more robust and not try to run paxctl, unless the toolchain is really supporting PT_PAX_FLAGS.
Comment 5 Yixun Lan archtester gentoo-dev 2012-07-19 01:26:31 UTC
I downgrade binutils to 2.22.52.0.4 as you pre-suggested, and recompile emacs fine here (both with version 23 and 24).
also I didn't enable vanilla USE

(In reply to comment #4)
> Hm, I can reproduce this also with binutils-2.22-r1 with USE=vanilla.
> 
> Maybe Emacs should be more robust and not try to run paxctl, unless the
> toolchain is really supporting PT_PAX_FLAGS.
Comment 6 Ulrich Müller gentoo-dev 2012-07-19 11:19:05 UTC
Thanks for testing.

I've submitted a patch upstream:
<http://debbugs.gnu.org/cgi/bugreport.cgi?bug=11979>
Comment 7 Ulrich Müller gentoo-dev 2012-07-27 19:19:31 UTC
Fixed without revbump in emacs-23.4-r3 and emacs-24.1.
Comment 8 Ulrich Müller gentoo-dev 2012-08-07 06:30:25 UTC
Patch has been accepted upstream: <http://bzr.savannah.gnu.org/lh/emacs/trunk/revision/109437>