Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 143602 - games-strategy/freeciv-2.0.8-r1 compilation failure (confcache related)
Summary: games-strategy/freeciv-2.0.8-r1 compilation failure (confcache related)
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-11 12:50 UTC by Paweł Hajdan, Jr. (RETIRED)
Modified: 2006-10-15 08:15 UTC (History)
1 user (show)

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


Attachments
/var/tmp/confcache/config.cache (config.cache,27.98 KB, text/plain)
2006-08-11 12:52 UTC, Paweł Hajdan, Jr. (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2006-08-11 12:50:52 UTC
With confcache enabled freeciv fails with error shown below, with confcache disabled it's ok.

x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I..  -I../utility -I./../common -I./../ai -I../intl -I../common/aicore -I./generator   -march=athlon64 -O2 -pipe -Wall -Wpointer-arith -Wcast-align -Wmissing-prototypes -Wmissing-declarations -c unittools.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I..  -I../utility -I./../common -I./../ai -I../intl -I../common/aicore -I./generator   -march=athlon64 -O2 -pipe -Wall -Wpointer-arith -Wcast-align -Wmissing-prototypes -Wmissing-declarations -c civserver.c
rm -f libcivserver.a
x86_64-pc-linux-gnu-ar cru libcivserver.a airgoto.o auth.o autoattack.o barbarian.o cityhand.o citytools.o cityturn.o commands.o connecthand.o console.o diplhand.o diplomats.o gamehand.o gamelog.o gotohand.o handchat.o hand_gen.o maphand.o meta.o plrhand.o report.o ruleset.o sanitycheck.o savegame.o score.o sernet.o settings.o settlers.o spacerace.o srv_main.o stdinhand.o unithand.o unittools.o
x86_64-pc-linux-gnu-ranlib libcivserver.a
x86_64-pc-linux-gnu-gcc  -march=athlon64 -O2 -pipe -Wall -Wpointer-arith -Wcast-align -Wmissing-prototypes -Wmissing-declarations   -o civserver  civserver.o ../utility/libcivutility.a ../common/libcivcommon.a ../ai/libcivai.a ../utility/libcivutility.a ./libcivserver.a ../utility/libcivutility.a ../common/libcivcommon.a ../ai/libcivai.a ../utility/libcivutility.a ./libcivserver.a ../utility/libcivutility.a ../common/aicore/libaicore.a ./generator/libgenerator.a  -lreadline   -lz
./libcivserver.a(gamehand.o): In function `place_starting_unit':
gamehand.c:(.text+0x1e8): undefined reference to `sqrt'
../common/libcivcommon.a(combat.o): In function `win_chance':
combat.c:(.text+0x2fc): undefined reference to `pow'
../common/libcivcommon.a(tech.o): In function `precalc_tech_data':
tech.c:(.text+0x90a): undefined reference to `sqrt'
tech.c:(.text+0x91f): undefined reference to `sqrt'
../ai/libcivai.a(aiexplorer.o): In function `ai_manage_explorer':
aiexplorer.c:(.text+0x26c): undefined reference to `log'
aiexplorer.c:(.text+0x27f): undefined reference to `log'
aiexplorer.c:(.text+0x7a8): undefined reference to `log'
./generator/libgenerator.a(mapgen.o): In function `place_terrain':
mapgen.c:(.text+0x81a): undefined reference to `sqrt'
mapgen.c:(.text+0x837): undefined reference to `sqrt'
./generator/libgenerator.a(mapgen.o): In function `map_fractal_generate':
mapgen.c:(.text+0x4103): undefined reference to `sqrt'
mapgen.c:(.text+0x41f7): undefined reference to `sqrt'
mapgen.c:(.text+0x420d): undefined reference to `sqrt'
./generator/libgenerator.a(mapgen.o):mapgen.c:(.text+0x424a): more undefined references to `sqrt' follow
collect2: ld returned 1 exit status
make[3]: *** [civserver] Error 1
make[3]: Leaving directory `/var/tmp/portage/freeciv-2.0.8-r1/work/freeciv-2.0.8/server'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/freeciv-2.0.8-r1/work/freeciv-2.0.8/server'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/freeciv-2.0.8-r1/work/freeciv-2.0.8'
make: *** [all] Error 2

!!! ERROR: games-strategy/freeciv-2.0.8-r1 failed.
Call stack:
  ebuild.sh, line 1539:   Called dyn_compile
  ebuild.sh, line 939:   Called src_compile
  freeciv-2.0.8-r1.ebuild, line 159:   Called die

Portage 2.1-r2 (default-linux/amd64/2006.0, gcc-3.4.6, glibc-2.3.6-r4, 2.6.17-gentoo-r4 x86_64)
=================================================================
System uname: 2.6.17-gentoo-r4 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.12.4
ccache version 2.3 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  0.4.2-r1
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-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe"
CHOST="x86_64-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/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-march=athlon64 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache collision-protect confcache distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms strict userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://gentoo.zie.pg.gda.pl http://gentoo.prz.rzeszow.pl http://gentoo.po.opole.pl http://gentoo.intergenia.de"
LANG="en_US.utf8"
LC_ALL="en_US.utf8"
LINGUAS="en pl"
MAKEOPTS="-j2"
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.europe.gentoo.org/gentoo-portage"
USE="amd64 X acl acpi alsa apache2 arts audiofile avi berkdb bitmap-fonts browserplugin bzip2 cdparanoia cdr cli cracklib crypt cups curl dbus dlloader dri dvd dvdr emboss encode exif expat ffmpeg firefox foomaticdb force-cgi-redirect fortran ftp gdbm gif gimp gimpprint glut gmp gstreamer gtk gtk2 hal imlib ipv6 isdnlog java javascript jpeg kde lzw lzw-tiff mad mng mono mozilla mp3 mpeg ncurses nls nptl nsplugin nvidia ogg oggvorbis opengl pam pcre pdf pdflib perl php png pppd python qt3 qt4 quicktime readline reflection samba scanner sdl session soap spell spl ssl tcpd tiff truetype truetype-fonts type1-fonts unicode usb utf8 vorbis xml xorg xpm xv zip zlib elibc_glibc input_devices_evdev input_devices_keyboard input_devices_mouse kernel_linux linguas_en linguas_pl userland_GNU video_cards_nvidia video_cards_nv"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Interesting parts of emerge.log before failure:
1155322771:  ::: completed emerge (1 of 18) sys-apps/baselayout-1.12.4-r2 to /
1155322852:  ::: completed emerge (2 of 18) sys-apps/findutils-4.3.0 to /
1155322886:  ::: completed emerge (3 of 18) sys-apps/man-pages-2.38 to /
1155322975:  ::: completed emerge (4 of 18) media-libs/tiff-3.8.2-r2 to /
1155324137:  ::: completed emerge (5 of 18) dev-db/mysql-5.0.24 to /
1155324860:  ::: completed emerge (6 of 18) dev-lang/php-5.1.4-r6 to /
1155324958:  ::: completed emerge (7 of 18) app-crypt/gnupg-1.4.5 to /
1155325011:  ::: completed emerge (8 of 18) sys-fs/cryptsetup-luks-1.0.3-r2 to /
1155325033:  ::: completed emerge (9 of 18) sys-apps/pmount-0.9.9 to /
Comment 1 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2006-08-11 12:52:31 UTC
Created attachment 94012 [details]
/var/tmp/confcache/config.cache
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-08-11 12:57:04 UTC
confcache is currently package.masked b/c it's been causing too many problems due to poisoning. Feel free to reopen w/ a patch.