Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 290839 - games-sports/torcs-1.3.1 fails, PLIB 1.8.3 was not detected, GL_VERSION_1_3 not defined, sandbox, seg fault
Summary: games-sports/torcs-1.3.1 fails, PLIB 1.8.3 was not detected, GL_VERSION_1_3 ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: High normal with 1 vote (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-28 05:35 UTC by matt
Modified: 2010-01-13 02:41 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description matt 2009-10-28 05:35:02 UTC
<deusr> was asking about torcs in #gentoo
<deusr> anyone know how to fix this? ""checking for plib 1.8.3 or newer... PLIB 1.8.3 was not detected. TORCS can run only with PLIB 1.8.3, so verify that the PLIB 1.8.3 is really the version installed on your system."

i offered to compile to see what i get, i get the same error as described and the same error as in bug http://bugs.gentoo.org/show_bug.cgi?id=154825
------------
checking for main in -lplibssg... yes
checking for main in -lplibssgaux... yes
checking for plib 1.8.3 or newer... PLIB 1.8.3 was not detected. TORCS can run only with PLIB 1.8.3, 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/torcs-1.3.1/work/torcs-1.3.1/config.log
 * 
 * ERROR: games-sports/torcs-1.3.1 failed.
 * Call stack:

config.log:

configure:9338: result: yes
configure:9356: checking for plib 1.8.3 or newer
configure:9387: x86_64-pc-linux-gnu-g++ -o conftest -march=athlon64 -O2 -pipe -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES  -Wl,-O1 -L/usr/lib64 conftest.cpp -lplibssgaux -lplibssg -lplibsm -lplibsl -lplibsg -lplibul -lglut -lGLU -lGL -lpng -lz -ldl -lopenal -lXrandr -lXrender -lXxf86vm $
configure:9391: $? = 0
configure:9397: ./conftest
^[[31;01mACCESS DENIED^[[0m  open_wr:      /dev/snd/controlC0
^[[31;01mACCESS DENIED^[[0m  open_wr:      /var/log/sandbox/sandbox-3363.log
^[[31;01mACCESS DENIED^[[0m  open_wr:      /var/log/sandbox/sandbox-3363.log
^[[31;01mACCESS DENIED^[[0m  open_wr:      /var/log/sandbox/sandbox-3363.log
^[[31;01mACCESS DENIED^[[0m  open_wr:      /var/log/sandbox/sandbox-3363.log
<snip>
^[[31;01mACCESS DENIED^[[0m  open_wr:      /var/log/sandbox/sandbox-3363.log
^[[31;01mACCESS DENIED^[[0m  open_wr:      /var/log/sandbox/sandbox-3363.log
^[[31;01mACCESS DENIED^[[0m  open_wr:      /var/log/sandbox/sandbox-3363.log
./configure: line 9399:  5027 Segmentation fault      ./conftest$ac_exeext
configure:9401: $? = 139
configure: program exited with status 139
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "torcs"
| #define VERSION "1.3.1"
| #define STDC_HEADERS 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_LIBM 1
| #define HAVE_LIBX11 1
| #define HAVE_LIBXEXT 1
| #define HAVE_LIBICE 1
| #define HAVE_LIBSM 1
| #define HAVE_LIBXT 1
| #define HAVE_LIBXI 1
| #define HAVE_LIBXMU 1
| #define HAVE_LIBXXF86VM 1
| #define HAVE_LIBXRENDER 1
| #define HAVE_LIBXRANDR 1
| #define HAVE_LIBOPENAL 1
| #define HAVE_LIBDL 1
| #define HAVE_STRNDUP 1
| #define HAVE_LIBZ 1
| #define HAVE_LIBPNG 1
| #define HAVE_LIBGL 1
| #define HAVE_LIBGLU 1
| #define HAVE_LIBGLUT 1
| #define HAVE_LIBPLIBUL 1
| #define HAVE_LIBPLIBSG 1
| #define HAVE_LIBPLIBSL 1
| #define HAVE_LIBPLIBSM 1
| #define HAVE_LIBPLIBSSG 1
| #define HAVE_LIBPLIBSSGAUX 1
| /* end confdefs.h.  */
|
| #include <unistd.h>
| #include <plib/ul.h>
| #define MIN_PLIB_VERSION 183
| int main() {
|     if ( PLIB_VERSION < MIN_PLIB_VERSION ) {
|        return -1;
|     }
|     return 0;
| }
|
configure:9411: result: PLIB 1.8.3 was not detected. TORCS can run only with PLIB 1.8.3, so verify that the PLIB 1.8.3 is really the version installed on your system.
configure:9422: checking for GL_VERSION_1_3
configure:9452: x86_64-pc-linux-gnu-g++ -o conftest -march=athlon64 -O2 -pipe -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES  -Wl,-O1 -L/usr/lib64 conftest.cpp -lplibssgaux -lplibssg -lplibsm -lplibsl -lplibsg -lplibul -lglut -lGLU -lGL -lpng -lz -ldl -lopenal -lXrandr -lXrender -lXxf86vm $
configure:9456: $? = 0
configure:9462: ./conftest
^[[31;01mACCESS DENIED^[[0m  open_wr:      /dev/snd/controlC0


Portage 2.1.6.13 (default/linux/amd64/10.0, gcc-4.3.4, glibc-2.9_p20081201-r2, 2.6.30-gentoo-r4 x86_64)
=================================================================
System uname: Linux-2.6.30-gentoo-r4-x86_64-AMD_Athlon-tm-_Dual_Core_Processor_4850e-with-gentoo-1.12.11.1
Timestamp of tree: Tue, 27 Oct 2009 01:20:01 +0000
distcc 3.1 x86_64-pc-linux-gnu [disabled]
app-shells/bash:     4.0_p28
dev-lang/python:     2.6.2-r1
dev-python/pycrypto: 2.0.1-r8
dev-util/cmake:      2.6.4
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.4_p6, 1.6.3, 1.7.9-r1, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="amd64"
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/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /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="-march=athlon64 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="collision-protect distlocks fixpackages multilib-strict parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LDFLAGS="-Wl,-O1"
LINGUAS="en 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/layman/arcon /usr/local/portage/layman/roslin /usr/local/portage/layman/science /usr/local/portage/layman/xfce-dev /usr/local/portage/layman/qting-edge /usr/local/portage/layman/njw /usr/local/portage/layman/sunrise /usr/local/portage/layman/gamerlay /usr/local/portage/layman/sping /usr/local/portage/local"
SYNC="rsync://192.168.168.16/portage"
USE="3dnow 3dnowext X a52 aac accessibility acl acpi alsa amd64 berkdb blender-game bzip2 cairo cdaudio cddb cdparanoia cli cpudetection cracklib crypt dbus devil dga dri dts encode ffmpeg flac fortran gdbm gif gpm gs gtk iconv id3 id3tag imagemagick imap isdnlog joystick jpeg jpeg2k ladspa libsamplerate lm_sensors maps mikmod minimal mmx mmxext modules mp3 mudflap multilib musepack ncurses nls nptl nptlonly objc ogg opengl openmp pam pcre pdf perl plotutils pmu png postscript pppd qt3 qt3support qt4 quicktime readline reflection sdl session speex spell spl sse sse2 ssl svg sysfs tcpd teamarena theora tiff tk unicode vamp vorbis x264 xanim xml xorg xscreensaver xulrunner xv xvid zlib" ALSA_CARDS="hda-intel loopback" 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" CAMERAS="ptp2" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Evert 2009-10-29 10:41:14 UTC
Same here:

checking for plib 1.8.3 or newer... PLIB 1.8.3 was not detected. TORCS can run only with PLIB 1.8.3, 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.

# emerge --info
Portage 2.1.6.13 (default/linux/x86/10.0/desktop, gcc-4.3.4, glibc-2.9_p20081201-r2, 2.6.30.9 i686)
=================================================================
System uname: Linux-2.6.30.9-i686-AMD_Athlon-tm-_XP_2600+-with-gentoo-1.12.11.1
Timestamp of tree: Wed, 28 Oct 2009 01:45:02 +0000
app-shells/bash:     4.0_p28
dev-java/java-config: 2.1.9-r1
dev-lang/python:     2.6.2-r1
dev-util/cmake:      2.6.4
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.7.9-r1, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.29
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=native -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/bind /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /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="-O2 -march=native -pipe"
DISTDIR="/data/linux/gentoo/distfiles"
FEATURES="distlocks fixpackages metadata-transfer parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_US.UTF8"
LDFLAGS="-Wl,-O1"
LINGUAS="en en_US en_GB nl de"
MAKEOPTS="-j2"
PKGDIR="/data/linux/gentoo/packages/amd_athlon-xp"
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="/compile"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.nl.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac acl acpi alsa ao apache2 apm berkdb bluetooth branding bzip2 cairo cdr cli consolekit cpudetection cracklib crypt cups dbus dri dts dvb dvd dvdr dvdread eds emboss encode esd evo exif fam ffmpeg firefox flac fortran gdbm gif gnome gpm gstreamer gtk hal iconv icu imlib ipv6 isdnlog java jpeg latex ldap libnotify libsamplerate mad mikmod mmx mng modules mozilla mp3 mp4 mpeg mplayer mudflap ncurses nls nptl nptlonly nsplugin ogg opengl openmp pam pcre pdf perl png ppds pppd python qt3support qt4 quicktime readline reflection samba sdl session sndfile sni spell spl sse ssl startup-notification svg sysfs tcpd theora thunar tiff truetype unicode usb v4l v4l2 vcd vhosts vorbis win32codecs wmf x264 x86 xinerama xml xorg xulrunner xv xvid xvmc zlib" ALSA_CARDS="intel8x0" 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="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US en_GB nl de" USERLAND="GNU" VIDEO_CARDS="vesa fbdev v4l nv nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Tupone Alfredo gentoo-dev 2009-10-29 13:16:53 UTC
A fix is now in portage. Thanks for report
Comment 3 matt 2009-10-30 18:10:14 UTC
thanks, works again :)
Comment 4 Vanessa Dannenberg 2010-01-08 17:06:27 UTC
I'd like to re-open this bug, as it has cropped up again, with exactly the same symptoms as before.
Comment 5 Ed Tomlinson 2010-01-13 02:41:43 UTC
Also seeing this bug.  Please reopen this bug