Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 29564 - octave 2.0.x fails to build
Summary: octave 2.0.x fails to build
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Please assign to toolchain
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-09-25 01:24 UTC by Roger Luethi
Modified: 2004-04-18 22:32 UTC (History)
3 users (show)

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 Roger Luethi 2003-09-25 01:24:35 UTC
emerging kmatplot tries to install octave 2.0.17-r2, which in
turn requires g++ 2.95 to build (incidentally, neither
gcc 2.95.3 r7 nor r8 build for me)


Reproducible: Always
Steps to Reproduce:
Comment 1 Seemant Kulleen (RETIRED) gentoo-dev 2003-09-25 11:01:59 UTC
can you paste some of your errors building gcc-2.95.3-r8 please?
Comment 2 Roger Luethi 2003-09-25 15:23:58 UTC
<shrug> sure. I didn't report this because I didn't have time to investigate,
and I found it rather suspicious that I should be the only one to hit a
particular bug with building gcc, several months after the package went live.
Errors are exactly the same with r7.

stage1/xgcc -Bstage1/ -B/usr/i686-pc-linux-gnu/bin/ -c  -DIN_GCC    -O2 -g
-pipe     -I. -I.. -I/var/tmp/portage/gcc-2.95.3-r8/work/gcc-2.95.3/gcc/java
-I/var/tmp/portage/gcc-2.95.3-r8/work/gcc-2.95.3/gcc/java/.. -I/var/tmp/portage/gcc-2.95.3-r8/work/gcc-2.95.3/gcc/java/../config
-I/var/tmp/portage/gcc-2.95.3-r8/work/gcc-2.95.3/gcc/java/../../include /var/tmp/portage/gcc-2.95.3-r8/work/gcc-2.95.3/gcc/java/jcf-io.c
stage1/xgcc -Bstage1/ -B/usr/i686-pc-linux-gnu/bin/  -DIN_GCC    -O2 -g -pipe
  -o ../gcjh gjavah.o jcf-io.o \
  jcf-depend.o jcf-path.o zextract.o ../../libiberty/libiberty.a
jcf-io.o: file not recognized: File truncated
collect2: ld returned 1 exit status
make[3]: *** [../gcjh] Error 1
make[3]: Leaving directory `/var/tmp/portage/gcc-2.95.3-r8/work/build/gcc/java'
make[2]: *** [gcjh] Error 2
make[2]: *** Waiting for unfinished jobs....
stage1/xgcc -Bstage1/ -B/usr/i686-pc-linux-gnu/bin/  -DIN_GCC    -O2 -g -pipe
  -o ../jcf-dump jcf-dump.o jcf-io.o \
  jcf-depend.o jcf-path.o zextract.o ../../libiberty/libiberty.a
make[3]: Leaving directory `/var/tmp/portage/gcc-2.95.3-r8/work/build/gcc/java'
make[2]: Leaving directory `/var/tmp/portage/gcc-2.95.3-r8/work/build/gcc'
make[1]: *** [bootstrap-lean] Error 2
make[1]: Leaving directory `/var/tmp/portage/gcc-2.95.3-r8/work/build/gcc'
make: *** [bootstrap-lean] Error 2

!!! ERROR: sys-devel/gcc-2.95.3-r8 failed.
!!! Function src_compile, Line 191, Exitcode 2
!!! (no error message)
Comment 3 Marc Doughty 2003-10-28 17:15:40 UTC
can you get a binary package for gcc-2.95 and try compiling with that? I
think that as GCC gets stricter and stricter in later versions it might get
hard to compile older cruftier code, like that of GCC-2.X.
Comment 4 Martin Holzer (RETIRED) gentoo-dev 2003-12-07 17:21:35 UTC
please paste
#emerge info
Comment 5 Roger Luethi 2003-12-10 02:40:26 UTC
Parallel building seems to be it. Changing

MAKEOPTS="-j5"

to

MAKEOPTS=""

fixes the problem.
--------------------------------
System uname: 2.6.0-test11 i686 AMD Athlon(TM)Processor
Gentoo Base System version 1.4.3.8p1
distcc 2.11.1 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.3 [enabled]
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -g -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O2 -g -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="sandbox autoaddcvs buildpkg ccache digest distcc keeptemp keepwork nostrip"
GENTOO_MIRRORS="http://sunsite.cnlab-switch.ch/ftp/mirror/gentoo/ ftp://gentoo.linux.no/pub/gentoo/ http://gentoo.linux.no/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/distfiles/ ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 apm foomaticdb libg++ mad mikmod nls berkdb bonobo tcltk sdl python gtk motif 3dnow aalib alsa apache2 arts avi cdr crypt cups debug dvd encode esd ethereal fbcon gdbm gif gnome gpm gtk2 gtkhtml imlib java jpeg kde ldap libwww matrox mbox mozilla mozsvg mpeg ncurses oggvorbis opengl oss pam pda pdflib perl pic png qt quicktime readline -slang snmp spell ssl -svga tcpd tetex tiff truetype vim-with-x X xinerama xml2 xmms xv zlib"
Comment 6 Alexander Gabert (RETIRED) gentoo-dev 2004-03-05 02:33:36 UTC
just a stupid question: is your /var/tmp disk running full?
truncated object files are most often a sign of lack of space.

thanks,

Alex
Comment 7 SpanKY gentoo-dev 2004-04-18 22:32:14 UTC
octave-2.1.x is working over here

re-open if it doesnt work for you