Home | Docs | Forums | Lists | Bugs | Planet | Store | GMN | Get Gentoo!
Not eligible to see or edit group visibility for this bug.
View Bug Activity | Format For Printing | XML | Clone This Bug
the patchs at http://dosemu.sourceforge.net/testing/ update dosemu to 1.1.4.15 which fixes up a few things from my experience. The current dosemu ebuild won't even compile for me. I made an ebuild that applies these patchs and also a patch that allows me to run duke nukem 3d with sound. The ebuild I created is a bit different from the current one. Also the 1.1.4.15 release has a configure script now. In my script it doesn't use it though, it instead changes compiletime-settings. It seems to work better. There is one problem though, which I've been unable to track down. Dosemu looks for fonts in /usr/local/share/dosemu/Xfonts when it should be looking in /usr/share/dosemu/Xfonts. In my ebuild I just have it install into /usr/local but this is not exactly a solution. It also copies the freedos tarball into /usr/local/share/dosemu so if the font problem is fixed that will need to be changed as well. Having it install the tarball itself seemed to just cause problems so copying it in manually seems to work fine.
Created an attachment (id=9618) [details] dosemu ebuild this is the ebuild
Created an attachment (id=9619) [details] sound patch this allows sound to work on duke3d and possibly other dos games. It needs to go in the files directory for now.
Created an attachment (id=9699) [details] new ebuild this one uses ./configure. After trying it out a bit more it seems to work fine. I don't think econf would work well right now for 2 reasons, the first is the font problem, the second because dosemu has the localstatedir set to /var/lib/dosemu by default and econf would set it to /var/lib which might make things messy in /var/lib.
Created an attachment (id=9743) [details] newer ebuild I have no idea how, or why, but now setting prefix to /usr no longer causes dosemu to not find the vga font. I'm guessing something I updated on my system may have fixed it. This one works perfectly. It compiles, duke 3d runs with sound and music (with timidity) and the font problem appears to be gone, for me atleast. I also added --enable-experimental, though I don't notice any changes with or without it.
Created an attachment (id=9744) [details] newest. oops. I forgot to put local myflags.
Hey, I tried to use your ebuild because the 1.14 will not work for me. Thanks for puttings this out here. But the "newest" ebuild doesn't work all of the way. Everything gets installed except for the actual binaries to run the progams. I think this is the relevant part.... cp -a /var/tmp/portage/dosemu-1.1.4-r2/work/dosemu-1.1.4/tmp/dosemu/freedos /var/tmp/portage/dosemu-1.1.4-r2/image//usr/share/dosemu cp: failed to preserve ownership for /var/tmp/portage/dosemu-1.1.4-r2/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.4-r2/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.4-r2/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.4-r2/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.4-r2/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.4-r2/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.4-r2/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.4-r2/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.4-r2/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.4-r2/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.4-r2/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.4-r2/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.4-r2/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.4-r2/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.4-r2/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.4-r2/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.4-r2/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.4-r2/work/dosemu-1.1.4/src' make: *** [install] Error 2 man: strip: >>> Completed installing into /var/tmp/portage/dosemu-1.1.4-r2/image/ >>> Merging app-emulation/dosemu-1.1.4-r2 to / --- /var/ --- /var/lib/ --- /var/lib/dosemu/ --- /usr/ --- /usr/share/ --- /usr/share/doc/
I have the same error as coscarart
an ebuild has been comitted for 1.1.4.15, but it's not this one. It seems to work fine so I'd try that. It doesn't apply the sound patch I have here, though.
sorry, i didn't see this ebuild before. i'll take a look at this one and incorporate any changes. thanks
may i ask where that sound patch comes from? i don't know much about dosemu to know whether this will have adverse effects
It came from a patch I found while searching around for how to get duke nukem to work under dosemu. http://www.mail-archive.com/linux-msdos@vger.kernel.org/msg01869.html it's part of the dpmi_sti4a.diff patch.
*** Bug 19574 has been marked as a duplicate of this bug. ***
that sound patch isn't needed anymore with dosemu 1.1.5. I'm not sure if the compile problems listed above are gone though.
reassigning :) thanks hanno
jordan, I have added a dosemu-1.1.5 ebuild recently. Can you test if anything your ebuild has is still needed for dosemu to run fine for you?
None of it is needed anymore, the dosemu 1.1.5 ebuild works fine for me.
i'm having the same problem as coscarart (comment #6) even with the 1.1.5 ebuild :-(
That's what I thought might have been a possibility in comment #13. I have no idea why it does that, nor can I reproduce it. I thought at first it might be trying to install the files from the freedos binary but the files it's trying to copy aren't in it. They're all the files that are symlinked in the dosemu-bin.tgz file in /usr/share/dosemu. Somethings not getting built for some reason.
These two workarounds for the 'failed to preserve ownership' problem work for me: 1) Use "FEATURES='-sandbox' emerge dosemu" (see bug #19574) 2) Change PORTAGE_TMPDIR to point to an ext2 partition. (I use ReiserFS for almost all my partitions.) Is this caused by 'sandbox+ReiserFS'?
My last comment may have been a bit unclear. 1) and 2) are two seperate workarounds (well, they both work for me anyway ;).
I've been using ext3 so that may just explain it. I havn't changed my FEATURES variable so they're the defaults in make.globals which is FEATURES="sandbox ccache" So no problems with ext3+sandbox.
*** This bug has been marked as a duplicate of 23110 ***