Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 177414 - [science overlay] sci-mathematics/maxima-5.12.0 fails to install
Summary: [science overlay] sci-mathematics/maxima-5.12.0 fails to install
Status: RESOLVED DUPLICATE of bug 192449
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo Science Mathematics related packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 180252
  Show dependency tree
 
Reported: 2007-05-07 08:33 UTC by onip
Modified: 2007-09-14 09:56 UTC (History)
2 users (show)

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


Attachments
ebuild.log (build.log,158.43 KB, text/plain)
2007-05-07 21:51 UTC, onip
Details

Note You need to log in before you can comment on or make changes to this bug.
Description onip 2007-05-07 08:33:53 UTC
new version of maxima compiles fine (with clisp) but emerge dies at line 137 of the ebuild, in src_install().

changing that line to

einstall || die "einstall failed"

solved the problem for me and maxima emerged fine


Reproducible: Always

Steps to Reproduce:
1. # layman -a science
2. # echo '=sci-mathematics/maxima-5.12.0' >> /etc/portage/package.keywords
3. # emerge maxima




Hal9000 ~ # emerge --info
Portage 2.1.2.2 (default-linux/x86/2007.0/desktop, gcc-4.1.1, glibc-2.5-r2, 2.6.20-gentoo-r7 i686)
=================================================================
System uname: 2.6.20-gentoo-r7 i686 Intel(R) Pentium(R) 4 CPU 2.50GHz
Gentoo Base System release 1.12.9
Timestamp of tree: Sun, 06 May 2007 10:50:01 +0000
dev-java/java-config: 1.3.7, 2.0.31-r5
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.17
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.16.1-r3
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -mmmx -msse -msse2 -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/php/apache1-php4/ext-active/ /etc/php/apache2-php4/ext-active/ /etc/php/cgi-php4/ext-active/ /etc/php/cli-php4/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -march=i686 -mmmx -msse -msse2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="buildpkg distlocks fixpackages parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.bih.net.ba/gentoo/ ftp://mirror.bih.net.ba/gentoo/ http://pandemonium.tiscali.de/pub/gentoo/"
LANG="it_IT.UTF-8"
LC_ALL="it_IT.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--as-needed"
LINGUAS="it"
MAKEOPTS="-j2"
PKGDIR="/mnt/scambio/gentoo-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/portage/local/layman/gechi /usr/portage/local/layman/pro-audio /usr/portage/local/layman/gentopia /usr/portage/local/layman/sunrise /usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acpi alsa apache2 audiofile berkdb bitmap-fonts branding bzip2 cairo cddb cdparanoia cdr cli cracklib crypt cups dbus dga directfb dri dts dvb dvd dvdr dvdread eds emboss encode evo exif fam fbcon ffmpeg firefox flac fortran ftp gdbm gif gnome gpm gstreamer gtk gtk2 gtkhtml hal iconv imagemagick imlib isdnlog java jikes jpeg jpeg2k lcms ldap libcaca libg++ mad midi mikmod mmx mng mp3 mpeg ncurses nls nptl nptlonly offensive ogg openal opengl pam pcre pdf perl png ppds pppd python qt3support quicktime readline reflection samba sdl session sndfile spell spl sse sse2 ssl svg svga tcpd theora threads tiff truetype truetype-fonts type1-fonts unicode usb v4l vcd vorbis win32codecs wmf x264 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" CAMERAS="canon ptp2" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="it" USERLAND="GNU" VIDEO_CARDS="nv nvidia vesa"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 onip 2007-05-07 09:09:42 UTC
I forgot to say that this ebuild i'm speaking about can be found in science overlay ( gentooscience.org )
Comment 2 Andrey Grozin gentoo-dev 2007-05-07 15:04:18 UTC
How it fails exactly? I have emerged it with all 4 lisps on x86, and everything worked fine.
Comment 3 onip 2007-05-07 21:51:26 UTC
Created attachment 118502 [details]
ebuild.log

 /usr/bin/install -c -m 644 ./header.hhp /var/tmp/portage/sci-mathematics/maxima-5.12.0/image//usr/share/maxima/5.12.0/doc/html/header.hhp
 /usr/bin/install -c -m 644 ./maxima.hhp /var/tmp/portage/sci-mathematics/maxima-5.12.0/image//usr/share/maxima/5.12.0/doc/html/maxima.hhp
make[4]: Leaving directory `/var/tmp/portage/sci-mathematics/maxima-5.12.0/work/maxima-5.12.0/doc/info'
make[3]: *** [install-am] Error 2
make[3]: Leaving directory `/var/tmp/portage/sci-mathematics/maxima-5.12.0/work/maxima-5.12.0/doc/info'
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/sci-mathematics/maxima-5.12.0/work/maxima-5.12.0/doc/info'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/sci-mathematics/maxima-5.12.0/work/maxima-5.12.0/doc'
make: *** [install-recursive] Error 1

!!! ERROR: sci-mathematics/maxima-5.12.0 failed.
Call stack:
  ebuild.sh, line 1614:   Called dyn_install
  ebuild.sh, line 1060:   Called qa_call 'src_install'
  environment, line 4035:   Called src_install
  maxima-5.12.0.ebuild, line 137:   Called die

These are the last lines of emerge process, I attached entire log (there's another, trivial I think, error regarding creation of an already existing dir).

I used this:
onip @ Hal9000 ~ $ eix -Ic clisp
[I] dev-lisp/clisp (2.38-r2(2)@21/03/2007): A portable, bytecode-compiled implementation of Common Lisp

I don't remember why I installed that revision  (currently ~) of clisp, but it was because of some build problems I think.
Comment 4 Andrey Grozin gentoo-dev 2007-05-08 01:17:53 UTC
This seems mysterious. On my box, make install works. I compared your log and my one. The first essential difference is that your log contains the line

/var/tmp/portage/sci-mathematics/maxima-5.12.0/work/maxima-5.12.0/install-sh -d /var/tmp/portage/sci-mathematics/maxima-5.12.0/image//usr/share/maxima/5.12.0/doc/html

twice, followed, naturally, by the error message

mkdir: cannot create directory `/var/tmp/portage/sci-mathematics/maxima-5.12.0/image//usr/share/maxima/5.12.0/doc/html': File exists

My log contains this line once, and make continues as expected. This directory creation is being done by the Makefile in doc/info, target install-datafiles. Line 887 of this Makefile is

	$(mkinstalldirs) $(DESTDIR)$(genericdir)

and $(genericdir) is /usr/share/maxima/5.12.0/doc/html here. But there is one such line! It would be interesting if you unpack maxima-5.12.0, cd doc/info, and 

make -n install-datafiles

Will make try to create /usr/share/maxima/5.12.0/doc/html once or twice? On my box, it does it once.

What can be the difference between our systems? Maybe, versions of automake? One suggestion: line 101 of the ebuild performs eautoreconf only if sbcl is used (and in my case, it is used: I build maxima for clisp, gcl, sbcl, cmucl). I don't know why. What if you replace this line by unconditional

eautoreconf

and try again?
Comment 5 onip 2007-05-08 11:27:45 UTC
I changed ebuild leaving just eautoreconf. I got the same error :(

I untarred maxima archive on my Desktop and did

$ ./configure --with-wish=none
$ make
$ cd doc/info
$ make -n install-datafiles
:
/home/onip/Desktop/maxima-5.12.0/install-sh -d /usr/local/share/maxima/5.12.0/doc/html
list='figures/dynamics1.gif figures/dynamics2.gif figures/dynamics3.gif figures/dynamics4.gif figures/dynamics5.gif figures/dynamics6.gif figures/dynamics7.gif figures/dynamics8.gif figures/dynamics9.gif figures/dynamics10.gif figures/implicit_plot.gif figures/plotdf1.gif figures/plotdf2.gif figures/plotdf3.gif figures/plotdf4.gif figures/plotdf5.gif figures/plotdf6.gif figures/plotting1.gif figures/plotting2.gif figures/plotting3.gif figures/plotting4.gif figures/plotting5.gif figures/plotting6.gif figures/plotting7.gif figures/plotting8.gif figures/plotting9.gif figures/plotting10.gif figures/plotting11.gif figures/plotting12.gif figures/plotting13.gif figures/plotting14.gif figures/plotting15.gif figures/plotting16.gif figures/plotting17.gif figures/plotting18.gif figures/plotting19.gif figures/plotting20.gif figures/plotting21.gif figures/plotting22.gif figures/plotting23.gif figures/plotting24.gif figures/plotting25.gif figures/orthopoly1.gif contents.hhc index.hhk header.hhp maxima.hhp'; for p in $list; do \
          if test -f ./$p; then \
            if test ! -d `dirname /usr/local/share/maxima/5.12.0/doc/html/$p`; then \
              /home/onip/Desktop/maxima-5.12.0/install-sh -d `dirname /usr/local/share/maxima/5.12.0/doc/html/$p`; \
            fi; \
            echo " /usr/bin/install -c -m 644 ./$p /usr/local/share/maxima/5.12.0/doc/html/$p"; \
            /usr/bin/install -c -m 644 ./$p /usr/local/share/maxima/5.12.0/doc/html/$p; \
          else if test -f $p; then \
            if test ! -d `dirname /usr/local/share/maxima/5.12.0/doc/html/$p`; then \
              /home/onip/Desktop/maxima-5.12.0/install-sh -d `dirname /usr/local/share/maxima/5.12.0/doc/html/$p`; \
            fi; \
            echo " /usr/bin/install -c -m 644 $p /usr/local/share/maxima/5.12.0/doc/html/$p"; \
            /usr/bin/install -c -m 644 $p /usr/local/share/maxima/5.12.0/doc/html/$p; \
          fi; fi; \
        done

Hope this helps
Comment 6 Timothy Stotts 2007-05-29 18:00:51 UTC
works fine for me on an x86 with smp and multiple jobs in MAKEOPTS
Comment 7 Timothy Stotts 2007-05-29 18:44:35 UTC
please consider keywording ~ppc

builds, installs, and executes just fine on ~ppc.
Comment 8 juantxorena@gmail.com 2007-07-21 08:55:18 UTC
If this works, why not have it in the portage tree? There is something that prevents this?
Comment 9 Markus Dittrich (RETIRED) gentoo-dev 2007-07-21 13:13:30 UTC
Hi Juan,

As soon as I find some time I will have a look at this.

Best,
Markus
Comment 10 Sébastien Fabbro (RETIRED) gentoo-dev 2007-09-14 09:56:17 UTC
Hi

I removed maxima-5.12.0 from the science overlay.
Could you try maxima-5.13.0 from the main tree and report in bug #192449 any problems during compilation?

Sebastien

*** This bug has been marked as a duplicate of bug 192449 ***