Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 309351 - games-simulation/flightgear 2.0 fails to build
Summary: games-simulation/flightgear 2.0 fails to build
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-14 09:21 UTC by Olivier Leconte
Modified: 2010-03-14 18:16 UTC (History)
0 users

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


Attachments
build.log (build.log,90.40 KB, text/plain)
2010-03-14 09:23 UTC, Olivier Leconte
Details
Environment (environment,111.07 KB, text/plain)
2010-03-14 09:24 UTC, Olivier Leconte
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Olivier Leconte 2010-03-14 09:21:40 UTC
flightgear 2.0 fails to build

I had earlier built freeglut-2.6.0, as reported in ticket 307899 (http://bugs.gentoo.org/show_bug.cgi?id=307899)

Reproducible: Always

Steps to Reproduce:
1. emerge flightgear

Actual Results:  
Build crashed

Error reported (excerpt from build.log):

/usr/local/lib/libsgxml.a(easyxml.o): In function `readXML(std::basic_istream<char, std::char_traits<char> >&, XMLVisitor&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':
/users/olivier/tmp/taxidraw/TaxiDraw/src/xml/easyxml.cxx:246: undefined reference to `sg_io_exception::sg_io_exception(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, sg_location const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
/users/olivier/tmp/taxidraw/TaxiDraw/src/xml/easyxml.cxx:259: undefined reference to `sg_io_exception::sg_io_exception(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, sg_location const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
/users/olivier/tmp/taxidraw/TaxiDraw/src/xml/easyxml.cxx:235: undefined reference to `sg_io_exception::sg_io_exception(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, sg_location const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
/usr/local/lib/libsgxml.a(easyxml.o): In function `readXML(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, XMLVisitor&)':
/users/olivier/tmp/taxidraw/TaxiDraw/src/xml/easyxml.cxx:285: undefined reference to `sg_io_exception::sg_io_exception(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, sg_location const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
/usr/local/lib/libsgxml.a(easyxml.o): In function `readXML(char const*, int, XMLVisitor&)':
/users/olivier/tmp/taxidraw/TaxiDraw/src/xml/easyxml.cxx:306: undefined reference to `sg_io_exception::sg_io_exception(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, sg_location const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
collect2: ld returned 1






emerge --info =games-simulation/flightgear-2.0.0:

Portage 2.1.8.3 (default/linux/x86/10.0, gcc-4.3.4, glibc-2.10.1-r1, 2.6.24-gentoo-r7 i686)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.24-gentoo-r7-i686-Intel-R-_Pentium-R-_4_CPU_2.53GHz-with-gentoo-1.12.13
Timestamp of tree: Sat, 13 Mar 2010 21:30:01 +0000
app-shells/bash:     4.0_p35
dev-java/java-config: 1.3.7-r1, 2.1.10
dev-lang/python:     2.4.6, 2.5.4-r4, 2.6.4-r1
dev-python/pycrypto: 2.0.1-r8
dev-util/cmake:      2.6.4-r3
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2, 1.11.1
sys-devel/binutils:  2.18-r3
sys-devel/gcc:       3.3.6-r1, 3.4.6-r2, 4.1.2, 4.3.4
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-pipe -O2 -march=pentium4 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /var/bind /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-pipe -O2 -march=pentium4 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="fr_FR.ISO-8859-15@euro"
LC_ALL="fr_FR@euro"
LDFLAGS="-Wl,-O1"
LINGUAS="fr"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --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="acl apache2 berkdb bzip2 cli cracklib crypt cups cxx dga dri fortran gdbm gpm iconv ipv6 modules mudflap ncurses nls nptl nptlonly openmp pam pcre perl pic pppd python readline reflection session spl ssl sysfs tcpd unicode v4l v4l2 x86 xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="fr" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nv nvidia vesa fbdev"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS



emerge -pqv =games-simulation/flightgear-2.0.0:

[ebuild     U ] games-simulation/flightgear-2.0.0 [1.9.1] USE="-sdl*"
Comment 1 Olivier Leconte 2010-03-14 09:23:33 UTC
Created attachment 223503 [details]
build.log
Comment 2 Olivier Leconte 2010-03-14 09:24:23 UTC
Created attachment 223505 [details]
Environment
Comment 3 Patrick Lauer gentoo-dev 2010-03-14 10:25:29 UTC
why do you have things in /usr/local/ ?
Comment 4 Olivier Leconte 2010-03-14 18:16:23 UTC
(In reply to comment #3)
> why do you have things in /usr/local/ ?
> 

Sorry I had not noticed!

I just discovered I had something in /usr/local. Based on genlop report, it seems /usr/local/lib contents came from a simgear 1.9.1 build (I do not know, though, whether this was installed directly).

After /usr/local clean up, flightgear built successfully.

I close this bug straight away.