Package Details: dosbox-staging-git 0.80.0.alpha.89.g7c62e648f-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: 3
Popularity: 0.000683
First Submitted: 2020-03-16 21:32 (UTC)
Last Updated: 2022-10-07 14:49 (UTC)

Required by (65)

Sources (1)

Latest Comments

1 2 3 Next › Last »

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!

OliverLew 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

OliverLew commented on 2022-08-16 01:45 (UTC)

I have tons of similar warnings when building, but can build without failing. And, notice that the ibus dependency is still missing, might due to libibus not providing static library. So, adding the libibus dependency does nothing in my case.

... ...
WARNING: Static library 'fluidsynth' not found for dependency 'fluidsynth', may not be statically linked
WARNING: Static library 'gthread-2.0' not found for dependency 'fluidsynth', may not be statically linked
WARNING: Static library 'glib-2.0' not found for dependency 'fluidsynth', may not be statically linked
WARNING: Static library 'asound' not found for dependency 'fluidsynth', may not be statically linked
WARNING: Static library 'sndfile' not found for dependency 'fluidsynth', may not be statically linked
WARNING: Static library 'pcre' not found for dependency 'fluidsynth', may not be statically linked
WARNING: Static library 'FLAC' not found for dependency 'fluidsynth', may not be statically linked
WARNING: Static library 'ogg' not found for dependency 'fluidsynth', may not be statically linked
WARNING: Static library 'vorbis' not found for dependency 'fluidsynth', may not be statically linked
WARNING: Static library 'pulse-simple' not found for dependency 'fluidsynth', may not be statically linked
WARNING: Static library 'pulsecommon-16.1' not found for dependency 'fluidsynth', may not be statically linked
WARNING: Static library 'pulse' not found for dependency 'fluidsynth', may not be statically linked
WARNING: Static library 'portaudio' not found for dependency 'fluidsynth', may not be statically linked
WARNING: Static library 'jack' not found for dependency 'fluidsynth', may not be statically linked
WARNING: Static library 'systemd' not found for dependency 'fluidsynth', may not be statically linked
WARNING: Static library 'dbus-1' not found for dependency 'fluidsynth', may not be statically linked
WARNING: Static library 'gmodule-2.0' not found for dependency 'fluidsynth', may not be statically linked
WARNING: Static library 'instpatch-1.0' not found for dependency 'fluidsynth', may not be statically linked
WARNING: Static library 'gobject-2.0' not found for dependency 'fluidsynth', may not be statically linked
WARNING: Static library 'ffi' not found for dependency 'fluidsynth', may not be statically linked
WARNING: Static library 'vorbisenc' not found for dependency 'fluidsynth', may not be statically linked
WARNING: Static library 'opus' not found for dependency 'fluidsynth', may not be statically linked
WARNING: Static library 'SDL2' not found for dependency 'fluidsynth', may not be statically linked
WARNING: Static library 'unwind-generic' not found for dependency 'fluidsynth', may not be statically linked
WARNING: Static library 'unwind' not found for dependency 'fluidsynth', may not be statically linked
WARNING: Static library 'gio-2.0' not found for dependency 'fluidsynth', may not be statically linked
WARNING: Static library 'ibus-1.0' not found for dependency 'fluidsynth', may not be statically linked
WARNING: Static library 'readline' not found for dependency 'fluidsynth', may not be statically linked
WARNING: Static library 'ncursesw' not found for dependency 'fluidsynth', may not be statically linked
Run-time dependency fluidsynth found: YES 2.2.8
WARNING: Static library 'slirp' not found for dependency 'slirp', may not be statically linked
WARNING: Static library 'glib-2.0' not found for dependency 'slirp', may not be statically linked
WARNING: Static library 'pcre' not found for dependency 'slirp', may not be statically linked
... ...

magamo commented on 2022-08-09 09:04 (UTC)

I've added it as a makedepend instead. Thanks!

magamo commented on 2022-08-09 08:21 (UTC)

Its now a dependency of fluidsynth, and while the fluidsynth submodule includes it dynamically linked, it is not installed by the meson build. We recieve this from the configuration step.

WARNING: Static library 'ibus-1.0' not found for dependency 'fluidsy nth', may not be statically linked

As a result, without it, the build fails onn the linking step.

OliverLew commented on 2022-08-09 05:59 (UTC)

Why the libibus dependency?