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

Filename Description Type Creator Created Size Actions
octave-mpi-gentoo.patch patch providing proper linkage against MPI patch Markus Dittrich 2005-11-07 19:21 0000 842 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

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

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







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


Description:   Opened: 2005-10-11 20:28 0000
emerge octave ends in a compilation failure looking for liboctinterp.so

-L../liboctave -L../libcruft -L../src -Wl,-rpath -Wl,/usr/lib/octave-2.1.71 \
-loctinterp -loctave  -lcruft   \
 -llapack -lcblas -lf77blas -latlas -lfftw3 -lreadline  -lncurses -ldl -lmpi
-lhdf5 -lz -lm  -L/usr/lib/gcc/i686-pc-linux-gnu/3.4.4
-L/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/../../../../i686-pc-linux-gnu/lib
-L/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/../../.. -lz -lmpi -lhdf5 -lfrtbegin
-lg2c -lm -lgcc_s
../src/liboctinterp.so: undefined reference to `MPI::Is_initialized()'
../src/liboctinterp.so: undefined reference to `PMPI::Comm::mpi_comm_map'
../src/liboctinterp.so: undefined reference to `MPI::Op::Init(void (*)(void
const*, void*, int, MPI::Datatype const&), bool)'
../src/liboctinterp.so: undefined reference to `MPI::Op::Free()'
../src/liboctinterp.so: undefined reference to `op_intercept'
../src/liboctinterp.so: undefined reference to `PMPI::Intracomm::current_op'
../src/liboctinterp.so: undefined reference to `PMPI::Comm::mpi_err_map'
collect2: ld returned 1 exit status
make[2]: *** [octave] Error 1


Reproducible: Always
Steps to Reproduce:
1.emerge octave
2.
3.

Actual Results:  
Longer section of the out error code

 -march=pentium-m -O2 -pipe builtins.cc -o pic/builtins.o
i686-pc-linux-gnu-g++ -c  -fPIC -I. -I.. -I../liboctave -I../src
-I../libcruft/misc  -DHAVE_CONFIG_H -mieee-fp -Wall -W -Wshadow -march=pentium-m
-O2 -pipe ops.cc -o pic/ops.o
rm -f liboctinterp.so
i686-pc-linux-gnu-g++ -shared -Wl,-soname -Wl,liboctinterp.so -o liboctinterp.so
pic/Cell.o pic/bitfcns.o pic/c-file-ptr-stream.o pic/comment-list.o pic/cutils.o
pic/data.o pic/debug.o pic/defaults.o pic/defun.o pic/dirfns.o pic/dynamic-ld.o
pic/error.o pic/file-io.o pic/fn-cache.o pic/gripes.o pic/help.o pic/input.o
pic/lex.o pic/load-save.o pic/ls-hdf5.o pic/ls-mat-ascii.o pic/ls-mat4.o
pic/ls-mat5.o pic/ls-oct-ascii.o pic/ls-oct-binary.o pic/ls-utils.o pic/main.o
pic/mappers.o pic/matherr.o pic/oct-fstrm.o pic/oct-hist.o pic/oct-iostrm.o
pic/oct-map.o pic/oct-obj.o pic/oct-prcstrm.o pic/oct-procbuf.o
pic/oct-stdstrm.o pic/oct-stream.o pic/oct-strstrm.o pic/oct-lvalue.o
pic/pager.o pic/parse.o pic/pr-output.o pic/procstream.o pic/sighandlers.o
pic/siglist.o pic/strcasecmp.o pic/strncase.o pic/strfns.o pic/symtab.o
pic/syscalls.o pic/sysdep.o pic/token.o pic/toplev.o pic/unwind-prot.o
pic/utils.o pic/variables.o pic/xdiv.o pic/xpow.o pic/ov-base.o pic/ov-ch-mat.o
pic/ov-cs-list.o pic/ov-list.o pic/ov-re-mat.o pic/ov-cx-mat.o pic/ov-range.o
pic/ov-scalar.o pic/ov-complex.o pic/ov-str-mat.o pic/ov-streamoff.o
pic/ov-struct.o pic/ov-va-args.o pic/ov-colon.o pic/ov-bool-mat.o pic/ov-bool.o
pic/ov-file.o pic/ov-cell.o pic/ov.o pic/ov-fcn.o pic/ov-builtin.o
pic/ov-dld-fcn.o pic/ov-mapper.o pic/ov-usr-fcn.o pic/ov-fcn-handle.o
pic/ov-fcn-inline.o pic/ov-typeinfo.o pic/ov-int8.o pic/ov-int16.o
pic/ov-int32.o pic/ov-int64.o pic/ov-uint8.o pic/ov-uint16.o pic/ov-uint32.o
pic/ov-uint64.o pic/pt.o pic/pt-arg-list.o pic/pt-assign.o pic/pt-bp.o
pic/pt-binop.o pic/pt-cell.o pic/pt-check.o pic/pt-cmd.o pic/pt-colon.o
pic/pt-const.o pic/pt-decl.o pic/pt-except.o pic/pt-exp.o pic/pt-fcn-handle.o
pic/pt-id.o pic/pt-idx.o pic/pt-jump.o pic/pt-loop.o pic/pt-mat.o pic/pt-misc.o
pic/pt-plot.o pic/pt-pr-code.o pic/pt-select.o pic/pt-stmt.o pic/pt-unop.o
pic/op-b-b.o pic/op-b-bm.o pic/op-bm-b.o pic/op-bm-bm.o pic/op-cell.o
pic/op-chm.o pic/op-cm-cm.o pic/op-cm-cs.o pic/op-cm-m.o pic/op-cm-s.o
pic/op-cs-cm.o pic/op-cs-cs.o pic/op-cs-m.o pic/op-cs-s.o pic/op-fil-b.o
pic/op-fil-bm.o pic/op-fil-cm.o pic/op-fil-cs.o pic/op-fil-m.o pic/op-fil-s.o
pic/op-fil-lis.o pic/op-fil-rec.o pic/op-fil-str.o pic/op-list.o pic/op-m-cm.o
pic/op-m-cs.o pic/op-m-m.o pic/op-m-s.o pic/op-range.o pic/op-s-cm.o
pic/op-s-cs.o pic/op-s-m.o pic/op-s-s.o pic/op-str-m.o pic/op-str-s.o
pic/op-str-str.o pic/op-streamoff.o pic/op-struct.o pic/op-int-concat.o
pic/op-int-conv.o pic/op-double-conv.o pic/op-i8-i8.o pic/op-i16-i16.o
pic/op-i32-i32.o pic/op-i64-i64.o pic/op-ui8-ui8.o pic/op-ui16-ui16.o
pic/op-ui32-ui32.o pic/op-ui64-ui64.o pic/Array-os.o pic/Array-sym.o
pic/Array-tc.o pic/octave.o pic/builtins.o pic/ops.o
../libcruft/blas-xtra/pic/xerbla.o -L../liboctave -loctave -L../libcruft -lcruft
-lreadline  -lncurses -ldl -lmpi -lhdf5 -lz -lm 
-L/usr/lib/gcc/i686-pc-linux-gnu/3.4.4
-L/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/../../../../i686-pc-linux-gnu/lib
-L/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/../../.. -lz -lmpi -lhdf5 -lfrtbegin
-lg2c -lm -lgcc_s
rm -f liboctinterp.so.2.1.71
ln -s liboctinterp.so liboctinterp.so.2.1.71
i686-pc-linux-gnu-gcc -c  -I. -I.. -I../liboctave -I../src -I../libcruft/misc 
-DHAVE_CONFIG_H -mieee-fp -Wall -W -Wshadow -march=pentium-m -O2 -pipe main.c -o
main.o
i686-pc-linux-gnu-g++  -I. -I.. -I../liboctave -I../src -I../libcruft/misc 
-DHAVE_CONFIG_H -mieee-fp -Wall -W -Wshadow -march=pentium-m -O2 -pipe -rdynamic \
-L..  -fPIC -lz -o octave \
main.o  \
-L../liboctave -L../libcruft -L../src -Wl,-rpath -Wl,/usr/lib/octave-2.1.71 \
-loctinterp -loctave  -lcruft   \
 -llapack -lcblas -lf77blas -latlas -lfftw3 -lreadline  -lncurses -ldl -lmpi
-lhdf5 -lz -lm  -L/usr/lib/gcc/i686-pc-linux-gnu/3.4.4
-L/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/../../../../i686-pc-linux-gnu/lib
-L/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/../../.. -lz -lmpi -lhdf5 -lfrtbegin
-lg2c -lm -lgcc_s
../src/liboctinterp.so: undefined reference to `MPI::Is_initialized()'
../src/liboctinterp.so: undefined reference to `PMPI::Comm::mpi_comm_map'
../src/liboctinterp.so: undefined reference to `MPI::Op::Init(void (*)(void
const*, void*, int, MPI::Datatype const&), bool)'
../src/liboctinterp.so: undefined reference to `MPI::Op::Free()'
../src/liboctinterp.so: undefined reference to `op_intercept'
../src/liboctinterp.so: undefined reference to `PMPI::Intracomm::current_op'
../src/liboctinterp.so: undefined reference to `PMPI::Comm::mpi_err_map'
collect2: ld returned 1 exit status
make[2]: *** [octave] Error 1
make[2]: Leaving directory `/var/tmp/portage/octave-2.1.71/work/octave-2.1.71/src'
make[1]: *** [src] Error 2
make[1]: Leaving directory `/var/tmp/portage/octave-2.1.71/work/octave-2.1.71'
make: *** [all] Error 2

!!! ERROR: sci-mathematics/octave-2.1.71 failed.
!!! Function src_compile, Line 61, Exitcode 2
!!! emake failed
!!! If you need support, post the topmost build error, NOT this status message.

*** Resuming merge...
>>> emerge (1 of 31) sci-mathematics/octave-2.1.71 to /
>>> md5 files   ;-) octave-2.1.71.ebuild
>>> md5 files   ;-) octave-2.1.69.ebuild
>>> md5 files   ;-) octave-2.1.57-r1.ebuild
>>> md5 files   ;-) files/digest-octave-2.1.57-r1
>>> md5 files   ;-) files/digest-octave-2.1.69
>>> md5 files   ;-) files/digest-octave-2.1.71
>>> md5 src_uri ;-) octave-2.1.71.tar.bz2


Expected Results:  
successful emerge 

Gentoo Base System version 1.6.10
Portage 2.0.51.19 (default-linux/x86/2004.3, gcc-3.4.3-20050110,
glibc-2.3.4.20050125-r1, 2.6.12-rc1 i686)
=================================================================
System uname: 2.6.12-rc1 i686 Intel(R) Pentium(R) M processor 1500MHz
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, Mar  4 2005, 11:11:02)]
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-lang/python:     2.3.5
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r7
sys-devel/libtool:   1.5.14
virtual/os-headers:  2.6.8.1-r4
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium-m -O2 -pipe"
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/share/config
/usr/lib/X11/xkb /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=pentium-m -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://gentoo.osuosl.org/
ftp://distro.ibiblio.org/pub/Linux/distributions/gentoo/
ftp://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ ftp://gentoo.mirrors.pair.com/
http://mirror.tucdemonic.org/gentoo/
http://mirror.clarkson.edu/pub/distributions/gentoo/
http://mirror.datapipe.net/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages/pentium-m"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="x86 X a52 acpi alsa atlas avi bash-completion berkdb bitmap-fonts blas
bonobo cdda cddb cdf cdio cdparanoia cdr cdrom chroot clisp cmucl crypt cscope
cups curl dba divx4linux dnd dts dv dvd dvdr dvdread edl eds emboss encode evms2
evo exif f2c faac faad fam ffmpeg fftw flac font-server foomaticdb fortran
freetype gcj gd gdbm gif gimp gimpprint ginac gnome gnomedb gnuplot gphoto2 gpm
gps gsl gstreamer gtk gtk2 gtkhtml guile hal hbci hdf hdf5 ieee1394 imagemagick
imlib inkjar irda jack jack-tmpfs java javascript jikes joystick jp2 jpeg junit
kerberos lapack latex lcd ldap libg++ libwww lirc mad makecheck matroska mikmod
mime mmx mmx2 mng motif mozsvg mp3 mpeg mpeg4 mpi mplayer multicall mysql mythtv
ncurses netcdf nls nptl nvidia nviz offensive ofx ogg oggvorbis openal opengl
openssh pam pcmcia pcre pda pdf pdflib perl pic plotutils plugin png pnp posix
ppds pthreads python qt quicktime readline real rtc samba scanner sdl shared
sharedmem skey slang spell sse sse2 ssl stencil-buffer stream stroke svg svga
tcltk tcpd tetex theora threads tiff timidity truetype truetype-fonts type1
type1-fonts usb v4l v4l2 vcd vlm vnc vorbis wifi wmf wxwindows xine xml xml2
xmms xosd xpm xprint xrandr xscreensaver xv xvid xvmc zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS

Gentoo Base System version 1.12.0_pre8
Portage 2.0.53_rc5 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r2,
2.6.13-suspend2-r4 i686)
=================================================================
System uname: 2.6.13-suspend2-r4 i686 Intel(R) Pentium(R) M processor 1500MHz
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-lang/python:     2.3.5, 2.4.2
sys-apps/sandbox:    1.2.13
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-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium-m -O2 -pipe"
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/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/texmf/web2c
/etc/env.d"
CXXFLAGS="-march=pentium-m -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.osuosl.org/
ftp://distro.ibiblio.org/pub/Linux/distributions/gentoo/
ftp://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ ftp://gentoo.mirrors.pair.com/
http://mirror.tucdemonic.org/gentoo/
http://mirror.clarkson.edu/pub/distributions/gentoo/
http://mirror.datapipe.net/gentoo"
PKGDIR="/usr/portage/packages/pentium-m"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="x86 X a52 acpi alsa atlas avi bash-completion berkdb bitmap-fonts blas
bonobo browserplugin cdda cddb cdf cdio cdparanoia cdr cdrom chroot clisp cmucl
crypt cscope cups curl dba divx4linux dnd dts dv dvd dvdr dvdread edl eds emboss
encode evms2 evo exif f2c faac faad fam fbsplash ffmpeg fftw firefox flac
foomaticdb fortran freetype gcj gd gdbm gif gimp gimpprint ginac gnome gnomedb
gnuplot gphoto2 gpm gps gsl gstreamer gtk gtk2 gtkhtml guile hal hbci hdf hdf5
ieee1394 imagemagick imlib inkjar irda jack jack-tmpfs java javascript jikes
joystick jp2 jpeg junit kerberos lapack latex lcd ldap libg++ libwww lirc mad
makecheck matroska mikmod mime mmx mmx2 mng motif mozilla mozsvg mp3 mpeg mpeg4
mpi mplayer multicall mysql mythtv ncurses netcdf nls nptl nsplugin ntfs nvidia
nviz nvram offensive ofx ogg oggvorbis openal opengl openssh pam pcmcia pcre pda
pdf pdflib perl pic plotutils plugin png pnp posix ppds pthreads python qt
quicktime rar rdesktop readline real rhythmbox rtc samba scanner sdl shared
sharedmem skey slang spell sse sse2 ssl stencil-buffer stream stroke svg svga
tcltk tcpd tetex theora threads tiff timidity truetype truetype-fonts type1
type1-fonts usb v4l v4l2 vcd vlm vnc vorbis wifi win32codecs winbind wmf
wxwindows xine xml xml2 xmms xosd xpm xprint xrandr xscreensaver xv xvid xvmc
zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS

------- Comment #1 From Claes Mogren 2005-10-27 13:23:48 0000 -------
The emerge fails for me too on AMD64:
  .
  .
...-cs-rv.o pic/vx-cv-ccv.o pic/vx-cv-cs.o pic/vx-rv-crv.o pic/vx-rv-cs.o
pic/vx-s-ccv.o pic/vx-s-crv.o pic/f2c-main.o pic/filemode.o pic/getopt.o
pic/getopt1.o pic/lo-cieee.o pic/lo-cutils.o pic/mkdir.o pic/oct-getopt.o
pic/rename.o pic/rmdir.o pic/strftime.o pic/strptime.o pic/tempname.o
pic/tempnam.o pic/cmd-edit.o pic/cmd-hist.o pic/oct-rl-edit.o pic/oct-rl-hist.o
pic/pathsearch.o pic/kpse-xfns.o -L../libcruft -L. -Wl,-rpath
-Wl,/usr/lib64/octave-2.1.71 -lcruft  -lfftw3 -lreadline -lreadline  -lncurses
-ldl -lm  -L/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4
-L/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/lib
-L/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../lib64
-L/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../.. -L/lib/../lib64
-L/usr/lib/../lib64 -lz -lfrtbegin -lg2c -lm -lgcc_s
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld:
warning: creating a DT_TEXTREL in object.
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld:
pic/DASRT.o: relocation R_X86_64_PC32 against `std::basic_ostringstream<char,
std::char_traits<char>, std::allocator<char>
>::basic_ostringstream(std::_Ios_Openmode)@@GLIBCXX_3.4' can not be used when
making a shared object; recompile with -fPIC
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld:
final link failed: Bad value
collect2: ld returned 1 exit status
distcc[29555] ERROR: compile (null) on localhost failed
make[2]: *** [liboctave.so] Error 1
make[2]: Leaving directory
`/usr/portage/tmp/portage/octave-2.1.71/work/octave-2.1.71/liboctave'
make[1]: *** [liboctave] Error 2
make[1]: Leaving directory
`/usr/portage/tmp/portage/octave-2.1.71/work/octave-2.1.71'
make: *** [all] Error 2

!!! ERROR: sci-mathematics/octave-2.1.71 failed.
!!! Function src_compile, Line 61, Exitcode 2
!!! emake failed

---------------------- emerge info ---------------------
Portage 2.0.53_rc6 (default-linux/amd64/2005.1, gcc-3.4.4, glibc-2.3.5-r2,
2.6.13-gentoo-r3 x86_64)
=================================================================
System uname: 2.6.13-gentoo-r3 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.12.0_pre9
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.4 [enabled]
dev-lang/python:     2.3.5, 2.4.2
sys-apps/sandbox:    1.2.13
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-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe -ftracer -fno-ident"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib64/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon64 -O2 -pipe -ftracer -fno-ident
-fvisibility-inlines-hidden -fno-enforce-eh-specs"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distcc distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.du.se/pub/os/gentoo http://distfiles.gentoo.org
http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/usr/portage/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/gentopia"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="amd64 X acpi aim apache2 avi berkdb bitmap-fonts bluetooth browserplugin
cairo calendar cdparanoia cdr crypt cups dga dio directfb doc dri dvd dvdr eds
emboss encode exif fbcon ffmpeg fftw foomaticdb fortran gdbm gif glx gnome
gphoto2 gpm gstreamer gtk gtk2 hal icq imagemagic imagemagick imlib ipv6 jabber
java jpeg lzw lzw-tiff mime mozilla mp3 mpeg msn ncurses nls nptl nsplugin
offensive ogg oggvorbis opengl oscar pam pdflib perl png python quicktime
readline ruby samba sdl spell sqlite ssl svg tcpd theora tiff truetype
truetype-fonts type1-fonts udev unicode usb userlocales vorbis wmf xml2 xpm xv
xvid yahoo zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LDFLAGS, LINGUAS

------- Comment #2 From Markus Dittrich 2005-11-02 19:53:15 0000 -------
Alexander,   
  
It looks like octave fails to link to your MPI library. As far as I can  
see, the ebuild doesn't actually pull an MPI implementation for USE=mpi  
which probably needs to be fixed. Hence you likely have already an   
installed MPI version on your system that causes trouble, could you please  
post which one?  
  
Could you also please check if octave compiles for you with USE="-mpi".   

------- Comment #3 From Alexander Hsia 2005-11-03 12:46:23 0000 -------
Yes I have lam-mpi installed.
And yes octave still fails to compile even with USE="-mpi"

------- Comment #4 From Alexander Hsia 2005-11-03 13:54:43 0000 -------
After unemerging lam-mpi: emerge -C lam-mpi
and setting the USE flags to "-mpi"
Octave now compiles

------- Comment #5 From Markus Dittrich 2005-11-03 14:24:20 0000 -------
Hmm, as I suspected, its a problem with MPI then!  
  
Would you be able to test if the stable octave/lam-mpi compiles and works ok  
for you, i.e. octave-2.1.69/lam-mpi-7.0.6?  
  
@claes:  
  
please try without distcc and if that doesn't work, file a separate bug since  
your problem is unrelated to Alexander's. Thanks!  

------- Comment #6 From Markus Dittrich 2005-11-07 19:21:04 0000 -------
Created an attachment (id=72425) [edit]
patch providing proper linkage against MPI

Hi Alexander,

The attached patch should hopefully fix the MPI linkage problems. Please give
it a spin with USE=mpi.

------- Comment #7 From Alexander Hsia 2005-11-10 19:58:17 0000 -------
Applied the ebuild patch and set MPI in the USE flags.
And it's alive! 

Compiled cleanly and I have it running right now. Thanks!

------- Comment #8 From Markus Dittrich 2005-11-15 22:25:41 0000 -------
Hi Alexander,  
  
Thanks for testing! The changes are now in portage-cvs (octave-2.1.71-r2.ebuild).  
  
Dear sparc team:  
  
I had to drop ~sparc from the ebuild for the time being.  
The sparc team needs to set the default virtual/mpi for sparc to   
sys-cluster/lam-mpi since the default sys-cluster/mpich isn't  
available on sparc. Thank you!  
  

------- Comment #9 From Ferris McCormick 2005-11-16 06:57:48 0000 -------
After changing sparc's default virtual/mpi to lam-mpi and readding ~sparc
keyword to octave-2.1.71-r2, I am able to build octave-2.1.71-r2 with USE=mpi on
sparc.  Resulting interpreter is able to execute the little ebuild test
successfully, at least:
octave:1> y = [1 3 4 2 1 5 3 5 6 7 4 5 7 10 11 3];
octave:2> g = [1 1 1 1 1 1 1 1 2 2 2 2 2 3 3 3];
octave:3> anova(y,g);

One-way ANOVA Table:

Source of Variation   Sum of Squares    df  Empirical Var
*********************************************************
Between Groups               61.6375     2        30.8188
Within Groups                62.8000    13         4.8308
---------------------------------------------------------
Total                       124.4375    15

Test Statistic f              6.3797
p-value                       0.0117

Hence, sparc done.

------- Comment #10 From Markus Dittrich 2005-11-16 07:24:07 0000 -------
Thanks Ferris! I am resolving the bug as fixed. 

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