Updating pamac-aur-git causes a package conflict

I get this during the upgrade. Libpamac and libpamac-git collide. Do you want to remove libpamac?
If I select yes, the update will run on error. because libpamac is needed to satisfy a package dependency. What to do then?

1 Like

same issue here … it seems libpamac-git is not available only libpamac is shown

Simply remove the old packages first, then install the new ones.

2 Likes

Erh… https://aur.archlinux.org/packages/libpamac-git/

2 Likes

that worked, thank you!

Ok I fixed everything yesterday as @FredBezies suggested and I’m now getting this
I did a sudo pacman -R pamac-aur-git rebooted then i did a yay -S pamac-aur-git

I’m getting the above errors. Any help would be appreciated, thanks!

The Meson build system
Version: 0.60.1
Source dir: /home/christopher67/.cache/yay/pamac-aur-git/src/pamac
Build dir: /home/christopher67/.cache/yay/pamac-aur-git/src/pamac/builddir
Build type: native build
Project name: pamac
Project version: 10.3
C compiler for the host machine: cc (gcc 11.1.0 "cc (GCC) 11.1.0")
C linker for the host machine: cc ld.bfd 2.36.1
Vala compiler for the host machine: valac (valac 0.54.3)
Host machine cpu family: x86_64
Host machine cpu: x86_64
Found pkg-config: /usr/bin/pkg-config (1.8.0)
Program glib-compile-resources found: YES (/usr/bin/glib-compile-resources)
Program glib-compile-resources found: YES (/usr/bin/glib-compile-resources)
Program glib-compile-resources found: YES (/usr/bin/glib-compile-resources)
Found pkg-config: /usr/bin/pkg-config (1.8.0)
Run-time dependency gobject-2.0 found: YES 2.70.1
Run-time dependency gio-2.0 found: YES 2.70.1
Run-time dependency libsoup-2.4 found: YES 2.74.1
Run-time dependency libnotify found: YES 0.7.9
Run-time dependency gio-unix-2.0 found: YES 2.70.1
Dependency pamac found: NO found 11.1 but need: '>=11.2'
Did not find CMake 'cmake'
Found CMake: NO
Run-time dependency pamac found: NO 

../src/meson.build:7:0: ERROR: Invalid version of dependency, need 'pamac' ['>=11.2'] found '11.1'.

A full log can be found at /home/christopher67/.cache/yay/pamac-aur-git/src/pamac/builddir/meson-logs/meson-log.txt
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: pamac-aur-git
[christopher67@EndeavourOS ~]$

It got updated again this morning. Remove pamac-aur-git and any instances of libpamac and/or libpamac-git, and then reinstall pamac-aur-git. That should get proper dependencies installed.

Try sudo pacman -S cmake and then run the install again?

See above. No need to touch cmake.

The best solution to your problem is removing Pamac and never using it again. You’re welcome, now mark my post as the solution. :rofl:

2 Likes

Ok I just did this and now its telling me

The Meson build system
Version: 0.60.1
Source dir: /home/christopher67/.cache/yay/pamac-aur-git/src/pamac
Build dir: /home/christopher67/.cache/yay/pamac-aur-git/src/pamac/builddir
Build type: native build
Project name: pamac
Project version: 10.3
C compiler for the host machine: cc (gcc 11.1.0 "cc (GCC) 11.1.0")
C linker for the host machine: cc ld.bfd 2.36.1
Vala compiler for the host machine: valac (valac 0.54.3)
Host machine cpu family: x86_64
Host machine cpu: x86_64
Found pkg-config: /usr/bin/pkg-config (1.8.0)
Program glib-compile-resources found: YES (/usr/bin/glib-compile-resources)
Program glib-compile-resources found: YES (/usr/bin/glib-compile-resources)
Program glib-compile-resources found: YES (/usr/bin/glib-compile-resources)
Found pkg-config: /usr/bin/pkg-config (1.8.0)
Run-time dependency gobject-2.0 found: YES 2.70.1
Run-time dependency gio-2.0 found: YES 2.70.1
Run-time dependency libsoup-2.4 found: YES 2.74.1
Run-time dependency libnotify found: YES 0.7.9
Run-time dependency gio-unix-2.0 found: YES 2.70.1
Dependency pamac found: NO found 11.1 but need: '>=11.2'
Found CMake: /usr/bin/cmake (3.21.4)
WARNING: CMake Toolchain: Failed to determine CMake compilers state
Run-time dependency pamac found: NO (tried cmake)

../src/meson.build:7:0: ERROR: Invalid version of dependency, need 'pamac' ['>=11.2'] found '11.1'.

A full log can be found at /home/christopher67/.cache/yay/pamac-aur-git/src/pamac/builddir/meson-logs/meson-log.txt
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: pamac-aur-git
[christopher67@EndeavourOS ~]$ 


Hmm do you also have the package extra-cmake-modules installed or no?

I just uninstalled it again and reinstalled …2nd time with a clean build… Hopefully it sorts itself out. :wink:

1 Like

Ok i installed it and looks like same error?

The Meson build system
Version: 0.60.1
Source dir: /home/christopher67/.cache/yay/pamac-aur-git/src/pamac
Build dir: /home/christopher67/.cache/yay/pamac-aur-git/src/pamac/builddir
Build type: native build
Project name: pamac
Project version: 10.3
C compiler for the host machine: cc (gcc 11.1.0 "cc (GCC) 11.1.0")
C linker for the host machine: cc ld.bfd 2.36.1
Vala compiler for the host machine: valac (valac 0.54.3)
Host machine cpu family: x86_64
Host machine cpu: x86_64
Found pkg-config: /usr/bin/pkg-config (1.8.0)
Program glib-compile-resources found: YES (/usr/bin/glib-compile-resources)
Program glib-compile-resources found: YES (/usr/bin/glib-compile-resources)
Program glib-compile-resources found: YES (/usr/bin/glib-compile-resources)
Found pkg-config: /usr/bin/pkg-config (1.8.0)
Run-time dependency gobject-2.0 found: YES 2.70.1
Run-time dependency gio-2.0 found: YES 2.70.1
Run-time dependency libsoup-2.4 found: YES 2.74.1
Run-time dependency libnotify found: YES 0.7.9
Run-time dependency gio-unix-2.0 found: YES 2.70.1
Dependency pamac found: NO found 11.1 but need: '>=11.2'
Found CMake: /usr/bin/cmake (3.21.4)
WARNING: CMake Toolchain: Failed to determine CMake compilers state
Run-time dependency pamac found: NO (tried cmake)

../src/meson.build:7:0: ERROR: Invalid version of dependency, need 'pamac' ['>=11.2'] found '11.1'.

A full log can be found at /home/christopher67/.cache/yay/pamac-aur-git/src/pamac/builddir/meson-logs/meson-log.txt
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: pamac-aur-git
[christopher67@EndeavourOS ~]$ 

Can you post that full log here for users to see? Might be something meson related possibly, not sure.

Failure is not an option… I nuked it. Then did a clean build and voila! pamac-aur-git! :wink:

1 Like

Awesome. :+1:

:scream:
Well, there’s your problem, you should have stopped while you were ahead.

2 Likes
Build started at 2021-11-07T10:34:27.164048
Main binary: /usr/bin/python
Build Options: -Denable-fake-gnome-software=true -Dprefix=/usr -Dsysconfdir=/etc -Dbuildtype=release
Python system: Linux
The Meson build system
Version: 0.60.1
Source dir: /home/christopher67/.cache/yay/pamac-aur-git/src/pamac
Build dir: /home/christopher67/.cache/yay/pamac-aur-git/src/pamac/builddir
Build type: native build
Project name: pamac
Project version: 10.3
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=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -D_FILE_OFFSET_BITS=64 -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now
Sanity check compile stdout:

-----
Sanity check compile stderr:

-----
Running test binary command: /home/christopher67/.cache/yay/pamac-aur-git/src/pamac/builddir/meson-private/sanitycheckc.exe
C compiler for the host machine: cc (gcc 11.1.0 "cc (GCC) 11.1.0")
C linker for the host machine: cc ld.bfd 2.36.1
Running compile:
Working directory:  /tmp/tmpazwekgz_
Command line:  valac /tmp/tmpazwekgz_/testfile.vala -C 

Code:
 class MesonSanityCheck : Object { }
Compiler stdout:
 
Compiler stderr:
 
Vala compiler for the host machine: valac (valac 0.54.3)
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=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -D_FILE_OFFSET_BITS=64 -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now
Sanity check compile stdout:

-----
Sanity check compile stderr:

-----
Running test binary command: /home/christopher67/.cache/yay/pamac-aur-git/src/pamac/builddir/meson-private/sanitycheckc.exe
C compiler for the build machine: cc (gcc 11.1.0 "cc (GCC) 11.1.0")
C linker for the build machine: cc ld.bfd 2.36.1
Using cached compile:
Cached command line:   

Code:
 class MesonSanityCheck : Object { }
Cached compiler stdout:
 
Cached compiler stderr:
 
Vala compiler for the build machine: valac (valac 0.54.3)
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
Pkg-config binary for MachineChoice.BUILD is not cached.
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: /usr/bin/pkg-config (1.8.0)
Determining dependency 'glib-2.0' with pkg-config executable '/usr/bin/pkg-config'
env[PKG_CONFIG_PATH]: 
Called `/usr/bin/pkg-config --modversion glib-2.0` -> 0
2.70.1
env[PKG_CONFIG_PATH]: 
Called `/usr/bin/pkg-config --cflags glib-2.0` -> 0
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
env[PKG_CONFIG_ALLOW_SYSTEM_LIBS]: 1
env[PKG_CONFIG_PATH]: 
Called `/usr/bin/pkg-config --libs glib-2.0` -> 0
-L/usr/lib -lglib-2.0
env[PKG_CONFIG_PATH]: 
Called `/usr/bin/pkg-config --libs glib-2.0` -> 0
-lglib-2.0
Running compile:
Working directory:  /home/christopher67/.cache/yay/pamac-aur-git/src/pamac/builddir/meson-private/tmp6g9bhu8u
Command line:  cc /home/christopher67/.cache/yay/pamac-aur-git/src/pamac/builddir/meson-private/tmp6g9bhu8u/testfile.c -o /home/christopher67/.cache/yay/pamac-aur-git/src/pamac/builddir/meson-private/tmp6g9bhu8u/output.exe -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -D_FILE_OFFSET_BITS=64 -O0 -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now 

Code:
 #include<stdio.h>
        
        int main(void) {
            printf("%ld\n", (long)(sizeof(void *)));
            return 0;
        }
Compiler stdout:
 
Compiler stderr:
 In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdio.h:27,
                 from /home/christopher67/.cache/yay/pamac-aur-git/src/pamac/builddir/meson-private/tmp6g9bhu8u/testfile.c:1:
/usr/include/features.h:397:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
  397 | #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
      |    ^~~~~~~

Program stdout:

8

Program stderr:


Running compile:
Working directory:  /home/christopher67/.cache/yay/pamac-aur-git/src/pamac/builddir/meson-private/tmp_6h_ffww
Command line:  cc /home/christopher67/.cache/yay/pamac-aur-git/src/pamac/builddir/meson-private/tmp_6h_ffww/testfile.c -o /home/christopher67/.cache/yay/pamac-aur-git/src/pamac/builddir/meson-private/tmp_6h_ffww/output.obj -c -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -D_FILE_OFFSET_BITS=64 -O0 --print-search-dirs 

Code:
 
Compiler stdout:
 install: /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/
programs: =/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/:/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/:/usr/lib/gcc/x86_64-pc-linux-gnu/:/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/:/usr/lib/gcc/x86_64-pc-linux-gnu/:/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../x86_64-pc-linux-gnu/bin/x86_64-pc-linux-gnu/11.1.0/:/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../x86_64-pc-linux-gnu/bin/
libraries: =/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/:/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../x86_64-pc-linux-gnu/lib/x86_64-pc-linux-gnu/11.1.0/:/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../x86_64-pc-linux-gnu/lib/../lib/:/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../x86_64-pc-linux-gnu/11.1.0/:/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../lib/:/lib/x86_64-pc-linux-gnu/11.1.0/:/lib/../lib/:/usr/lib/x86_64-pc-linux-gnu/11.1.0/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../x86_64-pc-linux-gnu/lib/:/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../:/lib/:/usr/lib/

Compiler stderr:
 
Program glib-compile-resources found: YES (/usr/bin/glib-compile-resources)
Program glib-compile-resources found: YES (/usr/bin/glib-compile-resources)
Program glib-compile-resources found: YES (/usr/bin/glib-compile-resources)
Pkg-config binary for MachineChoice.HOST is not cached.
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: /usr/bin/pkg-config (1.8.0)
Determining dependency 'gobject-2.0' with pkg-config executable '/usr/bin/pkg-config'
env[PKG_CONFIG_PATH]: 
Called `/usr/bin/pkg-config --modversion gobject-2.0` -> 0
2.70.1
env[PKG_CONFIG_PATH]: 
Called `/usr/bin/pkg-config --cflags gobject-2.0` -> 0
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
env[PKG_CONFIG_ALLOW_SYSTEM_LIBS]: 1
env[PKG_CONFIG_PATH]: 
Called `/usr/bin/pkg-config --libs gobject-2.0` -> 0
-L/usr/lib -lgobject-2.0 -lglib-2.0
env[PKG_CONFIG_PATH]: 
Called `/usr/bin/pkg-config --libs gobject-2.0` -> 0
-lgobject-2.0 -lglib-2.0
Running compile:
Working directory:  /home/christopher67/.cache/yay/pamac-aur-git/src/pamac/builddir/meson-private/tmpaxuqxq_h
Command line:  cc /home/christopher67/.cache/yay/pamac-aur-git/src/pamac/builddir/meson-private/tmpaxuqxq_h/testfile.c -o /home/christopher67/.cache/yay/pamac-aur-git/src/pamac/builddir/meson-private/tmpaxuqxq_h/output.exe -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -D_FILE_OFFSET_BITS=64 -O0 -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now 

Code:
 #include<stdio.h>
        
        int main(void) {
            printf("%ld\n", (long)(sizeof(void *)));
            return 0;
        }
Compiler stdout:
 
Compiler stderr:
 In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdio.h:27,
                 from /home/christopher67/.cache/yay/pamac-aur-git/src/pamac/builddir/meson-private/tmpaxuqxq_h/testfile.c:1:
/usr/include/features.h:397:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
  397 | #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
      |    ^~~~~~~

Program stdout:

8

Program stderr:


Running compile:
Working directory:  /home/christopher67/.cache/yay/pamac-aur-git/src/pamac/builddir/meson-private/tmpj7_s813d
Command line:  cc /home/christopher67/.cache/yay/pamac-aur-git/src/pamac/builddir/meson-private/tmpj7_s813d/testfile.c -o /home/christopher67/.cache/yay/pamac-aur-git/src/pamac/builddir/meson-private/tmpj7_s813d/output.obj -c -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -D_FILE_OFFSET_BITS=64 -O0 --print-search-dirs 

Code:
 
Compiler stdout:
 install: /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/
programs: =/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/:/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/:/usr/lib/gcc/x86_64-pc-linux-gnu/:/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/:/usr/lib/gcc/x86_64-pc-linux-gnu/:/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../x86_64-pc-linux-gnu/bin/x86_64-pc-linux-gnu/11.1.0/:/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../x86_64-pc-linux-gnu/bin/
libraries: =/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/:/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../x86_64-pc-linux-gnu/lib/x86_64-pc-linux-gnu/11.1.0/:/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../x86_64-pc-linux-gnu/lib/../lib/:/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../x86_64-pc-linux-gnu/11.1.0/:/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../lib/:/lib/x86_64-pc-linux-gnu/11.1.0/:/lib/../lib/:/usr/lib/x86_64-pc-linux-gnu/11.1.0/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../x86_64-pc-linux-gnu/lib/:/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../:/lib/:/usr/lib/

Compiler stderr:
 
Run-time dependency gobject-2.0 found: YES 2.70.1
Pkg-config binary for MachineChoice.HOST is cached.
Determining dependency 'gio-2.0' with pkg-config executable '/usr/bin/pkg-config'
env[PKG_CONFIG_PATH]: 
Called `/usr/bin/pkg-config --modversion gio-2.0` -> 0
2.70.1
env[PKG_CONFIG_PATH]: 
Called `/usr/bin/pkg-config --cflags gio-2.0` -> 0
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -I/usr/include/libmount -I/usr/include/blkid
env[PKG_CONFIG_ALLOW_SYSTEM_LIBS]: 1
env[PKG_CONFIG_PATH]: 
Called `/usr/bin/pkg-config --libs gio-2.0` -> 0
-L/usr/lib -lgio-2.0 -lgobject-2.0 -lglib-2.0
env[PKG_CONFIG_PATH]: 
Called `/usr/bin/pkg-config --libs gio-2.0` -> 0
-lgio-2.0 -lgobject-2.0 -lglib-2.0
Run-time dependency gio-2.0 found: YES 2.70.1
Pkg-config binary for MachineChoice.HOST is cached.
Determining dependency 'libsoup-2.4' with pkg-config executable '/usr/bin/pkg-config'
env[PKG_CONFIG_PATH]: 
Called `/usr/bin/pkg-config --modversion libsoup-2.4` -> 0
2.74.1
env[PKG_CONFIG_PATH]: 
Called `/usr/bin/pkg-config --cflags libsoup-2.4` -> 0
-I/usr/include/libsoup-2.4 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/libxml2
env[PKG_CONFIG_ALLOW_SYSTEM_LIBS]: 1
env[PKG_CONFIG_PATH]: 
Called `/usr/bin/pkg-config --libs libsoup-2.4` -> 0
-L/usr/lib -lsoup-2.4 -lgio-2.0 -lgobject-2.0 -lglib-2.0
env[PKG_CONFIG_PATH]: 
Called `/usr/bin/pkg-config --libs libsoup-2.4` -> 0
-lsoup-2.4 -lgio-2.0 -lgobject-2.0 -lglib-2.0
Run-time dependency libsoup-2.4 found: YES 2.74.1
Pkg-config binary for MachineChoice.HOST is cached.
Determining dependency 'libnotify' with pkg-config executable '/usr/bin/pkg-config'
env[PKG_CONFIG_PATH]: 
Called `/usr/bin/pkg-config --modversion libnotify` -> 0
0.7.9
env[PKG_CONFIG_PATH]: 
Called `/usr/bin/pkg-config --cflags libnotify` -> 0
-I/usr/include/gdk-pixbuf-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -pthread
env[PKG_CONFIG_ALLOW_SYSTEM_LIBS]: 1
env[PKG_CONFIG_PATH]: 
Called `/usr/bin/pkg-config --libs libnotify` -> 0
-L/usr/lib -lnotify -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0
env[PKG_CONFIG_PATH]: 
Called `/usr/bin/pkg-config --libs libnotify` -> 0
-lnotify -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0
Run-time dependency libnotify found: YES 0.7.9
Pkg-config binary for MachineChoice.HOST is cached.
Determining dependency 'gio-unix-2.0' with pkg-config executable '/usr/bin/pkg-config'
env[PKG_CONFIG_PATH]: 
Called `/usr/bin/pkg-config --modversion gio-unix-2.0` -> 0
2.70.1
env[PKG_CONFIG_PATH]: 
Called `/usr/bin/pkg-config --cflags gio-unix-2.0` -> 0
-I/usr/include/gio-unix-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -I/usr/include/libmount -I/usr/include/blkid
env[PKG_CONFIG_ALLOW_SYSTEM_LIBS]: 1
env[PKG_CONFIG_PATH]: 
Called `/usr/bin/pkg-config --libs gio-unix-2.0` -> 0
-L/usr/lib -lgio-2.0 -lgobject-2.0 -lglib-2.0
env[PKG_CONFIG_PATH]: 
Called `/usr/bin/pkg-config --libs gio-unix-2.0` -> 0
-lgio-2.0 -lgobject-2.0 -lglib-2.0
Run-time dependency gio-unix-2.0 found: YES 2.70.1
Pkg-config binary for MachineChoice.HOST is cached.
Determining dependency 'pamac' with pkg-config executable '/usr/bin/pkg-config'
env[PKG_CONFIG_PATH]: 
Called `/usr/bin/pkg-config --modversion pamac` -> 0
11.1
env[PKG_CONFIG_PATH]: 
Called `/usr/bin/pkg-config --cflags pamac` -> 0
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/json-glib-1.0 -I/usr/include/libappstream-glib -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/libsoup-2.4 -I/usr/include/libxml2 -pthread
env[PKG_CONFIG_ALLOW_SYSTEM_LIBS]: 1
env[PKG_CONFIG_PATH]: 
Called `/usr/bin/pkg-config --libs pamac` -> 0
-L/usr/lib -lpamac
env[PKG_CONFIG_PATH]: 
Called `/usr/bin/pkg-config --libs pamac` -> 0
-lpamac
Dependency pamac found: NO found 11.1 but need: '>=11.2'
Invalid version of dependency, need 'pamac' ['>=11.2'] found '11.1'.
CMake binary for 1 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.21.4)
Extracting basic cmake information
CMake Toolchain: Calling CMake once to generate the compiler state
Calling CMake (['/usr/bin/cmake']) in /home/christopher67/.cache/yay/pamac-aur-git/src/pamac/builddir/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/christopher67/.cache/yay/pamac-aur-git/src/pamac/builddir/meson-private/__CMake_compiler_info__/CMakeMesonTempToolchainFile.cmake"
  - "."
WARNING: CMake Toolchain: Failed to determine CMake compilers state
Try CMake generator: auto
Calling CMake (['/usr/bin/cmake']) in /home/christopher67/.cache/yay/pamac-aur-git/src/pamac/builddir/meson-private/cmake_pamac with:
  - "--trace-expand"
  - "--trace-format=json-v1"
  - "--no-warn-unused-cli"
  - "--trace-redirect=cmake_trace.txt"
  - "-DCMAKE_TOOLCHAIN_FILE=/home/christopher67/.cache/yay/pamac-aur-git/src/pamac/builddir/meson-private/cmake_pamac/CMakeMesonToolchainFile.cmake"
  - "."
  -- Module search paths:    ['/', '/opt', '/usr', '/usr/local']
  -- CMake root:             /usr/share/cmake-3.21
  -- CMake architectures:    ['libpyldb-util.cpython-39-x86-64-linux-gnu.so', 'libpyldb-util.cpython-39-x86-64-linux-gnu.so.2', 'libpyldb-util.cpython-39-x86-64-linux-gnu.so.2.4.1', 'libpytalloc-util.cpython-39-x86-64-linux-gnu.so', 'libpytalloc-util.cpython-39-x86-64-linux-gnu.so.2', 'libpytalloc-util.cpython-39-x86-64-linux-gnu.so.2.3.3', 'libsamba-policy.cpython-39-x86-64-linux-gnu.so', 'libsamba-policy.cpython-39-x86-64-linux-gnu.so.0', 'libsamba-policy.cpython-39-x86-64-linux-gnu.so.0.0.1']
  -- CMake lib search paths: ['lib', 'lib32', 'lib64', 'libx32', 'share', 'lib/libpyldb-util.cpython-39-x86-64-linux-gnu.so', 'lib/libpyldb-util.cpython-39-x86-64-linux-gnu.so.2', 'lib/libpyldb-util.cpython-39-x86-64-linux-gnu.so.2.4.1', 'lib/libpytalloc-util.cpython-39-x86-64-linux-gnu.so', 'lib/libpytalloc-util.cpython-39-x86-64-linux-gnu.so.2', 'lib/libpytalloc-util.cpython-39-x86-64-linux-gnu.so.2.3.3', 'lib/libsamba-policy.cpython-39-x86-64-linux-gnu.so', 'lib/libsamba-policy.cpython-39-x86-64-linux-gnu.so.0', 'lib/libsamba-policy.cpython-39-x86-64-linux-gnu.so.0.0.1']
Preliminary CMake check failed. Aborting.
Run-time dependency pamac found: NO (tried cmake)

../src/meson.build:7:0: ERROR: Invalid version of dependency, need 'pamac' ['>=11.2'] found '11.1'.

Looks like perhaps you need to remove all of pamac and it’s dependencies, and then try a clean reinstall, that could possibly fix things.

I use pamac-aur, but in your case, try sudo pacman -Rs pamac-aur-git and it should remove libpamac-aur-git and pamac-aur-git. Then try updating your system really quick yay or sudo pacman -Syu and then trying to do a clean install.

This is what it’ll look like when you -Rs to remove a package and the dependencies:

[scott@endeavourOS ~]$ sudo pacman -Rs pamac-aur
checking dependencies...

Package (2)   Old Version  Net Change

libpamac-aur  11.1.3-2      -3.40 MiB
pamac-aur     10.2.2-3      -0.89 MiB

Total Removed Size:  4.29 MiB

:: Do you want to remove these packages? [Y/n]