Bug 164855 - sci-libs/gerris-0.9.2 compile failed
Bug#: 164855 Product:  Gentoo Linux Version: 2006.1 Platform: x86
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: markusle@gentoo.org Reported By: vok@ujv.cz
Component: Applications
URL: 
Summary: sci-libs/gerris-0.9.2 compile failed
Keywords:  
Status Whiteboard: 
Opened: 2007-02-01 15:11 0000
Description:   Opened: 2007-02-01 15:11 0000
emerge output:

libtool: link: cannot find the library `../src/libgfs2D.la'
make[3]: *** [gerris2D] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory
`/var/tmp/portage/gerris-0.9.2/work/gerris-0.9.2/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory
`/var/tmp/portage/gerris-0.9.2/work/gerris-0.9.2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gerris-0.9.2/work/gerris-0.9.2'
make: *** [all] Error 2

!!! ERROR: sci-libs/gerris-0.9.2 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  gerris-0.9.2.ebuild, line 34:   Called die

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



Reproducible: Always

Steps to Reproduce:
1.ACCEPT_KEYWORDS="~x86" emerge gerris
2.
3.




I have already installed (probably) related packages:
gnome-extra/libgsf-1.14.2  USE="doc gnome python -bzip2 -debug -static" 
dev-dotnet/gsf-sharp-0.8

my system:
uname -a
Linux e49 2.6.18-gentoo-r3 #12 SMP Mon Dec 11 14:41:37 CET 2006 i686 Intel(R)
Core(TM)2 CPU          6600  @ 2.40GHz GNU/Linux

I keep portage from 6.12.2006 (portage-20061206.tar.bz2)

------- Comment #1 From Petr Vokac 2007-02-01 15:17:08 0000 -------
emerge --info
Portage 2.1.1-r2 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.4-r4,
2.6.18-gentoo-r3 i686)
=================================================================
System uname: 2.6.18-gentoo-r3 i686 Intel(R) Core(TM)2 CPU          6600  @
2.40GHz
Gentoo Base System version 1.12.6
Last Sync: Thu, 07 Dec 2006 01:47:01 +0000
ccache version 2.3 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
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-r3
sys-devel/gcc-config: 1.3.13-r4
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -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
/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/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf
/etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LC_ALL="en_US.utf8"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
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"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X alsa arts avi berkdb bitmap-fonts cairo cdr cli cracklib crypt cups dbus
dlloader doc dri dvd dvdr eds elibc_glibc emboss encode esd fam fglrx firefox
fortran gif gnome gpm gstreamer gtk hal icc iconv input_devices_evdev
input_devices_keyboard input_devices_mouse ipv6 isdnlog jpeg kde kernel_linux
ldap leim libg++ mad mikmod mp3 mpeg mule ncurses nls nptl nptlonly ogg opengl
oss pam pcre pdflib perl png ppds pppd python qt3 qt4 quicktime readline
reflection sdl session spell spl ssl tcl tcpd threads tiff tk truetype
truetype-fonts type1-fonts udev unicode usb userland_GNU video_cards_fglrx
video_cards_vesa vorbis win32codecs x86 xml xorg xv zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LDFLAGS, LINGUAS,
PORTAGE_RSYNC_EXTRA_OPTS

------- Comment #2 From Markus Dittrich 2007-02-01 22:47:58 0000 -------
Hi Petr,

Thanks for your bug report. Could you please try with  
MAKEOPTS="-j1" and see if that helps.

Thanks,
Markus

------- Comment #3 From Petr Vokac 2007-02-02 08:39:40 0000 -------
Hi,

with MAKEOPTS="-j1" it passed:

>>> Regenerating /etc/ld.so.cache...
>>> sci-libs/gerris-0.9.2 merged.

Thanks a lot,
Petr

------- Comment #4 From Markus Dittrich 2007-02-02 15:58:28 0000 -------
Hi Petr,

Thanks a lot for testing! It looks like gerris' makefile don't
properly support parallel make. I've disabled this for now
in the ebuild until I find a better solution.

Thanks,
Markus