<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>44327</bug_id>
          
          <creation_ts>2004-03-10 23:50 0000</creation_ts>
          <short_desc>ufo-ai fails to patch (I think)</short_desc>
          <delta_ts>2004-03-11 05:39:12 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Games</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>alexander@isacson.info</reporter>
          <assigned_to>games@gentoo.org</assigned_to>
          <cc>eyrdan@users.sourceforge.net</cc>

      

      
          <long_desc isprivate="0">
            <who>alexander@isacson.info</who>
            <bug_when>2004-03-10 23:50:33 0000</bug_when>
            <thetext>I get this error:

emerge ufo-ai
Calculating dependencies ...done!
&gt;&gt;&gt; emerge (1 of 1) games-strategy/ufo-ai-0.10.040218 to /
&gt;&gt;&gt; md5 src_uri ;-) ufoai_source_040218.zip
&gt;&gt;&gt; md5 src_uri ;-) linux_ufoaidemo.zip
&gt;&gt;&gt; Unpacking source...
&gt;&gt;&gt; Unpacking ufoai_source_040218.zip to /var/tmp/portage/ufo-ai-0.10.040218/work
&gt;&gt;&gt; Unpacking linux_ufoaidemo.zip to /var/tmp/portage/ufo-ai-0.10.040218/work
 * Applying 0.10.040218-Makefile.patch...                                                          [ ok ]
&gt;&gt;&gt; Source unpacked.
/usr/sbin/ebuild.sh: line 30: cd: source/linux: No such file or directory
make: *** No rule to make target `build_release&apos;.  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=&quot;x86&quot;
AUTOCLEAN=&quot;yes&quot;
CFLAGS=&quot;-O3 -march=athlon-xp -pipe -fomit-frame-pointer&quot;
CHOST=&quot;i686-pc-linux-gnu&quot;
COMPILER=&quot;gcc3&quot;
CONFIG_PROTECT=&quot;/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&quot;
CONFIG_PROTECT_MASK=&quot;/etc/gconf /etc/terminfo /etc/env.d&quot;
CXXFLAGS=&quot;-O3 -march=athlon-xp -pipe -fomit-frame-pointer&quot;
DISTDIR=&quot;/usr/portage/distfiles&quot;
FEATURES=&quot;autoaddcvs buildpkg ccache sandbox&quot;
GENTOO_MIRRORS=&quot;http://gentoo.oregonstate.edu
http://distro.ibiblio.org/pub/Linux/distributions/gentoo&quot;
MAKEOPTS=&quot;-j2&quot;
PKGDIR=&quot;/usr/portage/packages&quot;
PORTAGE_TMPDIR=&quot;/var/tmp&quot;
PORTDIR=&quot;/usr/portage&quot;
PORTDIR_OVERLAY=&quot;/usr/local/portage&quot;
SYNC=&quot;rsync://rsync.gentoo.org/gentoo-portage&quot;
USE=&quot;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&quot;</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>eyrdan@users.sourceforge.net</who>
            <bug_when>2004-03-11 04:04:19 0000</bug_when>
            <thetext>Actually, Chris made an error when he added the ebuild to CVS.  The original ebuild had a S=&quot;${WORKDIR}&quot; 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.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>wolf31o2@gentoo.org</who>
            <bug_when>2004-03-11 04:14:33 0000</bug_when>
            <thetext>Should be fixed in CVS now</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>wolf31o2@gentoo.org</who>
            <bug_when>2004-03-11 04:17:35 0000</bug_when>
            <thetext>Actually,I removed the S=&quot;${WORKDIR}&quot; on purpose baby, since S always == ${WORKDIR}.  The only time you would have to define ${S} is when you&apos;re redefining ${S} to something OTHER than ${WORKDIR}</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>eyrdan@users.sourceforge.net</who>
            <bug_when>2004-03-11 04:28:09 0000</bug_when>
            <thetext>Actually, S&apos;s default value is &quot;${WORKDIR}/${P}&quot;, not &quot;${WORKDIR}&quot;.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>wolf31o2@gentoo.org</who>
            <bug_when>2004-03-11 05:39:12 0000</bug_when>
            <thetext>hahaha... you&apos;re right... fixed in CVS... sorry about that</thetext>
          </long_desc>
      
    </bug>

</bugzilla>