Package Details: dosemu2-git 2.0pre9.dev.r1795.ga235ad7e3-1

Git Clone URL: https://aur.archlinux.org/dosemu2-git.git (read-only, click to copy)
Package Base: dosemu2-git
Description: Virtual machine that allows you to run DOS programs under Linux
Upstream URL: https://github.com/dosemu2/dosemu2
Keywords: DOS emulator machine virtual
Licenses: GPL-2.0-only
Conflicts: dosemu, dosemu2
Provides: dosemu, dosemu2
Submitter: felix.s
Maintainer: severach
Last Packager: severach
Votes: 6
Popularity: 0.014807
First Submitted: 2016-05-22 20:11 (UTC)
Last Updated: 2024-03-25 19:56 (UTC)

Latest Comments

1 2 3 4 Next › Last »

dreieck commented on 2024-03-26 09:26 (UTC) (edited on 2024-03-26 10:26 (UTC) by dreieck)

I now also think that the COMMAND.COM/ comcom32/ comcom64/ freecom etc. should be a dependency of dosemu2, not of fdpp:

When I launch dosemu without any command.com automatically found, it says

ERROR: Neither freecom nor comcom32 installation found.
Use DOSEMU2_EXTRAS_DIR env var to specify location of freedos
or DOSEMU2_COMCOM_DIR env var for alternative location of comcom32

And when I manually set DOSEMU2_COMCOM_DIR=/usr/share/comcom64 it fails with ERROR: comcom64 support not compiled in.

When I recompile dosemu2-git after having installed comcom64 this issue goes away (another, unrelated, issue pops up).

For me it clearly is a DOSEMU2 thing relevant here for the interpreter, not a fdpp thing.

Hm.?

Regards!

severach commented on 2024-03-25 20:15 (UTC)

I fixed the mirrors. ftp.sun.ac.za is too slow for me so I set mirror.math.princeton.edu for most of them.

return 1 does not show the line number and that's what I need to diagnose errors. I could use ${LINENO} but that would turn a single line into a multi line statement, larger and less readable. echo "${}" is a single statement that does everything I want.

Do the dosemu2 install routines sometimes install stuff into $DESTDIR/usr/local/

I put those tests in at the beginning so I know if an option is wrong. No reason to take them out. I haven't seen a /usr/local error in a long time but it happened to you so it must be possible.

dreieck commented on 2024-03-25 19:31 (UTC) (edited on 2024-03-25 19:32 (UTC) by dreieck)

Regarding this issue:

Using
https://mirror.math.princeton.edu/pub/freeDOS/gnuish instead of
https://www.ibiblio.org/pub/micro/pc-stuff/freedos/gnuish
solves it for gnu_diff23x.zip and gnu_fut312bx.zip, but gnu_tut111ax.zip then gives me a HTTP error 403.

https://ftp.sun.ac.za/ftp/pub/mirrors/freedos/gnuish seems to work.

dreieck commented on 2024-03-25 18:36 (UTC)

Fails to download source file gnu_diff23x.zip:

  -> Downloading gnu_diff23x.zip...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0 32970    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
curl: (22) The requested URL returned error: 404
==> ERROR: Failure while downloading https://www.ibiblio.org/pub/micro/pc-stuff/freedos/gnuish/dos_only/diff23x.zip

Regards!

dreieck commented on 2024-03-24 20:27 (UTC) (edited on 2024-03-24 20:28 (UTC) by dreieck)

↗ Here the upstream maintainer of thunk_gen, which is a dependency of fdpp, suggests that the comcom32-dependency should be moved from fdpp(-git) to dosemu2-git.

I forward this suggestion to you so you can check what is the correct way to go.

Regards!

hggdm commented on 2024-03-07 19:01 (UTC)

This doesn't exist anymore: https://www.ibiblio.org/pub/micro/pc-stuff/freedos/gnuish

An alternative is: https://mirror.math.princeton.edu/pub/freeDOS/gnuish

dreieck commented on 2023-09-23 09:46 (UTC) (edited on 2023-09-23 12:12 (UTC) by dreieck)

That bash error …

Sorry, echo "${}", which is literally in the PKGBUILD, is invalid bash code. That needs to be adapted anyway -- if you want package() to exit cleanly with an error then use return n with n>0, and print an error message before.

For example, replace
test -d "${pkgdir}/usr/local" && echo "${}"
by

if [ -d "${pkgdir}/usr/local" ]; then
  error "\${pkgdir}/usr/local is present. Try rebuilding with 'makepkg -cC'. Aborting."
  return 22
fi

If you just wanted to print something and not to abort, you need to replace "${}" with some valid content.

That error is detecting that /usr/local is present.

More specifically, it is detecting that ${pkgdir}/usr/local/ is present.

By the way, why is this needed? Do the dosemu2 install routines sometimes install stuff into $DESTDIR/usr/local/, and it is not easy to handle it cleanly, so an abort and clean rebuild is the better way?

Try makepkg -scCfi.

Tried.
Have deleted complete content of $BUILDDIR/ and $SRCDEST/ and $PKGDEST/ before.
Worked.
Thanks :-).

severach commented on 2023-09-22 19:13 (UTC)

That bash error is one of the few that shows the line number so I know right away where the error is from your post. That error is detecting that /usr/local is present. Try makepkg -scCfi.

dreieck commented on 2023-09-22 18:03 (UTC) (edited on 2023-09-23 12:13 (UTC) by dreieck)

package() (run with makepkg -sfi) fails with a bash bad substitution error:

==> Starting package()...
[...]
---------------------------------DONE Installing-------------------------------

  - You can type 'dosemu' to run DOSEMU2.
make[1]: Leaving directory '/tmp/makepkg/build/dosemu2-git/src/dosemu2/src'
/tmp/makepkg/yay/dosemu2-git/PKGBUILD: line 497: ${}: bad substitution

In line 497 of the PKGBUILD there is echo "${}", which makes bash fail.

Regards!

dreieck commented on 2023-09-22 17:58 (UTC)

Actually, you now have fdpp>=1.6 as versioned dependency, but that does not suffice:

configure: error: fdpp not available!

fdpp>=1.6+170 does suffice. (fdpp-git is currently at version 1.7.r1443.)

Regards!