Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 136182 - sci-libs/netcdf-3.6.1: undefined references while emerging
Summary: sci-libs/netcdf-3.6.1: undefined references while emerging
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
: 136184 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-06-09 05:41 UTC by Christian Schoenebeck
Modified: 2006-06-30 21:54 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 Christian Schoenebeck 2006-06-09 05:41:17 UTC
I get a huge bunch of "undefined reference" errors while trying to emerge netcdf 3.6.1:

...
test_get.o: In function `test_nf_get_att_text__':
cckZITtg.f:(.text+0x145a6): undefined reference to `nf_open__'
cckZITtg.f:(.text+0x146b6): undefined reference to `nf_get_att_text__'
cckZITtg.f:(.text+0x14747): undefined reference to `nf_get_att_text__'
cckZITtg.f:(.text+0x147ae): undefined reference to `nf_get_att_text__'
cckZITtg.f:(.text+0x149ad): undefined reference to `nf_get_att_text__'
cckZITtg.f:(.text+0x14d20): undefined reference to `nf_close__'
...
util.o: In function `internal_max__':
cc8uZ8CW.f:(.text+0x31aa): undefined reference to `max_schar__'
cc8uZ8CW.f:(.text+0x31bc): undefined reference to `max_short__'
cc8uZ8CW.f:(.text+0x31ce): undefined reference to `max_int__'
cc8uZ8CW.f:(.text+0x31e0): undefined reference to `max_float__'
cc8uZ8CW.f:(.text+0x31f2): undefined reference to `max_double__'
collect2: ld returned 1 exit status
make[2]: *** [nf_test] Error 1
make[2]: Leaving directory `/var/tmp/portage/netcdf-3.6.1/work/netcdf-3.6.1/src/nf_test'
make[1]: *** [subdir_target] Error 1
make[1]: Leaving directory `/var/tmp/portage/netcdf-3.6.1/work/netcdf-3.6.1/src'
make: *** [nf_test/test] Error 2

!!! ERROR: sci-libs/netcdf-3.6.1 failed.
Call stack:
  ebuild.sh, line 1539:   Called dyn_compile
  ebuild.sh, line 939:   Called src_compile
  netcdf-3.6.1.ebuild, line 45:   Called die

============================================

emerge --info
Portage 2.1_rc4-r3 (default-linux/x86/2006.0, gcc-3.4.6/vanilla, glibc-2.4-r3, 2.6.13-rc5-mm1 i686)
=================================================================
System uname: 2.6.13-rc5-mm1 i686 VIA Nehemiah
Gentoo Base System version 1.12.1
dev-lang/python:     2.3.4-r1, 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
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="-O3 -march=i686 -msse -mmmx -mfpmath=sse -fomit-frame-pointer -funroll-loops -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /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/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-O3 -march=i686 -msse -mmmx -mfpmath=sse -fomit-frame-pointer -funroll-loops -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="de_DE@euro"
LINGUAS="de"
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="x86 X alsa apache2 apm arts avi berkdb bitmap-fonts cli crypt cups dri dvb eds emboss encode esd foomaticdb fortran gdbm gif gnome gpm gstreamer gtk gtk2 imlib insecure-drivers ipv6 isdnlog jack jpeg kde lcms libg++ libwww mad mikmod mmx motif mp3 mpeg ncurses nls nptl nptlonly ogg opengl oss pam pcre pdflib perl plugin png pppd python qt quicktime readline reflection sdl session soundtouch spell spl sse ssl tcpd theora truetype truetype-fonts type1-fonts udev usb vorbis xine xml xmms xorg xv zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux linguas_de userland_GNU video_cards_via video_cards_vesa"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Christian Schoenebeck 2006-06-09 05:45:28 UTC
*** Bug 136184 has been marked as a duplicate of this bug. ***
Comment 2 Steve Arnold archtester gentoo-dev 2006-06-30 21:54:31 UTC
I've moved the tests to src_test() even though they work fine with either g77 or gfortran, so just use FEATURES="-test" to disable them.  Since you have fortran in your USE flags, I'm not sure why the tests would barf, unless you built gcc before you added fortran...