Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 136425 - octave-2.1.73 doesn't compile (gcc 4)
Summary: octave-2.1.73 doesn't compile (gcc 4)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Luis Medinas (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 117482
  Show dependency tree
 
Reported: 2006-06-11 09:13 UTC by Bo Ørsted Andresen (RETIRED)
Modified: 2006-11-02 16:40 UTC (History)
5 users (show)

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


Attachments
emerge -uva octave &> emerge_octave.log (emerge_octave.log,387.21 KB, text/plain)
2006-06-11 09:14 UTC, Bo Ørsted Andresen (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bo Ørsted Andresen (RETIRED) gentoo-dev 2006-06-11 09:13:18 UTC
I hope there isn't already a bug for this but I at least couldn't find it. I'm running all ~x86 and now I cannot compile octave. I'm attaching the output of

# emerge -uva octave &> emerge_octave.log

showing the upgrade from octave 2.1.72 to 2.1.73. But 2.1.72 was originally compiled long before I changed to gcc 4 and fails in the same way now.

# emerge --info
Portage 2.1 (default-linux/x86/2006.0, gcc-4.1.1/vanilla, glibc-2.4-r3, 2.6.16-suspend2-r8 i686)
=================================================================
System uname: 2.6.16-suspend2-r8 i686 Intel(R) Pentium(R) M processor 1600MHz
Gentoo Base System version 1.12.1
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [disabled]
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r2
dev-util/confcache:  0.4.2-r1
sys-apps/sandbox:    1.2.18.1
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/gcc-config: 2.0.0_rc1
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="-O2 -march=pentium-m -pipe"
CHOST="i686-pc-linux-gnu"
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/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -march=pentium-m -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig buildpkg confcache distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms strict userfetch"
GENTOO_MIRRORS="http://mirror.uni-c.dk/pub/gentoo http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo"
LANG="C"
LC_ALL="en_GB.utf8"
LINGUAS="da en en_GB"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_EXTRA_OPTS="--timeout=60"
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'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/portage/local/layman/initng"
SYNC="rsync://zlin.dk/gentoo-portage"
USE="x86 X aac acpi alsa asf avi bash-completion berkdb bitmap-fonts bluetooth bzip2 cli crypt css cups dri dvd dvdr emboss encode fat fbcon ffmpeg flac foomaticdb fortran gdbm gif gphoto2 gpm gtk2 i8x0 ieee1394 imagemagick imlib irda irmc isdnlog jpeg kde kdehiddenvisibility libg++ libwww logitech-mouse mad mikmod mmx mmxext motif mp3 mpeg mplayer ncurses nls nptl nptlonly nsplugin ntfs ogg opengl pam pcre pdflib perl png pppd python qt quicktime readline real reflection reiser4 reiserfs scanner sdl session slp spell spl sse sse2 ssl subversion svga syslog tcpd tetex tiff truetype truetype-fonts type1-fonts udev unicode usb vcd vorbis wifi win32codecs xcomposite xine xml xorg xscreensaver xv xvid zlib elibc_glibc initng_plugins_also initng_plugins_bash_launcher initng_plugins_chdir initng_plugins_chroot initng_plugins_conflict initng_plugins_cpout initng_plugins_critical initng_plugins_cron initng_plugins_daemon initng_plugins_dev initng_plugins_dllaunch initng_plugins_envparser initng_plugins_find initng_plugins_fstat initng_plugins_history initng_plugins_idleprobe initng_plugins_initctl initng_plugins_interactive initng_plugins_iparser initng_plugins_last initng_plugins_limit initng_plugins_logfile initng_plugins_netprobe initng_plugins_ngc4 initng_plugins_pause initng_plugins_pidfile initng_plugins_reload initng_plugins_renice initng_plugins_rlparser initng_plugins_simple_launcher initng_plugins_stcmd initng_plugins_stdout initng_plugins_suid initng_plugins_syncron initng_plugins_syslog initng_plugins_unneeded initng_plugins_provide input_devices_evdev input_devices_keyboard input_devices_mouse input_devices_synaptics input_devices_void kernel_linux linguas_da linguas_en linguas_en_GB userland_GNU video_cards_fbdev video_cards_i810 video_cards_radeon video_cards_vesa"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS
Comment 1 Bo Ørsted Andresen (RETIRED) gentoo-dev 2006-06-11 09:14:10 UTC
Created attachment 88919 [details]
emerge -uva octave &> emerge_octave.log
Comment 2 Markus Dittrich (RETIRED) gentoo-dev 2006-06-11 12:44:19 UTC
(In reply to comment #0)
> MAKEOPTS="-j2"

Thanks for your bug report. I suspect that the octave makefile
doesn't like parallel builds. Could you please try with MAKEOPTS="-j1"
and see if that works.

Thanks,
Markus


Comment 3 Bo Ørsted Andresen (RETIRED) gentoo-dev 2006-06-11 14:35:46 UTC
(In reply to comment #2)
> I suspect that the octave makefile
> doesn't like parallel builds. Could you please try with MAKEOPTS="-j1"
> and see if that works.

You're right. It did work. Thx. :)
Comment 4 Stefan de Konink 2006-06-19 08:36:40 UTC
(In reply to comment #2)
> (In reply to comment #0)
> > MAKEOPTS="-j2"
> 
> Thanks for your bug report. I suspect that the octave makefile
> doesn't like parallel builds. Could you please try with MAKEOPTS="-j1"
> and see if that works.

I'm on amd64 / gcc 4.1.1 and end up with:

octave: /lib/libgcc_s.so.1: version `GCC_4.0.0' not found (required by /usr/lib64/octave-2.1.73/liboctinterp.so)

Tryed the make opts, did not change anything.
Comment 5 Ryan Hill (RETIRED) gentoo-dev 2006-07-02 22:16:21 UTC
> I'm on amd64 / gcc 4.1.1 and end up with:
> 
> octave: /lib/libgcc_s.so.1: version `GCC_4.0.0' not found (required by
> /usr/lib64/octave-2.1.73/liboctinterp.so)

is this during the emerge or afterwards when you try to run it?  it looks like a runtime linker error, which you can probably solve by remerging octave. (if this was actually during the emerge, then ignore me. ;)
Comment 6 R Stephan 2006-07-18 10:10:30 UTC
Cannot confirm. After making a symbolic link from /usr/bin/gfortran to /usr/bin/g77 this octave version compiles without problems.

I cannot say the same about 2.1.69, however (stable). Should I file a different bug?
Comment 7 Markus Dittrich (RETIRED) gentoo-dev 2006-07-18 13:20:39 UTC
If you are using gcc-4.1 you will have to go with octave-2.1.73.
The stable version (octave-2.1.69) has not been ported to gcc-4.1
and will only compile with the stable gcc-3.x.

Best,
Markus
Comment 8 Markus Dittrich (RETIRED) gentoo-dev 2006-07-18 19:22:39 UTC
octave seems to compile just fine here with MAKEOPTS="-j2", hence
I am not quite sure what exactly caused the error reported in comment #1.

@ Stefan de Konink:

Are your gcc 4.1.1 issues resolved by now? If yes, I'd like to close this bug!

Thanks,
Markus
Comment 9 James 2006-09-17 21:25:23 UTC
I needed to link -s /usr/i686-pc-linux-gnu/gcc-bin/4.1.1/i686-pc-linux-gnu-fortran to /usr/i686-pc-linux-gnu/gcc-bin/4.1.1/i686-pc-linux-gnu-g77 in order for Octave to compile.  I was unable to get it to compile making a symbolic link from /usr/bin/gfortran to /usr/bin/g77.  Note that parallel compiling -j2 worked fine.
I don't know what the difference is, but below is my emerge --info
Thanks for the info, CCTSURF

Gentoo Base System version 1.12.5
Portage 2.1.2_pre1 (default-linux/x86/2006.0, gcc-4.1.1, glibc-2.4-r3, 2.6.17-gentoo-r8 i686)
=================================================================
System uname: 2.6.17-gentoo-r8 i686 Intel(R) Celeron(R) CPU 2.93GHz
Last Sync: Sun, 17 Sep 2006 22:00:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.6-r1, 2.0.28-r1
dev-lang/python:     2.4.3-r3
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.60
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.17
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
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/eselect/compiler /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild
 /etc/terminfo"
CXXFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.ussg.iu.edu/pub/linux/gentoo ftp://gentoo.chem.wisc.edu/gentoo/ ftp://ftp.ndlug.nd.edu/pub/gentoo
/ ftp://gentoo.cites.uiuc.edu/pub/gentoo/ "
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-afte
r --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X aac acpi alsa apache2 audiofile berkdb bitmap-fonts bzip2 cdparanoia cdr cli crypt cups divx4linux dlloader dri
dvd dvdr dvdread eds elibc_glibc emboss encode esd ffmpeg foomaticdb fortran gdbm gif glut gpm gstreamer gtk gtk2 hal image
magick imlib input_devices_keyboard input_devices_mouse isdnlog java jpeg kde kernel_linux libg++ libwww lirc lirc_devices_
serial lm_sensors mad mikmod mjpeg mmx mmx2 mmxext motif mp3 mpeg mplayer mysql mythtv ncurses nls nptl nptlonly nsplugin n
vidia ogg openal opengl oss pam pcre pda pdflib perl png pppd python qt3 qt4 quicktime readline reflection samba sdl sessio
n sockets spell spl sse sse2 sse3 ssl subtitles szip tcpd threads truetype truetype-fonts type1-fonts udev usb userland_GNU
 v4l v4l2 vcd video_cards_nvidia video_cards_vesa video_cards_vga vorbis wifi win32codecs xine xml xmms xorg xv xvid xvmc z
lib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 10 Markus Dittrich (RETIRED) gentoo-dev 2006-11-02 13:55:34 UTC
Since there has been no more activity here as well as no responses to 
my query in #8 I assume that all MAKEOPTS and gfortran issues have
been ironed out and close this bug.

Thanks,
Markus
Comment 11 Bo Ørsted Andresen (RETIRED) gentoo-dev 2006-11-02 16:40:49 UTC
(In reply to comment #10)
> Since there has been no more activity here as well as no responses to 
> my query in #8 I assume that all MAKEOPTS and gfortran issues have
> been ironed out and close this bug.

I haven't seen this bug since comment #3. It compiles for me with -j2 too.