I have successfully merged =sci-mathematics/scilab-4.1.2 but the example of page /usr/lib/scilab-4.1.2/man/eng/utilities/ilib_for_link.htm does no more work. It worked with previous versions of scilab. There lacks the file /usr/lib/scilab-4.1.2/libtool and the directory /usr/lib/scilab-4.1.2/config, created at install time but not merged. The following instructions repaired my scilab installation : ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: ebuild /usr/portage/sci-mathematics/scilab/scilab-4.1.2.ebuild install cp /var/tmp/portage/sci-mathematics/scilab-4.1.2/work/scilab-4.1.2/libtool /usr/lib/scilab-4.1.2/ cp -a /var/tmp/portage/sci-mathematics/scilab-4.1.2/work/scilab-4.1.2/config /usr/lib/scilab-4.1.2/ rm -rf /var/tmp/portage/sci-mathematics ========================================================================= This also repaired my installation of scilab-4.1.1 on amd64 and of scilab-4.1 on x86, which had exactly the same problem. Content of loader.sce : ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: // generated by builder.sce: Please do not edit this file // ------------------------------------------------------ fooc_path=get_absolute_file_path('loader.sce'); link(fooc_path+'libfooc.so',['fooc'],'c'); ========================================================================= Content of Makelib : ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: # generated by builder.sce: Please do not edit this file # ------------------------------------------------------ SCIDIR = /usr/lib/scilab-4.1 OBJS = fooc.o OTHERLIBS = LIBRARY = libfooc include $(SCIDIR)/Makefile.incl CFLAGS = $(CC_OPTIONS) FFLAGS = $(FC_OPTIONS) EXTRA_LDFLAGS = include $(SCIDIR)/config/Makeso.incl ========================================================================= Reproducible: Always Steps to Reproduce: f1=['int ext1c(n, a, b, c)' 'int *n; double *a, *b, *c;' '{int k;' ' for (k = 0; k < *n; ++k) ' ' c[k] = a[k] + b[k];' ' return(0);}']; mputl(f1,'fun1.c') //creating the shared library (a gateway, a Makefile and a loader are //generated. ilib_for_link('ext1c','fun1.o',[],"c") // load the shared library exec loader.sce //using the new primitive a=[1,2,3];b=[4,5,6];n=3; c=call('ext1c',n,1,'i',a,2,'d',b,3,'d','out',[1,3],4,'d') exit Actual Results: ------------------------------------------- scilab-4.1.2 Copyright (c) 1989-2007 Consortium Scilab (INRIA, ENPC) ------------------------------------------- Startup execution: loading initial environment -->f1=['int ext1c(n, a, b, c)' --> 'int *n; double *a, *b, *c;' --> '{int k;' --> ' for (k = 0; k < *n; ++k) ' --> ' c[k] = a[k] + b[k];' --> ' return(0);}']; --> -->mputl(f1,'fun1.c') --> -->//creating the shared library (a gateway, a Makefile and a loader are -->//generated. --> -->ilib_for_link('ext1c','fun1.o',[],"c") generate a loader file sh: /usr/lib64/scilab-4.1.2/libtool: No such file or directory generate a Makefile: Makelib running the makefile sh: /usr/lib64/scilab-4.1.2/libtool: No such file or directory compilation of fun1 Makelib:11: /usr/lib64/scilab-4.1.2/config/Makeso.incl: No such file or directory make: *** No rule to make target `/usr/lib64/scilab-4.1.2/config/Makeso.incl'. Stop. !--error 10000 unix_s: error during ``make -f Makelib fun1.o'' execution at line 56 of function unix_s called by : line 25 of function ilib_compile called by : line 29 of function ilib_for_link called by : ilib_for_link('ext1c','fun1.o',[],"c") --> -->// load the shared library --> -->exec loader.sce -->// generated by builder.sce: Please do not edit this file -->// ------------------------------------------------------ -->ext1c_path=get_absolute_file_path('loader.sce'); -->link(ext1c_path+'libext1c.a',['ext1c'],'c'); /usr/bin/ld: /root/libext1c.a: No such file: No such file or directory ld returned bad status: 100 link(ext1c_path+'libext1c.a',['ext1c'],'c'); !--error 236 link: the shared archive was not loaded at line 4 of exec file called by : exec loader.sce --> -->//using the new primitive -->a=[1,2,3];b=[4,5,6];n=3; -->c=call('ext1c',n,1,'i',a,2,'d',b,3,'d','out',[1,3],4,'d') !--error 50 subroutine not found : ext1c -->exit Expected Results: ------------------------------------------- scilab-4.1.2 Copyright (c) 1989-2007 Consortium Scilab (INRIA, ENPC) ------------------------------------------- Startup execution: loading initial environment -->f1=['int ext1c(n, a, b, c)' --> 'int *n; double *a, *b, *c;' --> '{int k;' --> ' for (k = 0; k < *n; ++k) ' --> ' c[k] = a[k] + b[k];' --> ' return(0);}']; --> -->mputl(f1,'fun1.c') --> -->//creating the shared library (a gateway, a Makefile and a loader are -->//generated. --> -->ilib_for_link('ext1c','fun1.o',[],"c") generate a loader file generate a Makefile: Makelib running the makefile compilation of fun1 building shared library (be patient) ans = libext1c.so --> -->// load the shared library --> -->exec loader.sce -->// generated by builder.sce: Please do not edit this file -->// ------------------------------------------------------ -->ext1c_path=get_absolute_file_path('loader.sce'); -->link(ext1c_path+'libext1c.so',['ext1c'],'c'); shared archive loaded Link done --> -->//using the new primitive -->a=[1,2,3];b=[4,5,6];n=3; -->c=call('ext1c',n,1,'i',a,2,'d',b,3,'d','out',[1,3],4,'d'); c = 5. 7. 9. -->exit I think my problem is platform independent, and my proposed patching instructions worked on x86 and amd64.
Reopen with full emerge.log attached; also post emerge --info output.
Created attachment 142730 [details] /var/log/emerge.log, asked by comment #1 From [60]Jakub Moc 2008-02-04 20:56:42 0000 /var/log/emerge.log, asked by #1 From [60]Jakub Moc 2008-02-04 20:56:42 0000
emerge --info asked by comment #1 From Jakub Moc 2008-02-04 20:56:42 0000 : Portage 2.1.3.19 (default-linux/amd64/2007.0, gcc-4.1.2, glibc-2.5-r0, 2.6.22-suspend2-r2 x86_64) ================================================================= System uname: 2.6.22-suspend2-r2 x86_64 Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz Timestamp of tree: Mon, 04 Feb 2008 01:47:01 +0000 ccache version 2.4 [disabled] app-shells/bash: 3.2_p17 dev-java/java-config: 1.3.7, 2.0.33-r1 dev-lang/python: 2.4.4-r6 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.4-r7 sys-apps/baselayout: 1.12.9 sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.61 sys-devel/automake: 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.18-r1 sys-devel/gcc-config: 1.3.16 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17-r2 ABI="amd64" ACCEPT_KEYWORDS="amd64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci 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" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ARCH="amd64" ASFLAGS_x86="--32" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CDEFINE_amd64="__x86_64__" CDEFINE_x86="__i386__" CFLAGS="-O2 -pipe" CFLAGS_x86="-m32 -L/emul/linux/x86/lib -L/emul/linux/x86/usr/lib" CHOST="x86_64-pc-linux-gnu" CHOST_amd64="x86_64-pc-linux-gnu" CHOST_x86="i686-pc-linux-gnu" CLASSPATH="." CLEAN_DELAY="5" 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/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d" CVS_RSH="ssh" CXXFLAGS="-O2 -pipe" DEFAULT_ABI="amd64" DISTDIR="/usr/portage/distfiles" EDITOR="/bin/nano" ELIBC="glibc" EMERGE_DEFAULT_OPTS="--usepkg --buildpkg --ask --verbose --noreplace" EMERGE_WARNING_DELAY="10" FEATURES="collision-protect distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch" FETCHCOMMAND="/usr/bin/wget -t 5 -T 60 --passive-ftp -O ${DISTDIR}/${FILE} ${URI}" FLTK_DOCDIR="/usr/share/doc/fltk-1.1.7-r2/html" GCC_PATH="/usr/x86_64-pc-linux-gnu/gcc-bin/4.1.2" GCC_SPECS="" GDK_USE_XFT="1" GENTOO_MIRRORS="http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://gentoo.mirror.solnet.ch http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://mirror.switch.ch/ftp/mirror/gentoo/ http://pandemonium.tiscali.de/pub/gentoo/ http://gentoo.tiscali.nl/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://gentoo.intergenia.de http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://gentoo.ynet.sk/pub http://gentoo.modulix.net/gentoo/ http://ftp.club-internet.fr/pub/mirrors/gentoo" HOME="/root" INFOPATH="/usr/share/info:/usr/share/binutils-data/x86_64-pc-linux-gnu/2.18/info:/usr/share/gcc-data/x86_64-pc-linux-gnu/4.1.2/info:/usr/share/info/emacs-22" INPUT_DEVICES="keyboard mouse evdev" JAVAC="/etc/java-config-2/current-system-vm/bin/javac" JAVA_HOME="/etc/java-config-2/current-system-vm" JDK_HOME="/etc/java-config-2/current-system-vm" KDEDIRS="/usr:/usr/local:/usr/kde/3.5" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LDFLAGS_x86="-m elf_i386 -L/emul/linux/x86/lib -L/emul/linux/x86/usr/lib" LESS="-R -M --shift 5" LESSOPEN="|lesspipe.sh %s" LIBDIR_amd64="lib64" LIBDIR_x86="lib32" LOGNAME="root" LS_COLORS="no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:su=37;41:sg=30;43:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.mng=01;35:*.pcx=01;35:*.yuv=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.pdf=00;32:*.ps=00;32:*.txt=00;32:*.patch=00;32:*.diff=00;32:*.log=00;32:*.tex=00;32:*.doc=00;32:*.flac=01;35:*.mp3=01;3 5:*.mpc=00;36:*.ogg=00;36:*.wav=00;36:*.mid=00;36:*.midi=00;36:*.au=00;36:*.flac=00;36:*.aac=00;36:*.ra=01;36:*.mka=01;36:" MAIL="/var/mail/root" MAKEOPTS="-j4" MANPATH="/etc/java-config-2/current-system-vm/man:/usr/local/share/man:/usr/share/man:/usr/share/binutils-data/x86_64-pc-linux-gnu/2.18/man:/usr/share/gcc-data/x86_64-pc-linux-gnu/4.1.2/man:/etc/java-config/system-vm/man/:/usr/lib64/php5/man/:/usr/kde/3.5/share/man:/usr/qt/3/doc/man:/opt/vmware/player/man" MULTILIB_ABIS="amd64 x86" MULTILIB_STRICT_DENY="64-bit.*shared object" MULTILIB_STRICT_DIRS="/lib /usr/lib /usr/kde/*/lib /usr/qt/*/lib /usr/X11R6/lib" MULTILIB_STRICT_EXEMPT="(perl5|gcc|gcc-lib|binutils|eclipse-3|debug|portage)" NOCOLOR="true" OPENGL_PROFILE="xorg-x11" PAGER="/usr/bin/less" PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/x86_64-pc-linux-gnu/gcc-bin/4.1.2:/usr/kde/3.5/sbin:/usr/kde/3.5/bin:/usr/qt/3/bin:/opt/vmware/player/bin" PKGDIR="/usr/portage/distfiles" PKG_CONFIG_PATH="/usr/qt/3/lib64/pkgconfig" PORTAGE_ARCHLIST="ppc s390 amd64 x86 ppc64 x86-fbsd m68k arm sparc sh mips ia64 alpha ppc-macos hppa sparc-fbsd" PORTAGE_BINHOST_CHUNKSIZE="3000" PORTAGE_BIN_PATH="/usr/lib64/portage/bin" PORTAGE_CONFIGROOT="/" PORTAGE_DEBUG="0" PORTAGE_DEPCACHEDIR="/var/cache/edb/dep" PORTAGE_ELOG_CLASSES="log warn error" PORTAGE_ELOG_MAILFROM="portage@localhost" PORTAGE_ELOG_MAILSUBJECT="[portage] ebuild log for ${PACKAGE} on ${HOST}" PORTAGE_ELOG_MAILURI="root" PORTAGE_ELOG_SYSTEM="save_summary echo" PORTAGE_GID="250" PORTAGE_INST_GID="0" PORTAGE_INST_UID="0" PORTAGE_NICENESS="10" PORTAGE_PYM_PATH="/usr/lib64/portage/pym" 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_RSYNC_RETRIES="3" PORTAGE_TMPDIR="/var/tmp" PORTAGE_WORKDIR_MODE="0700" PORTDIR="/usr/portage" PRELINK_PATH_MASK="/usr/lib/gstreamer-0.10" PWD="/root" PYTHONPATH="/usr/lib64/portage/pym" QMAKESPEC="linux-g++" QTDIR="/usr/qt/3" RESUMECOMMAND="/usr/bin/wget -c -t 5 -T 60 --passive-ftp -O ${DISTDIR}/${FILE} ${URI}" ROOT="/" ROOTPATH="/opt/bin:/usr/x86_64-pc-linux-gnu/gcc-bin/4.1.2:/usr/kde/3.5/sbin:/usr/kde/3.5/bin:/usr/qt/3/bin:/opt/vmware/player/bin" RPMDIR="/usr/portage/rpm" SANE_CONFIG_DIR="/etc/sane.d" SHELL="/bin/bash" SHLVL="1" SSH_CLIENT="10.75.4.15 45232 22" SSH_CONNECTION="10.75.4.15 45232 10.75.4.18 22" SSH_TTY="/dev/pts/0" STAGE1_USE="nptl nptlonly unicode" SYMLINK_LIB="yes" SYNC="rsync://rsync.gentoo.org/gentoo-portage" TERM="screen" USB_DEVFS_PATH="/dev/bus/usb" USE="3dnow 3dnowext X Xaw3d a52 aac accessibility acl acpi alsa amd64 apache2 arts async avi berkdb bitmap-fonts bzip2 cdparanoia cdr cjk cli cracklib crypt curl custom-cflags dbus directfb djvu dri dvd dvdread emacs encode esd exif fat fax ffmpeg fftw fortran ftp gcj gdbm gif gmp gphoto2 gpm graphviz gs gtk hdri history hpn i810 iconv ieee1394 imagemagick ipv6 isdnlog ja java jbig jpeg jpeg2k jpg kde kerberos lame lapack latex ldap lesstif lm_sensors mad midi mjpeg mmx mp2 mp3 mpeg mudflap mysql ncurses net nls nptl nptlonly nsplugin ntfs odbc ogg openexr opengl openmp oss pam pcre perl php plotutils png postgres postscript povray ppds pppd python q32 q8 qt3 quotas readline recode reflection samba scanner screen sdl server session spell spl sse sse2 ssl symlink tcpd tetex tftp threads tiff tk truetype truetype-fonts type1-fonts unicode usb v4l v4l2 vim-syntax vim-with-x vnc vorbis wmf x xanim xinerama xml xmlreader xmlrpc xmlwriter xorg xpm xv xvid zip zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci 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" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="apm ark chips cirrus cyrix dummy fbdev glint i128 i810 mach64 mga neomagic nv r128 radeon rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware voodoo" USER="root" USERLAND="GNU" USE_EXPAND="ALSA_CARDS ALSA_PCM_PLUGINS APACHE2_MODULES APACHE2_MPMS CAMERAS CROSSCOMPILE_OPTS DVB_CARDS ELIBC FCDSL_CARDS FOO2ZJS_DEVICES FRITZCAPI_CARDS INPUT_DEVICES KERNEL LCD_DEVICES LINGUAS LIRC_DEVICES MISDN_CARDS USERLAND VIDEO_CARDS" USE_EXPAND_HIDDEN="CROSSCOMPILE_OPTS ELIBC KERNEL USERLAND" USE_ORDER="env:pkg:conf:defaults:pkginternal:env.d" VIDEO_CARDS="apm ark chips cirrus cyrix dummy fbdev glint i128 i810 mach64 mga neomagic nv r128 radeon rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware voodoo" XARGS="xargs -r" XDG_DATA_DIRS="/usr/share:/usr/kde/3.5/share:/usr/local/share" _="/usr/bin/emerge"
Thanks for the note! It looks like upstream broke their install scripts if this used to work in previous versions. I'll see that I can fix it. Best, Markus
This should be fixed in portave cvs now. Please give it an hour or so to propagate to the mirrors. Thanks, Markus
Can someone delete my e-mail from this page ?
By "this page" you are referring to this bug? If so, I think the answer is no (short of somebody actually editing the database perhaps). Is there any particular reason for this request? Markus
Answer to #7: By "this page." you are referring to this bug? If so, I think the answer is no (short of somebody actually editing the database perhaps). Is there any particular reason for this request? Yes. Yes. My e-mail get spammed an phished ... I switched to another specific valid e-mail account. People wanting a fast answer from me can simply follow the instructions (look at upper-case letter in my e-mail). D