Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 142298 - sci-mathematics/axiom-3.9-r1 fails to build on x86
Summary: sci-mathematics/axiom-3.9-r1 fails to build on x86
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo Science Mathematics related packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 167204
  Show dependency tree
 
Reported: 2006-07-31 09:52 UTC by Roger Mason
Modified: 2008-01-31 02:11 UTC (History)
5 users (show)

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


Attachments
outpu of emerge gcl (gcl.log,170.81 KB, text/plain)
2006-08-04 09:58 UTC, Roger Mason
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Roger Mason 2006-07-31 09:52:27 UTC
emerge --info

Gentoo Base System version 1.6.13
Portage 2.0.54-r2 (default-linux/x86/2006.0, gcc-3.3.6, glibc-2.3.5-r2, 2.6.13-gentoo-r3 i686)
=================================================================
System uname: 2.6.13-gentoo-r3 i686 Celeron (Mendocino)
distcc 2.18.3 i586-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.3.4, 2.4.2
dev-python/pycrypto: [Not Present]
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/gcc-config: 1.3.12-r2
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i586-pc-linux-gnu"
CFLAGS="-O2 -mcpu=i586 -fomit-frame-pointer"
CHOST="i586-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib/X11/xkb /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/ge\
neric/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -mcpu=i586 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X Xaw3d alsa apache2 apm atlas audiofile avi bash-completion berkdb bindist bitmap-fonts bonobo bzip2 bzlib cdb cdr \
cli crypt cups curl dlloader dri eds emacs emacs-w3 emboss encode esd expat fam fftw flac foomaticdb fortran gd gdbm gif glut\
 gmp gnome gnustep gpm gstreamer gtk gtk2 gtkhtml iconv imagemagick imlib ipv6 isdnlog java jpeg lcms ldap leim lesstif libed\
it libg++ libwww mad mbox mikmod mime mmap mng motif mozilla mp3 mpeg ncurses netcdf nls nptl ogg opengl oss pam pcre pdflib \
perl pic pie plotutils png postgres pppd python qsteamer qt3 qt4 quile readline reflection ruby samba sasl sdl session shared\
 sharedmem slang slp snmp soap sockets spell spl ssl svg svga tcl tcltk tcpd tetex tiff tk truetype truetype-fonts type1-font\
s udev usb vorbis wmf wxwindows xine xml xml2 xmms xorg xpm xv zlib input_devices_keyboard input_devices_mouse input_devices_\
evdev userland_GNU kernel_linux elibc_glibc"
Unset:  CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTAGE_RSYNC_OPTS

Steps to reproduce:
emerge sci-mathematics/axiom


Actual result --> the following message:
....
ar: creating libgcl.a
cp init_gcl.lsp.in init_gcl.lsp.tmp
cat init_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 -mcpu=i586 -fomit-frame-pointer -Wall -DVOL=volatile -fsigned-char -pipe \"#1" \
        -e "s#@LI-LD@#\"gcc -o \"#1" \
        -e "s#@LI-LD-LIBS@#\"   -lgcl -lm  -lgmp -lreadline -lncurses -lc -lgclp /var/tmp/portage/axiom-3.9-r1/work/axiom/obj/
linux/lib/libspad.a  \"#1" \
        -e "s#@LI-OPT-THREE@#\"-O3 -fomit-frame-pointer\"#1" \
        -e "s#@LI-OPT-TWO@#\"-O\"#1" \
        -e "s#@LI-INIT-LSP@#\"init_gcl.lsp\"#1" >init_gcl.lsp
touch raw_gcl_map
gcc -o raw_gcl /var/tmp/portage/axiom-3.9-r1/work/axiom/obj/linux/lib/cfuns-c.o /var/tmp/portage/axiom-3.9-r1/work/axiom/obj/l
inux/lib/sockio-c.o \
        -L.  -Wl,-Map raw_gcl_map   -lgcl -lm  -lgmp -lreadline -lncurses -lc -lgclp /var/tmp/portage/axiom-3.9-r1/work/axiom/
obj/linux/lib/libspad.a
./libgcl.a(sys_gcl.o)(.text+0x348b): In function `gcl_init_system':
: undefined reference to `init_gcl_cmptype'
./libgcl.a(sys_gcl.o)(.text+0x41aa): In function `gcl_init_system':
: undefined reference to `init_gcl_sloop'
./libgcl.a(sys_gcl.o)(.text+0x540b): In function `gcl_init_system':
: undefined reference to `init_gcl_predlib'
collect2: ld returned 1 exit status
make[4]: *** [raw_gcl] Error 1
rm init_gcl.lsp.tmp raw_gcl_map
make[4]: Leaving directory `/var/tmp/portage/axiom-3.9-r1/work/axiom/lsp/gcl-2.6.7/unixport'
make[3]: *** [unixport/saved_gcl] Error 2
make[3]: Leaving directory `/var/tmp/portage/axiom-3.9-r1/work/axiom/lsp/gcl-2.6.7'
/bin/sh: unixport/saved_gcl: No such file or directory
make[2]: *** [gcldir] Error 127
make[2]: Leaving directory `/var/tmp/portage/axiom-3.9-r1/work/axiom/lsp'
make[1]: *** [lspdir] Error 2
make[1]: Leaving directory `/var/tmp/portage/axiom-3.9-r1/work/axiom'
make: *** [all] Error 2

Expected result:
Clean build of axiom-3.9
Comment 1 Tim Yamin (RETIRED) gentoo-dev 2006-07-31 15:37:20 UTC
Hrm, rather weird; does dev-lisp/gcl compile for you?
Comment 2 Roger Mason 2006-08-02 02:06:54 UTC
(In reply to comment #1)
> Hrm, rather weird; does dev-lisp/gcl compile for you?
> 

No! It fails with exactly the same error.
Comment 3 Tim Yamin (RETIRED) gentoo-dev 2006-08-03 21:28:03 UTC
(In reply to comment #2)
> (In reply to comment #1)
> > Hrm, rather weird; does dev-lisp/gcl compile for you?
> 
> No! It fails with exactly the same error.

Matthew, any ideas on this one?
Comment 4 Matthew Kennedy (RETIRED) gentoo-dev 2006-08-04 07:21:51 UTC
Roger, Please attach the complete compilation log, eg. emerge gcl &>log-for-matt
Comment 5 Roger Mason 2006-08-04 09:58:39 UTC
Created attachment 93430 [details]
outpu of emerge gcl
Comment 6 M. Edward Borasky 2006-08-12 21:15:13 UTC
IIRC axiom builds its own copy of GCL and some other things. 
Comment 7 Tim Yamin (RETIRED) gentoo-dev 2006-08-13 14:42:39 UTC
Roger, you may want to upgrade binutils -- see if that helps.
Comment 8 Roger Mason 2006-08-14 06:05:47 UTC
(In reply to comment #7)
> Roger, you may want to upgrade binutils -- see if that helps.
> 

Unfortunately, no:

emerge binutils
[ebuild   R   ] sys-devel/binutils-2.16.1-r3  -multislot -multitarget +nls -test -vanilla 0 kB
source /etc/profile
emerge gcl
gcc -o raw_gcl  \
        -L.  -Wl,-Map raw_gcl_map   -lgcl -lm  -lgmp -lreadline -lncurses -lc -lgclp
./libgcl.a(sys_gcl.o): In function `gcl_init_system':
sys_gcl.c:(.text+0x348b): undefined reference to `init_gcl_cmptype'
sys_gcl.c:(.text+0x41aa): undefined reference to `init_gcl_sloop'
sys_gcl.c:(.text+0x540b): undefined reference to `init_gcl_predlib'
collect2: ld returned 1 exit status
make[1]: *** [raw_gcl] Error 1
rm init_gcl.lsp.tmp raw_gcl_map
make[1]: Leaving directory `/var/tmp/portage/gcl-2.6.7/work/gcl-2.6.7/unixport'
make: *** [unixport/saved_gcl] Error 2

This is the same error as the original.
Comment 9 M. Edward Borasky 2006-12-16 22:52:27 UTC
Is this still happening? I haven't tried to build Axiom in a long time, but I'm getting ready to crank it up again.

By the way, there are two repositories with more recent Axiom source to build from if anyone is interested. There is a so-called "gold" branch and a "silver" branch. To get gold, do

cvs -z3 -d:pserver:anonymous@cvs.savannah.nongnu.org:/sources/axiom co axiom

Right now, that looks like it last changed about 2006-08-29. To get silver, do

svn co https://svn.sourceforge.net/svnroot/axiom/trunk silver

That looks like it was last updated 2006-09-14. 

I usually build "silver". I'm a casual user, not an expert by any means, so I've never run into a bug in either of them.
Comment 10 Jakub Moc (RETIRED) gentoo-dev 2007-02-04 14:08:18 UTC
mkennedy retired, reassigning to herd.
Comment 11 Flophouse Joe 2007-02-17 13:23:16 UTC
I haven't been able to duplicate this problem; is it still happening?

I've filed a stabilization request in bug #167204 and this bug is blocking it.  Since the last confirmation of the problem appeared 6 months ago, it might be possible that the problem no longer appears and that this is blocking stabilization unnecessarily.
Comment 12 M. Edward Borasky 2007-02-17 17:22:16 UTC
(In reply to comment #11)
> I haven't been able to duplicate this problem; is it still happening?
> 
> I've filed a stabilization request in bug #167204 and this bug is blocking it. 
> Since the last confirmation of the problem appeared 6 months ago, it might be
> possible that the problem no longer appears and that this is blocking
> stabilization unnecessarily.
> 
I don't think it's still happening. I have seen some miscellaneuous issues with GCL itself, though. I'll remove GCL and test the ebuild, though my recommendation is still to go with the Axiom "Gold" upstream source. I'll test that too :).
Comment 13 Roger Mason 2007-02-17 19:34:46 UTC
(In reply to comment #12)
> (In reply to comment #11)
> > I haven't been able to duplicate this problem; is it still happening?
> > 
> > I've filed a stabilization request in bug #167204 and this bug is blocking it. 
> > Since the last confirmation of the problem appeared 6 months ago, it might be
> > possible that the problem no longer appears and that this is blocking
> > stabilization unnecessarily.
> > 
> I don't think it's still happening. I have seen some miscellaneuous issues with
> GCL itself, though. I'll remove GCL and test the ebuild, though my
> recommendation is still to go with the Axiom "Gold" upstream source. I'll test
> that too :).
> 


I have not tried to build axiom since the failure reported with this bug  (I started using Sage instead).  Hope my neglect has not caused you to waste too much time stabilising it.
Comment 14 M. Edward Borasky 2007-02-18 00:29:28 UTC
works for me as of this posting. Pentium III, pretty much everything on my box ~x86. Here's emerge --info after a successful build:

$ emerge --info 
Portage 2.1.2-r9 (default-linux/x86/2006.0, gcc-4.1.2, glibc-2.5-r0, 2.6.20-gentoo i686)
=================================================================
System uname: 2.6.20-gentoo i686 Pentium III (Coppermine)
Gentoo Base System version 1.12.9
Timestamp of tree: Sat, 17 Feb 2007 02:30:01 +0000
dev-java/java-config: 1.3.7, 2.0.31-r3
dev-lang/python:     2.4.4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61
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.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.20
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium3 -pipe -fomit-frame-pointer"
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/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -march=pentium3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.mirrors.easynews.com/linux/gentoo/ ftp://gentoo.chem.wisc.edu/gentoo/ http://gentoo.chem.wisc.edu/gentoo/ ftp://gentoo.mirrors.tds.net/gentoo http://mirror.utdlug.org/linux/distributions/gentoo/ ftp://mirror.utdlug.org/linux/distributions/gentoo/ ftp://ftp.ndlug.nd.edu/pub/gentoo/ http://open-systems.ufl.edu/mirrors/gentoo http://mirror.phy.olemiss.edu/mirror/gentoo ftp://gentoo.netnitco.net/pub/mirrors/gentoo/source/"
MAKEOPTS="-j1"
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/portage/local/layman/science /usr/portage/local/layman/sunrise"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X Xaw3d a52 aac aalib activefilter ada addbookmarks adns agg alias alsa amr ansi ao aotuv apache2 apm aspell atlas auctex audiofile avahi backtrace bash-completion bcp berkdb big-tables bitmap-fonts bjam blas bonobo boost branding bzip2 cairo cblas ccache cddb cdr cgi cli client clisp cluster cmucl connectionstatus contactnotes cracklib crypt cscope css curl cvs dbus dga dhcp djbfft dlloader dri dssi dts dv dvd dvdr dvdread effects elf emacs emboss emf encode enscript eselect exif extraengine extrafilters f90 fame fastcgi ffmpeg fftw firefox fits flac fltk foomaticdb force-reg fortran fpx fuse gd gdbm geos ggi gif ginac glade glibc-omitfp glitz glut glw gmath gml gmp gnuplot gpm grammar graphviz gs gtk gtk2 gtkhtml gtkspell guile hal haskell hdf hlapi html icon iconv ide imagemagick imlib inkjar iodbc iplsrc ipv6 irc isdnlog ispell jack java javamail jbig jce jpeg jpeg2k jython kdeenablefinal kig-scripting kirbybase kqemu ladcca ladspa lame lapack largefile lash latex lcms libcaca libg++ libgda libnotify libwww lighttpd lm_sensors logitech-mouse lua lzo mad markdown math max-idx-128 mdb mfd-rewrites midi mikmod mjpeg mmap mmx mng mono motif mozbranding mozcalendar mozdevelop mozdom mozsha1 mozsvg mozxmlterm mp3 mp3rtp mpeg mpm-prefork musepack musicbrainz mysql nas ncurses netcdf netmeeting new-clx nptl nptlonly nsplugin ntfs numeric nvidia objc ocaml odbc ogdi ogg openexr opengl oss ots pam pascal patch-loader pcntl pcre pdf perforce perl pg-hier pg-intdatetime pg-vacuumdelay php pike plotutils plugin plugins png portaudio posix postgres povray pppd preview-latex pulseaudio pygrub pyste python qt3 qt3support qt4 quicktime rdesktop readline reiserfs rhino ruby samba sbcl screen sdl seamonkey server session silvercity slang slp smux sndfile source spell spl sql sqlite sqlite3 sse sse-filters ssl startup-notification subversion svg svga svgz sysfs szip t1lib tcl tcltk tcpd tetex textile theora thesaurus threads thumbnail thunar-vfs tidy tiff timidity tk toolbar translator truetype truetype-fonts type1-fonts umfpack unicode usb v4l v4l2 vcd vim vim-pager vim-with-x vnc vorbis vorbis-psy wmf wordperfect x264 x86 xml xorg xpm xrandr xscreensaver xslt xterm xv xvid yahoo yv12 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="evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nv"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPT
------------------------------------------------------------------------------
So it's stable for me. On to upstream for some more recent code!

Comment 15 Flophouse Joe 2007-02-22 20:51:29 UTC
(In reply to comment #14)
> So it's stable for me. On to upstream for some more recent code!

Cool!  Since it seems like it's currently stable on x86, how do the devs feel about resolving this bug?

That would clear the way to keyword axiom-3.9-r1 stable on amd64 and x86 as per #167204, and it would also give us some time with a stable version in the tree until we hear back from M. Edward Borasky re: a newer snapshot.
Comment 16 M. Edward Borasky 2007-02-23 15:54:17 UTC
(In reply to comment #15)
> (In reply to comment #14)
> > So it's stable for me. On to upstream for some more recent code!
> 
> Cool!  Since it seems like it's currently stable on x86, how do the devs feel
> about resolving this bug?
> 
> That would clear the way to keyword axiom-3.9-r1 stable on amd64 and x86 as per
> #167204, and it would also give us some time with a stable version in the tree
> until we hear back from M. Edward Borasky re: a newer snapshot.
> 

I just downloaded and built the "gold" snapshot from CVS last night and everything looks good. I haven't been able to find a stable *tarball*, however. So whoever owns the ebuild will probably need to make one and validate it somehow. To get a source tree, do

cvs -z3 -d:pserver:anonymous@cvs.savannah.nongnu.org:/sources/axiom co axiom

There's more on the pedigree of this at

http://wiki.axiom-developer.org/AxiomSources

This is the Gold (Stable) branch. It was last changed in late August of 2006. It comes up as the September 2006 version, which is a year newer than what's in Portage at the moment.
Comment 17 M. Edward Borasky 2007-09-11 15:01:41 UTC
(In reply to comment #16)
> (In reply to comment #15)
> > (In reply to comment #14)
> > > So it's stable for me. On to upstream for some more recent code!
> > 
> > Cool!  Since it seems like it's currently stable on x86, how do the devs feel
> > about resolving this bug?
> > 
> > That would clear the way to keyword axiom-3.9-r1 stable on amd64 and x86 as per
> > #167204, and it would also give us some time with a stable version in the tree
> > until we hear back from M. Edward Borasky re: a newer snapshot.
> > 
> 
> I just downloaded and built the "gold" snapshot from CVS last night and
> everything looks good. I haven't been able to find a stable *tarball*, however.
> So whoever owns the ebuild will probably need to make one and validate it
> somehow. To get a source tree, do
> 
> cvs -z3 -d:pserver:anonymous@cvs.savannah.nongnu.org:/sources/axiom co axiom
> 
> There's more on the pedigree of this at
> 
> http://wiki.axiom-developer.org/AxiomSources
> 
> This is the Gold (Stable) branch. It was last changed in late August of 2006.
> It comes up as the September 2006 version, which is a year newer than what's in
> Portage at the moment.
> 

I'm currently testing recent versions of Axiom. In case you haven't heard, there have been some heated exchanges on the Axiom mailing lists and there are now two forks of Axiom, one called FriCas and the other called OpenAxiom. For now I am sticking with the original Axiom -- I don't have the time to test forks, especially forks that occurred in "anger".

At any rate, the current "Golden" Axiom is dated September 1, 2007. This is now *two* years newer than what is in Portage, and I'd recommend moving to "Golden" Axiom in Portage. Here's the email I got from Tim Daly on it:

Axiom's last Gold release was on Sept 1, 2007. Arch, Sourceforge CVS,
and Savannah CVS all contain the Sept 2007 sources. Sourceforge SVN
and git contain the Silver sources. Silver has the new )help.

As part of recovery of the project I am going back to the schedule
of Gold releases every 2 months. The major focus of change in the
next release will be more documentation, bug fixes, and regression
testing. You'll notice the difference if you look at the new test
messages which now report the number of tests that pass and fail.
Help documentation and regression tests are extracted from algebra 
files at build time.

Comment 18 Christian Heim (RETIRED) gentoo-dev 2007-10-13 18:37:54 UTC
(In reply to comment #0)
> ar: creating libgcl.a
> cp init_gcl.lsp.in init_gcl.lsp.tmp
> cat init_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 -mcpu=i586 -fomit-frame-pointer -Wall
> -DVOL=volatile -fsigned-char -pipe \"#1" \
>         -e "s#@LI-LD@#\"gcc -o \"#1" \
>         -e "s#@LI-LD-LIBS@#\"   -lgcl -lm  -lgmp -lreadline -lncurses -lc
> -lgclp /var/tmp/portage/axiom-3.9-r1/work/axiom/obj/
> linux/lib/libspad.a  \"#1" \
>         -e "s#@LI-OPT-THREE@#\"-O3 -fomit-frame-pointer\"#1" \
>         -e "s#@LI-OPT-TWO@#\"-O\"#1" \
>         -e "s#@LI-INIT-LSP@#\"init_gcl.lsp\"#1" >init_gcl.lsp
> touch raw_gcl_map
> gcc -o raw_gcl /var/tmp/portage/axiom-3.9-r1/work/axiom/obj/linux/lib/cfuns-c.o
> /var/tmp/portage/axiom-3.9-r1/work/axiom/obj/l
> inux/lib/sockio-c.o \
>         -L.  -Wl,-Map raw_gcl_map   -lgcl -lm  -lgmp -lreadline -lncurses -lc
> -lgclp /var/tmp/portage/axiom-3.9-r1/work/axiom/
> obj/linux/lib/libspad.a
> ./libgcl.a(sys_gcl.o)(.text+0x348b): In function `gcl_init_system':
> : undefined reference to `init_gcl_cmptype'
> ./libgcl.a(sys_gcl.o)(.text+0x41aa): In function `gcl_init_system':
> : undefined reference to `init_gcl_sloop'
> ./libgcl.a(sys_gcl.o)(.text+0x540b): In function `gcl_init_system':
> : undefined reference to `init_gcl_predlib'
> collect2: ld returned 1 exit status
> make[4]: *** [raw_gcl] Error 1
> rm init_gcl.lsp.tmp raw_gcl_map
> make[4]: Leaving directory
> `/var/tmp/portage/axiom-3.9-r1/work/axiom/lsp/gcl-2.6.7/unixport'
> make[3]: *** [unixport/saved_gcl] Error 2
> make[3]: Leaving directory
> `/var/tmp/portage/axiom-3.9-r1/work/axiom/lsp/gcl-2.6.7'
> /bin/sh: unixport/saved_gcl: No such file or directory
> make[2]: *** [gcldir] Error 127
> make[2]: Leaving directory `/var/tmp/portage/axiom-3.9-r1/work/axiom/lsp'
> make[1]: *** [lspdir] Error 2
> make[1]: Leaving directory `/var/tmp/portage/axiom-3.9-r1/work/axiom'
> make: *** [all] Error 2

Same here, trying to reproduce bug 186926.
Comment 19 M. Edward Borasky 2007-10-13 23:52:47 UTC
I haven't touched Axiom in a couple of weeks -- I'm embedded in a Ruby project until the middle of November. Meanwhile my recommendation stands -- put Axiom "Gold" in the tree and get rid of this ancient version.
Comment 20 Markus Dittrich (RETIRED) gentoo-dev 2008-01-30 14:11:07 UTC
Folks, axiom-200711 has just been unmasked and
seems work fine for me. Please give it a shot and open
a new bug should there be any issues building it.

I am closing this one as WONTFIX since I am not
planning on fixing axiom-3.9 which is quite old.

Best, 
Markus
Comment 21 M. Edward Borasky 2008-01-31 02:11:59 UTC
I had to put it in package.unmask (this morning -- that may have changed since then) but axiom-200711 emerged fine and started up fine on AMD64. It does claim to be from September, not November, but that's probably upstream. I'm going to poke around and see if all the docs are there.

$ axiom
                        AXIOM Computer Algebra System 
                         Version: Axiom (Sept 2007)
             Timestamp: Wednesday January 30, 2008 at 06:49:23 
-----------------------------------------------------------------------------
   Issue )copyright to view copyright notices.
   Issue )summary for a summary of useful system commands.
   Issue )quit to leave AXIOM and return to shell.
-----------------------------------------------------------------------------
 
   Re-reading compress.daase   Re-reading interp.daase
   Re-reading operation.daase
   Re-reading category.daase
   Re-reading browse.daase
(1) -> 
(1) ->