First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 131957
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Science Related Packages <sci@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: paulphilippe <paulphilippe@yahoo.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
atlas_test.cpp small atlas compile test text/plain Markus Dittrich 2006-05-02 19:50 0000 107 bytes Details
scilab-4.0-ebuild-pthread.patch patch to link against pthread patch Markus Dittrich 2006-05-04 15:47 0000 366 bytes Details | Diff
scilab-4.0-ebuild-pthread.patch second attempt for patch patch Markus Dittrich 2006-05-06 20:44 0000 403 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 131957 depends on: Show dependency tree
Bug 131957 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2006-05-01 13:27 0000
Hi,

Scilab will no longer compile because of the following error messages (note
that I have recompile the entire system and world twice already and I still get
the errors (emerge -eN system && emerge -eN world)) 

linking
/usr/lib/gcc/i686-pc-linux-gnu/3.4.6/../../../../i686-pc-linux-gnu/bin/ld:
warning: creating a DT_TEXTREL in object.
make[1]: Leaving directory
`/var/tmp/portage/scilab-3.1.1-r3/work/scilab-3.1.1/routines/Javasci'
linking
/var/tmp/portage/scilab-3.1.1-r3/work/scilab-3.1.1/pvm3/lib/LINUX/libpvm3.a(lpvmgen.o):
In function `pvmlogperror':
lpvmgen.c:(.text+0x31a): warning: `sys_errlist' is deprecated; use `strerror'
or `strerror_r' instead
lpvmgen.c:(.text+0x311): warning: `sys_nerr' is deprecated; use `strerror' or
`strerror_r' instead
/var/tmp/portage/scilab-3.1.1-r3/work/scilab-3.1.1/libs/system.a(scicurdir.o):
In function `scigetcwd_':
scicurdir.c:(.text+0x79): warning: the `getwd' function is dangerous and should
not be used.
/var/tmp/portage/scilab-3.1.1-r3/work/scilab-3.1.1/libs/sun.a(link.o): In
function `CreateShared':
link.c:(.text+0x536): warning: the use of `mktemp' is dangerous, better use
`mkstemp'
/usr/lib/libatlas.so.0: undefined reference to `pthread_create'
/usr/lib/libatlas.so.0: undefined reference to `pthread_join'
collect2: ld returned 1 exit status
make: *** [bin/scilex] Error 1

!!! ERROR: sci-mathematics/scilab-3.1.1-r3 failed.
Call stack:
  ebuild.sh, line 1525:   Called dyn_compile
  ebuild.sh, line 928:   Called src_compile
  scilab-3.1.1-r3.ebuild, line 74:   Called die

!!! (no error message)
!!! If you need support, post the topmost build error, and the call stack if
relevant.

Steps:
1) emerge scilab
2) building and compiling stops at linking

Reproducibility: ALWAYS

Expected result: compile complete and install

Paul



booyah ~ # emerge --info
Portage 2.1_pre9-r4 (default-linux/x86/2005.0, gcc-3.4.6, glibc-2.4-r1,
2.6.14-gentoo-r2 i686)
=================================================================
System uname: 2.6.14-gentoo-r2 i686 Intel(R) Pentium(R) 4 CPU 2.80GHz
Gentoo Base System version 1.12.0_pre18
dev-lang/python:     2.3.5, 2.4.2-r1
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /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/kde/3/share/config
/usr/lib/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/revdep-rebuild
/etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache cvs distcc distlocks metadata-transfer noauto
sandbox sfperms strict userpriv usersandbox"
GENTOO_MIRRORS="ftp://ftp.nrc.ca/pub/systems/linux/gentoo/ 
http://mirror.tucdemonic.org/gentoo/
ftp://gentoo.netnitco.net/pub/mirrors/gentoo/source/ 
http://gentoo.netnitco.net ftp://ftp.ussg.iu.edu/pub/linux/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 aac aalib alsa apm arts avi berkdb bitmap-fonts cli crypt cups
divx4linux dri eds emboss encode faad2 fbdev foomaticdb fortran gcj gdbm gif
gnome gpm gstreamer gtk gtk2 imlib ipv6 isdnlog java jpeg kde libg++ libwww
live mad mikmod motif mp3 mpeg nas ncurses network nls nptl nptlonly ogg
oggvorbis opengl oss pam pcre pdflib perl png pppd python qt quicktime readline
reflection sdl session spell spl ssl tcpd truetype truetype-fonts type1-fonts
vorbis win32codecs xml2 xmms xorg xv zlib elibc_glibc input_devices_keyboard
input_devices_mouse kernel_linux userland_GNU video_cards_vesa video_cards_vga
video_cards_fbdev video_cards_nv video_cards_nvidia"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL,
LDFLAGS, LINGUAS

------- Comment #1 From Markus Dittrich 2006-05-01 15:49:42 0000 -------
(In reply to comment #0)
> /usr/lib/libatlas.so.0: undefined reference to `pthread_create'
> /usr/lib/libatlas.so.0: undefined reference to `pthread_join'

This looks more like a problem with atlas rather than scilab itself.
What version of blas-atlas do you have installed? Does recompiling
blas-atlas once more help?

Thanks,
Markus

------- Comment #2 From paulphilippe 2006-05-01 18:52:16 0000 -------
(In reply to comment #1)
> (In reply to comment #0)
> > /usr/lib/libatlas.so.0: undefined reference to `pthread_create'
> > /usr/lib/libatlas.so.0: undefined reference to `pthread_join'
> 
> This looks more like a problem with atlas rather than scilab itself.
> What version of blas-atlas do you have installed? Does recompiling
> blas-atlas once more help?
> 
> Thanks,
> Markus

Nope it doesn't. I have recompiled blas-atlas and it doesn't help. I have
blas-atlas-3.7.11 installed.

Paul
> 

------- Comment #3 From Markus Dittrich 2006-05-01 20:54:16 0000 -------
It is probably related to glibc-2.4, but unfortunately I can't test this
at the moment. Likely, we need a -lpthread somewhere. Would you
mind giving the currently masked scilab-4.0 a try and see what
happens? It will go into ~x86 very soon and I'd rather start debugging your
problem in the newer version.

Thanks,
Markus

------- Comment #4 From paulphilippe 2006-05-02 10:45:29 0000 -------
(In reply to comment #3)
> It is probably related to glibc-2.4, but unfortunately I can't test this
> at the moment. Likely, we need a -lpthread somewhere. Would you
> mind giving the currently masked scilab-4.0 a try and see what
> happens? It will go into ~x86 very soon and I'd rather start debugging your
> problem in the newer version.
> 
> Thanks,
> Markus
> 

Will do!

Thanks
Paul

------- Comment #5 From paulphilippe 2006-05-02 10:50:41 0000 -------
(In reply to comment #4)
> (In reply to comment #3)
> > It is probably related to glibc-2.4, but unfortunately I can't test this
> > at the moment. Likely, we need a -lpthread somewhere. Would you
> > mind giving the currently masked scilab-4.0 a try and see what
> > happens? It will go into ~x86 very soon and I'd rather start debugging your
> > problem in the newer version.
> > 
> > Thanks,
> > Markus
> > 
> 
> Will do!
> 
> Thanks
> Paul
> 

Ok I just tried installing scilab-4.0 and it gives me the exact same error but
there aren't as many error messages!

/var/tmp/portage/scilab-4.0/work/scilab-4.0/pvm3/lib/LINUX/libpvm3.a(lpvmgen.o):
In function `pvmlogperror':
lpvmgen.c:(.text+0x31a): warning: `sys_errlist' is deprecated; use `strerror'
or `strerror_r' instead
lpvmgen.c:(.text+0x311): warning: `sys_nerr' is deprecated; use `strerror' or
`strerror_r' instead
/var/tmp/portage/scilab-4.0/work/scilab-4.0/libs/system.a(scicurdir.o): In
function `scigetcwd_':
scicurdir.c:(.text+0x84): warning: the `getwd' function is dangerous and should
not be used.
/var/tmp/portage/scilab-4.0/work/scilab-4.0/libs/os_specific.a(link.o): In
function `CreateShared':
link.c:(.text+0x197): warning: the use of `mktemp' is dangerous, better use
`mkstemp'
/usr/lib/libatlas.so.0: undefined reference to `pthread_create'
/usr/lib/libatlas.so.0: undefined reference to `pthread_join'
collect2: ld returned 1 exit status
make: *** [bin/scilex] Error 1

!!! ERROR: sci-mathematics/scilab-4.0 failed.
Call stack:
  ebuild.sh, line 1525:   Called dyn_compile
  ebuild.sh, line 928:   Called src_compile
  scilab-4.0.ebuild, line 85:   Called die

!!! emake failed
!!! If you need support, post the topmost build error, and the call stack if
relevant.

Hope this helps!

Paul

------- Comment #6 From Markus Dittrich 2006-05-02 19:50:47 0000 -------
Created an attachment (id=86042) [details]
small atlas compile test

Hi,

Thank you very much for your efforts and giving scilab-4.0 a shot.
I still think the problem is glibc-2.4 and atlas related. Could you
please try to compile the attached small C++ code with

g++ atlas_test.cpp /usr/lib/libatlas.so

and report back if that works and runs.

Thanks,
Markus

------- Comment #7 From paulphilippe 2006-05-02 20:01:19 0000 -------
(In reply to comment #6)
> Created an attachment (id=86042) [edit] [details]
> small atlas compile test
> 
> Hi,
> 
> Thank you very much for your efforts and giving scilab-4.0 a shot.
> I still think the problem is glibc-2.4 and atlas related. Could you
> please try to compile the attached small C++ code with
> 
> g++ atlas_test.cpp /usr/lib/libatlas.so
> 
> and report back if that works and runs.
> 
> Thanks,
> Markus
> 

Hi,

Here's is what I get by performing the following:
"
user@booyah ~ $ g++ atlas_test.cpp /usr/lib/libatlas.so
/usr/lib/libatlas.so: undefined reference to `pthread_create'
/usr/lib/libatlas.so: undefined reference to `pthread_join'
collect2: ld returned 1 exit status
user@booyah ~ $
"

Unfortunetely, I have no knowledge whatsoever in C++ ... wish I could be of
more help!!

Thanks for the help so far
Cheers,

Paul

------- Comment #8 From Markus Dittrich 2006-05-04 07:41:58 0000 -------
Hi Paul,

Thank you very much for testing. As I suspected, this is not scilab's fault
but rather a problem with the atlas library that somehow has trouble
finding glibc's pthread stuff, probably due to glibc-2.4 (I changed the
subject accordingly).
I'll have to dig into this some more to figure out what is going wrong and
might ask you to test a few things. I'll see if in the meantime I can prevent 
scilab from linking against atlas so you can compile it.

Thanks,
Markus

------- Comment #9 From Donnie Berkholz 2006-05-04 09:38:06 0000 -------
The easy fix is to just add -lpthread to your linker flags.

------- Comment #10 From paulphilippe 2006-05-04 10:05:02 0000 -------
(In reply to comment #9)
> The easy fix is to just add -lpthread to your linker flags.
> 

Ok, in what file?

Paul

------- Comment #11 From Markus Dittrich 2006-05-04 15:47:49 0000 -------
Created an attachment (id=86171) [details]
patch to link against pthread

Hi Paul,

Could you please try the attached patch for the scilab-4.0.ebuild 
and report back how far this gets you?

Thanks,
Markus

------- Comment #12 From paulphilippe 2006-05-05 12:27:37 0000 -------
(In reply to comment #11)
> Created an attachment (id=86171) [edit] [details]
> patch to link against pthread
> 
> Hi Paul,
> 
> Could you please try the attached patch for the scilab-4.0.ebuild 
> and report back how far this gets you?
> 
> Thanks,
> Markus
> 

hi Markus,

   I applied the patch to the scilab-4.0 ebuild the compilation failed with the
same error messages
linking
/var/tmp/portage/scilab-4.0/work/scilab-4.0/pvm3/lib/LINUX/libpvm3.a(lpvmgen.o):
In function `pvmlogperror':
lpvmgen.c:(.text+0x31a): warning: `sys_errlist' is deprecated; use `strerror'
or `strerror_r' instead
lpvmgen.c:(.text+0x311): warning: `sys_nerr' is deprecated; use `strerror' or
`strerror_r' instead
/var/tmp/portage/scilab-4.0/work/scilab-4.0/libs/system.a(scicurdir.o): In
function `scigetcwd_':
scicurdir.c:(.text+0x84): warning: the `getwd' function is dangerous and should
not be used.
/var/tmp/portage/scilab-4.0/work/scilab-4.0/libs/os_specific.a(link.o): In
function `CreateShared':
link.c:(.text+0x197): warning: the use of `mktemp' is dangerous, better use
`mkstemp'
/usr/lib/libatlas.so.0: undefined reference to `pthread_create'
/usr/lib/libatlas.so.0: undefined reference to `pthread_join'
collect2: ld returned 1 exit status
make: *** [bin/scilex] Error 1

!!! ERROR: sci-mathematics/scilab-4.0 failed.
Call stack:
  ebuild.sh, line 1525:   Called dyn_compile
  ebuild.sh, line 928:   Called src_compile
  scilab-4.0.ebuild, line 85:   Called die

!!! emake failed
!!! If you need support, post the topmost build error, and the call stack if
relevant.

Paul-Philippe

------- Comment #13 From Donnie Berkholz 2006-05-05 12:53:02 0000 -------
Can you paste the last full compilation line above that? It looks as if
-lpthread still isn't getting passed, from that error.

------- Comment #14 From paulphilippe 2006-05-05 13:01:55 0000 -------
(In reply to comment #13)
> Can you paste the last full compilation line above that? It looks as if
> -lpthread still isn't getting passed, from that error.
> 

Here it is 
ranlib libpvmtrc.a
gcc -O  -DIMA_LINUX -DSYSVSIGNAL -DNOWAIT3 -DRSHCOMMAND=\"/usr/bin/rsh\"
-DNEEDENDIAN -DFDSETNOTSTRUCT -DHASERRORVARS -DCTIMEISTIMET -DSYSERRISCONST
-DNOTMPNAM -o tracer tracer.o cmd.o trcglob.o -L../../lib/LINUX
-L../../tracer/LINUX -lpvmtrc -lpvm3
../../lib/LINUX/libpvm3.a(lpvmgen.o): In function `pvmlogperror':
lpvmgen.c:(.text+0x31a): warning: `sys_errlist' is deprecated; use `strerror'
or `strerror_r' instead
lpvmgen.c:(.text+0x311): warning: `sys_nerr' is deprecated; use `strerror' or
`strerror_r' instead
gcc -O  -DIMA_LINUX -DSYSVSIGNAL -DNOWAIT3 -DRSHCOMMAND=\"/usr/bin/rsh\"
-DNEEDENDIAN -DFDSETNOTSTRUCT -DHASERRORVARS -DCTIMEISTIMET -DSYSERRISCONST
-DNOTMPNAM -c -I../../tracer -I../../include -I../../tracer
../../tracer/trcsort.c
gcc -O  -DIMA_LINUX -DSYSVSIGNAL -DNOWAIT3 -DRSHCOMMAND=\"/usr/bin/rsh\"
-DNEEDENDIAN -DFDSETNOTSTRUCT -DHASERRORVARS -DCTIMEISTIMET -DSYSERRISCONST
-DNOTMPNAM -o trcsort trcsort.o -L../../lib/LINUX -L../../tracer/LINUX -lpvmtrc
-lpvm3
../../lib/LINUX/libpvm3.a(lpvmgen.o): In function `pvmlogperror':
lpvmgen.c:(.text+0x31a): warning: `sys_errlist' is deprecated; use `strerror'
or `strerror_r' instead
lpvmgen.c:(.text+0x311): warning: `sys_nerr' is deprecated; use `strerror' or
`strerror_r' instead
make[3]: Leaving directory
`/var/tmp/portage/scilab-4.0/work/scilab-4.0/pvm3/tracer/LINUX'
done building tracer
building console
cd console; ../lib/aimk CC=gcc F77=f77 install
making in LINUX/ for LINUX
make[3]: Entering directory
`/var/tmp/portage/scilab-4.0/work/scilab-4.0/pvm3/console/LINUX'
gcc  -DIMA_LINUX -I../../include -I../../tracer -I../../src -DSYSVSIGNAL
-DNOWAIT3 -DRSHCOMMAND=\"/usr/bin/rsh\" -DNEEDENDIAN -DFDSETNOTSTRUCT
-DHASERRORVARS -DCTIMEISTIMET -DSYSERRISCONST -DNOTMPNAM -c
../../console/cons.c
gcc  -DIMA_LINUX -I../../include -I../../tracer -I../../src -DSYSVSIGNAL
-DNOWAIT3 -DRSHCOMMAND=\"/usr/bin/rsh\" -DNEEDENDIAN -DFDSETNOTSTRUCT
-DHASERRORVARS -DCTIMEISTIMET -DSYSERRISCONST -DNOTMPNAM -c
../../console/cmds.c
gcc  -DIMA_LINUX -I../../include -I../../tracer -I../../src -DSYSVSIGNAL
-DNOWAIT3 -DRSHCOMMAND=\"/usr/bin/rsh\" -DNEEDENDIAN -DFDSETNOTSTRUCT
-DHASERRORVARS -DCTIMEISTIMET -DSYSERRISCONST -DNOTMPNAM -c ../../console/job.c
gcc  -DIMA_LINUX -I../../include -I../../tracer -I../../src -DSYSVSIGNAL
-DNOWAIT3 -DRSHCOMMAND=\"/usr/bin/rsh\" -DNEEDENDIAN -DFDSETNOTSTRUCT
-DHASERRORVARS -DCTIMEISTIMET -DSYSERRISCONST -DNOTMPNAM -c ../../console/trc.c
gcc  -DIMA_LINUX -I../../include -I../../tracer -I../../src -DSYSVSIGNAL
-DNOWAIT3 -DRSHCOMMAND=\"/usr/bin/rsh\" -DNEEDENDIAN -DFDSETNOTSTRUCT
-DHASERRORVARS -DCTIMEISTIMET -DSYSERRISCONST -DNOTMPNAM -o pvm cons.o cmds.o
job.o trc.o  -L../../tracer/LINUX -L../../lib/LINUX -lpvmtrc -lpvm3
../../lib/LINUX/libpvm3.a(lpvmgen.o): In function `pvmlogperror':
lpvmgen.c:(.text+0x31a): warning: `sys_errlist' is deprecated; use `strerror'
or `strerror_r' instead
lpvmgen.c:(.text+0x311): warning: `sys_nerr' is deprecated; use `strerror' or
`strerror_r' instead
cp pvm ../../lib/LINUX
make[3]: Leaving directory
`/var/tmp/portage/scilab-4.0/work/scilab-4.0/pvm3/console/LINUX'
done building console
building group server and library
cd pvmgs; ../lib/aimk CC=gcc F77=f77 install
making in LINUX/ for LINUX
make[3]: Entering directory
`/var/tmp/portage/scilab-4.0/work/scilab-4.0/pvm3/pvmgs/LINUX'
mkdir ../../bin/LINUX
gcc  -I../../include -I../../src -DIMA_LINUX -DSYSVSIGNAL -DNOWAIT3
-DRSHCOMMAND=\"/usr/bin/rsh\" -DNEEDENDIAN -DFDSETNOTSTRUCT -DHASERRORVARS
-DCTIMEISTIMET -DSYSERRISCONST -DNOTMPNAM -c ../../pvmgs/pvm_gstat.c
gcc  -I../../include -I../../src -DIMA_LINUX -DSYSVSIGNAL -DNOWAIT3
-DRSHCOMMAND=\"/usr/bin/rsh\" -DNEEDENDIAN -DFDSETNOTSTRUCT -DHASERRORVARS
-DCTIMEISTIMET -DSYSERRISCONST -DNOTMPNAM -c ../../pvmgs/pvmgsu_core.c
gcc  -I../../include -I../../src -DIMA_LINUX -DSYSVSIGNAL -DNOWAIT3
-DRSHCOMMAND=\"/usr/bin/rsh\" -DNEEDENDIAN -DFDSETNOTSTRUCT -DHASERRORVARS
-DCTIMEISTIMET -DSYSERRISCONST -DNOTMPNAM -c ../../pvmgs/pvmgsu_aux.c
gcc  -I../../include -I../../src -DIMA_LINUX -DSYSVSIGNAL -DNOWAIT3
-DRSHCOMMAND=\"/usr/bin/rsh\" -DNEEDENDIAN -DFDSETNOTSTRUCT -DHASERRORVARS
-DCTIMEISTIMET -DSYSERRISCONST -DNOTMPNAM -c ../../pvmgs/pvmgs_func.c
rm -f libgpvm3.a
ar cr libgpvm3.a pvmgsu_core.o pvmgsu_aux.o pvmgs_func.o
case xt in xt ) echo ranlib; ranlib libgpvm3.a ;; esac
ranlib
gcc  -I../../include -I../../src -DIMA_LINUX -DSYSVSIGNAL -DNOWAIT3
-DRSHCOMMAND=\"/usr/bin/rsh\" -DNEEDENDIAN -DFDSETNOTSTRUCT -DHASERRORVARS
-DCTIMEISTIMET -DSYSERRISCONST -DNOTMPNAM -o pvm_gstat pvm_gstat.o libgpvm3.a 
-L../../lib/LINUX -lpvm3
../../lib/LINUX/libpvm3.a(lpvmgen.o): In function `pvmlogperror':
lpvmgen.c:(.text+0x31a): warning: `sys_errlist' is deprecated; use `strerror'
or `strerror_r' instead
lpvmgen.c:(.text+0x311): warning: `sys_nerr' is deprecated; use `strerror' or
`strerror_r' instead
cp pvm_gstat ../../bin/LINUX
gcc  -I../../include -I../../src -DIMA_LINUX -DSYSVSIGNAL -DNOWAIT3
-DRSHCOMMAND=\"/usr/bin/rsh\" -DNEEDENDIAN -DFDSETNOTSTRUCT -DHASERRORVARS
-DCTIMEISTIMET -DSYSERRISCONST -DNOTMPNAM -c ../../pvmgs/pvmgs_core.c
gcc  -I../../include -I../../src -DIMA_LINUX -DSYSVSIGNAL -DNOWAIT3
-DRSHCOMMAND=\"/usr/bin/rsh\" -DNEEDENDIAN -DFDSETNOTSTRUCT -DHASERRORVARS
-DCTIMEISTIMET -DSYSERRISCONST -DNOTMPNAM -o pvmgs pvmgs_core.o pvmgs_func.o 
-L../../lib/LINUX -lpvm3
../../lib/LINUX/libpvm3.a(lpvmgen.o): In function `pvmlogperror':
lpvmgen.c:(.text+0x31a): warning: `sys_errlist' is deprecated; use `strerror'
or `strerror_r' instead
lpvmgen.c:(.text+0x311): warning: `sys_nerr' is deprecated; use `strerror' or
`strerror_r' instead
cp pvmgs ../../bin/LINUX
gcc  -I../../include -I../../src -DIMA_LINUX -DSYSVSIGNAL -DNOWAIT3
-DRSHCOMMAND=\"/usr/bin/rsh\" -DNEEDENDIAN -DFDSETNOTSTRUCT -DHASERRORVARS
-DCTIMEISTIMET -DSYSERRISCONST -DNOTMPNAM -c ../../pvmgs/pvmgroups.c
gcc  -I../../include -I../../src -DIMA_LINUX -DSYSVSIGNAL -DNOWAIT3
-DRSHCOMMAND=\"/usr/bin/rsh\" -DNEEDENDIAN -DFDSETNOTSTRUCT -DHASERRORVARS
-DCTIMEISTIMET -DSYSERRISCONST -DNOTMPNAM -o pvmgroups pvmgroups.o libgpvm3.a 
-L../../lib/LINUX -lpvm3
../../lib/LINUX/libpvm3.a(lpvmgen.o): In function `pvmlogperror':
lpvmgen.c:(.text+0x31a): warning: `sys_errlist' is deprecated; use `strerror'
or `strerror_r' instead
lpvmgen.c:(.text+0x311): warning: `sys_nerr' is deprecated; use `strerror' or
`strerror_r' instead
cp pvmgroups ../../bin/LINUX
cp libgpvm3.a ../../lib/LINUX
case xt in xt ) echo ranlib; ranlib ../../lib/LINUX/libgpvm3.a ;; esac
ranlib
cp pvmgs ../../lib/LINUX
make[3]: Leaving directory
`/var/tmp/portage/scilab-4.0/work/scilab-4.0/pvm3/pvmgs/LINUX'
done building group server and library
make[2]: Leaving directory `/var/tmp/portage/scilab-4.0/work/scilab-4.0/pvm3'
make[1]: Leaving directory `/var/tmp/portage/scilab-4.0/work/scilab-4.0/pvm3'
making all in routines/Javasci...
make[1]: Entering directory
`/var/tmp/portage/scilab-4.0/work/scilab-4.0/routines/Javasci'
make[2]: Entering directory
`/var/tmp/portage/scilab-4.0/work/scilab-4.0/routines/Javasci/classes'
make[2]: Leaving directory
`/var/tmp/portage/scilab-4.0/work/scilab-4.0/routines/Javasci/classes'
gcc -march=pentium4 -O3 -pipe -fomit-frame-pointer `pkg-config gtk+-2.0
--cflags` -I/opt/blackdown-jdk-1.4.2.03/include
-I/opt/blackdown-jdk-1.4.2.03/include/linux   -c -o javasci_SciStringArray.o
javasci_SciStringArray.c
gcc -march=pentium4 -O3 -pipe -fomit-frame-pointer `pkg-config gtk+-2.0
--cflags` -I/opt/blackdown-jdk-1.4.2.03/include
-I/opt/blackdown-jdk-1.4.2.03/include/linux   -c -o javasci_globals.o
javasci_globals.c
gcc -march=pentium4 -O3 -pipe -fomit-frame-pointer `pkg-config gtk+-2.0
--cflags` -I/opt/blackdown-jdk-1.4.2.03/include
-I/opt/blackdown-jdk-1.4.2.03/include/linux   -c -o javasci_Scilab.o
javasci_Scilab.c
gcc -march=pentium4 -O3 -pipe -fomit-frame-pointer `pkg-config gtk+-2.0
--cflags` -I/opt/blackdown-jdk-1.4.2.03/include
-I/opt/blackdown-jdk-1.4.2.03/include/linux   -c -o javasci_SciDoubleArray.o
javasci_SciDoubleArray.c
gcc -march=pentium4 -O3 -pipe -fomit-frame-pointer `pkg-config gtk+-2.0
--cflags` -I/opt/blackdown-jdk-1.4.2.03/include
-I/opt/blackdown-jdk-1.4.2.03/include/linux   -c -o fix.o fix.c
Creation of ../../bin/libjavasci.so
linking
/usr/lib/gcc/i686-pc-linux-gnu/3.4.6/../../../../i686-pc-linux-gnu/bin/ld:
warning: creating a DT_TEXTREL in object.
make[1]: Leaving directory
`/var/tmp/portage/scilab-4.0/work/scilab-4.0/routines/Javasci'
linking
/var/tmp/portage/scilab-4.0/work/scilab-4.0/pvm3/lib/LINUX/libpvm3.a(lpvmgen.o):
In function `pvmlogperror':
lpvmgen.c:(.text+0x31a): warning: `sys_errlist' is deprecated; use `strerror'
or `strerror_r' instead
lpvmgen.c:(.text+0x311): warning: `sys_nerr' is deprecated; use `strerror' or
`strerror_r' instead
/var/tmp/portage/scilab-4.0/work/scilab-4.0/libs/system.a(scicurdir.o): In
function `scigetcwd_':
scicurdir.c:(.text+0x84): warning: the `getwd' function is dangerous and should
not be used.
/var/tmp/portage/scilab-4.0/work/scilab-4.0/libs/os_specific.a(link.o): In
function `CreateShared':
link.c:(.text+0x197): warning: the use of `mktemp' is dangerous, better use
`mkstemp'
/usr/lib/libatlas.so.0: undefined reference to `pthread_create'
/usr/lib/libatlas.so.0: undefined reference to `pthread_join'
collect2: ld returned 1 exit status
make: *** [bin/scilex] Error 1

!!! ERROR: sci-mathematics/scilab-4.0 failed.
Call stack:
  ebuild.sh, line 1525:   Called dyn_compile
  ebuild.sh, line 928:   Called src_compile
  scilab-4.0.ebuild, line 85:   Called die

!!! emake failed
!!! If you need support, post the topmost build error, and the call stack if
relevant.

Hope this helps

Paul

------- Comment #15 From Gustavo Ribeiro Alves 2006-05-05 16:56:20 0000 -------
It didn't work for me also:



===================================
g77   -c -o i_m_i.o i_m_i.f
g77   -c -o i_r_i.o i_r_i.f
g77   -c -o i_l_i.o i_l_i.f
g77   -c -o i_x_i.o i_x_i.f
g77   -c -o i_d_i.o i_d_i.f
g77   -c -o i_q_i.o i_q_i.f
g77   -c -o i_t.o i_t.f
g77   -c -o i_logic.o i_logic.f
g77   -c -o i_sum.o i_sum.f
g77   -c -o i_cumsum.o i_cumsum.f
g77   -c -o i_prod.o i_prod.f
g77   -c -o i_cumprod.o i_cumprod.f
g77   -c -o i_convert.o i_convert.f
g77   -c -o i_abs.o i_abs.f
g77   -c -o i_diag.o i_diag.f
g77   -c -o i_tril.o i_tril.f
g77   -c -o i_triu.o i_triu.f
g77   -c -o i_kron.o i_kron.f
g77   -c -o i_maxi.o i_maxi.f
i_maxi.f: In subroutine `i_maxi':
i_maxi.f:193: warning:
               call tpconv(iti,it,1,istk(lr1),1,s,1)
                    1
i_maxi.f:196: (continued):
               call tpconv(iti,it,m*n,istk(lr1),1,istk(lv),1)
                    2
Argument #6 of `tpconv' is one type at (2) but is some other type at (1) [info
-f g77 M GLOBALS]
g77   -c -o i_mini.o i_mini.f
i_mini.f: In subroutine `i_mini':
i_mini.f:193: warning:
               call tpconv(iti,it,1,istk(lr1),1,s,1)
                    1
i_mini.f:196: (continued):
               call tpconv(iti,it,m*n,istk(lr1),1,istk(lv),1)
                    2
Argument #6 of `tpconv' is one type at (2) but is some other type at (1) [info
-f g77 M GLOBALS]
g77   -c -o readxbm.o readxbm.f
g77   -c -o i_matrix.o i_matrix.f
Creation of ../../libs/int.a
make[2]: Saindo do diret

------- Comment #16 From Gustavo Ribeiro Alves 2006-05-05 16:56:20 0000 -------
It didn't work for me also:



===================================
g77   -c -o i_m_i.o i_m_i.f
g77   -c -o i_r_i.o i_r_i.f
g77   -c -o i_l_i.o i_l_i.f
g77   -c -o i_x_i.o i_x_i.f
g77   -c -o i_d_i.o i_d_i.f
g77   -c -o i_q_i.o i_q_i.f
g77   -c -o i_t.o i_t.f
g77   -c -o i_logic.o i_logic.f
g77   -c -o i_sum.o i_sum.f
g77   -c -o i_cumsum.o i_cumsum.f
g77   -c -o i_prod.o i_prod.f
g77   -c -o i_cumprod.o i_cumprod.f
g77   -c -o i_convert.o i_convert.f
g77   -c -o i_abs.o i_abs.f
g77   -c -o i_diag.o i_diag.f
g77   -c -o i_tril.o i_tril.f
g77   -c -o i_triu.o i_triu.f
g77   -c -o i_kron.o i_kron.f
g77   -c -o i_maxi.o i_maxi.f
i_maxi.f: In subroutine `i_maxi':
i_maxi.f:193: warning:
               call tpconv(iti,it,1,istk(lr1),1,s,1)
                    1
i_maxi.f:196: (continued):
               call tpconv(iti,it,m*n,istk(lr1),1,istk(lv),1)
                    2
Argument #6 of `tpconv' is one type at (2) but is some other type at (1) [info
-f g77 M GLOBALS]
g77   -c -o i_mini.o i_mini.f
i_mini.f: In subroutine `i_mini':
i_mini.f:193: warning:
               call tpconv(iti,it,1,istk(lr1),1,s,1)
                    1
i_mini.f:196: (continued):
               call tpconv(iti,it,m*n,istk(lr1),1,istk(lv),1)
                    2
Argument #6 of `tpconv' is one type at (2) but is some other type at (1) [info
-f g77 M GLOBALS]
g77   -c -o readxbm.o readxbm.f
g77   -c -o i_matrix.o i_matrix.f
Creation of ../../libs/int.a
make[2]: Saindo do diretório
`/var/tmp/portage/scilab-4.0/work/scilab-4.0/routines/int'
making all in routines/gtksci...
make[2]: Entrando no diretório
`/var/tmp/portage/scilab-4.0/work/scilab-4.0/routines/gtksci'
gcc -march=athlon64 -O2 -pipe `pkg-config gtk+-2.0 --cflags`      -c -o io.o
io.c
gcc -march=athlon64 -O2 -pipe `pkg-config gtk+-2.0 --cflags`      -c -o menus.o
menus.c
gcc -march=athlon64 -O2 -pipe `pkg-config gtk+-2.0 --cflags`      -c -o
x_main.o x_main.c
gcc -march=athlon64 -O2 -pipe `pkg-config gtk+-2.0 --cflags`      -c -o about.o
about.c
gcc -march=athlon64 -O2 -pipe `pkg-config gtk+-2.0 --cflags`      -c -o queue.o
queue.c
gcc -march=athlon64 -O2 -pipe `pkg-config gtk+-2.0 --cflags`    `pkg-config
libgtkhtml-2.0 --cflags` -c helpbrowser.c
In file included from helpbrowser.c:7:
helpbrowser-gtk2.c: In function `io_handler':
helpbrowser-gtk2.c:475: warning: passing arg 4 of `g_io_channel_read_chars'
from incompatible pointer type
helpbrowser-gtk2.c:491: warning: passing arg 4 of `g_io_channel_read_chars'
from incompatible pointer type
gcc -march=athlon64 -O2 -pipe `pkg-config gtk+-2.0 --cflags`      -c -o
zzledt-rl.o zzledt-rl.c
Creation of ../../libs/gtksci.a
make[2]: Saindo do diretório
`/var/tmp/portage/scilab-4.0/work/scilab-4.0/routines/gtksci'
making all in routines/gzvt2...
make[2]: Entrando no diretório
`/var/tmp/portage/scilab-4.0/work/scilab-4.0/routines/gzvt2'
gcc -o ../../bin/zterm vte.c  `pkg-config vte gtk+-2.0 --cflags --libs`
make[2]: Saindo do diretório
`/var/tmp/portage/scilab-4.0/work/scilab-4.0/routines/gzvt2'
make[1]: Saindo do diretório
`/var/tmp/portage/scilab-4.0/work/scilab-4.0/routines'
linking
/var/tmp/portage/scilab-4.0/work/scilab-4.0/libs/system.a(scicurdir.o): In
function `scigetcwd_':
scicurdir.c:(.text+0x94): warning: the `getwd' function is dangerous and should
not be used.
/var/tmp/portage/scilab-4.0/work/scilab-4.0/libs/os_specific.a(link.o): In
function `CreateShared':
link.c:(.text+0x2e3): warning: the use of `mktemp' is dangerous, better use
`mkstemp'
/usr/lib/libatlas.so.0: undefined reference to `pthread_create'
/usr/lib/libatlas.so.0: undefined reference to `pthread_join'
collect2: ld returned 1 exit status
make: ** [bin/scilex] Erro 1

!!! ERROR: sci-mathematics/scilab-4.0 failed.
Call stack:
  ebuild.sh, line 1525:   Called dyn_compile
  ebuild.sh, line 928:   Called src_compile
  scilab-4.0.ebuild, line 85:   Called die

!!! emake failed
!!! If you need support, post the topmost build error, and the call stack if
relevant.
================================


==========einfo=================
Portage 2.1_pre10-r2 (default-linux/amd64/2006.0, gcc-3.4.6, glibc-2.4-r2,
2.6.15-gentoo-r8 x86_64)
=================================================================
System uname: 2.6.15-gentoo-r8 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor
3800+
Gentoo Base System version 1.12.0_pre19
ccache version 2.4 [enabled]
dev-lang/python:     2.4.3-r1
dev-util/ccache:     2.4-r1
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env
/usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config
/usr/share/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/revdep-rebuild
/etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-march=athlon64 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig buildpkg ccache distlocks metadata-transfer parallel-fetch
sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="pt_BR.UTF-8"
LC_ALL="pt_BR.UTF-8"
LINGUAS="en_US en pt_BR pt fr"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X aac alsa artworkextra avi bash-completion berkdb bitmap-fonts
bzip2 cairo caps cdr cli crypt cscope cups dbus djvu dri dts dvd dvi editor eds
effects emboss encode firefox flac foomaticdb fortran gaim gdb gif gimp glut
gnome gphoto2 gpm graphviz gstreamer gtk gtk2 guile hal howl imlib inkjar ipv6
isdnlog java joystick jpeg jpeg2k libg++ libnotify logrotate lzw lzw-tiff mad
mp3 mpeg music musicbrainz nautilus ncurses nls nptl nptlonly nsplugin
offensive ogg opengl pam pcre pdflib perl pic png postgres ppds pppd python qt
quicktime readline reflection scanner sdl session spell spl ssl svg tagwriting
tcpd theora threads tiff timidity truetype-fonts type1 type1-fonts unicode usb
userlocales visualization vorbis xorg xpm xv zlib elibc_glibc
input_devices_keyboard input_devices_mouse kernel_linux linguas_en_US
linguas_en linguas_pt_BR linguas_pt linguas_fr userland_GNU video_cards_fglrx
video_cards_vesa"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS
=====================

------- Comment #17 From Markus Dittrich 2006-05-06 20:44:14 0000 -------
Created an attachment (id=86332) [details]
second attempt for patch

Hi,

Thanks all for testing. Please give my second patch attempt a try. I've
passed -lpthread specifically to the fortran linking step. Maybe that will
help.

Thanks,
Markus

------- Comment #18 From Gustavo Ribeiro Alves 2006-05-07 14:58:15 0000 -------
Now it compiled but failed to install :
============================================
make[2]: Saindo do diret

------- Comment #19 From Gustavo Ribeiro Alves 2006-05-07 14:58:15 0000 -------
Now it compiled but failed to install :
============================================
make[2]: Saindo do diretório
`/var/tmp/portage/scilab-4.0/work/scilab-4.0/man/fr'
make[1]: Saindo do diretório `/var/tmp/portage/scilab-4.0/work/scilab-4.0/man'
>>> Source compiled.
>>> Test phase [not enabled]: sci-mathematics/scilab-4.0

>>> Install scilab-4.0 into /var/tmp/portage/scilab-4.0/image/ category sci-mathematics
tar: pvm3/lib//pvmd3: Não é possível stat: Arquivo ou diretório não
encontrado
tar: Saída por erro atrasada pelos erros anteriores
tar: pvm3/lib//pvmgs: Não é possível stat: Arquivo ou diretório não
encontrado
tar: Saída por erro atrasada pelos erros anteriores
tar: pvm3/bin//*: Não é possível stat: Arquivo ou diretório não encontrado
tar: Saída por erro atrasada pelos erros anteriores
install -d /var/tmp/portage/scilab-4.0/image///usr/bin
rm -f  /var/tmp/portage/scilab-4.0/image///usr/bin/scilab
ln -fs /var/tmp/portage/scilab-4.0/image///usr/lib/scilab-4.0/bin/scilab
/var/tmp/portage/scilab-4.0/image///usr/bin/scilab
rm -f  /var/tmp/portage/scilab-4.0/image///usr/bin/intersci
ln -fs /var/tmp/portage/scilab-4.0/image///usr/lib/scilab-4.0/bin/intersci
/var/tmp/portage/scilab-4.0/image///usr/bin/intersci
rm -f  /var/tmp/portage/scilab-4.0/image///usr/bin/intersci-n
ln -fs /var/tmp/portage/scilab-4.0/image///usr/lib/scilab-4.0/bin/intersci-n
/var/tmp/portage/scilab-4.0/image///usr/bin/intersci-n
/usr/local/portage/sci-mathematics/scilab/scilab-4.0.ebuild: line 93:
/var/tmp/portage/scilab-4.0/image//usr/lib64/scilab-4.0/Path.incl: Arquivo ou
diretório não encontrado
strip: '/var/tmp/portage/scilab-4.0/image//usr/lib64/scilab-4.0/bin/scilex': No
such file
sed: não foi possível ler
/var/tmp/portage/scilab-4.0/image//usr/lib64/scilab-4.0/bin/Blpr: Arquivo ou
diretório não encontrado

!!! ERROR: sci-mathematics/scilab-4.0 failed.
Call stack:
  ebuild.sh, line 1525:   Called dyn_install
  ebuild.sh, line 1002:   Called src_install
  scilab-4.0.ebuild, line 115:   Called die

!!! Failed to fix wrapper scripts
!!! If you need support, post the topmost build error, and the call stack if
relevant.
============================

------- Comment #20 From paulphilippe 2006-05-07 17:34:49 0000 -------
(In reply to comment #17)
> Now it compiled but failed to install :
> ============================================
> make[2]: Saindo do diret

------- Comment #21 From paulphilippe 2006-05-07 17:34:49 0000 -------
(In reply to comment #17)
> Now it compiled but failed to install :
> ============================================
> make[2]: Saindo do diretório
> `/var/tmp/portage/scilab-4.0/work/scilab-4.0/man/fr'
> make[1]: Saindo do diretório `/var/tmp/portage/scilab-4.0/work/scilab-4.0/man'
> >>> Source compiled.
> >>> Test phase [not enabled]: sci-mathematics/scilab-4.0
> 
> >>> Install scilab-4.0 into /var/tmp/portage/scilab-4.0/image/ category sci-mathematics
> tar: pvm3/lib//pvmd3: Não é possível stat: Arquivo ou diretório não encontrado
> tar: Saída por erro atrasada pelos erros anteriores
> tar: pvm3/lib//pvmgs: Não é possível stat: Arquivo ou diretório não encontrado
> tar: Saída por erro atrasada pelos erros anteriores
> tar: pvm3/bin//*: Não é possível stat: Arquivo ou diretório não encontrado
> tar: Saída por erro atrasada pelos erros anteriores
> install -d /var/tmp/portage/scilab-4.0/image///usr/bin
> rm -f  /var/tmp/portage/scilab-4.0/image///usr/bin/scilab
> ln -fs /var/tmp/portage/scilab-4.0/image///usr/lib/scilab-4.0/bin/scilab
> /var/tmp/portage/scilab-4.0/image///usr/bin/scilab
> rm -f  /var/tmp/portage/scilab-4.0/image///usr/bin/intersci
> ln -fs /var/tmp/portage/scilab-4.0/image///usr/lib/scilab-4.0/bin/intersci
> /var/tmp/portage/scilab-4.0/image///usr/bin/intersci
> rm -f  /var/tmp/portage/scilab-4.0/image///usr/bin/intersci-n
> ln -fs /var/tmp/portage/scilab-4.0/image///usr/lib/scilab-4.0/bin/intersci-n
> /var/tmp/portage/scilab-4.0/image///usr/bin/intersci-n
> /usr/local/portage/sci-mathematics/scilab/scilab-4.0.ebuild: line 93:
> /var/tmp/portage/scilab-4.0/image//usr/lib64/scilab-4.0/Path.incl: Arquivo ou
> diretório não encontrado
> strip: '/var/tmp/portage/scilab-4.0/image//usr/lib64/scilab-4.0/bin/scilex': No
> such file
> sed: não foi possível ler
> /var/tmp/portage/scilab-4.0/image//usr/lib64/scilab-4.0/bin/Blpr: Arquivo ou
> diretório não encontrado
> 
> !!! ERROR: sci-mathematics/scilab-4.0 failed.
> Call stack:
>   ebuild.sh, line 1525:   Called dyn_install
>   ebuild.sh, line 1002:   Called src_install
>   scilab-4.0.ebuild, line 115:   Called die
> 
> !!! Failed to fix wrapper scripts
> !!! If you need support, post the topmost build error, and the call stack if
> relevant.
> ============================
> 

Hi,

   Actually I am having trouble applying the second patch. Markus, can you tell
me the command to apply the patch?

Paul

------- Comment #22 From Markus Dittrich 2006-05-08 05:13:52 0000 -------
(In reply to comment #17)
> Now it compiled but failed to install :

Thanks much for testing and at least partial success :) I'll have to look
into what's going wrong during your install (any chance you could
provide the error output in English, btw?).

@Paul:

To apply the patch cd into the directory with the scilab-4.0.ebuild. 
Then do a "patch -p0 < [path to scilab-4.0-ebuild-pthread.patch]".

Thanks,
Markus

------- Comment #23 From paulphilippe 2006-05-08 08:38:20 0000 -------
(In reply to comment #19)
> (In reply to comment #17)
> > Now it compiled but failed to install :
> 
> Thanks much for testing and at least partial success :) I'll have to look
> into what's going wrong during your install (any chance you could
> provide the error output in English, btw?).
> 
> @Paul:
> 
> To apply the patch cd into the directory with the scilab-4.0.ebuild. 
> Then do a "patch -p0 < [path to scilab-4.0-ebuild-pthread.patch]".
> 
> Thanks,
> Markus
> 
 Hi,

    I couldn't apply the patch 

booyah scilab # patch -i scilab-4.0-ebuild-pthread.patch  scilab-4.0.ebuild
patching file scilab-4.0.ebuild
Hunk #1 FAILED at 64.
1 out of 1 hunk FAILED -- saving rejects to file scilab-4.0.ebuild.rej
booyah scilab #

Don't know exactly what's wrong but I couldn't get the patch applied.

Paul

------- Comment #24 From Markus Dittrich 2006-05-08 15:36:50 0000 -------
(In reply to comment #20)
> Don't know exactly what's wrong but I couldn't get the patch applied.

Works fine here! Are you sure you're using the original scilab-4.0.ebuild
and not an already changed version? In any case, you could always change 
it by hand since it involves only 2 lines. Please let me know how that goes.

Best,
Markus

------- Comment #25 From Gustavo Ribeiro Alves 2006-05-08 23:58:30 0000 -------
(In reply to comment #19)
> (In reply to comment #17)
> > Now it compiled but failed to install :
> 
> Thanks much for testing and at least partial success :) I'll have to look
> into what's going wrong during your install (any chance you could
> provide the error output in English, btw?).

Sorry... I am so used to see English+Portuguese output mixed together that I
barely notice then anymore...
  Processing file TCL_GetVar.xml
dt=getdate(x) x must be >0.
  Processing file TCL_SetVar.xml
dt=getdate(x) x must be >0.
  Processing file TCL_CreateSlave.xml
dt=getdate(x) x must be >0.
  Processing file TCL_ExistVar.xml
dt=getdate(x) x must be >0.
  Processing file TCL_UnsetVar.xml
dt=getdate(x) x must be >0.
  Processing file TCL_UpVar.xml
dt=getdate(x) x must be >0.
  Processing file TK_EvalFile.xml
dt=getdate(x) x must be >0.
  Processing file uicontrol.xml
dt=getdate(x) x must be >0.
  Processing file TK_GetVar.xml
dt=getdate(x) x must be >0.
  Processing file TK_SetVar.xml
dt=getdate(x) x must be >0.
  Processing file TCL_GetVersion.xml
dt=getdate(x) x must be >0.
  Processing file findobj.xml
dt=getdate(x) x must be >0.
  Processing file uimenu.xml
dt=getdate(x) x must be >0.
  Processing file close.xml
dt=getdate(x) x must be >0.
  Processing file figure.xml
dt=getdate(x) x must be >0.
Processing chapter /var/tmp/portage/scilab-4.0/work/scilab-4.0/man/fr/java
  Processing file SciDoubleArray.xml
dt=getdate(x) x must be >0.
  Processing file SciDouble.xml
dt=getdate(x) x must be >0.
  Processing file Scilab.xml
dt=getdate(x) x must be >0.
  Processing file SciStringArray.xml
dt=getdate(x) x must be >0.
  Processing file SciString.xml
dt=getdate(x) x must be >0.
  Processing file javasci.xml
dt=getdate(x) x must be >0.
Creating index.htm
Creating contents.htm
make[2]: Leaving directory `/var/tmp/portage/scilab-4.0/work/scilab-4.0/man/fr'
make[1]: Leaving directory `/var/tmp/portage/scilab-4.0/work/scilab-4.0/man'
>>> Source compiled.
>>> Test phase [not enabled]: sci-mathematics/scilab-4.0

>>> Install scilab-4.0 into /var/tmp/portage/scilab-4.0/image/ category sci-mathematics
tar: pvm3/lib//pvmd3: Cannot stat: No such file or directory
tar: Error exit delayed from previous errors
tar: pvm3/lib//pvmgs: Cannot stat: No such file or directory
tar: Error exit delayed from previous errors
tar: pvm3/bin//*: Cannot stat: No such file or directory
tar: Error exit delayed from previous errors
install -d /var/tmp/portage/scilab-4.0/image///usr/bin
rm -f  /var/tmp/portage/scilab-4.0/image///usr/bin/scilab
ln -fs /var/tmp/portage/scilab-4.0/image///usr/lib/scilab-4.0/bin/scilab
/var/tmp/portage/scilab-4.0/image///usr/bin/scilab
rm -f  /var/tmp/portage/scilab-4.0/image///usr/bin/intersci
ln -fs /var/tmp/portage/scilab-4.0/image///usr/lib/scilab-4.0/bin/intersci
/var/tmp/portage/scilab-4.0/image///usr/bin/intersci
rm -f  /var/tmp/portage/scilab-4.0/image///usr/bin/intersci-n
ln -fs /var/tmp/portage/scilab-4.0/image///usr/lib/scilab-4.0/bin/intersci-n
/var/tmp/portage/scilab-4.0/image///usr/bin/intersci-n
/usr/local/portage/sci-mathematics/scilab/scilab-4.0.ebuild: line 93:
/var/tmp/portage/scilab-4.0/image//usr/lib64/scilab-4.0/Path.incl: No such file
or directory
strip: '/var/tmp/portage/scilab-4.0/image//usr/lib64/scilab-4.0/bin/scilex': No
such file
sed: can't read
/var/tmp/portage/scilab-4.0/image//usr/lib64/scilab-4.0/bin/Blpr: No such file
or directory

!!! ERROR: sci-mathematics/scilab-4.0 failed.
Call stack:
  ebuild.sh, line 1525:   Called dyn_install
  ebuild.sh, line 1002:   Called src_install
  scilab-4.0.ebuild, line 115:   Called die

!!! Failed to fix wrapper scripts
!!! If you need support, post the topmost build error, and the call stack if
relevant.

------- Comment #26 From paulphilippe 2006-05-16 12:56:49 0000 -------
(In reply to comment #21)
> (In reply to comment #20)
> > Don't know exactly what's wrong but I couldn't get the patch applied.
> 
> Works fine here! Are you sure you're using the original scilab-4.0.ebuild
> and not an already changed version? In any case, you could always change 
> it by hand since it involves only 2 lines. Please let me know how that goes.
> 
> Best,
> Markus
> 

Hi, 

 Sorry for not replying earlier. It compiles fine now after re-syncing to
obtain the original ebuild and applying the second patch. Now I'll test for
functionality. 

Paul

------- Comment #27 From Markus Dittrich 2006-06-01 15:25:10 0000 -------
(In reply to comment #22)

Hi Gustavo,

Are you still seeing these issues with the present version
of scilab-4.0 in portage? 

Thanks,
Markus

------- Comment #28 From Gustavo Ribeiro Alves 2006-06-01 20:59:22 0000 -------
(In reply to comment #24)

 I'm having a different issue right now: with the update to gcc 4.1, scilab
fails to find my fortran compiler. 

> (In reply to comment #22)
> 
> Hi Gustavo,
> 
> Are you still seeing these issues with the present version
> of scilab-4.0 in portage? 
> 
> Thanks,
> Markus
> 

------- Comment #29 From Gustavo Ribeiro Alves 2006-06-01 21:06:28 0000 -------
(In reply to comment #25)

My scilab troubles are reported at bug 135227.

> (In reply to comment #24)
> 
>  I'm having a different issue right now: with the update to gcc 4.1, scilab
> fails to find my fortran compiler. 
> 
> > (In reply to comment #22)
> > 
> > Hi Gustavo,
> > 
> > Are you still seeing these issues with the present version
> > of scilab-4.0 in portage? 
> > 
> > Thanks,
> > Markus
> > 
> 

------- Comment #30 From Donnie Berkholz 2006-06-21 07:59:29 0000 -------
Can this be closed? The fix is in the tree.

------- Comment #31 From Gustavo Ribeiro Alves 2006-06-21 09:47:20 0000 -------
I can't check this on my system since I have another scilab problem now. But if
it works on other systems I think it is ok to close it.

------- Comment #32 From Markus Dittrich 2006-06-21 15:13:03 0000 -------
I'll close this bug since it should be fixed. Hopefully I can have a look
at Gustavo's problem reported in bug 135227 soon.

Thanks,
Markus

------- Comment #33 From Jakub Moc (RETIRED) 2006-06-24 14:51:47 0000 -------
*** Bug 137877 has been marked as a duplicate of this bug. ***

First Last Prev Next    No search results available      Search page      Enter new bug