'emerge -vD gcl' fails with: ranlib libgclp.a cp init_pre_gcl.lsp.in init_pre_gcl.lsp.tmp touch raw_pre_gcl_map gcc -o raw_pre_gcl \ -L. -Wl,-Map raw_pre_gcl_map -lpre_gcl -lSM -lICE -L/usr/lib64 -lXmu -lXt -lXext -lXaw -lX11 -lm -lgmp -lreadline -lncurses -lc -lgclp cat init_pre_gcl.lsp.tmp | sed \ -e "s#@LI-VERS@#(`cat ../majvers`.`cat ../minvers`) `date`#1" \ -e "s#@LI-EXTVERS@#`cat ../minvers | cut -f2 -d.`#1" \ -e "s#@LI-MINVERS@#`cat ../minvers | cut -f1 -d.`#1" \ -e "s#@LI-MAJVERS@#`cat ../majvers`#1" \ -e "s#@LI-CC@#\"gcc -c -O2 -march=k8 -Wall -DVOL=volatile -fsigned-char -pipe \"#1" \ -e "s#@LI-LD@#\"gcc -o \"#1" \ -e "s#@LI-LD-LIBS@#\" -lpre_gcl -lSM -lICE -L/usr/lib64 -lXmu -lXt -lXext -lXaw -lX11 -lm -lgmp -lreadline -lncurses -lc -lgclp \"#1" \ -e "s#@LI-OPT-THREE@#\"-O3 -fomit-frame-pointer\"#1" \ -e "s#@LI-OPT-TWO@#\"-O\"#1" \ -e "s#@LI-INIT-LSP@#\"init_pre_gcl.lsp\"#1" >init_pre_gcl.lsp cp init_pre_gcl.lsp foo echo " (in-package \"USER\")(system:save-system \"saved_pre_gcl\")" >>foo /var/tmp/portage/dev-lisp/gcl-2.6.7-r2/work/gcl-2.6.7/unixport/raw_pre_gcl /var/tmp/portage/dev-lisp/gcl-2.6.7-r2/work/gcl-2.6.7/unixport/ -libdir /var/tmp/portage/dev-lisp/gcl-2.6.7-r2/work/gcl-2.6.7/ < foo GCL (GNU Common Lisp) April 1994 262144 pages Building symbol table for /var/tmp/portage/dev-lisp/gcl-2.6.7-r2/work/gcl-2.6.7/unixport/raw_pre_gcl .. I'm not an object Lisp initialization failed. rm raw_pre_gcl make[1]: Leaving directory `/var/tmp/portage/dev-lisp/gcl-2.6.7-r2/work/gcl-2.6.7/unixport' (cd lsp; touch *.lsp ; make all) make[1]: Entering directory `/var/tmp/portage/dev-lisp/gcl-2.6.7-r2/work/gcl-2.6.7/lsp' make[1]: Leaving directory `/var/tmp/portage/dev-lisp/gcl-2.6.7-r2/work/gcl-2.6.7/lsp' (cd cmpnew; touch *.lsp ; make all) make[1]: Entering directory `/var/tmp/portage/dev-lisp/gcl-2.6.7-r2/work/gcl-2.6.7/cmpnew' make[1]: Leaving directory `/var/tmp/portage/dev-lisp/gcl-2.6.7-r2/work/gcl-2.6.7/cmpnew' [ "-L/usr/lib64 -lXmu -lXt -lXext -lXaw -lX11" == "" ] || (cd xgcl-2 && make LISP=../unixport/saved_pre_gcl) make[1]: Entering directory `/var/tmp/portage/dev-lisp/gcl-2.6.7-r2/work/gcl-2.6.7/xgcl-2' make[1]: *** No rule to make target `../unixport/saved_pre_gcl', needed by `objects'. Stop. make[1]: Leaving directory `/var/tmp/portage/dev-lisp/gcl-2.6.7-r2/work/gcl-2.6.7/xgcl-2' make: *** [unixport/saved_gcl] Error 2 Reproducible: Always root@grizzly:/root(19)# emerge --info Portage 2.1.3.7 (default-linux/amd64/2007.0, gcc-4.2.0, glibc-2.6.1-r0, 2.6.22-gentoo-r5 x86_64) ================================================================= System uname: 2.6.22-gentoo-r5 x86_64 AMD Athlon(tm) 64 Processor 3200+ Gentoo Base System release 1.12.10 Timestamp of tree: Wed, 29 Aug 2007 03:30:09 +0000 distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.4 [disabled] app-shells/bash: 3.2_p17-r1 dev-java/java-config: 1.3.7, 2.0.33-r1 dev-lang/python: 2.4.4-r5, 2.5.1-r2 dev-python/pycrypto: 2.0.1-r6 dev-util/ccache: 2.4-r7 sys-apps/baselayout: 1.12.10-r4 sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.61-r1 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.17.50.0.18 sys-devel/gcc-config: 1.4.0-r1 sys-devel/libtool: 1.5.24 virtual/os-headers: 2.6.22-r2 ACCEPT_KEYWORDS="amd64 ~amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -march=k8" CHOST="x86_64-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" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c" CXXFLAGS="-O2 -march=k8" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks fixpackages metadata-transfer sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ rsync://ftp.fi.muni.cz/pub/linux/gentoo ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo ftp://ftp.tu-clausthal.de/pub/linux/gentoo ftp://ftp.easynet.nl/mirror/gentoo/ " LINGUAS="de fr" 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 --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/portage/local/layman/science /usr/local/portage /usr/local/portage/xeffects/trunk /usr/local/portage/xeffects/experimental /usr/local/sci" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow 3dnowext X Xaw3d a52 aac acl acpi aiglx alsa amd64 amrr ao aotuv apache2 asf atlas auctex audacious audiofile automount bash-completion beagle berkdb bitmap-fonts blas bluetooth bonobo boo bzip2 cairo cdda cddb cdio cdparanoia cdr cgi chm cli corba cracklib crypt cups curl daap dbus device-mapper dga divx dlloader dmi dri dv dvb dvd dvdr dvi dxr3 dynagraph effects elf emacs emboss encode epiphany esd evo evolution examples exif expat fam fame ffmpeg fftw firefox fits flac fltk foomaticdb fortran fpx galago gdal gdbm geos gif gimp gimpprint ginac glade glitz gml gmp gnome gnuplot gnutls gphoto2 gpm graphviz grass gs gsl gsm gstreamer gtk guile hal hddtemp hdf hdf5 hlapi iconv icq id3 imagemagick innodb ipv6 isdnlog ithreads jabber java jbig john jp2 jpeg jpeg2k kexi ladspa lame lapack latex lcms ldap libgda libsamplerate lirc lm_sensors lua lzo lzw mad math matroska midi mmx mmxext mng mod mono motif mozdevelop mozilla mozsvg mozxmlterm mp3 mp4live mpeg mpeg2 mplayer mudflap musicbrainz mysql mysqli nautilus ncurses neXt netcdf network nfs nls nntp nptl nptlonly ntfs numarray numeric ocaml octave odbc ogdi ogg ole opengl openmp pae pam pcre pdf perl plotutils png posix postgres pppd preview-latex proj python qhull quicktime readline reflection reiserfs rhythmbox rle rrdcgi rrdtool samba sdl session slang slp sndfile snmp sox speex spell spl sqlite sse sse2 ssl subtitles svg t1lib tcltk tcpd tetex theora threads thunderbird tidy tiff tk truetype truetype-fonts type1-fonts unicode userlocales utempter v4l2 vorbis wmf xattr xemacs xext xine xml xmlreader xmlrpc xorg xpm xv xvid xvmc zlib zvbi" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci 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 mulaw multi null plug rate route share shm softvol" DVB_CARDS="tda10046 saa7134" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de fr" LIRC_DEVICES="hauppauge_dvb" USERLAND="GNU" VIDEO_CARDS="radeon vesa fbdev" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Created attachment 129605 [details, diff] proposed gcl diff This gcl version, is based on debian's gcl_2.6.7-32 package. The guys there, have made a new diff, gcl_2.6.7-34.diff.gz, I patched the debian's gcl_2.6.7.orig.tar.gz with that diff, and compiled flawlessly on my amd64 box(when I patched with the older gcl_2.6.7-34.diff, I came to the same bug -> "Lisp initialization failed" etc.) I haven't managed to test that new version on other arches, but maybe it would be a nice idea to migrate to an ebuild based on gcl_2.6.7-34, globally, or only for amd64 arch. Of course, maybe I'm thinking something wrong. The proposed diff only changes the DEB_PV variable from 32 to 34, and I haven't studied yet the behaviour this change has, to the other patches(dev-lisp/gcl/files/*)
<<<< box(when I patched with the older gcl_2.6.7-34.diff, I came to the same bug >>>> box(when I patched with the older gcl_2.6.7-32.diff, I came to the same bug
Created attachment 129606 [details] My build.log based on *-34 diff debian url's: http://packages.debian.org/unstable/interpreters/gcl.html http://packages.qa.debian.org/g/gcl.html
The patch worked for me. I could again install gcl-2.6.7-r2. It is installed under /usr/lib/gcl-2.6.8! But similar as before of the patch maxima-5.13.0 fails to install, now with: test -d binary-gcl/numerical/slatec || mkdir binary-gcl/numerical/slatec gcl -batch -eval '(progn (load "../lisp-utils/defsystem.lisp") (compiler::emit-fn t) (funcall (intern (symbol-name :operate-on-system) :mk) "maxima" :compile :verbose t) (compiler::make-all-proclaims "*/*.fn" "*/*/*/*.fn"))' && \ gcl -batch -eval '(progn (load "../lisp-utils/defsystem.lisp") (funcall (intern (symbol-name :operate-on-system) :mk) "maxima" :load :verbose t) (when (fboundp (quote si::sgc-on))(si::sgc-on t)) (si:save-system "binary-gcl/maxima"))' Warning: REQUIRE is being redefined. Error in PROGN [or a callee]: Can't open file "/usr/lib/gcl-2.6.8/xgcl-2/../cmpnew/gcl_collectfn.data" Fast links are on: do (use-fast-links nil) for debugging Broken at PROGN. Type :H for Help. This maxima install error is not specific to x86_64 it also happens for old i686 systems and it not happens for every x86_64 system. Regards Juergen
Thanks Panagiotos, should be fixed in r3.
gcl-2.6.7-r3 fails for me (r2 was OK, and maxima-5.13.0 from the science overlay emerged fine with r2). The error message is GCL (GNU Common Lisp) 2.6.8 ANSI Sep 5 2007 00:25:22 Source License: LGPL(gcl,gmp), GPL(unexec,bfd,xgcl) Binary License: GPL due to GPL'ed components: (XGCL READLINE BFD UNEXEC) Modifications of this banner must retain notice of a compatible license Dedicated to the memory of W. Schelter Use (help) to get some basic information on how to use GCL. Temporary directory for compiler files set to /var/tmp/portage/dev-lisp/gcl-2.6.7-r3/temp/ > NIL >/bin/sh: line 3: 4790 Done echo '(reset-sys-paths "/usr/lib/gcl-2.6.8/")(si::save-system "saved_ansi_gcl")' 4791 Segmentation fault | ./temp make[1]: *** [install1] Error 139 make[1]: Leaving directory `/var/tmp/portage/dev-lisp/gcl-2.6.7-r3/work/gcl-2.6.7' make: *** [install] Error 2 My emerge --info follows: Portage 2.1.2.12 (default-linux/x86/2006.1/desktop, gcc-4.1.2, glibc-2.5-r4, 2.6.22-suspend2-r1 i686) ================================================================= System uname: 2.6.22-suspend2-r1 i686 Intel(R) Pentium(R) M processor 1400MHz Gentoo Base System release 1.12.9 Timestamp of tree: Tue, 04 Sep 2007 02:20:01 +0000 app-shells/bash: 3.2_p17 dev-java/java-config: 1.2.11-r1 dev-lang/python: 2.4.4-r4 dev-python/pycrypto: 2.0.1-r6 sys-apps/baselayout: 1.12.9-r2 sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.61-r1 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.17 sys-devel/gcc-config: 1.3.16 sys-devel/libtool: 1.5.24 virtual/os-headers: 2.6.21 ACCEPT_KEYWORDS="x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium-m" 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" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c" CXXFLAGS="-O2 -march=pentium-m" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks metadata-transfer parallel-fetch sandbox sfperms strict" GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp.rz.tu-bs.de/pub/mirror/ftp.gentoo.org/gentoo-distfiles/" LINGUAS="ru" 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 --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/sci" SYNC="rsync://linux.rz.ruhr-uni-bochum.de/gentoo-portage/" USE="X aac acpi alsa arts bash-completion berkdb bitmap-fonts blas boehm-gc browserplugin cairo cdr cli cracklib crypt css cups curl dbus doc dri dvd dvdr dvdread eds emacs emboss encode esd fam ffmpeg fftw firefox fltk fortran gd gdbm gif gmp gnome gpm gsl gstreamer gtk hal iconv imagemagick isdnlog jpeg kde lapack ldap leim mad midi mikmod mozilla mp3 mpeg mudflap mule ncurses nls nptl nptlonly nsplugin offensive ogg opengl openmp oss pam pcre pdf perl plotutils png ppds pppd python qt3 qt4 quicktime readline reflection sdl session speex spell spl ssl tcl tcpd tetex tk truetype truetype-fonts type1-fonts umfpack unicode vcd vorbis win32codecs wxwindows x86 xine xml xorg xv 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 mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru" USERLAND="GNU" VIDEO_CARDS="i810 vesa fbdev" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Andrey, see bug 190950