Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 69950 - Scilab 3 completes emerge but fails to run
Summary: Scilab 3 completes emerge but fails to run
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High critical (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-03 09:14 UTC by Alexander Hsia
Modified: 2004-12-09 08:08 UTC (History)
1 user (show)

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 Alexander Hsia 2004-11-03 09:14:54 UTC
emerge scilab successfully installs, BUT invoking it from the command line returns the following error message:

/usr/bin/scilab: line 31: /var/tmp/portage/scilab-3.0/work/scilab-3.0/pvm3/lib/pvmgetarch: No such file or directory
/usr/bin/scilab: line 130: /var/tmp/portage/scilab-3.0/work/scilab-3.0/bin/zterm: No such file or directory

There shouldn't be any pointers to stuff in /var/tmp/portage after a merge, right?


Reproducible: Always
Steps to Reproduce:
1. emerge scilab
2. open an xterm and run scilab
3.

Actual Results:  
Get the error message at the command line

Expected Results:  
Started up scilab

ortage 2.0.51-r2 (default-x86-2004.2, gcc-3.4.2, glibc-2.3.4.20041021-r0,
2.6.9-gentoo-r1 i686)
=================================================================
System uname: 2.6.9-gentoo-r1 i686 AMD Athlon(tm) MP 2000+
Gentoo Base System version 1.6.5
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.92.0.2-r1
Headers:  sys-kernel/linux26-headers-2.6.8.1-r1
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-mp -O3 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown
/usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /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/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-mp -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs buildpkg ccache distlocks sandbox"
GENTOO_MIRRORS="ftp://mirrors.tds.net/gentoo http://mirrors.tds.net/gentoo
http://gentoo.seren.com/gentoo http://gentoo.mirrors.pair.com/"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowex 3ds X acl acpi acpi4linux alsa ared aredmem artworkextra
atlas auctex avi ba-completion berkdb bitmap-fonts blas bmp bootspla cddb cdf
cdparanoia cdr clisp cmucl codecs crypt cscope css cups divx4linux dnd dvd dvdr
dvdread encode erandom esd evms2 f77 faac faad fam fftw flac foomaticdb freetype
gcl gd gdbm gif gimp ginac gnome gnomedb gphoto2 gpm gsl gstreamer gtk gtk2
guile hal hdf hdf5 ieee1394 imagemagick imap imlib jp2 jpeg kde kerberos krb4
lapack latex ldap libg++ libwww lm_sensors lzw mad matroska mikmod mime mmap mmx
mmx2 mono motif mozilla mozsvg mp3 mpeg mpeg4 mpi ncurses nls nptl nvidia objc
oggvorbis openal opengl oss pam pda pdf pdflib perl pic plotutils png ppds
pythonqt quicktime readline rtc samba scanner sdl slang spell sse sse2 ssl
stroke svga tcltk tcpd tetex tiff transcode truetype truetype-fonts type1
type1-fonts usb x86 xfs xinerama xml2 xmms xosd xpm xprint xrandr xscreensaver
xv xvid xvmc zlib"
Comment 1 Gregorio Guidi (RETIRED) gentoo-dev 2004-11-04 07:55:45 UTC
If you look in the ebuild, there's exactly a part in pkg_postinst() to remove
those references, and in fact it works here. It's really strange it didn't 
work for you...
Comment 2 Alexander Hsia 2004-11-05 14:50:00 UTC
In my scilab-3.0.ebuild freshly synced this morning, I don't see any pkg_postinst commands that would clean this up. All I have in postinst is:
      167 pkg_postinst() {
        168     einfo "To tell Scilab about your printers, set the environment"
        169     einfo "variable PRINTERS in the form:"
        170     einfo
        171     einfo "PRINTERS=\"firstPrinter:secondPrinter:anotherPrinter\""
        172 }
So just a bunch of info statements. Is is supposed to be different than this?



Comment 3 Gregorio Guidi (RETIRED) gentoo-dev 2004-11-05 15:13:02 UTC
whops, I meant pkg_preinst(), sorry!
Comment 4 Alexander Hsia 2004-11-08 15:19:10 UTC
OK. It works now; although not from anything I did to the ebuild. Unfortunately, I allowed a lot of other things to change in the background due to an emerge -u world, so I am unsure as to what fixed it. 

Just in case someone else runs into this; here's a laundry list of things I changed just before I got scilab working. 

glibc updated to 2.3.4.20041102
gcc updated to 3.4.3

Unmerge completely scilab, tcl, & tk.
Set the CFLAGS to +tcltk and +gtk2 but -gtk
emerge scilab and let it rebuild both tcl,tk, and scilab

Incidentally, my original problem of weird malloc problems pointing at tk on startup are also gone. 
Comment 5 Patrick Kursawe (RETIRED) gentoo-dev 2004-11-30 23:23:09 UTC
So, let's close this as WORKSFORME.
Comment 6 Arie Huijzer 2004-12-09 08:08:41 UTC
This solution does not work for me:

I did:
emerge -C scilab, tcl tk
Set the CFLAGS to +tcltk and +gtk2 but -gtk
emerge -bv scilab (and let it rebuild both tcl,tk, and scilab)
problem still happens: pointers to /var/tmp/portage

emerge info:

Portage 2.0.51-r8 (gcc34-x86-2004.2, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.9-ck2 i686)
=================================================================
System uname: 2.6.9-ck2 i686 Mobile Intel(R) Pentium(R) 4 - M CPU 2.00GHz
Gentoo Base System version 1.6.7
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Nov 25 2004, 08:35:54)]
dev-lang/python:     2.3.4
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.8.5-r2, 1.5, 1.4_p6, 1.6.3, 1.7.9, 1.9.3
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.10
virtual/os-headers:  2.6.8.1-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer "
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer "
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distlocks sandbox"
GENTOO_MIRRORS="ftp://mirror.nutsmaas.nl/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="X aalib alsa apm arts artswrappersuid atlas audiofile avi berkdb bitmap-fonts cdr crypt cups divx4linux dvd encode esd f77 fftw foomaticdb fortran gdbm gif gpm gstreamer gtk2 imlib java jpeg kde ldap libaudiofile libg++ libwww mad mikmod mmx motif mpeg mysql ncurses nls oggvorbis opengl oss pam pdflib perl png ppds python qt quicktime readline scanner sdl slang sndfile spell sse ssl svga tcltk tcpd theora tiff truetype usb wifi wxwindows x86 xine xml2 xmms xv xvid zlib"