Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 286447 - app-editors/emacs-23.1 fails to compile (and freezes emerge process)
Summary: app-editors/emacs-23.1 fails to compile (and freezes emerge process)
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: AMD64 OS X
: High normal (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-25 19:59 UTC by Armando Di Cianno
Modified: 2011-04-24 17:08 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Armando Di Cianno 2009-09-25 19:59:57 UTC
Did a fresh boostrap on OS X 10.6 (x86 profile, not x64).  Emacs no longer compiles (it did on 10.5, x86 profile).


Reproducible: Always

Steps to Reproduce:
Emerge with these USE flags:
[ebuild  N    ] app-editors/emacs-23.1  USE="aqua gif jpeg png svg tiff xpm -X -Xaw3d (-alsa) -dbus (-gpm) -gtk -gzip-el -hesiod -kerberos -m17n-lib -motif -sound -source -toolkit-scroll-bars -xft" 0 kB [0]
Actual Results:  
Freezes here:
<snip>
                           __cstring          0x134c58  0x10f30
                           __literal8         0x145b88     0x98
                           __const            0x145c20    0x3c0
                           __literal4         0x145fe0      0xc
2 LC_SEGMENT            396 __DATA             0x146000 0x17d000
                           __dyld             0x146000     0x1c
                           __data             0x146020 0x13c27c
                           __const            0x2822a0    0x3c8
                           __bss              0x282680  0x34cf9
                           __common           0x2b7380   0xba5d
3 LC_SEGMENT            192 __IMPORT           0x2c3000   0x2000
                           __pointers         0x2c3000   0x15b8
                           __jump_table       0x2c45c0    0x433
4 LC_SEGMENT             56 __LINKEDIT         0x2c5000  0x2c000
5 LC_SYMTAB              24
6 LC_DYSYMTAB            80
7 LC_LOAD_DYLINKER       28
8 LC_UUID                24
9 LC_UNIXTHREAD          80
10 LC_LOAD_DYLIB          64
11 LC_LOAD_DYLIB          96
12 LC_LOAD_DYLIB          52
  0xcfc080 (sz:   0x3f18/  0x3f1c)
  0xc00000 (sz:  0xfc07f/ 0xfc080)
  0x9fc080 (sz:   0x3f18/  0x3f1c)
  0x900000 (sz:  0xfc080/ 0xfc080)
 0x1ff8000 (sz:   0x4904/  0x7f94)
 0x1800000 (sz: 0x48eded/0x7f8000)
  0x367000 (sz:        0/  0x1000)
--- Load Commands written to Output File ---
Writing segment __PAGEZERO       @        0 (       0/  0x1000 @          0)
Writing segment __TEXT           @        0 (0x145000/0x145000 @     0x1000)
Writing segment __DATA           @ 0x145000 (0x17d000/0x17d000 @   0x146000)
        section __dyld           at 0x145000 - 0x14501c (sz:     0x1c)
        section __data           at 0x145020 - 0x28129c (sz: 0x13c27c)
        section __const          at 0x2812a0 - 0x281668 (sz:    0x3c8)
        section __bss            at 0x281680 - 0x2b6379 (sz:  0x34cf9)
        section __common         at 0x2b6380 - 0x2c1ddd (sz:   0xba5d)
Writing segment __DATA           @ 0x2c2000 (       0/  0x1000 @   0x367000)
Writing segment __DATA           @ 0x2c2000 ( 0xfff98/ 0xfff9c @   0x900000)
Writing segment __DATA           @ 0x3c2000 ( 0xfff98/ 0xfff9c @   0xc00000)
Writing segment __DATA           @ 0x4c2000 (0x48eded/0x7f8000 @  0x1800000)
Writing segment __DATA           @ 0x951000 (  0x4904/  0x7f94 @  0x1ff8000)
Writing segment __IMPORT         @ 0x956000 (  0x2000/  0x2000 @   0x2c3000)
Writing segment __LINKEDIT       @ 0x958000 ( 0x2b5f4/ 0x2c000 @   0x2c5000)
Writing LC_SYMTAB command
Writing LC_DYSYMTAB command
Writing LC_LOAD_DYLINKER  command
Writing LC_UUID           command
Writing LC_UNIXTHREAD     command
Writing LC_LOAD_DYLIB     command
Writing LC_LOAD_DYLIB     command
Writing LC_LOAD_DYLIB     command
5064 unused bytes follow Mach-O header
66998 pure bytes used
mv -f emacs bootstrap-emacs
cd ../lisp; make -w compile-first EMACS=../src/bootstrap-emacs
make[2]: Entering directory `/Library/Gentoo/var/tmp/portage/app-editors/emacs-23.1/work/emacs-23.1/lisp'
make[2]: Nothing to be done for `compile-first'.
make[2]: Leaving directory `/Library/Gentoo/var/tmp/portage/app-editors/emacs-23.1/work/emacs-23.1/lisp'
cd ../lisp; make -w autoloads EMACS=../src/bootstrap-emacs
make[2]: Entering directory `/Library/Gentoo/var/tmp/portage/app-editors/emacs-23.1/work/emacs-23.1/lisp'
chmod +w /Library/Gentoo/var/tmp/portage/app-editors/emacs-23.1/work/emacs-23.1/lisp/ps-print.el /Library/Gentoo/var/tmp/portage/app-editors/emacs-23.1/work/emacs-23.1/lisp/emulation/tpu-edt.el \
	  /Library/Gentoo/var/tmp/portage/app-editors/emacs-23.1/work/emacs-23.1/lisp/emacs-lisp/cl-loaddefs.el
wd=/Library/Gentoo/var/tmp/portage/app-editors/emacs-23.1/work/emacs-23.1/lisp; subdirs=`(cd $wd; find . -type d -print)`; for file in $subdirs; do case $file in */Old | */RCS | */CVS | */CVS/* | */.* | */.*/* | */=* | */obsolete | */term ) ;; *) wins="$wins $wd/$file" ;; esac; done; \
	echo Directories: $wins; \
	EMACSLOADPATH=/Library/Gentoo/var/tmp/portage/app-editors/emacs-23.1/work/emacs-23.1/lisp LC_ALL=C ../src/bootstrap-emacs -batch --no-site-file --multibyte -l autoload --eval '(setq generated-autoload-file "/Library/Gentoo/var/tmp/portage/app-editors/emacs-23.1/work/emacs-23.1/lisp/loaddefs.el")' -f batch-update-autoloads $wins
Directories: /Library/Gentoo/var/tmp/portage/app-editors/emacs-23.1/work/emacs-23.1/lisp/. /Library/Gentoo/var/tmp/portage/app-editors/emacs-23.1/work/emacs-23.1/lisp/./calc /Library/Gentoo/var/tmp/portage/app-editors/emacs-23.1/work/emacs-23.1/lisp/./calendar /Library/Gentoo/var/tmp/portage/app-editors/emacs-23.1/work/emacs-23.1/lisp/./emacs-lisp /Library/Gentoo/var/tmp/portage/app-editors/emacs-23.1/work/emacs-23.1/lisp/./emulation /Library/Gentoo/var/tmp/portage/app-editors/emacs-23.1/work/emacs-23.1/lisp/./erc /Library/Gentoo/var/tmp/portage/app-editors/emacs-23.1/work/emacs-23.1/lisp/./eshell /Library/Gentoo/var/tmp/portage/app-editors/emacs-23.1/work/emacs-23.1/lisp/./gnus /Library/Gentoo/var/tmp/portage/app-editors/emacs-23.1/work/emacs-23.1/lisp/./international /Library/Gentoo/var/tmp/portage/app-editors/emacs-23.1/work/emacs-23.1/lisp/./language /Library/Gentoo/var/tmp/portage/app-editors/emacs-23.1/work/emacs-23.1/lisp/./mail /Library/Gentoo/var/tmp/portage/app-editors/emacs-23.1/work/emacs-23.1/lisp/./mh-e /Library/Gentoo/var/tmp/portage/app-editors/emacs-23.1/work/emacs-23.1/lisp/./net /Library/Gentoo/var/tmp/portage/app-editors/emacs-23.1/work/emacs-23.1/lisp/./nxml /Library/Gentoo/var/tmp/portage/app-editors/emacs-23.1/work/emacs-23.1/lisp/./org /Library/Gentoo/var/tmp/portage/app-editors/emacs-23.1/work/emacs-23.1/lisp/./play /Library/Gentoo/var/tmp/portage/app-editors/emacs-23.1/work/emacs-23.1/lisp/./progmodes /Library/Gentoo/var/tmp/portage/app-editors/emacs-23.1/work/emacs-23.1/lisp/./textmodes /Library/Gentoo/var/tmp/portage/app-editors/emacs-23.1/work/emacs-23.1/lisp/./url
Fatal error (11)
</snip>

Expected Results:  
Emerged!

The only thing in my overlay, at the moment, is a support package for python, that I only KEYWORD'd.

Portage 2.2.00.14200-prefix (prefix/darwin/macos/10.6/x86, gcc-4.2.1, unavailable, 10.0.0 i386)
=================================================================
System uname: Darwin-10.0.0-i386-32bit
Timestamp of tree: Fri, 25 Sep 2009 19:17:55 +0000
distcc 2.18.5-Apple.1 i386-apple-darwin10.0 (protocols 1 and 2) (default port 3632) [disabled]
app-shells/bash:     4.0_p33
dev-lang/python:     2.6.2-r01.4
sys-devel/autoconf:  2.63-r01.1
sys-devel/automake:  1.10.2-r00.1, 1.11
sys-devel/gcc-config: 1.4.1-r00.2
sys-devel/libtool:   2.2.6a-r00.1
ACCEPT_KEYWORDS="~x86-macos"
CBUILD="i686-apple-darwin10"
CFLAGS="-pipe -O2 -march=nocona"
CHOST="i686-apple-darwin10"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-pipe -O2 -march=nocona"
DISTDIR="/Library/Gentoo/usr/portage/distfiles"
FEATURES="assume-digests buildpkg collision-protect distlocks fixpackages nostrip parallel-fetch preserve-libs protect-owned sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_US.UTF-8"
LDFLAGS=""
PKGDIR="/Library/Gentoo/usr/portage/packages"
PORTAGE_CONFIGROOT="/Library/Gentoo/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/Library/Gentoo/var/tmp"
PORTDIR="/Library/Gentoo/usr/portage"
PORTDIR_OVERLAY="/Users/fafhrd/Projects/gentoo/overlay-10.6"
SYNC="rsync://rsync.prefix.freens.org/gentoo-portage-prefix"
USE="aqua bash-completion bzip2 coreaudio cracklib emacs gif ipv6 jpeg mmx mmxext modules ncurses nls objc objc++ png prefix readline sse sse2 ssl svg threads tiff unicode x86-macos zlib" 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 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" ELIBC="Darwin" INPUT_DEVICES="keyboard mouse" KERNEL="Darwin" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Christian Faulhammer (RETIRED) gentoo-dev 2010-11-14 12:06:29 UTC
What about Emacs 23.2 or the emacs-vcs 23.2.90?  Some fixes for NS went into those releases.