Not building in a clean chroot here, also getting /usr/bin/ld: /usr/lib/libGLEW.so: error adding symbols: file in wrong format
Search Criteria
Package Details: mangohud-git 0.7.2.r110.g24d3cd9-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/mangohud-git.git (read-only, click to copy) |
---|---|
Package Base: | mangohud-git |
Description: | A Vulkan overlay layer for monitoring FPS, temperatures, CPU/GPU load and more |
Upstream URL: | https://github.com/flightlessmango/MangoHud |
Keywords: | benchmark hud opengl overlay performance vulkan |
Licenses: | MIT |
Conflicts: | mangoapp, mangohud, mangohud-common-git |
Provides: | mangoapp, mangohud |
Replaces: | mangoapp |
Submitter: | dnmodder |
Maintainer: | dnmodder (jackun) |
Last Packager: | dnmodder |
Votes: | 25 |
Popularity: | 0.36 |
First Submitted: | 2020-02-06 22:40 (UTC) |
Last Updated: | 2024-12-08 18:34 (UTC) |
Dependencies (27)
- gcc-libs (gcc-libs-gitAUR, gccrs-libs-gitAUR, gcc11-libsAUR, gcc-libs-snapshotAUR)
- glew (glew-libepoxyAUR, glew-waylandAUR, glew-osmesa-gitAUR, glew-wayland-gitAUR, glew-gitAUR)
- glfw (glfw-wayland-minecraft-cursorfixAUR, glfw-gitAUR)
- glibc (glibc-gitAUR, glibc-linux4AUR, glibc-eacAUR, glibc-eac-binAUR, glibc-eac-rocoAUR)
- hicolor-icon-theme (hicolor-icon-theme-gitAUR)
- libglvnd (libglvnd-gitAUR)
- libx11 (libx11-gitAUR)
- libxkbcommon (libxkbcommon-gitAUR)
- python (python37AUR, python311AUR, python310AUR)
- python-matplotlib (python-matplotlib-gitAUR)
- python-numpy (python-numpy-flameAUR, python-numpy-gitAUR, python-numpy1AUR, python-numpy-mkl-binAUR, python-numpy-mklAUR, python-numpy-mkl-tbbAUR)
- sh (dashbinshAUR, bash-devel-static-gitAUR, zshbinshAUR, bash-devel-gitAUR, busybox-coreutilsAUR, bash-gitAUR, bash)
- wayland (wayland-gitAUR, wayland-asan-gitAUR, wayland-chromiumAUR)
- appstream (make)
- cmocka (cmocka-gitAUR) (make)
- dbus (dbus-gitAUR, dbus-selinuxAUR) (make)
- git (git-gitAUR, git-glAUR) (make)
- glslang (glslang-gitAUR) (make)
- libxnvctrl (libxnvctrl-430xxAUR, libxnvctrl-340xxAUR, libxnvctrl-390xxAUR, libxnvctrl-525xxAUR, libxnvctrl-510xxAUR, libxnvctrl-470xxAUR, libxnvctrl-535xxAUR) (make)
- libxrandr (libxrandr-gitAUR) (make)
- Show 7 more dependencies...
Required by (28)
- an-anime-borb-launcher-bin (requires mangohud) (optional)
- an-anime-game-launcher (requires mangohud) (optional)
- an-anime-game-launcher-bin (requires mangohud) (optional)
- an-anime-game-launcher-bwrap (requires mangohud) (optional)
- an-anime-game-launcher-patched-git (requires mangohud) (optional)
- anime-games-launcher (requires mangohud) (optional)
- anime-games-launcher-bin (requires mangohud) (optional)
- anime-games-launcher-git (requires mangohud) (optional)
- arch-gaming-meta (requires mangohud)
- gamescope-nvidia (requires mangohud) (optional)
- gamescope-nvidia-git (requires mangohud) (optional)
- gamescope-session-git (requires mangohud) (optional)
- goverlay-git (requires mangohud)
- honkers-launcher (requires mangohud) (optional)
- honkers-launcher-bin (requires mangohud) (optional)
- lutris-git (requires mangohud) (optional)
- mangojuice (requires mangohud) (make)
- raytracinginvulkan-git (requires mangohud)
- sleepy-launcher (requires mangohud) (optional)
- sleepy-launcher-bin (requires mangohud) (optional)
- Show 8 more...
Sources (1)
XenHat commented on 2023-01-13 20:24 (UTC)
MithicSpirit commented on 2023-01-11 13:28 (UTC)
Getting a similar issue, but mine is failing earlier (at glew
). Likely due to me building in a clean chroot.
dnmodder commented on 2023-01-11 11:39 (UTC)
I'll try to fix it today.
pkr commented on 2023-01-11 10:05 (UTC) (edited on 2023-01-11 10:07 (UTC) by pkr)
Hi, current version is not building. I'm suspecting the listing of a dependency is missing somewhere. At least this is what the error message suggests.
Take a look:
imgui| C++ compiler for the host machine: c++ (gcc 12.2.0 "c++ (GCC) 12.2.0")
imgui| C++ linker for the host machine: c++ ld.bfd 2.39.0
imgui| Library d3d9 skipped: feature dx9 disabled
imgui| Library d3d10 skipped: feature dx10 disabled
imgui| Library d3d11 skipped: feature dx11 disabled
imgui| Library d3d12 skipped: feature dx12 disabled
imgui| Library metal skipped: feature metal disabled
imgui| Run-time dependency glew found: YES 2.2.0
imgui| Dependency vulkan skipped: feature vulkan disabled
imgui| Found CMake: /usr/bin/cmake (3.25.1)
imgui| Run-time dependency glfw3 found: NO (tried pkgconfig and cmake)
mangohud/subprojects/imgui-1.81/meson.build:50:0: ERROR: Dependency "glfw3" not found, tried pkgconfig and cmake
italoghost commented on 2023-01-10 17:53 (UTC)
Hi! Since latest commits, MangoApp is being installed by default. Could you add it to the package too? It is useful for launching games with gamescope.
Samsagax commented on 2022-11-30 12:20 (UTC)
Thanks @dnmodder. Maybe take inspiration from stable mangohud
and lib32-mangohud
packages. They are split
dnmodder commented on 2022-11-28 01:47 (UTC)
@Samsagax I was trying but I think I'm going to separate this package in two, this one for 64 bits only and I'll create another one for 32 bits.
Samsagax commented on 2022-11-27 18:24 (UTC)
Hello. Could you add mangoapp to the build? Would be nice to have mangoapp-git alongside mangohud-git
dnmodder commented on 2022-07-14 16:10 (UTC)
@jackun I don't have much time lately to review this, I made you co-manager.
jackun commented on 2022-07-14 14:49 (UTC) (edited on 2022-07-14 15:29 (UTC) by jackun)
Updated master to use meson 0.60 install_tag
. Uses mostly default tags except scripts
for mangohud
shell script and mangoapp
for mangoapp stuff.
diff --git a/PKGBUILD b/PKGBUILD
index be438e2..bfd9c16 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -51,8 +51,7 @@ package_mangohud-git() {
optdepends=('bash: mangohud helper script'
'libxnvctrl: support for older NVIDIA GPUs')
- DESTDIR="$pkgdir" ninja -C build64 install
- rm -r "$pkgdir/usr/bin" "$pkgdir/usr/share/doc" "$pkgdir/usr/share/man" "$pkgdir/usr/share/vulkan/implicit_layer.d/libMangoApp.json"
+ meson install --destdir="$pkgdir" -C build64 --tags runtime
}
package_lib32-mangohud-git() {
@@ -63,8 +62,7 @@ package_lib32-mangohud-git() {
replaces=('lib32-vulkan-mesa-layer-mango')
optdepends=('lib32-libxnvctrl: support for older NVIDIA GPUs')
- DESTDIR="$pkgdir" ninja -C build32 install
- rm -r "$pkgdir/usr/bin" "$pkgdir/usr/share/doc" "$pkgdir/usr/share/man" "$pkgdir/usr/share/vulkan/implicit_layer.d/libMangoApp.json"
+ meson install --destdir="$pkgdir" -C build32 --tags runtime
mv "$pkgdir/usr/share/vulkan/implicit_layer.d/MangoHud.json" "$pkgdir/usr/share/vulkan/implicit_layer.d/MangoHud.x86.json"
}
@@ -73,8 +71,7 @@ package_mangohud-common-git() {
conflicts=('mangohud-common')
provides=("mangohud-common=$pkgver")
- DESTDIR="$pkgdir" ninja -C build64 install
- rm -r "$pkgdir/usr/lib" "$pkgdir/usr/share/vulkan"
+ meson install --destdir="$pkgdir" -C build64 --tags man,doc,scripts
install -Dm664 "$_pkgbase/LICENSE" "$pkgdir/usr/share/licenses/$_pkgbase/LICENSE"
}
Maybe mangohud-control
too... (argh, needs separate build() too i guess)
build() {
...
python -m build --wheel --no-isolation "$_pkgbase/control"
...
}
package_mangohud-control-git() {
pkgdesc='A Vulkan overlay layer for monitoring FPS, temperatures, CPU/GPU load and more'
conflicts=('mangohud-control')
provides=("mangohud-control=$pkgver")
python -m installer --destdir="$pkgdir" "$_pkgbase"/control/dist/*.whl
}
Pinned Comments
d-air1 commented on 2024-05-21 03:05 (UTC)
Can whoever keeps flagging this out of date state why? This package is installing its own version of imgui and implot is not required. This package builds just fine without it. If for some reason you need that then can you have a discussion with the maintainer of the package instead of having everyone who uses this package get messages about it being out of date for the same reasons when it works just fine.