maxima emerge generates the error: Error in PROGN [or a callee]: Can't open file "/usr/lib/gcl-2.6.7/xgcl-2/../cmpnew/gcl_collectfn.data" Reproducible: Always Steps to Reproduce: 1. layman -a science 2. layman --sync ALL 3. emerge --sync 4. emerge -av maxima Actual Results: These are the packages that would be merged, in order: Calculating dependencies ..... ..... ...... done! [ebuild N ] sci-mathematics/maxima-5.12.0 USE="nls tetex unicode -clisp (-cmucl) -emacs -gcl -sbcl -tk" LINGUAS="-es -pt -pt_BR" 0 kB [2] Total: 1 package (1 new), Size of downloads: 0 kB Portage overlays: [1] /usr/portage/local/layman/enlightenment [2] /usr/portage/local/layman/science >>> Verifying ebuild Manifests... >>> Emerging (1 of 1) sci-mathematics/maxima-5.12.0 to / * maxima-5.12.0.tar.gz MD5 ;-) ... [ ok ] * maxima-5.12.0.tar.gz RMD160 ;-) ... [ ok ] * maxima-5.12.0.tar.gz SHA1 ;-) ... [ ok ] * maxima-5.12.0.tar.gz SHA256 ;-) ... [ ok ] * maxima-5.12.0.tar.gz size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] * checking maxima-5.12.0.tar.gz ;-) ... [ ok ] >>> Unpacking source... >>> Unpacking maxima-5.12.0.tar.gz to /var/tmp/portage/sci-mathematics/maxima-5.12.0/work * Applying maxima-5.12.0-xdg-utils.patch ... [ ok ] >>> Source unpacked. >>> Compiling source in /var/tmp/portage/sci-mathematics/maxima-5.12.0/work/maxima-5.12.0 ... * Running eautoreconf in '/var/tmp/portage/sci-mathematics/maxima-5.12.0/work/maxima-5.12.0' ... * Running aclocal ... [ ok ] * Running autoconf ... [ ok ] * Running automake --add-missing --copy ... [ ok ] * econf: updating maxima-5.12.0/config.sub with /usr/share/gnuconfig/config.sub * econf: updating maxima-5.12.0/config.guess with /usr/share/gnuconfig/config.guess ./configure --prefix=/usr --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-cmucl --disable-clisp --disable-sbcl --enable-gcl --with-wish=none --libdir=/usr/lib64 --build=x86_64-pc-linux-gnu checking for a BSD-compatible install... /bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking for gcl... true checking for iconv... true checking for recode... false checking POSIX shell to see that it contains getopts... trying /bin/sh POSIX shell is /bin/sh configure: creating ./config.status config.status: creating Makefile config.status: creating maxima-local config.status: creating xmaxima-local config.status: creating maxima.spec config.status: creating maxima.iss config.status: creating src/Makefile config.status: creating src/maxima config.status: creating src/maxima.bat config.status: creating src/rmaxima config.status: creating src/autoconf-variables.lisp config.status: creating lisp-utils/Makefile config.status: creating tests/Makefile config.status: creating doc/Makefile config.status: creating doc/emaxima/Makefile config.status: creating doc/info/Makefile config.status: creating doc/info/es/Makefile config.status: creating doc/info/es.utf8/Makefile config.status: creating doc/info/pt/Makefile config.status: creating doc/info/pt.utf8/Makefile config.status: creating doc/info/pt_BR/Makefile config.status: creating doc/info/pt_BR.utf8/Makefile config.status: creating doc/intromax/Makefile config.status: creating doc/man/Makefile config.status: creating doc/man/maxima.1 config.status: creating doc/share/Makefile config.status: creating interfaces/Makefile config.status: creating interfaces/emacs/Makefile config.status: creating interfaces/emacs/emaxima/Makefile config.status: creating interfaces/emacs/misc/Makefile config.status: creating interfaces/xmaxima/Makefile config.status: creating interfaces/xmaxima/autoconf-variables.tcl config.status: creating interfaces/xmaxima/Tkmaxima/Header.tcl config.status: creating interfaces/xmaxima/doc/Makefile config.status: creating interfaces/xmaxima/doc/figures/Makefile config.status: creating interfaces/xmaxima/msgs/Makefile config.status: creating interfaces/xmaxima/win32/Makefile config.status: creating plotting/mgnuplot config.status: creating share/Makefile config.status: creating demo/Makefile config.status: creating plotting/Makefile Summary: GCL enabled. Executable name: "gcl" default lisp: gcl wish executable name: "none" Making all in src make[1]: Entering directory `/var/tmp/portage/sci-mathematics/maxima-5.12.0/work/maxima-5.12.0/src' test -d binary-gcl || mkdir binary-gcl test -d binary-gcl/numerical || mkdir binary-gcl/numerical 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.7/xgcl-2/../cmpnew/gcl_collectfn.data" Fast links are on: do (use-fast-links nil) for debugging Broken at PROGN. Type :H for Help. 1 (Continue) Retry loading file "/usr/lib/gcl-2.6.7/xgcl-2/../cmpnew/gcl_collectfn.o". 2 (Abort) Return to top level. dbl:>> this happens wether or not I have the gentooscience.org layout enabeled
magesing@mechpc68 ~ $ emerge --info Portage 2.1.3_rc8 (default-linux/amd64/2007.0, gcc-4.1.1, glibc-2.5-r0, 2.6.22-g entoo-r1 x86_64) ================================================================= System uname: 2.6.22-gentoo-r1 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4 800+ Gentoo Base System release 1.12.10 Timestamp of tree: Thu, 19 Jul 2007 18:50:01 +0000 dev-java/java-config: 1.3.7, 2.0.33-r1 dev-lang/python: 2.4.3-r4 dev-python/pycrypto: 2.0.1-r5 sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.61-r1 sys-devel/automake: 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.22-r1 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=athlon64 -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shu tdown /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c" CXXFLAGS="-march=athlon64 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans" GENTOO_MIRRORS="http://gentoo.mirrors.tera-byte.com/ http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/di stfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/portage/local/layman/enlightenment /usr/portage/local/laym an/science" SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" USE="X acl alsa amd64 bash-completion beagle berkdb bitmap-fonts bzip2 cdr cli c racklib crypt cups doc dri dvd dvdr dvdread fortran gd gdbm gif gnome gpm gtk ic onv imagemagick ipv6 isdnlog java jpeg libg++ midi mmx mono mp3 mudflap ncurses nls nptl nptlonly nsplugin ogg opengl openmp pam pcre pdf perl png pppd python q t3 quicktime readline reflection samba session smp spell spl sse sse2 ssl tcpd t est tetex tiff truetype truetype-fonts type1-fonts unicode usb vim-syntax vorbis xinerama xorg xvid zlib" ALSA_CARDS="via82xx" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat li near meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INP UT_DEVICES="evdev keyboard mouse wacom" KERNEL="linux" LCD_DEVICES="bayrad cfont z cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_ CARDS="nvidia nv vesa" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGU AS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Nothing critical here at all.
I get almost the same error with maxima-5.13.0. I had no problem with maxima-5.13.0. The message is: make[1]: Entering directory `/var/tmp/portage/sci-mathematics/maxima-5.13.0/work/maxima-5.13.0/src' test -d binary-gcl || mkdir binary-gcl test -d binary-gcl/numerical || mkdir binary-gcl/numerical 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.7/xgcl-2/../cmpnew/gcl_collectfn.data" Fast links are on: do (use-fast-links nil) for debugging Broken at PROGN. Type :H for Help. 1 (Continue) Retry loading file "/usr/lib/gcl-2.6.7/xgcl-2/../cmpnew/gcl_collectfn.o". 2 (Abort) Return to top level. This happened also after a fresh emerge of gcl-2.6.7-r2.
And it also happened of one x86_64 system with the old gcl-2.6.7-r2 without and with the patch to gcl-2.6.7-34, compare bug 190631 (http://bugs.gentoo.org/show_bug.cgi?id=190631). On a second x86_64 system I had no problem to emerge maxima-5.13.0.
Created attachment 129688 [details, diff] proposed maxima's ebuild's diff This issue can be fixed by adding "--enable-gcl-alt-link" in maxima's ebuilds when gcl is enabled. After that fix, emake starts to compile many lisp sources, produces objects etc. and fails again, with error: <...> binary-gcl/nregex.o:/var/tmp/portage/sci-mathematics/maxima-5.13.0/work/maxima-5.13.0/src/binary-gcl/nregex.c:5200: first defined here binary-gcl/openmath.o: In function `init_code': /var/tmp/portage/sci-mathematics/maxima-5.13.0/work/maxima-5.13.0/src/binary-gcl/openmath.c:5200: multiple definition of `init_code' binary-gcl/nregex.o:/var/tmp/portage/sci-mathematics/maxima-5.13.0/work/maxima-5.13.0/src/binary-gcl/nregex.c:5200: first defined here collect2: ld returned 1 exit status sh: ./binary-gcl/raw_maxima: No such file or directory Error in LET* [or a callee]: Cannot delete the file #p"./binary-gcl/raw_maxima": "No such file or directory". Fast links are on: do (use-fast-links nil) for debugging Broken at DELETE-FILE. Type :H for Help. 1 (Abort) Return to top level. dbl:>> This error is reproducable on every maxima's version I tried from 5.11 and on(5.11,5.12,5.13,cvs). The gcl version I used, is the upcoming gcl-2.6.7-r3(which is based on debian's gcl_2.6.7-34 diff.) It's strange, because "binary-gcl/raw_maxima" file gets removed the time when the error happens. I didn't manage to find more, yet, but I don't think that it's a gcl's bug. On the other side, every version of maxima, compiles flawlesly with sbcl. The build.log and my emerge --info output, will follow. I hope I helped, Panagiotis
Created attachment 129690 [details] maxima-5.13.0 build.log
Created attachment 129691 [details] my emerge --info output
*** This bug has been marked as a duplicate of bug 192449 ***