I do not want to maintain this anymore.
Anyone to take over maintainership?
Regards!
| Git Clone URL: | https://aur.archlinux.org/comcom-git.git (read-only, click to copy) |
|---|---|
| Package Base: | comcom-git |
| Description: | 32 and 64 bit DOS command interpreters ('command.com'), e.g. for fdpp and dosemu2. Latest git checkout. |
| Upstream URL: | https://github.com/dosemu2/comcom64 |
| Licenses: | GPL-3.0-or-later |
| Submitter: | dreieck |
| Maintainer: | None |
| Last Packager: | dreieck |
| Votes: | 0 |
| Popularity: | 0.000000 |
| First Submitted: | 2024-03-25 21:16 (UTC) |
| Last Updated: | 2026-09-22 22:14 (UTC) |
I do not want to maintain this anymore.
Anyone to take over maintainership?
Regards!
Getting the following error when trying to compile:
==> Starting prepare()...
sed: can't read 32/makefile: No such file or directory
Seems there are two occurrences of 32 that need to be replaced with src/32.
After doing that, there's one more issue: comcom64-git ends up packaging the 32-bit comcom too, and therefore conflicting with comcom32-git, so the PKGBUILD definitely needs some more changes.
Edit: To fix the file conflict, it seems it's sufficient to change the make -j1 PREFIX=/usr DESTDIR="${pkgdir}" install in package_64() to make -j1 PREFIX=/usr DESTDIR="${pkgdir}" install_64
A new build of dj64-git should provide go64.h.
Compilation is failing when including a file that does not appear to be in the repo:
make[1]: Leaving directory '/home/remote/.cache/yay/comcom-git/src/comcom64/32'
make -C src
make[1]: Entering directory '/home/remote/.cache/yay/comcom-git/src/comcom64/src'
dj64-gcc -Wall -Os -Wmissing-declarations -Wwrite-strings -ggdb3 -Wunused -Wmissing-prototypes -DREV_ID=\"alpha-3-353-g6cca478+\" -I. -o command.o -c command.c
command.c:78:10: fatal error: go64.h: No such file or directory
78 | #include <go64.h>
| ^~~~~~~~
compilation terminated.
make[1]: *** [/usr/i386-pc-dj64/share/dj64.mk:79: command.o] Error 1
make[1]: Leaving directory '/home/remote/.cache/yay/comcom-git/src/comcom64/src'
make: *** [makefile:33: 64] Error 2
==> ERROR: A failure occurred in build().
/usr/bin/djlink is part of the package djstub.
If was only a makdependency for x86_64 architecture, now it is for i686 as well.
Does this solve your issue, @patlefort?
(Please install all make dependencies before building.)
Regards!
Problem building:
./link.sh: line 24: djlink: command not found.
comcom64-git running fine here.
A note:
For comcom64, /dev/shm has to be mounted with exec/ without noexec (mount -o remount,exec /dev/shm), otherwise DOSEMU will fail on this:
In the terminal where dosemu is launched:
cannot dlopen /dev/shm/dosemu_COMMAND.COM: /dev/shm/dosemu_COMMAND.COM: failed to map segment from shared object
And in the DOSEMU window:
Shell E:\command.com exited, press any key...
So for now only comcom32 seems to be compatible with dosemu2 out of the box, where comcom64 needs tweaking of mount parameters for /dev/shm.
See also ↗ this comment on github.com.
I got all the packages built. makedepends+=('dj64'). Edit: nope! makedepends+=('dj64' 'thunk_gen' 'djstub')
Pinned Comments
dreieck commented on 2024-03-26 09:41 (UTC) (edited on 2024-03-26 21:33 (UTC) by dreieck)
A note:
For
comcom64,/dev/shmhas to be mounted withexec/ withoutnoexec(mount -o remount,exec /dev/shm), otherwise DOSEMU will fail on this:In the terminal where
dosemuis launched:And in the DOSEMU window:
So for now only
comcom32seems to be compatible withdosemu2out of the box, wherecomcom64needs tweaking of mount parameters for/dev/shm.See also ↗ this comment on github.com.