Package Details: dosbox-staging-git 0.82.0.alpha-1

Git Clone URL: https://aur.archlinux.org/dosbox-staging-git.git (read-only, click to copy)
Package Base: dosbox-staging-git
Description: A modernized DOSBox project using current development practices and tools, fixing issues, adding features that better support today's systems
Upstream URL: https://github.com/dosbox-staging/dosbox-staging
Keywords: dos emulator games gaming
Licenses: GPL2
Conflicts: dosbox
Provides: dosbox
Submitter: sharkwouter
Maintainer: magamo
Last Packager: magamo
Votes: 4
Popularity: 0.50
First Submitted: 2020-03-16 21:32 (UTC)
Last Updated: 2023-12-26 16:18 (UTC)

Required by (65)

Sources (1)

Latest Comments

1 2 3 Next › Last »

kasugano commented on 2024-03-15 22:46 (UTC)

Just a heads up, I don't know when happened at the upstream but the dosbox-staging is now being compiled with march=native...

memchr commented on 2024-02-15 03:12 (UTC)

Meson installs subprojects files by default, this will conflict with system libpng files. Just add --skip-subprojects libpng to meson install to prevent this behaviour.

diff --git a/PKGBUILD b/PKGBUILD
index 15abb87..6da9385 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -26,7 +26,7 @@ build() {
 package() {
   cd "$srcdir/${pkgname}-${pkgver}"

-  meson install -C build --destdir "$pkgdir"
+  meson install -C build --destdir "$pkgdir" --skip-subprojects libpng

   install -Dm 644 "docs/README.video" "$pkgdir/usr/share/doc/${pkgname}/video.txt"
   install -Dm 644 "README" "$pkgdir/usr/share/doc/${pkgname}/manual.txt"

magamo commented on 2023-12-22 10:10 (UTC)

I cannot reproduce or confirm this. Please try removing your old package, and your aur helper cache and rebuild. If that does not work, we can investigate further.

ArshiaAghaei commented on 2023-12-22 07:07 (UTC) (edited on 2023-12-22 07:12 (UTC) by ArshiaAghaei)

It fails to install for the 0.81-aplha:

Packages (1) dosbox-staging-git-0.81.0.alpha.2255.gc5ec61778-1

Total Installed Size:  9.75 MiB
Net Upgrade Size:      1.13 MiB

:: Proceed with installation? [Y/n] 
(1/1) checking keys in keyring                                                                  [########################################################] 100%
(1/1) checking package integrity                                                                [########################################################] 100%
(1/1) loading package files                                                                     [########################################################] 100%
(1/1) checking for file conflicts                                                               [########################################################] 100%
error: failed to commit transaction (conflicting files)
dosbox-staging-git: /usr/include/libpng16/png.h exists in filesystem (owned by libpng)
dosbox-staging-git: /usr/include/libpng16/pngconf.h exists in filesystem (owned by libpng)
dosbox-staging-git: /usr/include/libpng16/pnglibconf.h exists in filesystem (owned by libpng)
dosbox-staging-git: /usr/lib/pkgconfig/libpng.pc exists in filesystem (owned by libpng)
dosbox-staging-git: /usr/lib/pkgconfig/libpng16.pc exists in filesystem (owned by libpng)
Errors occurred, no packages were upgraded.
loading packages...
resolving dependencies...
looking for conflicting packages...

Packages (1) dosbox-staging-git-0.81.0.alpha.2255.gc5ec61778-1

Total Installed Size:  9.75 MiB
Net Upgrade Size:      1.13 MiB

:: Proceed with installation? [Y/n] 
(1/1) checking keys in keyring                                                                  [########################################################] 100%
(1/1) checking package integrity                                                                [########################################################] 100%
(1/1) loading package files                                                                     [########################################################] 100%
(1/1) checking for file conflicts                                                               [########################################################] 100%
error: failed to commit transaction (conflicting files)
dosbox-staging-git: /usr/include/libpng16/png.h exists in filesystem (owned by libpng)
dosbox-staging-git: /usr/include/libpng16/pngconf.h exists in filesystem (owned by libpng)
dosbox-staging-git: /usr/include/libpng16/pnglibconf.h exists in filesystem (owned by libpng)
dosbox-staging-git: /usr/lib/pkgconfig/libpng.pc exists in filesystem (owned by libpng)
dosbox-staging-git: /usr/lib/pkgconfig/libpng16.pc exists in filesystem (owned by libpng)
Errors occurred, no packages were upgraded.
loading packages...
resolving dependencies...
looking for conflicting packages...

Packages (1) dosbox-staging-git-0.81.0.alpha.2255.gc5ec61778-1

Total Installed Size:  9.75 MiB
Net Upgrade Size:      1.13 MiB

:: Proceed with installation? [Y/n] 
(1/1) checking keys in keyring                                                                  [########################################################] 100%
(1/1) checking package integrity                                                                [########################################################] 100%
(1/1) loading package files                                                                     [########################################################] 100%
(1/1) checking for file conflicts                                                               [########################################################] 100%
error: failed to commit transaction (conflicting files)
dosbox-staging-git: /usr/include/libpng16/png.h exists in filesystem (owned by libpng)
dosbox-staging-git: /usr/include/libpng16/pngconf.h exists in filesystem (owned by libpng)
dosbox-staging-git: /usr/include/libpng16/pnglibconf.h exists in filesystem (owned by libpng)
dosbox-staging-git: /usr/lib/pkgconfig/libpng.pc exists in filesystem (owned by libpng)
dosbox-staging-git: /usr/lib/pkgconfig/libpng16.pc exists in filesystem (owned by libpng)
Errors occurred, no packages were upgraded.
error: packages failed to build: gzdoom-git-4.12pre+10+g48ba63c-1  zsh-autocomplete-git-r129.93d93c6-1

Full log: https://paste.ofcode.org/e755YLcvHdN2qgccD7jsUE

electronic_punk commented on 2022-11-15 10:25 (UTC)

Another dosbox-staging issue:


[266/266] Linking target dosbox
FAILED: dosbox 
c++  -o dosbox dosbox.p/meson-generated_.._version.cpp.o dosbox.p/src_main.cpp.o dosbox.p/src_dosbox.cpp.o dosbox.p/src_libs_ghc_fs_std_impl.cpp.o -Wl,--as-needed -Wl,--no-undefined -Wl,-O1 -Wl,--start-group src/misc/libmisc.a src/libs/loguru/libloguru.a src/libs/whereami/libwhereami.a src/cpu/libcpu.a src/dos/libdos.a src/libs/decoders/libdecoders.a src/fpu/libfpu.a src/gui/libgui.a src/libs/ppscale/libppscale.a src/hardware/libhardware.a src/libs/nuked/libnuked.a src/libs/residfp/libresidfp.a src/libs/YM7128B_emu/libym7128bemu.a src/libs/zmbv/libzmbv.a src/ints/libints.a src/midi/libmidi.a src/shell/libshell.a src/libs/sdlcd/libsdlcd.a src/libs/tal-chorus/libtalchorus.a src/libs/manymouse/libmanymouse.a -lstdc++fs /usr/lib/libSDL2.so /usr/lib/libSDL2_image.so -pthread /usr/lib/libiir.so /usr/lib/libslirp.so /usr/lib/libglib-2.0.so -lstdc++fs -ldl /usr/lib/libopusfile.so /usr/lib/libGL.so /usr/lib/libpng16.so /usr/lib/libSDL2_net.so /usr/lib/libspeexdsp.so /usr/lib/libz.so /usr/lib/libfluidsynth.so /usr/lib/libmt32emu.so /usr/lib/libasound.so -Wl,--end-group
/usr/bin/ld: warning: libhwy.so.1, needed by /usr/lib/libjxl.so.0.7, not found (try using -rpath or -rpath-link)
/usr/bin/ld: /usr/lib/libjxl.so.0.7: undefined reference to `hwy::AllocateAlignedBytes(unsigned long, void* (*)(void*, unsigned long), void*)@HWY_0'
/usr/bin/ld: /usr/lib/libjxl.so.0.7: undefined reference to `hwy::FreeAlignedBytes(void const*, void (*)(void*, void*), void*)@HWY_0'
/usr/bin/ld: /usr/lib/libjxl.so.0.7: undefined reference to `hwy::SupportedTargets()@HWY_0'
/usr/bin/ld: /usr/lib/libjxl.so.0.7: undefined reference to `hwy::GetChosenTarget()@HWY_0'
/usr/bin/ld: /usr/lib/libjxl.so.0.7: undefined reference to `hwy::AlignedDeleter::DeleteAlignedArray(void*, void (*)(void*, void*), void*, void (*)(void*, unsigned long))@HWY_0'
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.`

magamo commented on 2022-10-02 11:59 (UTC)

Hi everyone! I've cut down on the dependencies listed in the PKGBUILD. So long as fluidsynth, libslirp or munt is no longer installed on the system, dosbox-staging will build the dependency and statically link it internally.

If you install the new version of the package, and later remove the old dependencies, you will need to rebuild this package or you will get library not found errors.

magamo commented on 2022-09-19 12:44 (UTC)

I actually had already done that and removed it from makedepends. Enjoy!

xlucn commented on 2022-09-17 02:25 (UTC)

Would you recheck if the libibus dependency is needed. I am not sure if that's related to the last change. But anyway, now without libibus, I don't have either linking errors or static library warnings.

magamo commented on 2022-09-16 13:38 (UTC)

Hi all, I've fixed the recent build errors by ensuring that by default dosbox-staging links against the shared system libraries.

electronic_punk commented on 2022-09-13 16:46 (UTC) (edited on 2022-09-13 16:53 (UTC) by electronic_punk)

There are errors, but it appears to be dosbox problem:


FAILED: dosbox 
c++  -o dosbox dosbox.p/meson-generated_.._version.cpp.o dosbox.p/src_main.cpp.o dosbox.p/src_dosbox.cpp.o dosbox.p/src_libs_ghc_fs_std_impl.cpp.o -flto -Wl,--as-needed -Wl,--no-undefined -Wl,-O1 -no-pie -Wl,-rpath,/usr/lib -Wl,-rpath-link,/usr/lib -Wl,--start-group src/misc/libmisc.a src/libs/loguru/libloguru.a src/libs/whereami/libwhereami.a src/cpu/libcpu.a src/dos/libdos.a src/libs/decoders/libdecoders.a src/fpu/libfpu.a src/gui/libgui.a src/libs/ppscale/libppscale.a src/hardware/libhardware.a src/libs/nuked/libnuked.a src/libs/residfp/libresidfp.a src/libs/YM7128B_emu/libym7128bemu.a src/libs/zmbv/libzmbv.a subprojects/speexdsp-1.2.1/libspeexdsp/libspeexdsp.a src/ints/libints.a src/midi/libmidi.a src/shell/libshell.a src/libs/sdlcd/libsdlcd.a src/libs/tal-chorus/libtalchorus.a -lstdc++fs /usr/lib/libSDL2.so -pthread -L/home/tomek/.cache/yay/iir1-git/pkg/iir1-git/usr/lib -liir /usr/lib/libglib-2.0.a -lm /usr/lib/libpcre.a /usr/lib/libsysprof-capture-4.a -lslirp -lstdc++fs -ldl -L/home/tomek/.cache/yay/iir1-git/pkg/iir1-git/usr/lib -liir -lopusfile -logg -lopus /usr/lib/libGL.so -L/home/tomek/.cache/yay/iir1-git/pkg/iir1-git/usr/lib -liir -L/home/tomek/.cache/yay/iir1-git/pkg/iir1-git/usr/lib -liir -lslirp /usr/lib/libz.a -lpng16 /usr/lib/libSDL2_net.so /usr/lib/libgthread-2.0.a -lpthread /usr/lib/libgomp.so /usr/lib/libpthread.a -lrt -Wl,--export-dynamic /usr/lib/libgmodule-2.0.a /usr/lib/libgobject-2.0.a -L/usr/lib/pulseaudio -lfluidsynth -lasound -lsndfile -lFLAC -logg -lvorbis -lpulse-simple -lpulsecommon-16.1 -lpulse -lportaudio -ljack -lsystemd -ldbus-1 -linstpatch-1.0 -lffi -lvorbisenc -lopus -lSDL2 -lreadline -lncursesw -lmt32emu /usr/lib/libasound.so -L/home/tomek/.cache/yay/iir1-git/pkg/iir1-git/usr/lib -liir -Wl,--end-group
/usr/bin/ld: warning: type of symbol `glBindBufferARB' changed from 2 to 1 in /tmp/cc6UkOPL.ltrans46.ltrans.o
/usr/bin/ld: warning: type of symbol `glDeleteBuffersARB' changed from 2 to 1 in /tmp/cc6UkOPL.ltrans46.ltrans.o
/usr/bin/ld: warning: type of symbol `glGenBuffersARB' changed from 2 to 1 in /tmp/cc6UkOPL.ltrans46.ltrans.o
/usr/bin/ld: warning: type of symbol `glBufferDataARB' changed from 2 to 1 in /tmp/cc6UkOPL.ltrans46.ltrans.o
/usr/bin/ld: warning: type of symbol `glUnmapBufferARB' changed from 2 to 1 in /tmp/cc6UkOPL.ltrans47.ltrans.o
/usr/bin/ld: warning: type of symbol `glMapBufferARB' changed from 2 to 1 in /tmp/cc6UkOPL.ltrans47.ltrans.o
/usr/bin/ld: /usr/lib/libglib-2.0.a(gregex.c.o): undefined reference to symbol 'pcre_compile2'
/usr/bin/ld: /usr/lib/libpcre.so.1: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.

I got info from official discord to add '-Ddefault_library=shared' to meson setup command. I did so in PKGBUILD file and it indeed worked. I just have some warnings, but i don't know if it is something to be checked:


[245/245] Linking target dosbox
/usr/bin/ld: warning: type of symbol `glBindBufferARB' changed from 2 to 1 in /tmp/cc4dhYoe.ltrans28.ltrans.o
/usr/bin/ld: warning: type of symbol `glDeleteBuffersARB' changed from 2 to 1 in /tmp/cc4dhYoe.ltrans28.ltrans.o
/usr/bin/ld: warning: type of symbol `glGenBuffersARB' changed from 2 to 1 in /tmp/cc4dhYoe.ltrans28.ltrans.o
/usr/bin/ld: warning: type of symbol `glBufferDataARB' changed from 2 to 1 in /tmp/cc4dhYoe.ltrans28.ltrans.o
/usr/bin/ld: warning: type of symbol `glUnmapBufferARB' changed from 2 to 1 in /tmp/cc4dhYoe.ltrans44.ltrans.o
/usr/bin/ld: warning: type of symbol `glMapBufferARB' changed from 2 to 1 in /tmp/cc4dhYoe.ltrans44.ltrans.o