<?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>23110</bug_id>
          
          <creation_ts>2003-06-19 08:51 0000</creation_ts>
          <short_desc>Dosemu 1.1.5 emerge fails in install</short_desc>
          <delta_ts>2003-10-05 14:32:15 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>Applications</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          <bug_file_loc>http://forums.gentoo.org/viewtopic.php?p=375458#375458</bug_file_loc>
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>thekhanartist@hotmail.com</reporter>
          <assigned_to>hanno@gentoo.org</assigned_to>
          <cc>games@gentoo.org</cc>
    
    <cc>hensan@gentoo.se</cc>
    
    <cc>magnade@gmail.com</cc>
    
    <cc>tyler@mithander.com</cc>
    
    <cc>xero@xeron.cc</cc>

      

      
          <long_desc isprivate="0">
            <who>thekhanartist@hotmail.com</who>
            <bug_when>2003-06-19 08:51:28 0000</bug_when>
            <thetext>Just did emerge sync ( 19 June 2003 10:49) and tried to update Dosemu to 1.1.5. It 
fails in the install portion. 
 
I&apos;ve never done any ebuild debugging before, but I think the problem is the 
double-forward-slash in this line: 
 
cp -a /var/tmp/portage/dosemu-1.1.5/work/dosemu-1.1.5/tmp/dosemu/freedos 
/var/tmp/portage/dosemu-1.1.5/image//usr/share/dosemu 

Reproducible: Always
Steps to Reproduce:
1. emerge -U /usr/portage/app-emulation/dosemu/dosemu-1.1.5.ebuild 
Actual Results:  
&gt;&gt;&gt; Install dosemu-1.1.5 into /var/tmp/portage/dosemu-1.1.5/image/ category 
app-emulation 
make[1]: Entering directory `/var/tmp/portage/dosemu-1.1.5/work/dosemu-1.1.5/src&apos; 
rm -rf /var/tmp/portage/dosemu-1.1.5/work/dosemu-1.1.5/tmp 
mkdir -p -m 0755 
/var/tmp/portage/dosemu-1.1.5/work/dosemu-1.1.5/tmp/dosemu/freedos/dosemu 
install -c -d /var/tmp/portage/dosemu-1.1.5/image//usr/share/dosemu 
install -c -d /var/tmp/portage/dosemu-1.1.5/image//var/lib/dosemu 
for i in `find ../commands/* -type f`; do \ 
  install -c -m 0644 $i 
/var/tmp/portage/dosemu-1.1.5/work/dosemu-1.1.5/tmp/dosemu/freedos/dosemu; \ 
done 
cd ../commands; for i in `find * -type l`; do \ 
  ln -sf generic.com 
/var/tmp/portage/dosemu-1.1.5/work/dosemu-1.1.5/tmp/dosemu/freedos/dosemu/$i; \ 
done 
cp -a /var/tmp/portage/dosemu-1.1.5/work/dosemu-1.1.5/tmp/dosemu/freedos 
/var/tmp/portage/dosemu-1.1.5/image//usr/share/dosemu 
cp: failed to preserve ownership for 
/var/tmp/portage/dosemu-1.1.5/image//usr/share/dosemu/freedos/dosemu/eject.com: 
No such file or directory 
cp: failed to preserve ownership for 
/var/tmp/portage/dosemu-1.1.5/image//usr/share/dosemu/freedos/dosemu/unix.com: 
No such file or directory 
cp: failed to preserve ownership for 
/var/tmp/portage/dosemu-1.1.5/image//usr/share/dosemu/freedos/dosemu/cmdline.com: 
No such file or directory 
cp: failed to preserve ownership for 
/var/tmp/portage/dosemu-1.1.5/image//usr/share/dosemu/freedos/dosemu/xmode.com: 
No such file or directory 
cp: failed to preserve ownership for 
/var/tmp/portage/dosemu-1.1.5/image//usr/share/dosemu/freedos/dosemu/vgaoff.com: 
No such file or directory 
cp: failed to preserve ownership for 
/var/tmp/portage/dosemu-1.1.5/image//usr/share/dosemu/freedos/dosemu/ecpuoff.com: 
No such file or directory 
cp: failed to preserve ownership for 
/var/tmp/portage/dosemu-1.1.5/image//usr/share/dosemu/freedos/dosemu/uchdir.com: 
No such file or directory 
cp: failed to preserve ownership for 
/var/tmp/portage/dosemu-1.1.5/image//usr/share/dosemu/freedos/dosemu/system.com: 
No such file or directory 
cp: failed to preserve ownership for 
/var/tmp/portage/dosemu-1.1.5/image//usr/share/dosemu/freedos/dosemu/dosdbg.com: 
No such file or directory 
cp: failed to preserve ownership for 
/var/tmp/portage/dosemu-1.1.5/image//usr/share/dosemu/freedos/dosemu/emumouse.com: 
No such file or directory 
cp: failed to preserve ownership for 
/var/tmp/portage/dosemu-1.1.5/image//usr/share/dosemu/freedos/dosemu/ugetcwd.com: 
No such file or directory 
cp: failed to preserve ownership for 
/var/tmp/portage/dosemu-1.1.5/image//usr/share/dosemu/freedos/dosemu/vgaon.com: 
No such file or directory 
cp: failed to preserve ownership for 
/var/tmp/portage/dosemu-1.1.5/image//usr/share/dosemu/freedos/dosemu/exitemu.com: 
No such file or directory 
cp: failed to preserve ownership for 
/var/tmp/portage/dosemu-1.1.5/image//usr/share/dosemu/freedos/dosemu/ecpuon.com: 
No such file or directory 
cp: failed to preserve ownership for 
/var/tmp/portage/dosemu-1.1.5/image//usr/share/dosemu/freedos/dosemu/speed.com: 
No such file or directory 
cp: failed to preserve ownership for 
/var/tmp/portage/dosemu-1.1.5/image//usr/share/dosemu/freedos/dosemu/bootoff.com: 
No such file or directory 
cp: failed to preserve ownership for 
/var/tmp/portage/dosemu-1.1.5/image//usr/share/dosemu/freedos/dosemu/lredir.com: 
No such file or directory 
make[1]: *** [install] Error 1 
make[1]: Leaving directory `/var/tmp/portage/dosemu-1.1.5/work/dosemu-1.1.5/src&apos; 
make: *** [install] Error 2 
 
!!! ERROR: app-emulation/dosemu-1.1.5 failed. 
!!! Function src_install, Line 49, Exitcode 2 
!!! (no error message) 

Expected Results:  
Dosemu installs correctly 

Portage 2.0.48-r1 (default-x86-1.4, gcc-3.2.2, glibc-2.3.1-r4) 
================================================================= 
System uname: 2.5.72-mm2 i686 Intel(R) Pentium(R) 4 CPU 1.60GHz 
GENTOO_MIRRORS=&quot;http://gentoo.oregonstate.edu 
http://distro.ibiblio.org/pub/Linux/distributions/gentoo&quot; 
CONFIG_PROTECT=&quot;/etc /var/qmail/control /usr/kde/2/share/config 
/usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config 
/usr/share/config&quot; 
CONFIG_PROTECT_MASK=&quot;/etc/gconf /etc/env.d&quot; 
PORTDIR=&quot;/usr/portage&quot; 
DISTDIR=&quot;/usr/portage/distfiles&quot; 
PKGDIR=&quot;/usr/portage/packages&quot; 
PORTAGE_TMPDIR=&quot;/var/tmp&quot; 
PORTDIR_OVERLAY=&quot;/usr/local/portage&quot; 
USE=&quot;x86 3dnow apm avi crypt cups encode gif jpeg libg++ libwww mikmod mmx mpeg 
ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib gdbm berkdb slang 
readline arts svga tcltk java guile X sdl gpm tcpd pam ssl perl python esd imlib 
oggvorbis gnome gtk motif opengl ldap scanner aalib acpi alsa apache2 cdr directfb 
flash kde qt gd ggi gtk2 mozilla oav -oss pda samba sse usb wmf&quot; 
COMPILER=&quot;gcc3&quot; 
CHOST=&quot;i686-pc-linux-gnu&quot; 
CFLAGS=&quot;-march=pentium4 -Os -pipe -fomit-frame-pointer -fPIC -mfpmath=sse,387&quot; 
CXXFLAGS=&quot;-march=pentium4 -Os -pipe -fomit-frame-pointer -fPIC -mfpmath=sse,387&quot; 
ACCEPT_KEYWORDS=&quot;x86&quot; 
MAKEOPTS=&quot;-j2&quot; 
AUTOCLEAN=&quot;yes&quot; 
SYNC=&quot;rsync://rsync.gentoo.org/gentoo-portage&quot; 
FEATURES=&quot;sandbox ccache&quot;</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>tetra604@gmail.com</who>
            <bug_when>2003-06-20 07:31:31 0000</bug_when>
            <thetext>the symbolic links are confusing &quot;cp -a&quot; (if generic.com doesn&apos;t exist yet but files are linked to it, then the link cannot be dereferenced), adding the &quot;-L&quot; option to this command allows the install to complete successfully.

</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>tetra604@gmail.com</who>
            <bug_when>2003-06-20 07:34:07 0000</bug_when>
            <thetext>Created an attachment (id=13596)
Patch for dosemu-1.1.5.ebuild to correct symbolic link problem

Apply this patch to the ebuild, and copy the dosemu-1.1.5-broken-links.patch
file into the portage/app-emulation/dosemu/files directory, run ebuild
dosemu-1.1.5.ebuild digest... and dosemu should then install cleanly.
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>tetra604@gmail.com</who>
            <bug_when>2003-06-20 07:35:09 0000</bug_when>
            <thetext>Created an attachment (id=13597)
Makefile patch to correct symbolic link problem
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>hanno@gentoo.org</who>
            <bug_when>2003-06-20 10:49:32 0000</bug_when>
            <thetext>*** Bug 17849 has been marked as a duplicate of this bug. ***</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>hanno@gentoo.org</who>
            <bug_when>2003-06-20 10:50:01 0000</bug_when>
            <thetext>I have commited this fix and uploaded dosemu-1.1.5-r1. Can you please all test if this works for you?
Tom, did you send your fix to the upstream dosemu-developers? I don&apos;t know if they are aware of the problem.
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>T.Henderson@cs.ucl.ac.uk</who>
            <bug_when>2003-06-21 06:00:28 0000</bug_when>
            <thetext>I think that you forgot to upload the patch into portage. I&apos;ve synced twice to check, but can&apos;t find
dosemu-broken-links.diff:

&gt;&gt;&gt; Unpacking dosemu-1.1.5.tgz to /var/tmp/portage/dosemu-1.1.5-r1/work

 * Cannot find $EPATCH_SOURCE!  Value for $EPATCH_SOURCE is:
 * 
 *   /usr/portage/app-emulation/dosemu/files/dosemu-broken-links.diff


!!! ERROR: app-emulation/dosemu-1.1.5-r1 failed.
!!! Function epatch, Line 214, Exitcode 0
!!! Cannot find $EPATCH_SOURCE!
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>hanno@gentoo.org</who>
            <bug_when>2003-06-21 11:18:16 0000</bug_when>
            <thetext>Sorry, forgot to upload that file.
Is up now, please re-rsync.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>eradicator@gentoo.org</who>
            <bug_when>2003-06-22 02:41:52 0000</bug_when>
            <thetext>I was experiencing the same problem, and now using the -r1 ebuild, dosemu won&apos;t even 
compile... 
 
... 
rm -f /usr/tmp/portage/dosemu-1.1.5-r1/work/dosemu-1.1.5/src/lib/libbase_speaker.a 
ar cr /usr/tmp/portage/dosemu-1.1.5-r1/work/dosemu-1.1.5/src/lib/libbase_speaker.a speaker.o 
X_speaker.o console_speaker.o 
ranlib /usr/tmp/portage/dosemu-1.1.5-r1/work/dosemu-1.1.5/src/lib/libbase_speaker.a 
make[3]: Leaving directory 
`/usr/tmp/portage/dosemu-1.1.5-r1/work/dosemu-1.1.5/src/base/speaker&apos; 
make[3]: Entering directory 
`/usr/tmp/portage/dosemu-1.1.5-r1/work/dosemu-1.1.5/src/base/dev/pic&apos; 
gcc -c -I/usr/X11R6/include -MP -MMD 
-I/usr/tmp/portage/dosemu-1.1.5-r1/work/dosemu-1.1.5/src/plugin/include 
-I/usr/tmp/portage/dosemu-1.1.5-r1/work/dosemu-1.1.5/src/include  -march=athlon-xp -O3 -pipe 
-fomit-frame-pointer -falign-functions=4 -falign-jumps=4 -falign-loops=4 -o pic.o pic.c 
{standard input}: Assembler messages: 
{standard input}:7486: Error: bad register name `%dil&apos; 
{standard input}:7515: Error: bad register name `%dil&apos; 
make[3]: *** [instremu.o] Error 1 
make[3]: Leaving directory `/usr/tmp/portage/dosemu-1.1.5-r1/work/dosemu-1.1.5/src/env/video&apos; 
make[2]: *** [env/video] Error 2 
make[2]: *** Waiting for unfinished jobs.... 
rm -f /usr/tmp/portage/dosemu-1.1.5-r1/work/dosemu-1.1.5/src/lib/libbase_dev_pic.a 
ar cr /usr/tmp/portage/dosemu-1.1.5-r1/work/dosemu-1.1.5/src/lib/libbase_dev_pic.a pic.o 
ranlib /usr/tmp/portage/dosemu-1.1.5-r1/work/dosemu-1.1.5/src/lib/libbase_dev_pic.a 
make[3]: Leaving directory 
`/usr/tmp/portage/dosemu-1.1.5-r1/work/dosemu-1.1.5/src/base/dev/pic&apos; 
make[2]: Leaving directory `/usr/tmp/portage/dosemu-1.1.5-r1/work/dosemu-1.1.5/src&apos; 
make[1]: *** [default] Error 2 
make[1]: Leaving directory `/usr/tmp/portage/dosemu-1.1.5-r1/work/dosemu-1.1.5&apos; 
make: *** [default] Error 2 
make: Leaving directory `/usr/tmp/portage/dosemu-1.1.5-r1/work/dosemu-1.1.5/src&apos; 
 
!!! ERROR: app-emulation/dosemu-1.1.5-r1 failed. 
!!! Function src_compile, Line 44, Exitcode 2 
!!! DOSemu Make Failed! 
  </thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>eradicator@gentoo.org</who>
            <bug_when>2003-06-22 11:54:09 0000</bug_when>
            <thetext>Ok, there is a problem with march=athlon-xp or march=athlon, but setting march=i686 works.  
So the ebuild should replace march=athlon* with march=i686 in CFLAGS </thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>T.Henderson@cs.ucl.ac.uk</who>
            <bug_when>2003-06-23 08:47:43 0000</bug_when>
            <thetext>Hmm, I get compile errors with march-i686 as well. dosemu-1.1.5 worked, just r1 seems to be giving me trouble:

rm -f /var/tmp/portage/dosemu-1.1.5-r1/work/dosemu-1.1.5/src/lib/libbase_dev_misc.a
ar cr /var/tmp/portage/dosemu-1.1.5-r1/work/dosemu-1.1.5/src/lib/libbase_dev_misc.a cmos.o timers.o lpt.o rtc.o pci.o joystick.o
ranlib /var/tmp/portage/dosemu-1.1.5-r1/work/dosemu-1.1.5/src/lib/libbase_dev_misc.a
make[3]: Leaving directory `/var/tmp/portage/dosemu-1.1.5-r1/work/dosemu-1.1.5/src/base/dev/misc&apos;
make[3]: Entering directory `/var/tmp/portage/dosemu-1.1.5-r1/work/dosemu-1.1.5/src/emu-i386&apos;
gcc -c -I/usr/X11R6/include -MMD -I/var/tmp/portage/dosemu-1.1.5-r1/work/dosemu-1.1.5/src/plugin/include -I/var/tmp/portage/dosemu-1.1.5-r1/work/dosemu-1.1.5/src/include  -mcpu=i686
 -march=i686 -O3 -pipe -o cpu.o cpu.c
gcc -c -I/usr/X11R6/include -MMD -I/var/tmp/portage/dosemu-1.1.5-r1/work/dosemu-1.1.5/src/plugin/include -I/var/tmp/portage/dosemu-1.1.5-r1/work/dosemu-1.1.5/src/include  -mcpu=i686
 -march=i686 -O3 -pipe -o ports.o ports.c
gcc -c -I/usr/X11R6/include -MMD -I/var/tmp/portage/dosemu-1.1.5-r1/work/dosemu-1.1.5/src/plugin/include -I/var/tmp/portage/dosemu-1.1.5-r1/work/dosemu-1.1.5/src/include  -mcpu=i686
 -march=i686 -O3 -pipe -o do_vm86.o do_vm86.c
gcc -c -I/usr/X11R6/include -MMD -I/var/tmp/portage/dosemu-1.1.5-r1/work/dosemu-1.1.5/src/plugin/include -I/var/tmp/portage/dosemu-1.1.5-r1/work/dosemu-1.1.5/src/include  -mcpu=i686
 -march=i686 -O3 -pipe -o cputime.o cputime.c
{standard input}: Assembler messages:
{standard input}:3221: Error: suffix or operands invalid for `or&apos;
{standard input}:3233: Error: suffix or operands invalid for `and&apos;
{standard input}:3245: Error: suffix or operands invalid for `xor&apos;
{standard input}:3263: Error: suffix or operands invalid for `adc&apos;
{standard input}:3278: Error: suffix or operands invalid for `sbb&apos;
{standard input}:3434: Error: suffix or operands invalid for `or&apos;
{standard input}:3446: Error: suffix or operands invalid for `and&apos;
{standard input}:3458: Error: suffix or operands invalid for `xor&apos;
{standard input}:3476: Error: suffix or operands invalid for `adc&apos;
{standard input}:3491: Error: suffix or operands invalid for `sbb&apos;
{standard input}:3602: Error: suffix or operands invalid for `or&apos;
{standard input}:3614: Error: suffix or operands invalid for `and&apos;
{standard input}:3626: Error: suffix or operands invalid for `xor&apos;
{standard input}:3644: Error: suffix or operands invalid for `adc&apos;
{standard input}:3659: Error: suffix or operands invalid for `sbb&apos;
{standard input}:4926: Error: suffix or operands invalid for `or&apos;
{standard input}:4938: Error: suffix or operands invalid for `and&apos;
{standard input}:4950: Error: suffix or operands invalid for `xor&apos;
{standard input}:4968: Error: suffix or operands invalid for `adc&apos;
{standard input}:4983: Error: suffix or operands invalid for `sbb&apos;
rm -f /var/tmp/portage/dosemu-1.1.5-r1/work/dosemu-1.1.5/src/lib/libemu-i386.a
ar cr /var/tmp/portage/dosemu-1.1.5-r1/work/dosemu-1.1.5/src/lib/libemu-i386.a cpu.o ports.o do_vm86.o cputime.o
ranlib /var/tmp/portage/dosemu-1.1.5-r1/work/dosemu-1.1.5/src/lib/libemu-i386.a
make[3]: Leaving directory `/var/tmp/portage/dosemu-1.1.5-r1/work/dosemu-1.1.5/src/emu-i386&apos;
{standard input}:9560: Error: suffix or operands invalid for `sbb&apos;
make[3]: *** [instremu.o] Error 1
make[3]: Leaving directory `/var/tmp/portage/dosemu-1.1.5-r1/work/dosemu-1.1.5/src/env/video&apos;
make[2]: *** [env/video] Error 2
make[2]: *** Waiting for unfinished jobs....
make[3]: Entering directory `/var/tmp/portage/dosemu-1.1.5-r1/work/dosemu-1.1.5/src/env&apos;
gcc -c -I/usr/X11R6/include -MMD -I/var/tmp/portage/dosemu-1.1.5-r1/work/dosemu-1.1.5/src/plugin/include -I/var/tmp/portage/dosemu-1.1.5-r1/work/dosemu-1.1.5/src/include  -mcpu=i686
 -march=i686 -O3 -pipe -o detach.o detach.c
rm -f /var/tmp/portage/dosemu-1.1.5-r1/work/dosemu-1.1.5/src/lib/libenv.a
ar cr /var/tmp/portage/dosemu-1.1.5-r1/work/dosemu-1.1.5/src/lib/libenv.a detach.o
ranlib /var/tmp/portage/dosemu-1.1.5-r1/work/dosemu-1.1.5/src/lib/libenv.a
make[3]: Leaving directory `/var/tmp/portage/dosemu-1.1.5-r1/work/dosemu-1.1.5/src/env&apos;
make[2]: Leaving directory `/var/tmp/portage/dosemu-1.1.5-r1/work/dosemu-1.1.5/src&apos;
make[1]: *** [default] Error 2
make[1]: Leaving directory `/var/tmp/portage/dosemu-1.1.5-r1/work/dosemu-1.1.5&apos;
make: *** [default] Error 2
make: Leaving directory `/var/tmp/portage/dosemu-1.1.5-r1/work/dosemu-1.1.5/src&apos;

!!! ERROR: app-emulation/dosemu-1.1.5-r1 failed.
!!! Function src_compile, Line 44, Exitcode 2
!!! DOSemu Make Failed!



palmer / # emerge info
Portage 2.0.48-r1 (default-1.0, gcc-2.95.3, glibc-2.2.5-r8)
=================================================================
System uname: 2.4.21 i686 Transmeta(tm) Crusoe(tm) Processor TM5800
GENTOO_MIRRORS=&quot;http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo&quot;
CONFIG_PROTECT=&quot;/etc /var/qmail/control /usr/share/config /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/&quot;
CONFIG_PROTECT_MASK=&quot;/etc/gconf /etc/env.d&quot;
PORTDIR=&quot;/usr/portage&quot;
DISTDIR=&quot;/usr/portage/distfiles&quot;
PKGDIR=&quot;/usr/portage/packages&quot;
PORTAGE_TMPDIR=&quot;/var/tmp&quot;
PORTDIR_OVERLAY=&quot;/usr/local/portage&quot;
USE=&quot;x86 apm avi crypt cups encode libg++ mmx mpeg ncurses pdflib quicktime spell truetype xml2 xmms xv berkdb esd gdbm gif gnome-libs gpm gtk imlib java libwww motif oggvorbis pam python readline sdl snmp ssl svga tcpd -3dnow alsa apache2 -arts bonobo cdr curses dga dvd emacs ethereal evo fbcon gnome gtk2 gtkhtml guile jpeg -kde lcms -lirc -mikmod mysql nas -nls odbc -opengl oss pcmcia pda perl pic plotutils png pnp -qt -qtmt samba -slang smooth tcltk tetex tiff trusted usb vim-with-x xml X zlib&quot;
COMPILER=&quot;&quot;
CHOST=&quot;i686-pc-linux-gnu&quot;
CFLAGS=&quot;-mcpu=i686 -march=i686 -O3 -pipe&quot;
CXXFLAGS=&quot;-mcpu=i686 -march=i686 -O3 -pipe&quot;
ACCEPT_KEYWORDS=&quot;x86 ~x86&quot;
MAKEOPTS=&quot;-j2&quot;
AUTOCLEAN=&quot;yes&quot;
SYNC=&quot;rsync://rsync.namerica.gentoo.org/gentoo-portage&quot;
FEATURES=&quot;ccache digest sandbox strict&quot;</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>spock@gentoo.org</who>
            <bug_when>2003-08-06 10:33:36 0000</bug_when>
            <thetext>I have found the compilation problems with dosemu 1.1.5-r1 to be caused by -Ox and  -fforce-addr optimizations (where x &gt; 2). I&apos;m attaching a corrected version of the ebuild. Works fine for me with gcc 3.2.3 and CFLAGS set to: &quot;-O2 -mcpu=athlon-tbird -march=athlon-tbird -mmmx -m3dnow -pipe -fforce-addr -fomit-frame-pointer -fprefetch-loop-arrays -frerun-cse-after-loop -frerun-loop-opt -fthread-jumps -falign-functions=4 -DNDEBUG -DG_DISABLE_ASSERT&quot;</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>spock@gentoo.org</who>
            <bug_when>2003-08-06 10:36:07 0000</bug_when>
            <thetext>Created an attachment (id=15622)
New version of dosemu-1.1.5-r1.ebuild.

This new version of the ebuild will automatically mask out optimizations that
cause problems with dosemu-1.1.5-r1.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>mholzer@gentoo.org</who>
            <bug_when>2003-09-11 09:42:10 0000</bug_when>
            <thetext>*** Bug 28443 has been marked as a duplicate of this bug. ***</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>aledell@rcn.com</who>
            <bug_when>2003-09-15 21:40:38 0000</bug_when>
            <thetext>I was able to build app-emulation/dosemu-1.1.5-r1 without problem
(v 1.3 2003/09/04 00:58:24 msterret)</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>hanno@gentoo.org</who>
            <bug_when>2003-10-01 05:41:07 0000</bug_when>
            <thetext>I&apos;ve added an ebuild for dosemu-1.1.99.1.
I cleaned up the ebuild and changed a lot of stuff, it now replaces CFLAGS
-O3 and above with -O2, so the build problems should be fixed.
Can please everyone give it a try and look if there are any remaining problems.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>13th.floor@dsl.pipex.com</who>
            <bug_when>2003-10-05 14:32:15 0000</bug_when>
            <thetext>still broken here . . .

{standard input}: Assembler messages:
{standard input}:7482: Error: bad register name `%dil&apos;
{standard input}:7511: Error: bad register name `%dil&apos;
make[3]: *** [instremu.o] Error 1
make[3]: Leaving directory
`/mnt/monster/tmp/portage/dosemu-1.1.5-r1/work/dosemu-1.1.5/src/env/video&apos;
make[2]: *** [env/video] Error 2
make[2]: *** Waiting for unfinished jobs....

43 $ emerge info
Portage 2.0.49-r3 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.4.22)
=================================================================
System uname: 2.4.22 i686 AMD Athlon(tm) XP 1800+
distcc 2.9 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.2 [enabled]
ACCEPT_KEYWORDS=&quot;x86&quot;
AUTOCLEAN=&quot;yes&quot;
CFLAGS=&quot;-march=athlon-xp -O3 -pipe -fomit-frame-pointer&quot;
CHOST=&quot;i686-pc-linux-gnu&quot;
COMPILER=&quot;gcc3&quot;
CONFIG_PROTECT=&quot;/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config
/var/bind /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/config&quot;
CONFIG_PROTECT_MASK=&quot;/etc/init.d /etc/xfce /etc/X11/xkb /etc/afs/C /etc/afs/afsws
/etc/gconf /etc/env.d&quot;
CXXFLAGS=&quot;-march=athlon-xp -O3 -pipe -fomit-frame-pointer&quot;
DISTDIR=&quot;/usr/portage/distfiles&quot;
FEATURES=&quot;autoaddcvs sandbox ccache userpriv usersandbox&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;/mnt/monster/tmp&quot;
PORTDIR=&quot;/usr/portage&quot;
PORTDIR_OVERLAY=&quot;/usr/local/portage&quot;
SYNC=&quot;rsync://rsync.uk.gentoo.org/gentoo-portage&quot;
USE=&quot;x86 oss apm avi crypt cups encode foomaticdb gif jpeg libg++ mad mikmod
mmx mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib
directfb gtkhtml gdbm berkdb slang readline tetex aalib nas bonobo svga tcltk
java guile mysql postgres X sdl gpm tcpd pam libwww ssl perl python esd imlib
oggvorbis gtk qt motif opengl mozilla ldap cdr 3dnow dga doc dvd faad fbcon
lirc mbox mozcalendar mozp3p mozsvg mozxmlterm oav odbc plotutils samba sse
usb -alsa -arts -gnome -kde&quot;</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>13596</attachid>
            <date>2003-06-20 07:34 0000</date>
            <desc>Patch for dosemu-1.1.5.ebuild to correct symbolic link problem</desc>
            <filename>dosemu-1.1.5.ebuild.diff</filename>
            <type>text/plain</type>
            <data encoding="base64">LS0tIC91c3IvcG9ydGFnZS9hcHAtZW11bGF0aW9uL2Rvc2VtdS9kb3NlbXUtMS4xLjUuZWJ1aWxk
CTIwMDMtMDYtMTggMTU6NTA6NTkuMDAwMDAwMDAwICswMTAwCisrKyAvdXNyL2xvY2FsL3BvcnRh
Z2UvYXBwLWVtdWxhdGlvbi9kb3NlbXUvZG9zZW11LTEuMS41LmVidWlsZAkyMDAzLTA2LTIwIDE1
OjI3OjU5LjAwMDAwMDAwMCArMDEwMApAQCAtMTksNiArMTksOCBAQAogCiBzcmNfdW5wYWNrKCkg
ewogCXVucGFjayAke1B9LnRnegorCSMgcGF0Y2gKKwlwYXRjaCAtcDAgPCAke0ZJTEVTRElSfS8k
e1B9LWJyb2tlbi1saW5rcy5wYXRjaCB8fCBkaWUKIAkjIGV4dHJhY3QgZnJlZWRvcyBiaW5hcnkK
IAljZCAke1N9L3NyYwogCXVucGFjayAke1BfRkR9LnRnego=
</data>        

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>13597</attachid>
            <date>2003-06-20 07:35 0000</date>
            <desc>Makefile patch to correct symbolic link problem</desc>
            <filename>dosemu-1.1.5-broken-links.patch</filename>
            <type>text/plain</type>
            <data encoding="base64">LS0tIGRvc2VtdS0xLjEuNS9zcmMvYXJjaC9saW51eC9NYWtlZmlsZS5tYWlufgkyMDAzLTA2LTA2
IDIzOjMyOjIxLjAwMDAwMDAwMCArMDEwMAorKysgZG9zZW11LTEuMS41L3NyYy9hcmNoL2xpbnV4
L01ha2VmaWxlLm1haW4JMjAwMy0wNi0yMCAxNToyMjoxOS4wMDAwMDAwMDAgKzAxMDAKQEAgLTE1
OCw3ICsxNTgsNyBAQAogCWNkICQoU1lTKTsgZm9yIGkgaW4gYGZpbmQgKiAtdHlwZSBsYDsgZG8g
XAogCSAgbG4gLXNmIGdlbmVyaWMuY29tICQoVE1QKS9kb3NlbXUvZnJlZWRvcy9kb3NlbXUvJCRp
OyBcCiAJZG9uZQotCWNwIC1hICQoVE1QKS9kb3NlbXUvZnJlZWRvcyAkKERFU1RESVIpJChkb3Nl
bXVkaXIpCisJY3AgLWFMICQoVE1QKS9kb3NlbXUvZnJlZWRvcyAkKERFU1RESVIpJChkb3NlbXVk
aXIpCiAJcm0gLWYgJChERVNURElSKSQoZG9zZW11ZGlyKS9jb21tYW5kcwogCWxuIC1zZiBmcmVl
ZG9zL2Rvc2VtdSAkKERFU1RESVIpJChkb3NlbXVkaXIpL2NvbW1hbmRzCiAJY2QgJChUTVApL2Rv
c2VtdTsgXAo=
</data>        

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>15622</attachid>
            <date>2003-08-06 10:36 0000</date>
            <desc>New version of dosemu-1.1.5-r1.ebuild.</desc>
            <filename>dosemu-1.1.5-r1.ebuild</filename>
            <type>text/plain</type>
            <data encoding="base64">IyBDb3B5cmlnaHQgMTk5OS0yMDAzIEdlbnRvbyBUZWNobm9sb2dpZXMsIEluYy4KIyBEaXN0cmli
dXRlZCB1bmRlciB0aGUgdGVybXMgb2YgdGhlIEdOVSBHZW5lcmFsIFB1YmxpYyBMaWNlbnNlIHYy
CiMgJEhlYWRlcjogL2hvbWUvY3Zzcm9vdC9nZW50b28teDg2L2FwcC1lbXVsYXRpb24vZG9zZW11
L2Rvc2VtdS0xLjEuNS1yMS5lYnVpbGQsdiAxLjIgMjAwMy8wOC8wNSAxNToxNTo1MCB2YXBpZXIg
RXhwICQKCmluaGVyaXQgZXV0aWxzCgpQX0ZEPWRvc2VtdS1mcmVlZG9zLWI4cC1iaW4KREVTQ1JJ
UFRJT049IkRPUyBFbXVsYXRvciIKSE9NRVBBR0U9Imh0dHA6Ly93d3cuZG9zZW11Lm9yZy8iClNS
Q19VUkk9Im1pcnJvcjovL3NvdXJjZWZvcmdlL2Rvc2VtdS8ke1BfRkR9LnRnegoJbWlycm9yOi8v
c291cmNlZm9yZ2UvZG9zZW11LyR7UH0udGd6IgoKTElDRU5TRT0iR1BMLTIgfCBMR1BMLTIuMSIK
U0xPVD0iMCIKS0VZV09SRFM9In54ODYgLXBwYyIKSVVTRT0iWCBzdmdhIgoKREVQRU5EPSJYPyAo
IHZpcnR1YWwveDExICkKCXN2Z2E/ICggbWVkaWEtbGlicy9zdmdhbGliICkKCXN5cy1saWJzL3Ns
YW5nIgoKc3JjX3VucGFjaygpIHsKCXVucGFjayAke1B9LnRnegogICAgICAgIGVwYXRjaCAke0ZJ
TEVTRElSfS9kb3NlbXUtYnJva2VuLWxpbmtzLmRpZmYKCSMgZXh0cmFjdCBmcmVlZG9zIGJpbmFy
eQoJY2QgJHtTfS9zcmMKCXVucGFjayAke1BfRkR9LnRnegp9CgpzcmNfY29tcGlsZSgpIHsKCWxv
Y2FsIG15ZmxhZ3MKCiMjIyBtaXRzaG0gd2lsbCBib3JrIC4vYmFzZS1jb25maWd1cmUgZW50aXJl
bHksIHNvIHdlIGRpc2FibGUgaXQgaGVyZQoJbXlmbGFncz0iLS1lbmFibGUtbWl0c2htPW5vIgoJ
bXlmbGFncz0iJHtteWZsYWdzfSAtLWVuYWJsZS1leHBlcmltZW50YWwiCglteWZsYWdzPSIke215
ZmxhZ3N9IC0tZGlzYWJsZS1mb3JjZS1zbGFuZyIKCiMjIyBhbmQgdGhlbiBzZXQgYnVpbGQgcGFy
YW1hdGVycyBiYXNlZCBvbiBVU0UgdmFyaWFibGVzCgl1c2UgWCB8fCBteWZsYWdzPSIke215Zmxh
Z3N9IC0td2l0aC14PW5vIgoJdXNlIHN2Z2EgJiYgbXlmbGFncz0iJHtteWZsYWdzfSAtLWVuYWJs
ZS11c2Utc3ZnYWxpYiIKCgllY29uZiAke215ZmxhZ3N9IHx8IGRpZSAiRE9TZW11IEJhc2UgQ29u
ZmlndXJhdGlvbiBGYWlsZWQiCgojIyMgT2ssIHRoZSBidWlsZCB0cmVlIGlzIGNsZWFuLCBsZXRz
IG1ha2UgdGhlIGV4ZWN1dGFibGVzLCBhbmQgJ2RvcycgY29tbWFuZHMKCglDRkxBR1M9IiQoZWNo
byAke0NGTEFHU30gfCAvYmluL3NlZCAncy8tZmZvcmNlLWFkZHIvLztzLy1PWzMtOV0vLU8yLycp
IgoKCWVtYWtlICJDRkxBR1M9JHtDRkxBR1N9IiAtQyBzcmMgfHwgZGllICJET1NlbXUgTWFrZSBG
YWlsZWQhIgoJZW1ha2UgIkNGTEFHUz0ke0NGTEFHU30iIGRvc2JpbiB8fCBkaWUgIkRPU2JpbiBN
YWtlIEZhaWxlZCIKfQoKc3JjX2luc3RhbGwoKSB7CgltYWtlIERFU1RESVI9JHtEfSBpbnN0YWxs
IHx8IGRpZQoKCWRvbWFuIG1hbi8qLjEKCXJtIC1yZiAke0R9L29wdC9kb3NlbXUvbWFuLwoKCW12
ICR7RH0vdXNyL3NoYXJlL2RvYy9kb3NlbXUgJHtEfS91c3Ivc2hhcmUvZG9jLyR7UEZ9CgoJIyBm
cmVlZG9zIHRhcmJhbGwgaXMgbmVlZGVkIGluIC91c3Ivc2hhcmUvZG9zZW11CgljcCAke0RJU1RE
SVJ9LyR7UF9GRH0udGd6ICR7RH0vdXNyL3NoYXJlL2Rvc2VtdS9kb3NlbXUtZnJlZWRvcy1iaW4u
dGd6Cn0K
</data>        

          </attachment>
    </bug>

</bugzilla>