Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 312083 - games-sports/speed-dreams-1.4.0_rc1 fails configure
Summary: games-sports/speed-dreams-1.4.0_rc1 fails configure
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-30 15:33 UTC by Pacho Ramos
Modified: 2010-03-30 21:09 UTC (History)
0 users

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


Attachments
config.log (config.log,175.20 KB, text/plain)
2010-03-30 15:34 UTC, Pacho Ramos
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Pacho Ramos gentoo-dev 2010-03-30 15:33:46 UTC
Seems that it doesn't find some depends even if they are present in the system (maybe it's breaking after running eautoreconf...):
checking for main in -lplibssgaux... yes
checking for plib 1.8.3 or newer... PLIB 1.8.3 or higher was not detected. Speed Dreams can run only with PLIB 1.8.3 or higher, so verify that the PLIB 1.8.3 is really the version installed on your system.
checking for GL_VERSION_1_3... configure: error: GL_VERSION_1_3 not defined via gl.h. Please get the GL header files from mesa3d.org.

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/games-sports/speed-dreams-1.4.0_rc1/work/speed-dreams-1.4.0-src/config.log
 * ERROR: games-sports/speed-dreams-1.4.0_rc1 failed:
 *   econf failed
 * 
 * Call stack:
 *     ebuild.sh, line   54:  Called src_configure
 *   environment, line 3495:  Called egamesconf '--prefix=/usr' '--bindir=/usr/games/bin' '--disable-dependency-tracking'
 *   environment, line 1244:  Called econf '--prefix=/usr/games' '--libdir=/usr/games/lib64' '--datadir=/usr/share/games' '--sysconfdir=/etc/games' '--localstatedir=/var/games' '--prefix=/usr' '--bindir=/usr/games/bin' '--disable-dependency-tracking'
 *     ebuild.sh, line  544:  Called die
 * The specific snippet of code:
 *   			die "econf failed"
 * 
 * If you need support, post the output of 'emerge --info =games-sports/speed-dreams-1.4.0_rc1',
 * the complete build log and the output of 'emerge -pqv =games-sports/speed-dreams-1.4.0_rc1'.
 * The complete build log is located at '/var/tmp/portage/games-sports/speed-dreams-1.4.0_rc1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/games-sports/speed-dreams-1.4.0_rc1/temp/environment'.
 * S: '/var/tmp/portage/games-sports/speed-dreams-1.4.0_rc1/work/speed-dreams-1.4.0-src'

>>> Failed to emerge games-sports/speed-dreams-1.4.0_rc1, Log file:

My emerge --info:
Portage 2.1.7.17 (default/linux/amd64/10.0/desktop/gnome, gcc-4.3.4, glibc-2.10.1-r1, 2.6.32-gentoo-r7 x86_64)
=================================================================
System uname: Linux-2.6.32-gentoo-r7-x86_64-Intel-R-_Core-TM-2_Duo_CPU_E7500_@_2.93GHz-with-gentoo-1.12.13
Timestamp of tree: Tue, 30 Mar 2010 12:00:24 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p35
dev-java/java-config: 2.1.10
dev-lang/python:     2.6.4-r1
dev-util/ccache:     2.4-r7
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.9.6-r3, 1.10.3
sys-devel/binutils:  2.18-r3
sys-devel/gcc:       4.3.4
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /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"
CXXFLAGS="-O2 -pipe -march=native"
DISTDIR="/usr/distfiles"
FEATURES="assume-digests autoaddcvs ccache cvs distlocks fixpackages multilib-strict news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://ftp.free.fr/mirrors/ftp.gentoo.org"
LANG="es_ES.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="es es_ES en_US"
MAKEOPTS="-j3"
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="X a52 aac acpi alsa amd64 avahi bash-completion berkdb branding bzip2 cairo cdda cddb cdr cleartype cli consolekit cracklib crypt css cups cxx dbus djvu dri dts dvd dvdr dvi eds emboss encode evo exif fam ffmpeg firefox flac foomaticdb fortran gdbm gif gimp glitz gmail gnome gnome-keyring gpm gstreamer gtk hal iconv imap ipod java jpeg jpeg2k kdehiddenvisibility kpathsea latex libnotify lzma mad mbox mikmod mmx mmxext mng modules mono mp3 mp4 mpeg mudflap multilib musepack musicbrainz nautilus ncurses network network-cron nls nptl nptlonly ogg opengl openmp pam pch pcre pdf perl png policykit pop ppds pppd python qt3support qt4 raw readline reflection sdl session smp spell spl sse sse2 ssl ssse3 startup-notification svg sysfs t1lib tcpd theora tiff truetype unicode usb vcd vorbis x264 xml xmp xorg xulrunner xv xvid 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 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="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="es es_ES en_US" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="intel vesa nvidia" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


Reproducible: Always
Comment 1 Pacho Ramos gentoo-dev 2010-03-30 15:34:50 UTC
Created attachment 225837 [details]
config.log
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2010-03-30 15:38:45 UTC
Post output of `eselect opengl list` and `emerge -pv mesa` so we can adjust deps to avoid your semi-broken drivers.
Comment 3 Pacho Ramos gentoo-dev 2010-03-30 16:07:30 UTC
$ eselect opengl list
Available OpenGL implementations:
  [1]   nvidia *
  [2]   xorg-x11
$ emerge -pv mesa

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] media-libs/mesa-7.5.2  USE="nptl -debug -motif -pic -xcb" VIDEO_CARDS="intel -mach64 -mga -none -r128 -radeon -radeonhd -s3virge -savage -sis (-sunffb) -tdfx -trident -via" 0 kB

Total: 1 package (1 reinstall), Size of downloads: 0 kB

Thanks
Comment 4 Samuli Suominen (RETIRED) gentoo-dev 2010-03-30 16:23:42 UTC
Extracted MesaLib-7.5.2's tarball and found documentation:

* Mesa 4.0.1 has been released.  This is a stable bug-fix release.
* New:
* - enable the #define GL_VERSION_1_3 in GL/gl.h

Then (from inside source tree):

include/GL/gl.h:#define GL_VERSION_1_3   1

And from installed in system:

$ grep GL_VERSION_1_3 /usr/lib64/opengl/xorg-x11/include/gl.h
#define GL_VERSION_1_3   1

So it should definately be there.

Perhaps you have conflicting gl.h installed in the system somewhere?
Comment 5 Pacho Ramos gentoo-dev 2010-03-30 17:41:26 UTC
(In reply to comment #4)> 
> And from installed in system:
> 
> $ grep GL_VERSION_1_3 /usr/lib64/opengl/xorg-x11/include/gl.h
> #define GL_VERSION_1_3   1
> 
> So it should definately be there.

The same here:
$ grep GL_VERSION_1_3 /usr/lib64/opengl/xorg-x11/include/gl.h
#define GL_VERSION_1_3   1


> 
> Perhaps you have conflicting gl.h installed in the system somewhere?
> 

Seems that not:
$ locate gl.h
/usr/include/FTGL/ftgl.h
/usr/include/GL/gl.h
/usr/include/GL/mesa_wgl.h
/usr/include/SDL/SDL_opengl.h
/usr/include/gegl-0.0/gegl.h
/usr/include/gtkglext-1.0/gdk/gdkgl.h
/usr/include/gtkglext-1.0/gtk/gtkgl.h
/usr/include/libgnomeprint-2.2/libgnomeprint/gnome-pgl.h
/usr/lib64/opengl/xorg-x11/include/gl.h
/usr/share/doc/libsdl-1.2.13-r1/html/docs/html/guidevideoopengl.html
/usr/share/gtk-doc/html/libgnomeprint/libgnomeprint-gnome-pgl.html
$ ls -l /usr/include/GL/gl.h
lrwxrwxrwx 1 root root 40 mar 25 10:51 /usr/include/GL/gl.h -> ../../lib64/opengl/xorg-x11/include/gl.h
Comment 6 Samuli Suominen (RETIRED) gentoo-dev 2010-03-30 19:35:32 UTC
add:

addpredict /dev/snd/controlC0

before

egamesconf

and let me know if that worked. the workaround is copied from games-sports/torcs.
Comment 7 mAhdi 2010-03-30 20:24:23 UTC
Workaround mentioned in http://bugs.gentoo.org/show_bug.cgi?id=312083#c6 made it configure and compile fine for me.
Comment 8 Samuli Suominen (RETIRED) gentoo-dev 2010-03-30 20:33:19 UTC
+  30 Mar 2010; Samuli Suominen <ssuominen@gentoo.org>
+  speed-dreams-1.4.0_rc1.ebuild:
+  Copy addpredict workaround from games-sports/torcs wrt #312083 by Pacho
+  Ramos.
Comment 9 Pacho Ramos gentoo-dev 2010-03-30 21:09:26 UTC
Also worked for me

Thanks :-)