Package Details: dosbox-x 0.84.0-1

Git Clone URL: https://aur.archlinux.org/dosbox-x.git (read-only, click to copy)
Package Base: dosbox-x
Description: x86 emulator with builtin DOS, with patches with more features
Upstream URL: http://dosbox-x.com
Keywords: emulation
Licenses: GPL
Conflicts: dosbox-x-git
Submitter: mike.cuche
Maintainer: mike.cuche
Last Packager: mike.cuche
Votes: 13
Popularity: 0.39
First Submitted: 2019-04-11 18:41 (UTC)
Last Updated: 2022-06-01 18:40 (UTC)

Latest Comments

Firobe commented on 2022-03-10 22:58 (UTC) (edited on 2022-03-10 23:03 (UTC) by Firobe)

On my system the fluidsynth support is disabled during configuration because for some reason AC_LIB_CHECK(fluidsynth, ...) passes -lSDL to gcc without the required -lm and -lGL (I cannot understand why, for now).

I managed to build with fluidsynth support by adding the following modification to configure.ac:

sed -i 's|$LIBS $SDL_LIBS|$LIBS $SDL_LIBS -lm -lGL|' configure.ac

This problem is mentioned here upstream: https://github.com/joncampbell123/dosbox-x/issues/1552

vladimir1922 commented on 2022-03-09 08:21 (UTC)

Fixed! Thanks for the work, this was a tough one :D

BujuArena commented on 2022-03-07 18:14 (UTC)

I can confirm that the build issue was resolved with a clean rebuild. I didn't try a rebuild with previous build files, so I can't say whether that would have worked. Thank you for the patch and the update to this package.

mike.cuche commented on 2022-03-07 17:21 (UTC)

@patlefort THANK YOU, I updated the PKGBUILD, I hope the patch fixes that compilation issues for a long while :D

vlas commented on 2022-03-07 17:14 (UTC) (edited on 2022-03-07 17:20 (UTC) by vlas)

Also can't build. https://termbin.com/vtot https://termbin.com/7y7x

patlefort commented on 2022-03-07 14:45 (UTC)

The problem is discussed here: https://github.com/joncampbell123/dosbox-x/issues/3283

It can be fixed with the following patch:

diff --git a/PKGBUILD b/PKGBUILD
index 59d795b..97668d5 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -18,6 +18,7 @@ sha256sums=('026f3986aae61d5f5cc7a95c7ad8ee9646f3249b282c8136a00b239bf6fed711')
 build() {
   cd $srcdir/dosbox-x-dosbox-x-v${pkgver}
   sed -i -e 's/-j3/-j$(nproc)/g' build
+  sed -i 's|"$LIBS -lavcodec -lavformat -lavutil -lswscale "`pkg-config libavcodec --libs`|`pkg-config libavcodec libavformat libavutil libswscale libswresample --libs`"$LIBS"|' configure.ac
  PKG_CONFIG_PATH="/usr/lib/ffmpeg4.4/pkgconfig" ./build
 }

BujuArena commented on 2022-03-05 05:37 (UTC)

I have the exact same terminal output as in chris_l's pastebin link, with the issues seemingly starting with these lines:

g++  -march=x86-64 -mtune=generic -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -std=gnu++14  -O2 -msse  -Wall   -Wextra   -Wunused   -pedantic   -Wlogical-op   -Wsign-promo   -Wconversion-null   -Wno-deprecated-declarations   -Wno-implicit-fallthrough   -Wno-strict-aliasing   -Wno-missing-field-initializers   -Wno-format-zero-length   -Wno-address-of-packed-member   -Wno-int-to-void-pointer-cast  -I/home/alex/.cache/yay/dosbox-x/src/dosbox-x-dosbox-x-v0.83.23 -I/home/alex/.cache/yay/dosbox-x/src/dosbox-x-dosbox-x-v0.83.23/vs/sdlnet/linux-host/include -I/home/alex/.cache/yay/dosbox-x/src/dosbox-x-dosbox-x-v0.83.23/vs/sdlnet/linux-host/include/SDL -D_XOPEN_SOURCE=700 -D_POSIX_C_SOURCE=200809L   -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -L/home/alex/.cache/yay/dosbox-x/src/dosbox-x-dosbox-x-v0.83.23/vs/sdlnet/linux-host/lib -o dosbox-x dosbox.o  debug/libdebug.a dos/libdos.a shell/libshell.a builtin/libbuiltin.a ints/libints.a hardware/serialport/libserial.a hardware/parport/libparallel.a libs/porttalk/libporttalk.a gui/libgui.a libs/gui_tk/libgui_tk.a hardware/libhardware.a cpu/libcpu.a hardware/reSID/libresid.a fpu/libfpu.a gui/libgui.a misc/libmisc.a output/liboutput.a hardware/mame/libmame.a libs/zmbv/libzmbv.a libs/decoders/internal/libopusint.a aviwriter/libaviwriter.a  libs/xBRZ/libxbrz.a libs/mt32/libmt32.a libs/fluidsynth/libfluidsynth.a -lasound -lm -ldl -lpthread -L/home/alex/.cache/yay/dosbox-x/src/dosbox-x-dosbox-x-v0.83.23/vs/sdl/linux-host/lib -Wl,-rpath,/home/alex/.cache/yay/dosbox-x/src/dosbox-x-dosbox-x-v0.83.23/vs/sdl/linux-host/lib -lSDL -L/usr/lib64 -R/usr/lib64 -lX11 -lXext -lts -lpthread -ltinfo -lfreetype  -lSDL_net -lz -lpng -lz -lpcap -lslirp -lglib-2.0  -lX11 -lXrandr -lxkbfile -lavcodec -lavformat -lavutil -lswscale -L/usr/lib/ffmpeg4.4 -lavcodec  -lGL
/usr/bin/ld: hardware/libhardware.a(hardware.o): in function `ffmpeg_flush_video() [clone .part.0]':
hardware.cpp:(.text+0x18a): undefined reference to `avcodec_encode_video2'

vladimir1922 commented on 2022-03-04 21:43 (UTC)

Same problem and similar compiling error as chris_J. I had this package failing to update for weeks now.

mike.cuche commented on 2022-03-04 11:59 (UTC)

This is odd. I have no idea what's going on, I build the packages in a clean chroot before pushing the updates and I had no compilation issues so far.

chris_l commented on 2022-03-04 07:53 (UTC)

Yes, it is also not building for me. Here is the error I get: https://pastebin.com/N1c4G5nv

BujuArena commented on 2022-03-03 04:35 (UTC)

This still doesn't build for me. Is it building successfully for anyone else? If so, I'll check my system further.

t3hyoshi commented on 2022-02-24 10:22 (UTC)

The package still won't build as it's trying to use ffmpeg4.4

mike.cuche commented on 2022-02-18 20:19 (UTC)

@JoeCool Thanks for reporting, I changed the dependency

JoeCool commented on 2022-02-18 13:18 (UTC)

This pkg fails to build since Arch updated to ffmpeg5. See https://github.com/joncampbell123/dosbox-x/issues/3283 for more info.

jticket1024 commented on 2022-01-16 17:43 (UTC)

Please make libslirp a dependency that is not optional. When allowing yay to clean deps, it fails ro run because libslirp is not there anymore.

vleon1 commented on 2022-01-01 19:25 (UTC)

Yay! :)

mike.cuche commented on 2021-12-31 13:12 (UTC)

@vleon1 of course!

vleon1 commented on 2021-12-30 17:57 (UTC)

Can you please add aarch64 to the arch list in PKGBUILD? I enabled it locally and it builds and works.

rustemb commented on 2021-09-25 21:06 (UTC)

can't build it https://defuse.ca/b/DvmdZNeT

FredBezies commented on 2020-12-23 09:10 (UTC)

Starting with Dosbox-x 0.83.9, there is a "mount archive as a drive" option. To make it work, you'll need to add physfs as a depend.

See these commits:

https://github.com/joncampbell123/dosbox-x/commit/844711de2a93481650eb8536c4eaf0c4392497ba

and

https://github.com/joncampbell123/dosbox-x/commit/886862b0d04e56c6eff644533304af502dc3adaf

mike.cuche commented on 2020-02-01 20:37 (UTC)

@PedroHLD well, frick :D It's time to update the PGKBUILD again, lol

PedroHLC commented on 2020-02-01 20:18 (UTC)

Sorry @madnessmike, I've made an issue upstream before traveling and when I arrived you both had fixed it

mike.cuche commented on 2020-02-01 13:39 (UTC)

I updated the PKGBUILD; I added an extra variable because this crapness happened

PedroHLC commented on 2020-02-01 13:31 (UTC)

Download link is right, the version is just tagged wrong in git. That's a problem that should be resolved upstream.

mike.cuche commented on 2019-06-04 17:15 (UTC)

@ax34 Thanks for pointing that out, I changed the path in the cd, it should work now

ax34 commented on 2019-06-03 21:26 (UTC)

/media/railgun2/.cache/yay/dosbox-x/PKGBUILD: line 19: cd: /home/redneck/.makepkg/sources/src/dosbox-x-dosbox-x-v0.82.19: No such file or directory

What does path $SRCDEST/src/dosbox-x-dosbox-x-v${pkgver} mean in your PKGBUILD?