Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 141654 - emacs-cvs doesn't bootstrap
Summary: emacs-cvs doesn't bootstrap
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Emacs project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-24 19:38 UTC by Paulo J. Matos
Modified: 2006-08-07 23:49 UTC (History)
0 users

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 Paulo J. Matos 2006-07-24 19:38:03 UTC
Portage 2.1.1_pre3-r1 (default-linux/x86/2006.0, gcc-4.1.1/vanilla, glibc-2.4-r3, 2.6.17-rc6 i686)
=================================================================
System uname: 2.6.17-rc6 i686 Mobile Intel(R) Pentium(R) 4 - M CPU 2.20GHz
Gentoo Base System version 1.12.1
ccache version 2.4 [enabled]
app-admin/eselect-compiler: 2.0.0_rc2-r1
dev-lang/python:     2.3.5-r2, 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r1
dev-util/confcache:  0.4.2-r1
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.17
sys-devel/gcc-config: 2.0.0_rc1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -mtune=pentium4 -O3 -pipe -fomit-frame-pointer -funroll-loops"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/eselect/compiler /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=pentium4 -mtune=pentium4 -O3 -pipe -fomit-frame-pointer -funroll-loops"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distcc distlocks fixpackages metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://darkstar.ist.utl.pt/gentoo/ ftp://darkstar.ist.utl.pt/pub/gentoo/ ftp://ftp.rnl.ist.utl.pt/pub/gentoo/ ftp://mirrors1.netvisao.pt/gentoo http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 X Xaw3d aac aalib acpi ada aimextras alsa amarok amazon apache2 arts artworkextra asf asterisk auctex audacious avi bash-completion berkdb big-tables bitmap-fonts blas blender-game bluetooth boo bzip2 c++ cairo calendar caps ccache cddb cdparanoia cdr cdrom chipcard cli clisp cmucl crypt cscope css csv cups cursors cvs cvsgraph dbus dlloader dri dvd dvi ecsteve ecsteve2 eds effects emacs emboss encode enscript epson erandom escreen esd estraier etwin examples exif festival ffmpeg firefox flac foomaticdb fortran fping gd gdbm gdm geoip geometry geos gg gif gimp gimpprint ginac gkrellm glade glibc-compat20 glut gmail gmailtimestamps gmp gmttria gnokii gnome gnome-print gnomecanvas gnomedb gnuplot gnutls gphoto2 gpm gprof graphviz gstreamer gtk gtk2 gtkhtml guile gzip hal haskell hbci icons ieee1394 imagemagick imlib imlib2 infopipe inkjar isdnlog jabber java javascript jikes jpeg kde kdeenablefinal kdm kig-scripting lapack latex lcd lcms ldb leim lesstif libg++ libwww logrotate logwatch lua mad mailwrapper mikmod mime mmx mng mod_lisp monkey mono motif mozdevelop mozsha1 mozsvg mp3 mpeg mplayer musepack music musicbrainz mysql mysqli mzscheme nautilus ncurses neXt nfs nls nntp nosource nptl nptlonly nsplugin ocaml offensive ofx ogg ogre on-the-fly-crypt openal opengl oss pam pascal pci pcre pdf perl php plotutils plugin png pnp postgres ppds pppd preview-latex print python qhull qt qt-static qt3 qt4 quicktime quotes readline real reflection reiser4 reiserfs ruby samba sametime sbcl sdl session slp sndfile speex spell spl sql sqlite sqlite3 sse sse-filters sse2 ssl stats stencil-buffer subtitles subversion svg svga svgz tcltk tcpd tetex theora threads thumbnail tidy tiff tomsfastmath transcode truetype truetype-fonts type1 type1-fonts udev usb v4l v4l2 videos vim vim-with-x visualization vnc vorbis wifi win32codecs wma wmf wxwindows xanim xcomposite xext xft xine xml xmms xorg xpm xprint xrandr xscreensaver xv yaz zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_synaptics kernel_linux userland_GNU video_cards_ati video_cards_radeon video_cards_fbdev video_cards_vesa"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Paulo J. Matos 2006-07-24 19:39:32 UTC
These are its last lies: (note that checking emacs-cvs by hand and compiling it works.)

/var/tmp/portage/emacs-cvs-22.0.50-r2/work/emacs/src/prefix-args.c: In function
'main':
/var/tmp/portage/emacs-cvs-22.0.50-r2/work/emacs/src/prefix-args.c:64: warning:
incompatible implicit declaration of built-in function 'exit'
/var/tmp/portage/emacs-cvs-22.0.50-r2/work/emacs/src/prefix-args.c:73: warning:
incompatible implicit declaration of built-in function 'exit'
echo "dispnew.o frame.o scroll.o xdisp.o xmenu.o window.o charset.o coding.o cat
egory.o ccl.o cm.o term.o xfaces.o xterm.o xfns.o xselect.o xrdb.o fontset.o xsm
fns.o fringe.o image.o gtkutil.o emacs.o keyboard.o macros.o keymap.o sysdep.o b
uffer.o filelock.o insdel.o marker.o minibuf.o fileio.o dired.o filemode.o cmds.
o casetab.o casefiddle.o indent.o search.o regex.o undo.o alloc.o data.o doc.o e
ditfns.o callint.o eval.o floatfns.o fns.o print.o lread.o abbrev.o syntax.o une
xelf.o bytecode.o process.o callproc.o region-cache.o sound.o atimer.o doprnt.o
strftime.o intervals.o textprop.o composite.o md5.o    terminfo.o lastfile.o   v
m-limit.o    " > buildobj.lst
i686-pc-linux-gnu-gcc -nostdlib `./prefix-args -Xlinker  -z nocombreloc` -Wl,-zn
ocombreloc  -o temacs pre-crt0.o /usr/lib/crt1.o /usr/lib/crti.o dispnew.o frame
.o scroll.o xdisp.o xmenu.o window.o charset.o coding.o category.o ccl.o cm.o te
rm.o xfaces.o xterm.o xfns.o xselect.o xrdb.o fontset.o xsmfns.o fringe.o image.
o gtkutil.o emacs.o keyboard.o macros.o keymap.o sysdep.o buffer.o filelock.o in
sdel.o marker.o minibuf.o fileio.o dired.o filemode.o cmds.o casetab.o casefiddl
e.o indent.o search.o regex.o undo.o alloc.o data.o doc.o editfns.o callint.o ev
al.o floatfns.o fns.o print.o lread.o abbrev.o syntax.o unexelf.o bytecode.o pro
cess.o callproc.o region-cache.o sound.o atimer.o doprnt.o strftime.o intervals.
o textprop.o composite.o md5.o    terminfo.o lastfile.o   vm-limit.o        -lgt
k-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lpango-
1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 -lpthread -lSM -lICE -lt
iff -ljpeg -lpng -lz -lm -lgif -lXpm -lX11 -lasound -lm -ldl -lpthread -lncurses
   -lm -lgcc -lc -lgcc /usr/lib/crtn.o
./temacs --batch --load loadup bootstrap
Loading loadup.el (source)...
Using load-path (/var/tmp/portage/emacs-cvs-22.0.50-r2/work/emacs/lisp /var/tmp/
portage/emacs-cvs-22.0.50-r2/work/emacs/lisp/emacs-lisp /var/tmp/portage/emacs-          vs-22.0.50-r2/work/emacs/lisp/language /var/tmp/portage/emacs-cvs-22.0.50-r2/wo          k/emacs/lisp/international /var/tmp/portage/emacs-cvs-22.0.50-r2/work/emacs/lis          /textmodes)
Loading emacs-lisp/byte-run (source)...
Wrong type argument: listp, 17175830
make[2]: *** [bootstrap-emacs] Error 255
make[2]: Leaving directory `/var/tmp/portage/emacs-cvs-22.0.50-r2/work/emacs/sr          '
make[1]: *** [bootstrap-build] Error 2
make[1]: Leaving directory `/var/tmp/portage/emacs-cvs-22.0.50-r2/work/emacs'
make: *** [bootstrap] Error 2

!!! ERROR: app-editors/emacs-cvs-22.0.50-r2 failed.
Comment 2 Paulo J. Matos 2006-07-24 19:42:23 UTC
My config options:

Configured for `i686-pc-linux-gnu'.

  Where should the build process find the source code?    /var/tmp/portage/emacs
-cvs-22.0.50-r2/work/emacs
  What operating system and machine description files should Emacs use?
        `s/gnu-linux.h' and `m/intel386.h'
  What compiler should emacs be built with?               i686-pc-linux-gnu-gcc
 -O3
  Should Emacs use the GNU version of malloc?             yes
      (Using Doug Lea's new malloc from the GNU C Library.)
  Should Emacs use a relocating allocator for buffers?    yes
  Should Emacs use mmap(2) for buffer allocation?         no
  What window system should Emacs use?                    x11
  What toolkit should Emacs use?                          GTK
  Where do we find X Windows header files?                Standard dirs
  Where do we find X Windows libraries?                   Standard dirs
  Does Emacs use -lXaw3d?                                 no
  Does Emacs use -lXpm?                                   yes
  Does Emacs use -ljpeg?                                  yes
  Does Emacs use -ltiff?                                  yes
  Does Emacs use -lgif?                                 yes
  Does Emacs use -lpng?                                   yes
  Does Emacs use X toolkit scroll bars?                   yes
Comment 3 Paulo J. Matos 2006-07-24 19:46:56 UTC
My config options:

Configured for `i686-pc-linux-gnu'.

  Where should the build process find the source code?    /var/tmp/portage/emacs
-cvs-22.0.50-r2/work/emacs
  What operating system and machine description files should Emacs use?
        `s/gnu-linux.h' and `m/intel386.h'
  What compiler should emacs be built with?               i686-pc-linux-gnu-gcc
 -O3
  Should Emacs use the GNU version of malloc?             yes
      (Using Doug Lea's new malloc from the GNU C Library.)
  Should Emacs use a relocating allocator for buffers?    yes
  Should Emacs use mmap(2) for buffer allocation?         no
  What window system should Emacs use?                    x11
  What toolkit should Emacs use?                          GTK
  Where do we find X Windows header files?                Standard dirs
  Where do we find X Windows libraries?                   Standard dirs
  Does Emacs use -lXaw3d?                                 no
  Does Emacs use -lXpm?                                   yes
  Does Emacs use -ljpeg?                                  yes
  Does Emacs use -ltiff?                                  yes
  Does Emacs use -lgif?                                 yes
  Does Emacs use -lpng?                                   yes
  Does Emacs use X toolkit scroll bars?                   yes
Comment 4 Matthew Kennedy (RETIRED) gentoo-dev 2006-07-25 06:58:01 UTC
CFLAGS="-march=pentium4 -mtune=pentium4 -O3 -pipe -fomit-frame-pointer
-funroll-loops"

Try removing -O3, or replacing it with -O2.
Comment 5 Paulo J. Matos 2006-07-26 19:01:03 UTC
Works with -O2. :-)
Comment 6 Matthew Kennedy (RETIRED) gentoo-dev 2006-08-07 23:49:54 UTC
The latest emacs-cvs ebuild replaces >= -O3 with -O2