@Astronautical: I wasn't able to replicate this, do you have the full build log?
@xiota: I don't think this is @Astronautical's issue, as their build() fails, not check(). I'll look into the failing check() function.
Git Clone URL: | https://aur.archlinux.org/dolphin-emu-git.git (read-only, click to copy) |
---|---|
Package Base: | dolphin-emu-git |
Description: | A Gamecube / Wii emulator - CLI-based utility for functions such as managing disc images - git version |
Upstream URL: | https://dolphin-emu.org |
Keywords: | dolphin emu emulator game gamecube gui nintendo remote revolution triforce wii wiimote |
Licenses: | GPL-2.0-or-later |
Conflicts: | dolphin-emu-tool |
Provides: | dolphin-emu-tool |
Submitter: | None |
Maintainer: | dpeukert |
Last Packager: | dpeukert |
Votes: | 123 |
Popularity: | 0.30 |
First Submitted: | 2011-08-20 13:05 (UTC) |
Last Updated: | 2025-01-19 23:35 (UTC) |
« First ‹ Previous 1 .. 3 4 5 6 7 8 9 10 11 12 13 .. 58 Next › Last »
@Astronautical: I wasn't able to replicate this, do you have the full build log?
@xiota: I don't think this is @Astronautical's issue, as their build() fails, not check(). I'll look into the failing check() function.
@Astronautical Try building in clean chroot with --nocheck
option.
@dpeukert Clean chroot.
tee: /dev/stderr: Permission denied
qt.qpa.xcb: could not connect to display
qt.qpa.plugin: From 6.5.0, xcb-cursor0 or libxcb-cursor0 is needed to load the Qt xcb platform plugin.
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Available platform plugins are: minimal, minimalegl, vkkhrdisplay, vnc, linuxfb, offscreen, xcb, eglfs.
==> ERROR: A failure occurred in check().
A subcommand in the newest package is causing the build to fail. I'm not sure why, but it's a little annoying.
collect2: error: ld returned 1 exit status
[939/1153] Automatic MOC for target dolphin-emu
ninja: build stopped: subcommand failed.
==> ERROR: A failure occurred in build().
Aborting...
@busbybear: Should be fixed now.
The new check() function causes makepkg to abort. Commenting out line 111 in PKGBUILD seems to solve the issue. I get a GTK warning when dolphin is executing, so, i think the script doesn't ignore the warning and causes makepkg to abort. Dolphin runs just fine with the warning.
GTK Warning:
(dolphin-emu:60839): Gtk-WARNING **: 09:27:16.984: Theme parsing error: gtk.css:8043:70: The :focused pseudo-class is deprecated. Use :focus instead.
Error in check():
Dolphin [makepkg] 5.0-21148 ==> ERROR: A failure occurred in check(). Aborting...
@hawaka: Sorry about that, will fix ASAP, I'm on a bad internet connection at the moment, so I wasn't able to verify the build.
It's failing to build because there is a typo in the PKGBUILD.
Under source
the line defining the path for tinygltf
is missing ".git
" from the end.
It should look like this instead:
"$pkgname-tinygltf::git+https://github.com/syoyo/tinygltf.git"
Regarding tinygltf, it produces following error: CMake Error at Externals/tinygltf/CMakeLists.txt:8 (target_sources): Cannot find source file:
tinygltf/tiny_gltf.cc
Tried extensions .c .C .c++ .cc .cpp .cxx .cu .mpp .m .M .mm .ixx .cppm .ccm .cxxm .c++m .h .hh .h++ .hm .hpp .hxx .in .txx .f .F .for .f77 .f90 .f95 .f03 .hip .ispc
CMake Error at Externals/tinygltf/CMakeLists.txt:1 (add_library): No SOURCES given to target: tinygltf
@BlueSwordM I cannot replicate the problem you are experiencing. So I suspect it is something specific to your computer. Are you building in a clean chroot? If not, does doing so make a difference?
To build with debug symbols, you can edit the PKGBUILD to add options+=('debug')
. makekpg
should make a second package containing the debug symbols that you can use to backtrace with gdb
. If that doesn't work, you can try changing CFLAGS
and CXXFLAGS
in makepkg.conf
or editing the PKGBUILD to use CMAKE_BUILD_TYPE=Debug
.
@xiota I see. It works as well and it builds just fine without requiring a downgrade minizip-ng package. Clang and mold work perfectly as well:
however, I still have the earlier bug of "When built with Clang, everything works fine, except for the fact that adding folders with the option "Search Subfolders" in "Config" crashes Dolphin immediately."
free(): invalid pointer
Aborted
How do I activate a much more verbose debug message or get access to the logs? If this is getting too complex, I could open up a thread on this subject.
Pinned Comments
dpeukert commented on 2020-04-10 12:34 (UTC) (edited on 2020-09-26 17:48 (UTC) by dpeukert)
The PKGBUILD for this package is hosted here (contributions are welcome!): https://gitlab.com/dpeukert/pkgbuilds/tree/main/dolphin-emu-git