Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 44327 - ufo-ai fails to patch (I think)
Summary: ufo-ai fails to patch (I think)
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-03-10 23:50 UTC by Alexander Isacson
Modified: 2004-03-11 05:39 UTC (History)
1 user (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 Alexander Isacson 2004-03-10 23:50:33 UTC
I get this error:

emerge ufo-ai
Calculating dependencies ...done!
>>> emerge (1 of 1) games-strategy/ufo-ai-0.10.040218 to /
>>> md5 src_uri ;-) ufoai_source_040218.zip
>>> md5 src_uri ;-) linux_ufoaidemo.zip
>>> Unpacking source...
>>> Unpacking ufoai_source_040218.zip to /var/tmp/portage/ufo-ai-0.10.040218/work
>>> Unpacking linux_ufoaidemo.zip to /var/tmp/portage/ufo-ai-0.10.040218/work
 * Applying 0.10.040218-Makefile.patch...                                                          [ ok ]
>>> Source unpacked.
/usr/sbin/ebuild.sh: line 30: cd: source/linux: No such file or directory
make: *** No rule to make target `build_release'.  Stop.

!!! ERROR: games-strategy/ufo-ai-0.10.040218 failed.
!!! Function src_compile, Line 33, Exitcode 2
!!! make failed

But this dir exists: /var/tmp/portage/ufo-ai-0.10.040218/work/source/linux

What is wrong?

Reproducible: Always
Steps to Reproduce:
emerge ufo-ai


Expected Results:  
Hours of game play =)

Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.6.3-gentoo-r1)
=================================================================
System uname: 2.6.3-gentoo-r1 i686 Mobile AMD Athlon(tm) XP 2500+
Gentoo Base System version 1.4.3.13
Autoconf: sys-devel/autoconf-2.58-r1
Automake: sys-devel/automake-1.7.7
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=athlon-xp -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=athlon-xp -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs buildpkg ccache sandbox"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X Xaw3d aalib acpi acpi4linux alsa amd apache2 athena avi berkdb bidi
bluetooth cdr crypt cups dga dnd dv dvd dvdr emacs encode esd ethereal evo faad
fam fbcon ffmpeg fftw flac flash foomaticdb gdbm gif gnome gpm gps gstreamer gtk
gtk2 imagemagick imap imlib imlib2 irda irmc java joystick jpeg justify ldap
libwww lufsusermount mad maildir matroska mikmod mmx motif mozilla moznoirc
moznomail mozsvg mpeg mpeg4 mpi music mysql ncurses nls offensive oggvorbis
opengl openssh oss pam pcmcia pda pdflib perl png pnp python quicktime radeon
readline samba sdl slang slp sox spell sse ssl tcpd tiff truetype type1 unicode
usb v4l videos wmf wxwindows x86 xchattext xml xml2 xosd xv xvid zlib"
Comment 1 Francois Guimond 2004-03-11 04:04:19 UTC
Actually, Chris made an error when he added the ebuild to CVS.  The original ebuild had a S="${WORKDIR}" line which he left out, and without it you get that error.  Meanwhile, just get the ebuild I originally included in Bug #42418 and it should work.
Comment 2 Chris Gianelloni (RETIRED) gentoo-dev 2004-03-11 04:14:33 UTC
Should be fixed in CVS now
Comment 3 Chris Gianelloni (RETIRED) gentoo-dev 2004-03-11 04:17:35 UTC
Actually,I removed the S="${WORKDIR}" on purpose baby, since S always == ${WORKDIR}.  The only time you would have to define ${S} is when you're redefining ${S} to something OTHER than ${WORKDIR}
Comment 4 Francois Guimond 2004-03-11 04:28:09 UTC
Actually, S's default value is "${WORKDIR}/${P}", not "${WORKDIR}".
Comment 5 Chris Gianelloni (RETIRED) gentoo-dev 2004-03-11 05:39:12 UTC
hahaha... you're right... fixed in CVS... sorry about that