Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 224497 - games-simulation/fgrun-1.0.0 fails to build
Summary: games-simulation/fgrun-1.0.0 fails to build
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-01 16:52 UTC by Geert Vanhaute
Modified: 2008-10-10 20:25 UTC (History)
1 user (show)

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


Attachments
Complete build.log with slightly different messages (build.log,13.69 KB, text/plain)
2008-07-24 12:14 UTC, Florian Streibelt
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Geert Vanhaute 2008-06-01 16:52:44 UTC
games-simulation/fgrun-1.0.0 fails to compile on ~amd64
sys-libs/fltk-1.1.7-r3 was build using the opengl flag

ebuild log:

mv -f .deps/Fl_Table.Tpo .deps/Fl_Table.Po
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I.   -I/usr/include/fltk-1.1    -I/usr/include  -march=nocona -mtune=generic -O2 -pipe -fomit-frame-pointer -MT Fl_Table_Row.o -MD -MP -MF .deps/Fl_Table_Row.Tpo -c -o Fl_Table_Row.o Fl_Table_Row.cxx
mv -f .deps/Fl_Table_Row.Tpo .deps/Fl_Table_Row.Po
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I.   -I/usr/include/fltk-1.1    -I/usr/include  -march=nocona -mtune=generic -O2 -pipe -fomit-frame-pointer -MT Fl_Plib.o -MD -MP -MF .deps/Fl_Plib.Tpo -c -o Fl_Plib.o Fl_Plib.cxx
mv -f .deps/Fl_Plib.Tpo .deps/Fl_Plib.Po
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I.   -I/usr/include/fltk-1.1    -I/usr/include  -march=nocona -mtune=generic -O2 -pipe -fomit-frame-pointer -MT Fl_Heading_Dial.o -MD -MP -MF .deps/Fl_Heading_Dial.Tpo -c -o Fl_Heading_Dial.o Fl_Heading_Dial.cxx
mv -f .deps/Fl_Heading_Dial.Tpo .deps/Fl_Heading_Dial.Po
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I.   -I/usr/include/fltk-1.1    -I/usr/include  -march=nocona -mtune=generic -O2 -pipe -fomit-frame-pointer -MT main.o -MD -MP -MF .deps/main.Tpo -c -o main.o main.cxx
mv -f .deps/AirportBrowser.Tpo .deps/AirportBrowser.Po
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I.   -I/usr/include/fltk-1.1    -I/usr/include  -march=nocona -mtune=generic -O2 -pipe -fomit-frame-pointer -MT io.o -MD -MP -MF .deps/io.Tpo -c -o io.o io.cxx
mv -f .deps/wizard_funcs.Tpo .deps/wizard_funcs.Po
mv -f .deps/main.Tpo .deps/main.Po
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I.   -I/usr/include/fltk-1.1    -I/usr/include  -march=nocona -mtune=generic -O2 -pipe -fomit-frame-pointer -MT fgfsrc.o -MD -MP -MF .deps/fgfsrc.Tpo -c -o fgfsrc.o fgfsrc.cxx
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I.   -I/usr/include/fltk-1.1    -I/usr/include  -march=nocona -mtune=generic -O2 -pipe -fomit-frame-pointer -MT logwin.o -MD -MP -MF .deps/logwin.Tpo -c -o logwin.o logwin.cxx
mv -f .deps/logwin.Tpo .deps/logwin.Po
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I.   -I/usr/include/fltk-1.1    -I/usr/include  -march=nocona -mtune=generic -O2 -pipe -fomit-frame-pointer -MT settings.o -MD -MP -MF .deps/settings.Tpo -c -o settings.o settings.cxx
mv -f .deps/settings.Tpo .deps/settings.Po
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I.   -I/usr/include/fltk-1.1    -I/usr/include  -march=nocona -mtune=generic -O2 -pipe -fomit-frame-pointer -MT util.o -MD -MP -MF .deps/util.Tpo -c -o util.o util.cxx
mv -f .deps/io.Tpo .deps/io.Po
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I.   -I/usr/include/fltk-1.1    -I/usr/include  -march=nocona -mtune=generic -O2 -pipe -fomit-frame-pointer -MT run_posix.o -MD -MP -MF .deps/run_posix.Tpo -c -o run_posix.o run_posix.cxx
mv -f .deps/util.Tpo .deps/util.Po
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I.   -I/usr/include/fltk-1.1    -I/usr/include  -march=nocona -mtune=generic -O2 -pipe -fomit-frame-pointer -MT fgrun_pty.o -MD -MP -MF .deps/fgrun_pty.Tpo -c -o fgrun_pty.o fgrun_pty.cxx
mv -f .deps/fgrun_pty.Tpo .deps/fgrun_pty.Po
mv -f .deps/fgfsrc.Tpo .deps/fgfsrc.Po
mv -f .deps/run_posix.Tpo .deps/run_posix.Po
x86_64-pc-linux-gnu-g++  -march=nocona -mtune=generic -O2 -pipe -fomit-frame-pointer  -L/usr/lib64/fltk-1.1 -Wl,-rpath,/usr/lib64/fltk-1.1 -lfltk -lXft -ldl -lpthread -lm -lXext -lX11 -L/usr/lib64 -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -s  -L/usr/lib64 -L/usr/lib64 -o fgrun wizard.o wizard_funcs.o advanced.o advanced_funcs.o AirportBrowser.o AirportTable.o Fl_Table.o Fl_Table_Row.o Fl_Plib.o Fl_Heading_Dial.o main.o io.o fgfsrc.o logwin.o settings.o util.o run_posix.o fgrun_pty.o -lsgmodel -lsgmath -lsgscreen -lsgprops -lsgxml -lsgmisc -lsgdebug -lsgstructure  -lplibssg -lplibsg -lplibul -lpthread  -lfltk -lXft -lGL -lXmu -lXt -lSM -lICE -lXi -lXext -lX11  -lm -lz -lutil
wizard_funcs.o: In function `Wizard::preview_aircraft()':
wizard_funcs.cxx:(.text+0x865a): undefined reference to `Fl_Gl_Window::make_current()'
wizard_funcs.o: In function `Wizard::reset_settings()':
wizard_funcs.cxx:(.text+0xb89d): undefined reference to `Fl_Gl_Window::make_current()'
Fl_Plib.o: In function `Fl_Plib::Fl_Plib(int, int, int, int, char const*)':
Fl_Plib.cxx:(.text+0x1ba): undefined reference to `vtable for Fl_Gl_Window'
Fl_Plib.cxx:(.text+0x1c2): undefined reference to `Fl_Gl_Window::init()'
Fl_Plib.o: In function `Fl_Plib::Fl_Plib(int, int, int, int, char const*)':
Fl_Plib.cxx:(.text+0xd6a): undefined reference to `vtable for Fl_Gl_Window'
Fl_Plib.cxx:(.text+0xd72): undefined reference to `Fl_Gl_Window::init()'
Fl_Plib.o: In function `Fl_Plib::~Fl_Plib()':
Fl_Plib.cxx:(.text._ZN7Fl_PlibD0Ev[Fl_Plib::~Fl_Plib()]+0xc): undefined reference to `Fl_Gl_Window::~Fl_Gl_Window()'
Fl_Plib.o: In function `Fl_Plib::~Fl_Plib()':
Fl_Plib.cxx:(.text._ZN7Fl_PlibD1Ev[Fl_Plib::~Fl_Plib()]+0x8): undefined reference to `Fl_Gl_Window::~Fl_Gl_Window()'
Fl_Plib.o:(.rodata._ZTV7Fl_Plib[vtable for Fl_Plib]+0x30): undefined reference to `Fl_Gl_Window::resize(int, int, int, int)'
Fl_Plib.o:(.rodata._ZTV7Fl_Plib[vtable for Fl_Plib]+0x38): undefined reference to `Fl_Gl_Window::flush()'
Fl_Plib.o:(.rodata._ZTV7Fl_Plib[vtable for Fl_Plib]+0x40): undefined reference to `Fl_Gl_Window::show()'
Fl_Plib.o:(.rodata._ZTV7Fl_Plib[vtable for Fl_Plib]+0x48): undefined reference to `Fl_Gl_Window::hide()'
Fl_Plib.o:(.rodata._ZTV7Fl_Plib[vtable for Fl_Plib]+0x50): undefined reference to `Fl_Gl_Window::draw_overlay()'
Fl_Plib.o:(.rodata._ZTI7Fl_Plib[typeinfo for Fl_Plib]+0x10): undefined reference to `typeinfo for Fl_Gl_Window'
collect2: ld returned 1 exit status
make[2]: *** [fgrun] Error 1
make[2]: Leaving directory `/var/tmp/portage/games-simulation/fgrun-1.0.0/work/fgrun-1.0.0/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/var/tmp/portage/games-simulation/fgrun-1.0.0/work/fgrun-1.0.0/src'
make: *** [all-recursive] Error 1
 * 
 * ERROR: games-simulation/fgrun-1.0.0 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2821:  Called die
 * The specific snippet of code:
 *       emake || die "emake failed"
 *  The die message:
 *   emake failed
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/games-simulation/fgrun-1.0.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/games-simulation/fgrun-1.0.0/temp/environment'.
 * 

emerge --info
# emerge --info
Portage 2.1.5.2 (default/linux/amd64/2008.0/desktop, gcc-4.2.4, glibc-2.7-r2, 2.6.25-hh4 x86_64)
=================================================================
System uname: 2.6.25-hh4 x86_64 Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz
Timestamp of tree: Sun, 01 Jun 2008 07:24:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.5.2-r4
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.2.5
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.62
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.1-r1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.25-r3
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -mtune=generic -O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/initng/daemon /etc/initng/net /etc/initng/system /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=nocona -mtune=generic -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.muntinternet.net/pub/gentoo/ http://mirror.ovh.net/gentoo-distfiles/ http://gentoo.tiscali.nl/"
LANG="C"
LC_ALL="C"
LDFLAGS="-Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -s"
LINGUAS="en en_GB nl"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
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/portage/local/layman/sunrise /usr/portage/local/layman/portato /usr/portage/local/layman/java-experimental /usr/portage/local/layman/custom-kernels /usr/portage/local/layman/arcon /usr/portage/local/layman/science /usr/portage/local/layman/berkano /usr/local/portage /usr/portage/local/layman/berkano /usr/portage/local/layman/portato /usr/portage/local/layman/java-experimental /usr/portage/local/layman/sunrise /usr/portage/local/layman/custom-kernels /usr/portage/local/layman/arcon /usr/portage/local/layman/science"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acpi aften alsa amd64 amr amrnb amrwb apm automount avahi bash-completion berkdb binary-drivers bluetooth branding browser bzip2 cairo caps cdda cddb cdparanoia cdr cli cpudetection cracklib crypt cups curl cxx dbus directfb divx dts dvd dvdnav dvdr dvdread eds emboss emerald enchant encode equalizer esd evo exif extrafilters fam fbcon fbcondecor fbsplash ffmpeg fftw firefox flac fontconfig fortran gcdmaster gd gdbm gif gimp gksu glitz gmedia gnome gnome-keyring gnomecd gphoto2 gpm gstreamer gtk guile hal hddtemp iconv id3tag imap imlib inkjar inkscape irmc isdnlog jack java javascript jbig jpeg jpeg2k ladcca lame lcms libnotify libsexy libwww lm_sensors logrotate mad mdnsresponder-compat midi mikmod mmkeys mmx mmxext mng mp160 mp2 mp3 mp4 mpeg mplayer mplayer-bin mudflap multilib musepack nautilus ncurses networking nls nptl nptlonly nsplugin ntfs nvidia objc objc++ objc-gc ogg opengl openmp pam paste64 pcre pda pdf perl plugins png pop pppd python quicktime readline realmedia reflection reiser4 rfkill rt61pci rtc rtsp scanner sdl sdl-image sensord session skins smp sms sounds spell spl sse sse2 ssl startup-notification subtitles svg swat sysfs tcpd test-programs threads threadsafe tiff tk totem tracker trayicon truetype twolame um unicode unsupported upnp usb userlocales userpriv vorbis w3m wifi winbind wma wmf wmp wxwindows x264 xcb xcomposite xml xorg xosd xprint xrandr xscreensaver xv xvid xvmc zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon 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 deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CAMERAS="directory lg_gsm" ELIBC="glibc" INITNG_PLUGINS="also bash_launcher chdir chroot conflict cpout critical ctrlaltdel daemon_clean debug_commands envparser find fmon fstat history idleprobe initctl interactive iparser last limit lockfile logfile netdev netprobe ngc4 ngcs nge pause provide reload renice rlparser simple_launcher stcmd stdout suid syncron syslog sysreq unneeded usplash dbus_event" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_GB nl" USERLAND="GNU" VIDEO_CARDS="nvidia vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Florian Streibelt 2008-07-24 12:14:29 UTC
Created attachment 161257 [details]
Complete build.log with slightly different messages
Comment 2 Florian Streibelt 2008-07-25 12:26:06 UTC
Comment on attachment 161257 [details]
Complete build.log with slightly different messages

this actually was nonsense - my buildfail was not opengl-specific. sorry! 
Bug cloned to Bug#: 232917 and patch attached.
Comment 3 Tupone Alfredo gentoo-dev 2008-10-10 20:25:56 UTC
If this bug still hits you, please attach here the config.log. In particular I need to know why your linking command (the one that fails) does not have the -lfltk_gl as it should have