Bug 80983 - Version bump torcs 1.2.3
Bug#: 80983 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: enhancement Priority: P2
Resolution: FIXED Assigned To: games@gentoo.org Reported By: spamme@mailme.dk
Component: Games
URL:  http://torcs.sourceforge.net/index.php
Summary: Version bump torcs 1.2.3
Keywords:  
Status Whiteboard: 
Opened: 2005-02-06 07:12 0000
Description:   Opened: 2005-02-06 07:12 0000
torcs bumped to 1.2.3

Reproducible: Always
Steps to Reproduce:
1.
2.
3.

------- Comment #1 From Robert Schuster 2005-02-13 15:09:43 0000 -------
Created an attachment (id=51164) [details]
torcs 1.2.3 ebuild

Fixed URLs and updated dependency on plib 1.8.3 (see
http://torcs.sourceforge.net/sections.php?op=viewarticle&artid=3#dependencies)

Unfortunately emerging with this ebuild fails on my system:

checking for sin in -lm... no
configure: error: Can't find libm. Please check config.log and if you can't
solve the problem send the file to torcs-users@lists.sourceforge.net with the
subject "torcs compilation problem"

emerge info:
Gentoo Base System version 1.4.16
Portage 2.0.51-r15 (default-linux/x86/2004.2, gcc-3.3.5,
glibc-2.3.4.20040808-r1, 2.6.10-gentoo-r6 i686)
=================================================================
System uname: 2.6.10-gentoo-r6 i686 AMD Athlon(tm) XP 2200+
Python: 	     dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb  8 2005,
22:56:34)]
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632)
[disabled]
dev-lang/python:     2.3.4-r1
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.7.9, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.6.8.1-r1, 2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=athlon-xp -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /etc/tomcat /usr/kde/2/share/config
/usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config
/usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb
/usr/lib/mozilla/defaults/pref /usr/share/config
/usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig candy ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo
http://mirrors.sec.informatik.tu-darmstadt.de/gentoo
ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo
ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo"
LANG="de_DE@euro"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowex X aalib alsa apm avi beepmp berkdb bitmap-fonts cdr
crypt cups directfb dvdr encode esd f77 fam fbcon ffmpeg flac font-server
foomaticdb gcj gdbm gif gimpprint gnome gpm gstreamer gtk gtk2 gtkhtml guile
hal imagemagick imlib ipv6 java jikes joystick jpeg junit libg libg++ libwww
mad mikmod mmx mmx2 mng motif mozilla mp3 mpeg mysql ncurses network nls
oggvorbis opengl pam pdflib png ppds python quicktime readline ruby samba
scanner sdl silc slang speex spell sse ssl svga tcpd tetex theora tiff truetype
truetype-fonts type1-fonts unicode usb xml xml2 xv zlib"
Unset:	ASFLAGS, CBUILD, CTARGET, LC_ALL, LDFLAGS

------- Comment #2 From Serhij S. Stasyuk 2005-02-14 05:51:31 0000 -------
I have had the same trouble with libm (configure output). The real problem is
with x_libraries. I have the latest xorg-x11 installed, so I have x libs in
/usr/lib. maybe someone has x libs in other place. Line egamesconf || die must
be changed to
egamesconf --x-libraries=/usr/lib || die

------- Comment #3 From hodak@nemo.physics.ncsu.edu 2005-03-30 20:26:36 0000 -------
I tried to install it, had 2 issues. Sergei's suggestion fixed the first one.
Second was error about glActiveTexture undeclared. After searching in forums,
found that switching to xorg-x11 OpenGL works:
http://forums.gentoo.org/viewtopic-t-232590-highlight-glactivetexture.html
After this it installed and works OK.

So, once the second issue is resolved so that ebuild can switch to xorg
OpenGLif needed (I have no idea how this can be done in ebuild), I think it
should be ready to go into the portage tree.

------- Comment #4 From kavol@email.cz 2005-04-09 11:45:14 0000 -------
btw, what about adding amd64?

I have installed torcs using this ebuild and the game works ... the only problem was that I had to add -fPIC to my CFLAGS and recompile plib before the compilation of torcs succeeded

------- Comment #5 From Rasmus B. Nielsen 2005-06-12 04:46:57 0000 -------
When I try to emerge torcs-1.2.3.ebuild (with emerge torcs-1.2.3.ebuild) then I
get:

 emerging by path implies --oneshot... adding --oneshot to options.

*** emerging by path is broken and may not always work!!!

Calculating dependencies  
Traceback (most recent call last):
  File "/usr/bin/emerge", line 2998, in ?
    retval,favorites=mydepgraph.select_files(myfiles)
  File "/usr/bin/emerge", line 1019, in select_files
    if os.path.realpath(portage.db["/"]["porttree"].dbapi.findname(mykey)) !=
x:
  File "/usr/lib/python2.3/posixpath.py", line 406, in realpath
    filename = abspath(filename)
  File "/usr/lib/python2.3/posixpath.py", line 395, in abspath
    if not isabs(path):
  File "/usr/lib/python2.3/posixpath.py", line 49, in isabs
    return s.startswith('/')
AttributeError: 'NoneType' object has no attribute 'startswith'


and if I tryes to install torcs from the source, then I get: 
checking for sin in -lm... no
configure: error: Can't find libm. Please check config.log and if you can't
solve the problem send the file to torcs-users@lists.sourceforge.net with the
subject "torcs compilation problem"

------- Comment #6 From Francisco José Cañizares Santofimia 2005-07-06 14:00:00 0000 -------
Created an attachment (id=62803) [details]
Torcs 1.2.3 new ebuild.

Hi, this ebuild solves the libm error as proposed, so please, anyone with
permisions obsolete the other ebuild and use this.

Please, add this to portage, thanks :-)

------- Comment #7 From Mr. Bones. 2005-07-06 14:40:19 0000 -------
"the libm error" to which you refer is not the problem.  I've added the
blocking
bug so it's clearer.

------- Comment #8 From SpanKY 2005-07-17 00:16:59 0000 -------
ive switched the SRC_URI to just use the 'full' tarball rather than sep
packages

now in portage, but nvidia stuff still goes boom ...