When building scilab-4.0 it gets to the point where it is trying to run a script that compiles the macros and can't find them. The ebuild just hangs. The terminal has to be closed but then scilex needs to be killed. The error: rm -f Gensosce gcc -mtune=athlon-xp -O2 -fomit-frame-pointer -pipe `pkg-config gtk+-2.0 --cflags` -o Gensosce Gensosce.c -lieee rm -f Gensomex gcc -mtune=athlon-xp -O2 -fomit-frame-pointer -pipe `pkg-config gtk+-2.0 --cflags` -o Gensomex Gensomex.c -lieee rm -f Tomake gcc -mtune=athlon-xp -O2 -fomit-frame-pointer -pipe `pkg-config gtk+-2.0 --cflags` -o Tomake Tomake.c -lieee rm -f Forwin gcc -mtune=athlon-xp -O2 -fomit-frame-pointer -pipe `pkg-config gtk+-2.0 --cflags` -o Forwin Forwin.c -lieee ../bin/scilab -nwni -ns -f buildmacros.sce ------------------------------------------- scilab-4.0 Copyright (c) 1989-2006 Consortium Scilab (INRIA, ENPC) ------------------------------------------- Warning: the operational team of the Scilab Consortium does not directly provide nor officially support this version of Scilab built with the GTK widget Startup execution: loading initial environment load('SCI/macros/mtlb/lib') !--error 241 File SCI/macros/mtlb/lib does not exist or read access denied at line 42 of exec file called by : exec('SCI/scilab.star',-1);;quit --> That is where it hangs. # emerge --info Portage 2.1.1-r2 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.4-r4, 2.6.17-gentoo-r4 i686) ================================================================= System uname: 2.6.17-gentoo-r4 i686 AMD Athlon(tm) XP 1700+ Gentoo Base System version 1.12.6 Last Sync: Mon, 20 Nov 2006 04:00:01 +0000 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.3 [enabled] app-admin/eselect-compiler: [Not Present] dev-java/java-config: 1.3.7, 2.0.30 dev-lang/python: 2.2.3-r6, 2.3.5, 2.4.4 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.3 dev-util/confcache: [Not Present] 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.14 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17-r1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-mtune=athlon-xp -O2 -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config /var/bind" 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="-mtune=athlon-xp -O2 -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--alphabetical" FEATURES="autoconfig candy ccache distlocks fixpackages metadata-transfer sandbox sfperms" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LC_ALL="en_US" LINGUAS="en" 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'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://wendy/portage" USE="x86 3dnow 3dnowext X Xaw3d aac alsa ansi artworkextra asf bash-completion berkdb bitmap-fonts bl boo bzip2 c++ cairo cdr cgi cli commercial cracklib crypt ctype cups dba dbus dlloader dri dv dvd dvdr dvdread eds elibc_glibc emacs emboss encode esd fam fastcgi ffmpeg firefox flac fortran gdbm gif gnome gphoto2 gpm gs gstreamer gtk gtkhtml hal hbci howl iconv imagemagick imap input_devices_keyboard input_devices_mouse ipv6 isdnlog jack java javascript jikes jpeg kernel_linux ladspa ldap libg++ linguas_en mad math mikmod mmx mng mono mozbranding mozilla moznomail mozsvg mp3 mpeg musepack ncurses nls nptl nptlonly nsplugin nvidia ofx ogg opengl oss pam pcre pdf pdo-external perl php png portaudio ppds pppd python qt3 qt4 quicktime readline real reflection samba sdl session simplexml slp soap speex spell spl sqlite3 sse sse2 ssl tcltk tcpd tetex threads toolbar truetype truetype-fonts type1-fonts udev unicode usb userland_GNU v4l2 video_cards_nvidia vorbis win32codecs xinerama xml xorg xsl xv xvid xvmc zlib" Unset: CTARGET, INSTALL_MASK, LANG, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS Since having this error, I upgraded to gcc-4.1.1 (from 3.4.6). I changed the config to point to 4.1.1, re-emerged libtool. I also did emerge -e system. I did not do emerge -e world but I did re-emerge all the dependencies listed in the scilab ebuild. I get the same error. If I try to run the ebuild from an ssh terminal, it dies because it says it can't open the display. Idi
(In reply to comment #0) Due to the warning I got about GTK, I did re-emerge with USE=-gtk emerge scilab. When it gets to the same point it runs scilab but within scilab I get the same exact error about not being able to load('SCI/macros/mtlb/lib')
(In reply to comment #0) > load('SCI/macros/mtlb/lib') > !--error 241 > File SCI/macros/mtlb/lib does not exist or read access denied > at line 42 of exec file called by : > exec('SCI/scilab.star',-1);;quit > Somehow, scilab seems to get confused with its internal SCI environmental variable which should expand into the proper path. Do you already have a version of scilab installed? Thanks, Markus
(In reply to comment #2) > Somehow, scilab seems to get confused with its internal SCI > environmental variable which should expand into the proper path. > Do you already have a version of scilab installed? > > Thanks, > Markus > I have 4.0 installed now but it no longer runs. It complains about not finding libvte.so.4 when I try to run it. I do not run scilab that often so I don't know when it broke. I am emerging updates often so it could have broken weeks ago and I am just now finding out when I want to run scilab. I re-emerged vte but that didn't help. Now I am trying to re-emerge scilab-4.0. Thanks
(In reply to comment #3) > (In reply to comment #2) > > Somehow, scilab seems to get confused with its internal SCI > > environmental variable which should expand into the proper path. > > Do you already have a version of scilab installed? > > > > Thanks, > > Markus > > > > I have 4.0 installed now but it no longer runs. It complains about not finding > libvte.so.4 when I try to run it. I do not run scilab that often so I don't > know when it broke. I am emerging updates often so it could have broken weeks > ago and I am just now finding out when I want to run scilab. > > I re-emerged vte but that didn't help. Now I am trying to re-emerge scilab-4.0. > > Thanks > I emerge --unmerge scilab and tried to emerge it again but I get the same error. Any ideas for me to try? Thanks
Could you possibly capture all of the emerge output (until it fails), bzip it and post it somewhere (or send it to me via email). I'd like to have a look at it. Please don't post it here since it'll probably be a fairly large file. Thanks, Markus
Hi Mike, I had a look at the output you sent me and, unfortunately, nothing really looked suspicious. There are two things I'd like you to please try: - try compiling without USE="-Xaw3d" - if this doesn't help, please cd into /var/tmp/portage/sci-mathematics/scilab-4.0/work/scilab-4.0/macros and run ../bin/scilab -nwni -ns -f buildmacros.sce by hand to see what happens. If this still hangs you could try an strace strace ../bin/scilab -nwni -ns -f buildmacros.sce and check where it hangs. Thanks, Markus
(In reply to comment #6) > Hi Mike, > > I had a look at the output you sent me and, unfortunately, nothing really > looked suspicious. There are two things I'd like you to please try: > - try compiling without USE="-Xaw3d" > - if this doesn't help, please cd into > /var/tmp/portage/sci-mathematics/scilab-4.0/work/scilab-4.0/macros > and run > ../bin/scilab -nwni -ns -f buildmacros.sce > by hand to see what happens. If this still hangs you could try an strace > strace ../bin/scilab -nwni -ns -f buildmacros.sce > and check where it hangs. > > Thanks, > Markus > Markus, When I emerge scilab with -Xaw3D, I get the same error. Now that I am running with -gtk it runs scilab with when it hits the buildmacros command but I get the same error: Startup execution: loading initial environment load('SCI/macros/mtlb/lib') !--error 241 File SCI/macros/mtlb/lib does not exist or read access denied at line 42 of exec file called by : exec('SCI/scilab.star',-1);;quit but it is within scilab. I ran the buildmacros.sce like you suggest but it is in a different path on my system: /var/tmp/portage/scilab-4.0/work/scilab-4.0/macros It runs scilab as it does with the emerge and I get the same error within scilab Startup execution: loading initial environment load('SCI/macros/mtlb/lib') !--error 241 File SCI/macros/mtlb/lib does not exist or read access denied at line 42 of exec file called by : exec('SCI/scilab.star',-1);;quit I ran it with strace. It gets to the waitpid command towards the end and runs scilab to compile the macros and I get the same error within scilab and I have to quit scilab twice to get out. In my original post above I said it hangs. It does with use=:gtk". With use="-gtk tcltk" it runs scilab but gives the same error. I have bzipped the strace output and emailed it to you. Thanks Mike
Hi Mike, Unfortunately, the strace didn't provide any clues. The reason for the failure likely is the fact that the call ../bin/scilab -nwni -ns -f buildmacros.sce ignores the -ns command line flag and happily loads the environment anyway causing the build to fail. I found a similar report in scilab's bugzilla and we'll probably have to watch it until the scilab devs come up with a fix http://www.scilab.org/cgi-bin/bugzilla_bug_II/show_bug.cgi?id=2212 Best, Markus
Hi Mike, Could you please try with scilab-4.1 (should hit the mirrors in about an hour from now) and let me know if you still have this problem? Thanks, Markus
(In reply to comment #9) > Hi Mike, > > Could you please try with scilab-4.1 (should hit the mirrors in about an > hour from now) and let me know if you still have this problem? > > Thanks, > Markus > Markus, Unfortunately, I get the same error. Thanks for continuing to look at this. There must be something else on my system that is messed up. Thanks Mike
Hi Mike, Bummer, I was really hoping that 4.1 would help you out! It doesn't look like much has happened on the upstream bug. I'll post back in case I can think of something else to try. Best, Markus
Hi Mike, Are you still having issues with this using scilab-4.1.1? Thanks, Markus
(In reply to comment #12) > Hi Mike, > > Are you still having issues with this using scilab-4.1.1? > > Thanks, > Markus > Yes. Unfortunately. Same problem
Hi Mike, Too bad :( BTW, in a different bug the issue came up that emerging scilab with USE="-tk gtk" for some very weird reason causes all sorts of trouble on amd64. Hence, should these be your useflags as well please try USE="tk gtk" even if you only want the gtk interface. Thanks, Markus
(In reply to comment #14) > Hi Mike, > > Too bad :( > BTW, in a different bug the issue came up that emerging > scilab with USE="-tk gtk" for some very weird reason > causes all sorts of trouble on amd64. Hence, should these > be your useflags as well please try USE="tk gtk" even if > you only want the gtk interface. > > Thanks, > Markus > USE="tk gtl" emerge scilab . . . Startup execution: loading initial environment load('SCI/macros/mtlb/lib') !--error 241 File SCI/macros/mtlb/lib does not exist or read access denied at line 51 of exec file called by : exec('SCI/scilab.star',-1);;quit --> Same thing
Hi Mike, Thanks for trying and too bad :( Markus
Is this still valid for 4.1.2?
dropped from the tree, use sci overlay versions instead