Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 43071 - games-sports/torcs-1.2.2 fails to build because of emake
Summary: games-sports/torcs-1.2.2 fails to build because of emake
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: 2004-02-27 02:00 UTC by mi-g2bug
Modified: 2004-02-27 03:00 UTC (History)
0 users

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 mi-g2bug 2004-02-27 02:00:02 UTC
the new torcs-1.2.2 build uses the default games.eclass compile rule which in turn uses emake. this causes ebuild to blow up on my dual cpu system.

Inserting the following works for me:

src_compile() {
              egamesconf || die "egamesconf failed"
              make || die "make failed"
}



Reproducible: Always
Steps to Reproduce:
1. emerge torcs-1.2.2.ebuild

Actual Results:  
make TORCS_BASE=/var/tmp/portage/torcs-1.2.2/work/torcs-1.2.2
MAKE_DEFAULT=/var/tmp/portage/torcs-1.2.2/work/torcs-1.2.2/Make-default.m
make[1]: Entering directory `/var/tmp/portage/torcs-1.2.2/work/torcs-1.2.2'
make[2]: Entering directory `/var/tmp/portage/torcs-1.2.2/work/torcs-1.2.2/src'
make[2]: warning: jobserver unavailable: using -j1.  Add `+' to parent make
rule.make[2]: Entering directory `/var/tmp/portage/torcs-1.2.2/src'
make[2]: warning: jobserver unavailable: using -j1.  Add `+' to parent make rule.
make[2]: Entering directory `/var/tmp/portage/torcs-1.2.2/work/torcs-1.2.2/src'
make[2]: warning: jobserver unavailable: using -j1.  Add `+' to parent make rule.

make[3]: Entering directory `/var/tmp/portage/torcs-1.2.2/work/torcs-1.2.2/src/libs'
make[3]: Entering directory `/var/tmp/portage/torcs-1.2.2/work/torcs-1.2.2/src/libs'
make[4]: Entering directory
`/var/tmp/portage/torcs-1.2.2/work/torcs-1.2.2/src/libs/confscreens'
gcc -E  -M -D__DEPEND__
-I/var/tmp/portage/torcs-1.2.2/work/torcs-1.2.2/export/include  -D_SVID_SOURCE
-D_BSD_SOURCE -DSHM   controlconfig.cpp mouseconfig.cpp driverconfig.cpp
joystickconfig.cpp > .depend
make[3]: Entering directory
`/var/tmp/portage/torcs-1.2.2/work/torcs-1.2.2/src/interfaces'
make[4]: Entering directory
`/var/tmp/portage/torcs-1.2.2/work/torcs-1.2.2/src/libs/txml'
make[5]: Entering directory
`/var/tmp/portage/torcs-1.2.2/work/torcs-1.2.2/src/libs/txml/gennmtab'
g++ -I/var/tmp/portage/torcs-1.2.2/work/torcs-1.2.2/export/include 
-march=athlon-xp -O3 -pipe -fomit-frame-pointer -Wall -Wstrict-prot-fp -Wall
-Wstrict-prototypes -O3 -mieee-fp  -D_SVID_SOURCE -D_BSD_SOURCE -DSHM  -c gennmtab.c
mkdir /var/tmp/portage/torcs-1.2.2/work/torcs-1.2.2/export
mkdir /var/tmp/portage/torcs-1.2.2/work/torcs-1.2.2/export/include
 Exporting car.h to
/var/tmp/portage/torcs-1.2.2/work/torcs-1.2.2/export/include/car.h
 Exporting graphic.h to
/var/tmp/portage/torcs-1.2.2/work/torcs-1.2.2/export/include/graphic.h
 Exporting js.h to /var/tmp/portage/torcs-1.2.2/work/torcs-1.2.2/export/include/js.h
 Exporting playerpref.h to
/var/tmp/portage/torcs-1.2.2/work/torcs-1.2.2/export/include/playerpref.h
 Exporting raceman.h to
/var/tmp/portage/torcs-1.2.2/work/torcs-1.2.2/export/include/raceman.h
 Exporting replay.h to
/var/tmp/portage/torcs-1.2.2/work/torcs-1.2.2/export/include/replay.h
 Exporting robot.h to
/var/tmp/portage/torcs-1.2.2/work/torcs-1.2.2/export/include/robot.h
 Exporting simu.h to
/var/tmp/portage/torcs-1.2.2/work/torcs-1.2.2/export/include/simu.h
 Exporting telemetry.h to
/var/tmp/portage/torcs-1.2.2/work/torcs-1.2.2/export/include/telemetry.h
 Exporting track.h to
/var/tmp/portage/torcs-1.2.2/work/torcs-1.2.2/export/include/track.h
make[3]: Leaving directory
`/var/tmp/portage/torcs-1.2.2/work/torcs-1.2.2/src/interfaces'
make[3]: Entering directory `/var/tmp/portage/torcs-1.2.2/work/torcs-1.2.2/src/libs'
make[4]: Entering directory
`/var/tmp/portage/torcs-1.2.2/work/torcs-1.2.2/src/libs/txml'
controlconfig.cpp:31:23: tgfclient.h: No such file or directory
controlconfig.cpp:32:19: track.h: No such file or directory
Comment 1 Mr. Bones. (RETIRED) gentoo-dev 2004-02-27 03:00:27 UTC
fixed in CVS.  Thanks for the bug report.