jonaburg / picom

A lightweight compositor for X11 (previously a compton fork)
Other
956 stars 99 forks source link

Mason can't find Pkg-config #32

Closed 0xDagal closed 3 years ago

0xDagal commented 3 years ago

Platform

Manjaro Linux x86_64

GPU, drivers, and screen setup

NVIDIA Quadro T2000 Mobile / Max-Q only one screen the : the one of my laptop (Dell Precision 5540), resolution 1920x1090.

Environment

WM: awesome

Steps of reproduction

yay -S picom-jonaburg-git

OR

git clone https://github.com/jonaburg/picom
cd picom
meson --buildtype=release . build
ninja -C build
# To install the binaries in /usr/local/bin (optional)
sudo ninja -C build install

Expected behavior

Installing picom

Current Behavior

Crashs while installing

Stack trace

The Meson build system
Version: 0.56.0
Source dir: /home/dagal/.cache/yay/picom-jonaburg-git/src/picom
Build dir: /home/dagal/.cache/yay/picom-jonaburg-git/src/picom/build
Build type: native build
Project name: picom
Project version: 7
Using 'CFLAGS' from environment with value: '-march=x86-64 -mtune=generic -O2 -pipe -fno-plt'
Using 'LDFLAGS' from environment with value: '-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now'
Using 'CPPFLAGS' from environment with value: '-D_FORTIFY_SOURCE=2'
C compiler for the host machine: cc (gcc 10.2.0 "cc (GCC) 10.2.0")
C linker for the host machine: cc ld.bfd 2.35.1
Using 'CFLAGS' from environment with value: '-march=x86-64 -mtune=generic -O2 -pipe -fno-plt'
Using 'LDFLAGS' from environment with value: '-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now'
Using 'CPPFLAGS' from environment with value: '-D_FORTIFY_SOURCE=2'
Host machine cpu family: x86_64
Host machine cpu: x86_64
Program git found: YES (/usr/bin/git)
Has header "stdc-predef.h" : YES
Compiler for C supports arguments -Wall: YES
meson.build:63: WARNING: Consider using the built-in warning_level option instead of using "-Wall".
Compiler for C supports arguments -Wcast-function-type: YES
Compiler for C supports arguments -Wignored-qualifiers: YES
Compiler for C supports arguments -Wmissing-parameter-type: YES
Compiler for C supports arguments -Wnonnull: YES
Compiler for C supports arguments -Wshadow: YES
Compiler for C supports arguments -Wno-type-limits: YES
Compiler for C supports arguments -Wold-style-declaration: YES
Compiler for C supports arguments -Woverride-init: YES
Compiler for C supports arguments -Wsign-compare: YES
Compiler for C supports arguments -Wtype-limits: YES
Compiler for C supports arguments -Wuninitialized: YES
Compiler for C supports arguments -Wshift-negative-value: YES
Compiler for C supports arguments -Wunused-but-set-parameter: YES
Compiler for C supports arguments -Wunused-parameter: YES
Compiler for C supports arguments -Wimplicit-fallthrough: YES
Compiler for C supports arguments -Wno-unknown-warning-option: NO
Compiler for C supports arguments -Wno-missing-braces: YES
Compiler for C supports arguments -Wconversion: YES
Compiler for C supports arguments -Wempty-body: YES

|Executing subproject test.h method meson
|
|Project name: test.h
|Project version: undefined
|C compiler for the host machine: cc (gcc 10.2.0 "cc (GCC) 10.2.0")
|C linker for the host machine: cc ld.bfd 2.35.1
|Build targets in project: 0
|Subproject test.h finished.

Did not find pkg-config by name 'pkg-config'
Found Pkg-config: NO
Found CMake: /usr/bin/cmake (3.19.2)
Run-time dependency libev found: NO (tried pkgconfig and cmake)
Library ev found: YES
Library m found: YES
Run-time dependency x11 found: NO (tried cmake)

src/meson.build:27:1: ERROR: Pkg-config binary for machine MachineChoice.HOST not found. Giving up.

A full log can be found at /home/dagal/.cache/yay/picom-jonaburg-git/src/picom/build/meson-logs/meson-log.txt

==> ERREUR : Une erreur s’est produite dans build().
    Abandon…
erreur lors de la construction : picom-jonaburg-git

meson-log.tx


Build started at 2021-01-07T11:22:15.196052
Main binary: /usr/bin/python
Build Options: -Dwith_docs=true -Dprefix=/usr -Dbuildtype=release
Python system: Linux
The Meson build system
Version: 0.56.0
Source dir: /home/dagal/.cache/yay/picom-jonaburg-git/src/picom
Build dir: /home/dagal/.cache/yay/picom-jonaburg-git/src/picom/build
Build type: native build
Project name: picom
Project version: 7
None of 'CC' are defined in the environment, not changing global flags.
Using 'CFLAGS' from environment with value: '-march=x86-64 -mtune=generic -O2 -pipe -fno-plt'
Using 'LDFLAGS' from environment with value: '-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now'
Using 'CPPFLAGS' from environment with value: '-D_FORTIFY_SOURCE=2'
None of 'CC_LD' are defined in the environment, not changing global flags.
Sanity testing C compiler: cc
Is cross compiler: False.
None of 'CC_LD' are defined in the environment, not changing global flags.
Sanity check compiler command line: cc /home/dagal/.cache/yay/picom-jonaburg-git/src/picom/build/meson-private/sanitycheckc.c -o /home/dagal/.cache/yay/picom-jonaburg-git/src/picom/build/meson-private/sanitycheckc.exe -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -D_FORTIFY_SOURCE=2 -pipe -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/dagal/.cache/yay/picom-jonaburg-git/src/picom/build/meson-private/sanitycheckc.exe
C compiler for the host machine: cc (gcc 10.2.0 "cc (GCC) 10.2.0")
C linker for the host machine: cc ld.bfd 2.35.1
None of 'AR' are defined in the environment, not changing global flags.
None of 'CC' are defined in the environment, not changing global flags.
Using 'CFLAGS' from environment with value: '-march=x86-64 -mtune=generic -O2 -pipe -fno-plt'
Using 'LDFLAGS' from environment with value: '-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now'
Using 'CPPFLAGS' from environment with value: '-D_FORTIFY_SOURCE=2'
None of 'CC_LD' are defined in the environment, not changing global flags.
Sanity testing C compiler: cc
Is cross compiler: False.
None of 'CC_LD' are defined in the environment, not changing global flags.
Sanity check compiler command line: cc /home/dagal/.cache/yay/picom-jonaburg-git/src/picom/build/meson-private/sanitycheckc.c -o /home/dagal/.cache/yay/picom-jonaburg-git/src/picom/build/meson-private/sanitycheckc.exe -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -D_FORTIFY_SOURCE=2 -pipe -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/dagal/.cache/yay/picom-jonaburg-git/src/picom/build/meson-private/sanitycheckc.exe
C compiler for the build machine: cc (gcc 10.2.0 "cc (GCC) 10.2.0")
C linker for the build machine: cc ld.bfd 2.35.1
None of 'AR' are defined in the environment, not changing global flags.
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
Program git found: YES (/usr/bin/git)
Running command: /usr/bin/git rev-parse --short=5 HEAD
--- stdout ---
a8445

--- stderr ---

Running compile:
Working directory:  /home/dagal/.cache/yay/picom-jonaburg-git/src/picom/build/meson-private/tmpfh2ltrwb
Command line:  cc /home/dagal/.cache/yay/picom-jonaburg-git/src/picom/build/meson-private/tmpfh2ltrwb/testfile.c -pipe -E -P -march=x86-64 -mtune=generic -O2 -fno-plt -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -P -O0 -std=c11

Code:

        #ifdef __has_include
         #if !__has_include("stdc-predef.h")
          #error "Header 'stdc-predef.h' could not be found"
         #endif
        #else
         #include <stdc-predef.h>
        #endif
Compiler stdout:

Compiler stderr:

Has header "stdc-predef.h" : YES
Running compile:
Working directory:  /home/dagal/.cache/yay/picom-jonaburg-git/src/picom/build/meson-private/tmpc0gouj7s
Command line:  cc /home/dagal/.cache/yay/picom-jonaburg-git/src/picom/build/meson-private/tmpc0gouj7s/testfile.c -o /home/dagal/.cache/yay/picom-jonaburg-git/src/picom/build/meson-private/tmpc0gouj7s/output.obj -pipe -c -march=x86-64 -mtune=generic -O2 -fno-plt -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -O0 -Wall

Code:
 extern int i;
int i;

Compiler stdout:

Compiler stderr:

Compiler for C supports arguments -Wall: YES
meson.build:63: WARNING: Consider using the built-in warning_level option instead of using "-Wall".
Running compile:
Working directory:  /home/dagal/.cache/yay/picom-jonaburg-git/src/picom/build/meson-private/tmpw7lvvvof
Command line:  cc /home/dagal/.cache/yay/picom-jonaburg-git/src/picom/build/meson-private/tmpw7lvvvof/testfile.c -o /home/dagal/.cache/yay/picom-jonaburg-git/src/picom/build/meson-private/tmpw7lvvvof/output.obj -pipe -c -march=x86-64 -mtune=generic -O2 -fno-plt -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -O0 -Wcast-function-type

Code:
 extern int i;
int i;

Compiler stdout:

Compiler stderr:

Compiler for C supports arguments -Wcast-function-type: YES
Running compile:
Working directory:  /home/dagal/.cache/yay/picom-jonaburg-git/src/picom/build/meson-private/tmp4fb80mcj
Command line:  cc /home/dagal/.cache/yay/picom-jonaburg-git/src/picom/build/meson-private/tmp4fb80mcj/testfile.c -o /home/dagal/.cache/yay/picom-jonaburg-git/src/picom/build/meson-private/tmp4fb80mcj/output.obj -pipe -c -march=x86-64 -mtune=generic -O2 -fno-plt -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -O0 -Wignored-qualifiers

Code:
 extern int i;
int i;

Compiler stdout:

Compiler stderr:

Compiler for C supports arguments -Wignored-qualifiers: YES
Running compile:
Working directory:  /home/dagal/.cache/yay/picom-jonaburg-git/src/picom/build/meson-private/tmp08b1b5yk
Command line:  cc /home/dagal/.cache/yay/picom-jonaburg-git/src/picom/build/meson-private/tmp08b1b5yk/testfile.c -o /home/dagal/.cache/yay/picom-jonaburg-git/src/picom/build/meson-private/tmp08b1b5yk/output.obj -pipe -c -march=x86-64 -mtune=generic -O2 -fno-plt -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -O0 -Wmissing-parameter-type

Code:
 extern int i;
int i;

Compiler stdout:

Compiler stderr:

Compiler for C supports arguments -Wmissing-parameter-type: YES
Running compile:
Working directory:  /home/dagal/.cache/yay/picom-jonaburg-git/src/picom/build/meson-private/tmpdwhulg1p
Command line:  cc /home/dagal/.cache/yay/picom-jonaburg-git/src/picom/build/meson-private/tmpdwhulg1p/testfile.c -o /home/dagal/.cache/yay/picom-jonaburg-git/src/picom/build/meson-private/tmpdwhulg1p/output.obj -pipe -c -march=x86-64 -mtune=generic -O2 -fno-plt -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -O0 -Wnonnull

Code:
 extern int i;
int i;

Compiler stdout:

Compiler stderr:

Compiler for C supports arguments -Wnonnull: YES
Running compile:
Working directory:  /home/dagal/.cache/yay/picom-jonaburg-git/src/picom/build/meson-private/tmpsbw_450s
Command line:  cc /home/dagal/.cache/yay/picom-jonaburg-git/src/picom/build/meson-private/tmpsbw_450s/testfile.c -o /home/dagal/.cache/yay/picom-jonaburg-git/src/picom/build/meson-private/tmpsbw_450s/output.obj -pipe -c -march=x86-64 -mtune=generic -O2 -fno-plt -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -O0 -Wshadow

Code:
 extern int i;
int i;

Compiler stdout:

Compiler stderr:

Compiler for C supports arguments -Wshadow: YES
Running compile:
Working directory:  /home/dagal/.cache/yay/picom-jonaburg-git/src/picom/build/meson-private/tmp2ye840o8
Command line:  cc /home/dagal/.cache/yay/picom-jonaburg-git/src/picom/build/meson-private/tmp2ye840o8/testfile.c -o /home/dagal/.cache/yay/picom-jonaburg-git/src/picom/build/meson-private/tmp2ye840o8/output.obj -pipe -c -march=x86-64 -mtune=generic -O2 -fno-plt -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -O0 -Wtype-limits -Wno-type-limits

Code:
 extern int i;
int i;

Compiler stdout:

Compiler stderr:

Compiler for C supports arguments -Wno-type-limits: YES
Running compile:
Working directory:  /home/dagal/.cache/yay/picom-jonaburg-git/src/picom/build/meson-private/tmp6bxgh3ul
Command line:  cc /home/dagal/.cache/yay/picom-jonaburg-git/src/picom/build/meson-private/tmp6bxgh3ul/testfile.c -o /home/dagal/.cache/yay/picom-jonaburg-git/src/picom/build/meson-private/tmp6bxgh3ul/output.obj -pipe -c -march=x86-64 -mtune=generic -O2 -fno-plt -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -O0 -Wold-style-declaration

Code:
 extern int i;
int i;

Compiler stdout:

Compiler stderr:

Compiler for C supports arguments -Wold-style-declaration: YES
Running compile:
Working directory:  /home/dagal/.cache/yay/picom-jonaburg-git/src/picom/build/meson-private/tmphlhmbstn
Command line:  cc /home/dagal/.cache/yay/picom-jonaburg-git/src/picom/build/meson-private/tmphlhmbstn/testfile.c -o /home/dagal/.cache/yay/picom-jonaburg-git/src/picom/build/meson-private/tmphlhmbstn/output.obj -pipe -c -march=x86-64 -mtune=generic -O2 -fno-plt -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -O0 -Woverride-init

Code:
 extern int i;
int i;

Compiler stdout:

Compiler stderr:

Compiler for C supports arguments -Woverride-init: YES
Running compile:
Working directory:  /home/dagal/.cache/yay/picom-jonaburg-git/src/picom/build/meson-private/tmpsnavp6ro
Command line:  cc /home/dagal/.cache/yay/picom-jonaburg-git/src/picom/build/meson-private/tmpsnavp6ro/testfile.c -o /home/dagal/.cache/yay/picom-jonaburg-git/src/picom/build/meson-private/tmpsnavp6ro/output.obj -pipe -c -march=x86-64 -mtune=generic -O2 -fno-plt -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -O0 -Wsign-compare

Code:
 extern int i;
int i;

Compiler stdout:

Compiler stderr:

Compiler for C supports arguments -Wsign-compare: YES
Running compile:
Working directory:  /home/dagal/.cache/yay/picom-jonaburg-git/src/picom/build/meson-private/tmpodxc0bv3
Command line:  cc /home/dagal/.cache/yay/picom-jonaburg-git/src/picom/build/meson-private/tmpodxc0bv3/testfile.c -o /home/dagal/.cache/yay/picom-jonaburg-git/src/picom/build/meson-private/tmpodxc0bv3/output.obj -pipe -c -march=x86-64 -mtune=generic -O2 -fno-plt -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -O0 -Wtype-limits

Code:
 extern int i;
int i;

Compiler stdout:

Compiler stderr:

Compiler for C supports arguments -Wtype-limits: YES
Running compile:
Working directory:  /home/dagal/.cache/yay/picom-jonaburg-git/src/picom/build/meson-private/tmp35gozxzd
Command line:  cc /home/dagal/.cache/yay/picom-jonaburg-git/src/picom/build/meson-private/tmp35gozxzd/testfile.c -o /home/dagal/.cache/yay/picom-jonaburg-git/src/picom/build/meson-private/tmp35gozxzd/output.obj -pipe -c -march=x86-64 -mtune=generic -O2 -fno-plt -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -O0 -Wuninitialized

Code:
 extern int i;
int i;

Compiler stdout:

Compiler stderr:

Compiler for C supports arguments -Wuninitialized: YES
Running compile:
Working directory:  /home/dagal/.cache/yay/picom-jonaburg-git/src/picom/build/meson-private/tmpi25offv9
Command line:  cc /home/dagal/.cache/yay/picom-jonaburg-git/src/picom/build/meson-private/tmpi25offv9/testfile.c -o /home/dagal/.cache/yay/picom-jonaburg-git/src/picom/build/meson-private/tmpi25offv9/output.obj -pipe -c -march=x86-64 -mtune=generic -O2 -fno-plt -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -O0 -Wshift-negative-value

Code:
 extern int i;
int i;

Compiler stdout:

Compiler stderr:

Compiler for C supports arguments -Wshift-negative-value: YES
Running compile:
Working directory:  /home/dagal/.cache/yay/picom-jonaburg-git/src/picom/build/meson-private/tmpc1hr96w2
Command line:  cc /home/dagal/.cache/yay/picom-jonaburg-git/src/picom/build/meson-private/tmpc1hr96w2/testfile.c -o /home/dagal/.cache/yay/picom-jonaburg-git/src/picom/build/meson-private/tmpc1hr96w2/output.obj -pipe -c -march=x86-64 -mtune=generic -O2 -fno-plt -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -O0 -Wunused-but-set-parameter

Code:
 extern int i;
int i;

Compiler stdout:

Compiler stderr:

Compiler for C supports arguments -Wunused-but-set-parameter: YES
Running compile:
Working directory:  /home/dagal/.cache/yay/picom-jonaburg-git/src/picom/build/meson-private/tmpihmd6eyb
Command line:  cc /home/dagal/.cache/yay/picom-jonaburg-git/src/picom/build/meson-private/tmpihmd6eyb/testfile.c -o /home/dagal/.cache/yay/picom-jonaburg-git/src/picom/build/meson-private/tmpihmd6eyb/output.obj -pipe -c -march=x86-64 -mtune=generic -O2 -fno-plt -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -O0 -Wunused-parameter

Code:
 extern int i;
int i;

Compiler stdout:

Compiler stderr:

Compiler for C supports arguments -Wunused-parameter: YES
Running compile:
Working directory:  /home/dagal/.cache/yay/picom-jonaburg-git/src/picom/build/meson-private/tmpj4n8ywdh
Command line:  cc /home/dagal/.cache/yay/picom-jonaburg-git/src/picom/build/meson-private/tmpj4n8ywdh/testfile.c -o /home/dagal/.cache/yay/picom-jonaburg-git/src/picom/build/meson-private/tmpj4n8ywdh/output.obj -pipe -c -march=x86-64 -mtune=generic -O2 -fno-plt -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -O0 -Wimplicit-fallthrough

Code:
 extern int i;
int i;

Compiler stdout:

Compiler stderr:

Compiler for C supports arguments -Wimplicit-fallthrough: YES
Running compile:
Working directory:  /home/dagal/.cache/yay/picom-jonaburg-git/src/picom/build/meson-private/tmpsbb0_3vr
Command line:  cc /home/dagal/.cache/yay/picom-jonaburg-git/src/picom/build/meson-private/tmpsbb0_3vr/testfile.c -o /home/dagal/.cache/yay/picom-jonaburg-git/src/picom/build/meson-private/tmpsbb0_3vr/output.obj -pipe -c -march=x86-64 -mtune=generic -O2 -fno-plt -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -O0 -Wunknown-warning-option -Wno-unknown-warning-option

Code:
 extern int i;
int i;

Compiler stdout:

Compiler stderr:
 cc: error: unrecognized command-line option '-Wunknown-warning-option'

Compiler for C supports arguments -Wno-unknown-warning-option: NO
Running compile:
Working directory:  /home/dagal/.cache/yay/picom-jonaburg-git/src/picom/build/meson-private/tmpobbgi449
Command line:  cc /home/dagal/.cache/yay/picom-jonaburg-git/src/picom/build/meson-private/tmpobbgi449/testfile.c -o /home/dagal/.cache/yay/picom-jonaburg-git/src/picom/build/meson-private/tmpobbgi449/output.obj -pipe -c -march=x86-64 -mtune=generic -O2 -fno-plt -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -O0 -Wmissing-braces -Wno-missing-braces

Code:
 extern int i;
int i;

Compiler stdout:

Compiler stderr:

Compiler for C supports arguments -Wno-missing-braces: YES
Running compile:
Working directory:  /home/dagal/.cache/yay/picom-jonaburg-git/src/picom/build/meson-private/tmp5f8s8km1
Command line:  cc /home/dagal/.cache/yay/picom-jonaburg-git/src/picom/build/meson-private/tmp5f8s8km1/testfile.c -o /home/dagal/.cache/yay/picom-jonaburg-git/src/picom/build/meson-private/tmp5f8s8km1/output.obj -pipe -c -march=x86-64 -mtune=generic -O2 -fno-plt -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -O0 -Wconversion

Code:
 extern int i;
int i;

Compiler stdout:

Compiler stderr:

Compiler for C supports arguments -Wconversion: YES
Running compile:
Working directory:  /home/dagal/.cache/yay/picom-jonaburg-git/src/picom/build/meson-private/tmpts1ucv2f
Command line:  cc /home/dagal/.cache/yay/picom-jonaburg-git/src/picom/build/meson-private/tmpts1ucv2f/testfile.c -o /home/dagal/.cache/yay/picom-jonaburg-git/src/picom/build/meson-private/tmpts1ucv2f/output.obj -pipe -c -march=x86-64 -mtune=generic -O2 -fno-plt -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -O0 -Wempty-body

Code:
 extern int i;
int i;

Compiler stdout:

Compiler stderr:

Compiler for C supports arguments -Wempty-body: YES

Executing subproject test.h method meson

Project name: test.h
Project version: undefined
C compiler for the host machine: cc (gcc 10.2.0 "cc (GCC) 10.2.0")
C linker for the host machine: cc ld.bfd 2.35.1
C compiler for the build machine: cc (gcc 10.2.0 "cc (GCC) 10.2.0")
C linker for the build machine: cc ld.bfd 2.35.1
Build targets in project: 0
Subproject test.h finished.

Pkg-config binary for MachineChoice.HOST is not cached.
None of 'PKG_CONFIG' are defined in the environment, not changing global flags.
Pkg-config binary missing from cross or native file, or env var undefined.
Trying a default Pkg-config fallback at pkg-config
Did not find pkg-config by name 'pkg-config'
Found Pkg-config: NO
Pkg-config binary for machine MachineChoice.HOST not found. Giving up.
CMake binary for MachineChoice.BUILD is not cached
None of 'CMAKE' are defined in the environment, not changing global flags.
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.19.2)
None of 'CMAKE_PREFIX_PATH' are defined in the environment, not changing global flags.
Extracting basic cmake information
Try CMake generator: auto
Calling CMake (['/usr/bin/cmake']) in /home/dagal/.cache/yay/picom-jonaburg-git/src/picom/build/meson-private/cmake_libev with:
  - "--trace-expand"
  - "--trace-format=json-v1"
  - "--no-warn-unused-cli"
  - "--trace-redirect=cmake_trace.txt"
  - "-DCMAKE_TOOLCHAIN_FILE=/home/dagal/.cache/yay/picom-jonaburg-git/src/picom/build/meson-private/cmake_libev/CMakeMesonToolchainFile.cmake"
  - "."
  -- Module search paths:    ['/', '/opt', '/usr', '/usr/local']
  -- CMake root:             /usr/share/cmake-3.19
  -- 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.2.0', '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.1', '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.2.0', '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.1', '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 libev found: NO (tried pkgconfig and cmake)
None of 'CC_LD' are defined in the environment, not changing global flags.
Running compile:
Working directory:  /home/dagal/.cache/yay/picom-jonaburg-git/src/picom/build/meson-private/tmpc74s6mrb
Command line:  cc /home/dagal/.cache/yay/picom-jonaburg-git/src/picom/build/meson-private/tmpc74s6mrb/testfile.c -o /home/dagal/.cache/yay/picom-jonaburg-git/src/picom/build/meson-private/tmpc74s6mrb/output.exe -pipe -march=x86-64 -mtune=generic -O2 -fno-plt -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -O0 -Wl,--start-group -lev -Wl,--end-group -Wl,--allow-shlib-undefined -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now

Code:
 int main(void) { return 0; }

Compiler stdout:

Compiler stderr:

Library ev found: YES
None of 'CC_LD' are defined in the environment, not changing global flags.
Running compile:
Working directory:  /home/dagal/.cache/yay/picom-jonaburg-git/src/picom/build/meson-private/tmpbpxtlctp
Command line:  cc /home/dagal/.cache/yay/picom-jonaburg-git/src/picom/build/meson-private/tmpbpxtlctp/testfile.c -o /home/dagal/.cache/yay/picom-jonaburg-git/src/picom/build/meson-private/tmpbpxtlctp/output.exe -pipe -march=x86-64 -mtune=generic -O2 -fno-plt -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -O0 -Wl,--start-group -lm -Wl,--end-group -Wl,--allow-shlib-undefined -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now

Code:
 int main(void) { return 0; }

Compiler stdout:

Compiler stderr:

Library m found: YES
Pkg-config binary for MachineChoice.HOST is cached as not found.
Pkg-config binary for machine MachineChoice.HOST not found. Giving up.
CMake binary for MachineChoice.BUILD is cached.
None of 'CMAKE_PREFIX_PATH' are defined in the environment, not changing global flags.

Determining dependency 'x11' with CMake executable '/usr/bin/cmake'
Try CMake generator: auto
Calling CMake (['/usr/bin/cmake']) in /home/dagal/.cache/yay/picom-jonaburg-git/src/picom/build/meson-private/cmake_x11 with:
  - "-DNAME=x11"
  - "-DARCHS=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.2.0;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.1;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"
  - "-DCOMPS="
  - "--trace-expand"
  - "--trace-format=json-v1"
  - "--no-warn-unused-cli"
  - "--trace-redirect=cmake_trace.txt"
  - "-DCMAKE_TOOLCHAIN_FILE=/home/dagal/.cache/yay/picom-jonaburg-git/src/picom/build/meson-private/cmake_x11/CMakeMesonToolchainFile.cmake"
  - "."
Run-time dependency x11 found: NO (tried cmake)

src/meson.build:27:1: ERROR: Pkg-config binary for machine MachineChoice.HOST not found. Giving up.

Other details

kdkasad commented 3 years ago

Since you're on Manjaro, have you installed all packages in the base-devel group? Those are considered prerequisites for building any AUR package, which is why they usually aren't included in the package's makedepends list.

/usr/bin/pkg-config is provided by the pkgconf package. Try reinstalling that if it's already installed.

0xDagal commented 3 years ago

It works ! Thanks a lot