Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 258405 - games-simulation/fgrun-1.0.0 fails to build, multiple errors, not locating fltk-1.1.9 files
Summary: games-simulation/fgrun-1.0.0 fails to build, multiple errors, not locating fl...
Status: RESOLVED FIXED
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: 2009-02-10 05:54 UTC by Steven Parker
Modified: 2009-10-17 17:35 UTC (History)
2 users (show)

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


Attachments
Build log for no symlink of FL directory (build.log,179.10 KB, text/plain)
2009-02-10 05:55 UTC, Steven Parker
Details
Build log for symlink of FL directory (build.log,17.64 KB, text/plain)
2009-02-10 05:57 UTC, Steven Parker
Details
fgrun-1.0.0.ebuild - error multiple src_prepare (fgrun-1.0.0.ebuild,927 bytes, text/plain)
2009-03-23 11:50 UTC, yury fedorchenko
Details
Patch to fgrun-1.0.0.ebuild (fgrun-100.patch,380 bytes, patch)
2009-09-16 20:04 UTC, Jyrki Launonen
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Steven Parker 2009-02-10 05:54:27 UTC
When building fgrun-1.0.0, it shows multiple errors with wizard_funcs.cxx. It is also apparently not finding the fltk-1.1.9 files. During the configure process, it displays:
checking FL/Fl.H usability... no
checking FL/Fl.H presence... no
checking for FL/Fl.H... no
checking for XftFontOpen in -lfltk... no
checking for fl_snprintf in -lfltk... no
checking for pthread_create in -lpthread... yes
checking for gl_start in -lfltk_gl... no

I tried creating a symlink to the FL directory, which allowed it to find the FL/Fl.H files, but made no change to anything else:
checking FL/Fl.H usability... yes
checking FL/Fl.H presence... yes
checking for FL/Fl.H... yes
checking for XftFontOpen in -lfltk... no
checking for fl_snprintf in -lfltk... no
checking for pthread_create in -lpthread... yes
checking for gl_start in -lfltk_gl... no

I have x11-libs/fltk-1.1.9 built with the following use flags: opengl xft -doc -examples -games -threads -xinerama.

I will post a full build.log for both builds (one without symlink for FL, one with symlink).

Reproducible: Always

Steps to Reproduce:
1. emerge fgrun
Actual Results:  
Fails to build, showing errors.


emerge --info

Portage 2.2_rc23-r2 (default/linux/amd64/2008.0/desktop, gcc-4.3.2, glibc-2.9_p20081201-r1, 2.6.28-gentoo-r1 x86_64)
=================================================================
System uname: Linux-2.6.28-gentoo-r1-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_4800+-with-glibc2.2.5
Timestamp of tree: Fri, 06 Feb 2009 12:35:01 +0000
app-shells/bash:     3.2_p48
dev-java/java-config: 1.3.7-r1, 2.1.7
dev-lang/python:     2.5.4-r2
dev-python/pycrypto: 2.0.1-r6
dev-util/cmake:      2.6.2-r1
sys-apps/baselayout: 2.0.0-r1
sys-apps/openrc:     0.4.2
sys-apps/sandbox:    1.3.2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.5, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.19.1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.28-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=k8-sse3"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ ftp://distro.ibiblio.org/pub/linux/distributions/gentoo/ "
LANG="en_CA.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="en"
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/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext 7zip X a52 aac acl acpi alsa amd64 artworkextra avahi berkdb branding bzip2 cairo cdr cleartype cli colordiff cracklib crypt dbus divx dri dvd dvdr dvdread emboss encode esd fam ffmpeg firefox fortran gdbm gif glitz gnome gpm gsm gstreamer gtk hal iconv isdnlog java java5 java6 jingle jpeg libnotify mad midi mikmod mmx mmxext mp3 mpeg msn mudflap multilib ncurses nls nptl nptlonly nsplugin ogg ogg123 opengl openmp pam pcre pdf perl png ppds pppd python quicktime readline reflection sdl session spell spl sqlite sse sse2 ssl ssse3 startup-notification subversion svg sysfs tcpd theora tiff truetype unicode usb vim-syntax vorbis xft xml xmlrpc xorg xscreensaver xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci 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 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Steven Parker 2009-02-10 05:55:33 UTC
Created attachment 181509 [details]
Build log for no symlink of FL directory
Comment 2 Steven Parker 2009-02-10 05:57:04 UTC
Created attachment 181510 [details]
Build log for symlink of FL directory
Comment 3 yury fedorchenko 2009-03-23 11:50:56 UTC
Created attachment 185978 [details]
fgrun-1.0.0.ebuild - error multiple src_prepare

fgrun-1.0.0.ebuild has an error multiple src_prepare functions, as a result fltk and gcc43 patches not applied.

this fix an error
Comment 4 Jyrki Launonen 2009-09-16 20:04:10 UTC
Created attachment 204356 [details, diff]
Patch to fgrun-1.0.0.ebuild

Patched ebuild from comment 3 does the trick, but unfortunately it also does raise a QA-notice for calling econf in src_prepare instead of src_configure. My patch here does just rename the should-be-src_configure -function to be src_configure (and leave the prepare alone) and so no notice is raised and compile succeeds.
Comment 5 Tupone Alfredo gentoo-dev 2009-10-17 17:35:18 UTC
Fixed.
Thanks for report.