Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 77411 - octave-forge won't compile with gcc 3.4 + octave 2.1.64
Summary: octave-forge won't compile with gcc 3.4 + octave 2.1.64
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-10 13:22 UTC by Joseph Garvin
Modified: 2005-01-17 03:40 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Joseph Garvin 2005-01-10 13:22:23 UTC
octave-forge won't compile with gcc 3.4 + octave 2.1.64. I'm not sure if it's the newer octave or gcc that's responsible.

DHAVE_OCTAVE_21 __grcmd__.cc -o __grcmd__.o
__grcmd__.cc: In function `octave_value_list F__grcmd__(const 
   octave_value_list&, int)':
__grcmd__.cc:615: error: call of overloaded `octave_value_list(ColumnVector&)' 
   is ambiguous
/usr/include/octave-2.1.64/octave/oct-obj.h:149: error: candidates are: 
   octave_value_list::octave_value_list(const Array<octave_value>&)
/usr/include/octave-2.1.64/octave/oct-obj.h:50: error:                 
   octave_value_list::octave_value_list(const octave_value&)
make[2]: *** [__grcmd__.oct] Error 1
make[2]: Leaving directory `/var/tmp/portage/octave-forge-2004.02.12/work/octave-forge-2004.02.12/extra/graceplot'
make[1]: *** [graceplot/] Error 2
make[1]: Leaving directory `/var/tmp/portage/octave-forge-2004.02.12/work/octave-forge-2004.02.12/extra'
make: *** [extra/] Error 2
make: *** Waiting for unfinished jobs....
mkoctfile -DHAVE_OCTAVE_21 -v rand.cc
i686-pc-linux-gnu-g++ -c -fPIC -I/usr/include/octave-2.1.64 -I/usr/include/octave-2.1.64/octave -mieee-fp -O2 -march=athlon-xp -mcpu=i686 -fomit-frame-pointer -DHAVE_OCTAVE_21 rand.cc -o rand.o
i686-pc-linux-gnu-g++ -shared -Wl,-Bsymbolic -o sort.oct sort.o -L/usr/lib/octave-2.1.64 -loctinterp -loctave -lcruft -lz -lfftw3 -lreadline -lncurses -ldl -lm -L/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4 -L/usr/lib/gcc/i686-pc-linux-gnu/3.3.4 -L/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/../../../../i686-pc-linux-gnu/lib -L/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/../../.. -lz -lfrtbegin -lg2c -lm -lgcc_s
rm -f randn.oct
ln -s rand.oct randn.oct
i686-pc-linux-gnu-g++ -shared -Wl,-Bsymbolic -o rand.oct rand.o -L/usr/lib/octave-2.1.64 -loctinterp -loctave -lcruft -lz -lfftw3 -lreadline -lncurses -ldl -lm -L/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4 -L/usr/lib/gcc/i686-pc-linux-gnu/3.3.4 -L/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/../../../../i686-pc-linux-gnu/lib -L/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/../../.. -lz -lfrtbegin -lg2c -lm -lgcc_s
make[1]: Leaving directory `/var/tmp/portage/octave-forge-2004.02.12/work/octave-forge-2004.02.12/FIXES'

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

Reproducible: Always
Steps to Reproduce:
1. Get gcc 3.4
2. Get octave 2.1.64
3. emerge octave-forge

Actual Results:  
The compile failed.

Expected Results:  
Compile succeed.

Portage 2.0.51-r3 (default-linux/x86/2004.2, gcc-3.3.4, glibc-2.3.4.20040808-r1,
2.6.9-gentoo-r13 i686)
=================================================================
System uname: 2.6.9-gentoo-r13 i686 AMD Athlon(tm) XP 3000+
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.90.0.1.1-r3
Headers:  sys-kernel/linux26-headers-2.6.8.1-r2
Libtools: sys-devel/libtool-1.5.2-r7
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=athlon-xp -mcpu=i686 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown
/usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -mcpu=i686 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://prometheus.cs.wmich.edu/gentoo
http://gentoo.binarycompass.org http://mirrors.tds.net/gentoo
ftp://gentoo.chem.wisc.edu/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow X acl alsa apm arts avi berkdb bitmap-fonts cdr crypt cups dga
encode esd fam flac foomaticdb fortran gdbm gif gpm gtk gtk2 imagemagick imlib
ipv6 java jpeg junit kde libwww mad mikmod mmx motif mpeg ncurses nls nptl
oggvorbis opengl oss pam pdflib perl png python qt quicktime readline samba sdl
slang spell sse ssl svga tcltk tcpd tiff tk truetype xml2 xmms xv zlib"
Comment 1 Georg Schild 2005-01-11 15:21:49 UTC
Same here on amd64, latest updates and gcc 3.4.3. latest octave runs fine but octave-forge quits with same error. I have never got it to install, even not with an older version
Comment 2 Patrick Kursawe (RETIRED) gentoo-dev 2005-01-17 02:04:03 UTC
Joseph, you were using gcc 3.3.4, not 3.4.
Comment 3 Patrick Kursawe (RETIRED) gentoo-dev 2005-01-17 03:40:04 UTC
Please give octave-forge-2004.11.16 a try which should hit your portage mirrors soon. Re-open if there are problems.