You are not logged in.

#51 2024-12-01 22:09:54

Nima0908
Member
Registered: 2024-06-06
Posts: 33

Re: [Solved] Problem with switching to aurutils from yay

Oh, thanks, i was dumb again. I forgot that after building the package you still need to install it . I thought of it before but as ive seen that anki is a package from the official repository i thought it will just install it from there.
Thanks again for your help, i would have searched for the problem for a long time smile

Offline

#52 2024-12-02 16:07:51

Nima0908
Member
Registered: 2024-06-06
Posts: 33

Re: [Solved] Problem with switching to aurutils from yay

*Sight* Its me again (i feel so dumb now reopening the thread for the third or forth time).
After it seemed to work i thought i reinstall all of my aur packages so they are also found in the aur.db file. I used:

sudo pacman -Qm | awk '{print $1}' | xargs aur sync

and what do you know, i ran into a new problem. When building the libva-nvidia-driver-git file it fails to locate the run-time dependency egl which should normally be provided by mesa or libglvnd library as i use nvidia.
Log:

Build started at 2024-12-02T17:01:00.383733
Main binary: /usr/bin/python
Build Options: -Db_pie=true -Dpython.bytecompile=1 -Dprefix=/usr -Dlibexecdir=lib -Dsbindir=bin -Dauto_features=enabled -Dbuildtype=plain -Dwrap_mode=nodownload
Python system: Linux
The Meson build system
Version: 1.6.0
Source dir: /home/marius/.cache/aurutils/sync/libva-nvidia-driver-git/src/libva-nvidia-driver-git
Build dir: /home/marius/.cache/aurutils/sync/libva-nvidia-driver-git/src/libva-nvidia-driver-git/build
Build type: native build
Project name: nvidia-vaapi-driver
Project version: 0.1
-----------
Detecting compiler via: `cc --version` -> 0
stdout:
cc (GCC) 14.2.1 20240910
Copyright (C) 2024 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-----------
Running command: -cpp -x c -E -dM -
-----
-----------
Detecting linker via: `cc -Wl,--version -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-z,pack-relative-relocs -flto=auto -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ffile-prefix-map=/home/marius/.cache/aurutils/sync/libva-nvidia-driver-git/src=/usr/src/debug/libva-nvidia-driver-git -flto=auto` -> 0
stdout:
GNU ld (GNU Binutils) 2.43.0
Copyright (C) 2024 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License version 3 or (at your option) a later version.
This program has absolutely no warranty.
-----------
stderr:
collect2 version 14.2.1 20240910
/usr/bin/ld -plugin /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/lto-wrapper -plugin-opt=-fresolution=/tmp/ccCNyQA3.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s --build-id --eh-frame-hdr --hash-style=gnu -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -pie /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../lib/Scrt1.o /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../lib/crti.o /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/crtbeginS.o -L/usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1 -L/usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../lib -L/lib/../lib -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/../../.. --version -O1 --sort-common --as-needed -z relro -z now -z pack-relative-relocs -lgcc --push-state --as-needed -lgcc_s --pop-state -lc -lgcc --push-state --as-needed -lgcc_s --pop-state /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/crtendS.o /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../lib/crtn.o
-----------
Sanity testing C compiler: cc
Is cross compiler: False.
Sanity check compiler command line: cc sanitycheckc.c -o sanitycheckc.exe -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ffile-prefix-map=/home/marius/.cache/aurutils/sync/libva-nvidia-driver-git/src=/usr/src/debug/libva-nvidia-driver-git -flto=auto -D_FILE_OFFSET_BITS=64 -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-z,pack-relative-relocs
Sanity check compile stdout:

-----
Sanity check compile stderr:

-----
Running test binary command:  /home/marius/.cache/aurutils/sync/libva-nvidia-driver-git/src/libva-nvidia-driver-git/build/meson-private/sanitycheckc.exe
C compiler for the host machine: cc (gcc 14.2.1 "cc (GCC) 14.2.1 20240910")
C linker for the host machine: cc ld.bfd 2.43.0
-----------
Detecting archiver via: `gcc-ar --version` -> 0
stdout:
GNU ar (GNU Binutils) 2.43.0
Copyright (C) 2024 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License version 3 or (at your option) any later version.
This program has absolutely no warranty.
-----------
-----------
Detecting compiler via: `cc --version` -> 0
stdout:
cc (GCC) 14.2.1 20240910
Copyright (C) 2024 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-----------
Running command: -cpp -x c -E -dM -
-----
-----------
Detecting linker via: `cc -Wl,--version -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-z,pack-relative-relocs -flto=auto -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ffile-prefix-map=/home/marius/.cache/aurutils/sync/libva-nvidia-driver-git/src=/usr/src/debug/libva-nvidia-driver-git -flto=auto` -> 0
stdout:
GNU ld (GNU Binutils) 2.43.0
Copyright (C) 2024 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License version 3 or (at your option) a later version.
This program has absolutely no warranty.
-----------
stderr:
collect2 version 14.2.1 20240910
/usr/bin/ld -plugin /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/lto-wrapper -plugin-opt=-fresolution=/tmp/ccU0lWhX.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s --build-id --eh-frame-hdr --hash-style=gnu -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -pie /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../lib/Scrt1.o /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../lib/crti.o /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/crtbeginS.o -L/usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1 -L/usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../lib -L/lib/../lib -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/../../.. --version -O1 --sort-common --as-needed -z relro -z now -z pack-relative-relocs -lgcc --push-state --as-needed -lgcc_s --pop-state -lc -lgcc --push-state --as-needed -lgcc_s --pop-state /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/crtendS.o /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../lib/crtn.o
-----------
Sanity testing C compiler: cc
Is cross compiler: False.
Sanity check compiler command line: cc sanitycheckc.c -o sanitycheckc.exe -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ffile-prefix-map=/home/marius/.cache/aurutils/sync/libva-nvidia-driver-git/src=/usr/src/debug/libva-nvidia-driver-git -flto=auto -D_FILE_OFFSET_BITS=64 -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-z,pack-relative-relocs
Sanity check compile stdout:

-----
Sanity check compile stderr:

-----
Running test binary command:  /home/marius/.cache/aurutils/sync/libva-nvidia-driver-git/src/libva-nvidia-driver-git/build/meson-private/sanitycheckc.exe
C compiler for the build machine: cc (gcc 14.2.1 "cc (GCC) 14.2.1 20240910")
C linker for the build machine: cc ld.bfd 2.43.0
-----------
Detecting archiver via: `gcc-ar --version` -> 0
stdout:
GNU ar (GNU Binutils) 2.43.0
Copyright (C) 2024 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License version 3 or (at your option) any later version.
This program has absolutely no warranty.
-----------
Build machine cpu family: x86_64
Build machine cpu: x86_64
Host machine cpu family: x86_64
Host machine cpu: x86_64
Target machine cpu family: x86_64
Target machine cpu: x86_64
Running compile:
Working directory:  /home/marius/.cache/aurutils/sync/libva-nvidia-driver-git/src/libva-nvidia-driver-git/build/meson-private/tmpmu5g9io8
Code:
int main(void) { return 0; }

-----------
Command line: `cc /home/marius/.cache/aurutils/sync/libva-nvidia-driver-git/src/libva-nvidia-driver-git/build/meson-private/tmpmu5g9io8/testfile.c -o /home/marius/.cache/aurutils/sync/libva-nvidia-driver-git/src/libva-nvidia-driver-git/build/meson-private/tmpmu5g9io8/output.exe -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ffile-prefix-map=/home/marius/.cache/aurutils/sync/libva-nvidia-driver-git/src=/usr/src/debug/libva-nvidia-driver-git -flto=auto -D_FILE_OFFSET_BITS=64 -O0 -lm -Wl,--allow-shlib-undefined -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-z,pack-relative-relocs` -> 0
Library m found: YES
Running compile:
Working directory:  /home/marius/.cache/aurutils/sync/libva-nvidia-driver-git/src/libva-nvidia-driver-git/build/meson-private/tmp1c_5f72i
Code:
int main(void) { return 0; }

-----------
Command line: `cc /home/marius/.cache/aurutils/sync/libva-nvidia-driver-git/src/libva-nvidia-driver-git/build/meson-private/tmp1c_5f72i/testfile.c -o /home/marius/.cache/aurutils/sync/libva-nvidia-driver-git/src/libva-nvidia-driver-git/build/meson-private/tmp1c_5f72i/output.exe -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ffile-prefix-map=/home/marius/.cache/aurutils/sync/libva-nvidia-driver-git/src=/usr/src/debug/libva-nvidia-driver-git -flto=auto -D_FILE_OFFSET_BITS=64 -O0 -ldl -Wl,--allow-shlib-undefined -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-z,pack-relative-relocs` -> 0
Library dl found: YES
Pkg-config binary missing from cross or native file, or env var undefined.
Trying a default Pkg-config fallback at pkg-config
Found pkg-config: YES (/home/linuxbrew/.linuxbrew/bin/pkg-config) 0.29.2
Determining dependency 'egl' with pkg-config executable '/home/linuxbrew/.linuxbrew/bin/pkg-config'
env[PKG_CONFIG_PATH]: 
env[PKG_CONFIG]: /home/linuxbrew/.linuxbrew/bin/pkg-config
-----------
Called: `/home/linuxbrew/.linuxbrew/bin/pkg-config --modversion egl` -> 1
stderr:
Package egl was not found in the pkg-config search path.
Perhaps you should add the directory containing `egl.pc'
to the PKG_CONFIG_PATH environment variable
No package 'egl' found
-----------
CMake binary for host machine is not cached
CMake binary missing from cross or native file, or env var undefined.
Trying a default CMake fallback at cmake
Found CMake: /usr/bin/cmake (3.31.1)
Extracting basic cmake information
CMake Toolchain: Calling CMake once to generate the compiler state
Calling CMake (['/usr/bin/cmake']) in /home/marius/.cache/aurutils/sync/libva-nvidia-driver-git/src/libva-nvidia-driver-git/build/meson-private/__CMake_compiler_info__ with:
  - "--trace-expand"
  - "--trace-format=json-v1"
  - "--no-warn-unused-cli"
  - "--trace-redirect=cmake_trace.txt"
  - "-G"
  - "Ninja"
  - "-DCMAKE_TOOLCHAIN_FILE=/home/marius/.cache/aurutils/sync/libva-nvidia-driver-git/src/libva-nvidia-driver-git/build/meson-private/__CMake_compiler_info__/CMakeMesonTempToolchainFile.cmake"
  - "."
Try CMake generator: auto
Calling CMake (['/usr/bin/cmake']) in /home/marius/.cache/aurutils/sync/libva-nvidia-driver-git/src/libva-nvidia-driver-git/build/meson-private/cmake_egl with:
  - "--trace-expand"
  - "--trace-format=json-v1"
  - "--no-warn-unused-cli"
  - "--trace-redirect=cmake_trace.txt"
  - "-DCMAKE_TOOLCHAIN_FILE=/home/marius/.cache/aurutils/sync/libva-nvidia-driver-git/src/libva-nvidia-driver-git/build/meson-private/cmake_egl/CMakeMesonToolchainFile.cmake"
  - "."
  -- Module search paths:    ['/', '/opt', '/usr', '/usr/local']
  -- CMake root:             /usr/share/cmake
  -- CMake architectures:    ['libpytalloc-util.cpython-312-x86-64-linux-gnu.so', 'libpytalloc-util.cpython-312-x86-64-linux-gnu.so.2', 'libpytalloc-util.cpython-312-x86-64-linux-gnu.so.2.4.2']
  -- CMake lib search paths: ['lib', 'lib32', 'lib64', 'libx32', 'share', '', 'lib/libpytalloc-util.cpython-312-x86-64-linux-gnu.so', 'lib/libpytalloc-util.cpython-312-x86-64-linux-gnu.so.2', 'lib/libpytalloc-util.cpython-312-x86-64-linux-gnu.so.2.4.2']
Preliminary CMake check failed. Aborting.
Run-time dependency egl found: NO (tried pkgconfig and cmake)

meson.build:19:4: ERROR: Dependency "egl" not found, tried pkgconfig and cmake

Offline

#53 2024-12-02 16:45:15

seth
Member
Registered: 2012-09-03
Posts: 59,882

Re: [Solved] Problem with switching to aurutils from yay

https://aur.archlinux.org/packages/libv … driver-git depends on libegl, which is eg. provided by libglvnd.
The entire thing breaks at

meson.build:19:4: ERROR: Dependency "egl" not found, tried pkgconfig and cmake
pkg-config --modversion egl

Edit: this is probably not related to aurutils, please avoifd shopping list threads, if you struggle w/ building this particular package, please open a new thread and also try to manually buid it w/ makepkg.

Last edited by seth (2024-12-02 16:46:18)

Offline

#54 2024-12-02 16:57:14

Nima0908
Member
Registered: 2024-06-06
Posts: 33

Re: [Solved] Problem with switching to aurutils from yay

Sorry, i just didnt feel like opening a new thread for such a simple problem. Thanks for your help, i was able to fix it. The egl path was just missing from the PKG_CONFIG_PATH

Offline

Board footer

Powered by FluxBB