Skip to content

Instantly share code, notes, and snippets.

@pletcher
Created January 20, 2019 22:28
Show Gist options
  • Save pletcher/4891cfee4a1083531ea7d7e9e8a36926 to your computer and use it in GitHub Desktop.
Save pletcher/4891cfee4a1083531ea7d7e9e8a36926 to your computer and use it in GitHub Desktop.
Meson build log
Build started at 2019-01-20T17:25:39.082510
Main binary: /usr/bin/python
Python system: Linux
The Meson build system
Version: 0.49.0
Source dir: /home/pletcher/.cache/yay/wlroots-git/src/wlroots-git
Build dir: /home/pletcher/.cache/yay/wlroots-git/src/wlroots-git/build
Build type: native build
WARNING: Unknown options: "xcb-xkb"
Project name: wlroots
Project version: 0.2.0
Sanity testing C compiler: clang
Is cross compiler: False.
Sanity check compiler command line: clang /home/pletcher/.cache/yay/wlroots-git/src/wlroots-git/build/meson-private/sanitycheckc.c -o /home/pletcher/.cache/yay/wlroots-git/src/wlroots-git/build/meson-private/sanitycheckc.exe
Sanity check compile stdout:
-----
Sanity check compile stderr:
-----
Running test binary command: /home/pletcher/.cache/yay/wlroots-git/src/wlroots-git/build/meson-private/sanitycheckc.exe
Appending CFLAGS from environment: '-march=x86-64 -mtune=generic -O2 -pipe -fno-plt -g -fvar-tracking-assignments -fdebug-prefix-map=/home/pletcher/.cache/yay/wlroots-git/src=/usr/src/debug'
Appending LDFLAGS from environment: '-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now'
Appending CPPFLAGS from environment: '-D_FORTIFY_SOURCE=2'
Native C compiler: clang (clang 7.0.1 "clang version 7.0.1 (tags/RELEASE_701/final)")
Build machine cpu family: x86_64
Build machine cpu: x86_64
Found pkg-config: /usr/bin/pkg-config (1.6.0)
Determining dependency 'wayland-server' with pkg-config executable '/usr/bin/pkg-config'
Called `/usr/bin/pkg-config --modversion wayland-server` -> 0
1.16.0
Called `/usr/bin/pkg-config --cflags wayland-server` -> 0
Called `/usr/bin/pkg-config wayland-server --libs` -> 0
-L/usr/lib -lwayland-server
Called `/usr/bin/pkg-config wayland-server --libs` -> 0
-lwayland-server
Running compile:
Working directory: /tmp/tmpqa1zn991
Command line: clang /tmp/tmpqa1zn991/testfile.c -pipe -D_FILE_OFFSET_BITS=64 -o /tmp/tmpqa1zn991/output.exe -march=x86-64 -mtune=generic -O2 -fno-plt -g -fvar-tracking-assignments -fdebug-prefix-map=/home/pletcher/.cache/yay/wlroots-git/src=/usr/src/debug -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -O0
Code:
#include<stdio.h>
int main(int argc, char **argv) {
printf("%ld\n", (long)(sizeof(void *)));
return 0;
};
Compiler stdout:
Compiler stderr:
clang-7: error: unknown argument: '-fvar-tracking-assignments'
Could not compile test file /tmp/tmpqa1zn991/testfile.c: 1
Running compile:
Working directory: /tmp/tmpvedp172v
Command line: clang /tmp/tmpvedp172v/testfile.c -pipe -D_FILE_OFFSET_BITS=64 -c -o /tmp/tmpvedp172v/output.obj -march=x86-64 -mtune=generic -O2 -fno-plt -g -fvar-tracking-assignments -fdebug-prefix-map=/home/pletcher/.cache/yay/wlroots-git/src=/usr/src/debug -D_FORTIFY_SOURCE=2 -O0 --print-search-dirs
Code:
Compiler stdout:
programs: =/usr/bin:/usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/8.2.1/../../../../x86_64-pc-linux-gnu/bin
libraries: =/usr/lib/clang/7.0.1:/usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/8.2.1:/usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/8.2.1/../../../../lib64:/usr/bin/../lib64:/lib/../lib64:/usr/lib/../lib64:/usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/8.2.1/../../..:/usr/bin/../lib:/lib:/usr/lib
Compiler stderr:
clang-7: error: unknown argument: '-fvar-tracking-assignments'
Dependency wayland-server found: YES 1.16.0
Determining dependency 'wayland-client' with pkg-config executable '/usr/bin/pkg-config'
Called `/usr/bin/pkg-config --modversion wayland-client` -> 0
1.16.0
Called `/usr/bin/pkg-config --cflags wayland-client` -> 0
Called `/usr/bin/pkg-config wayland-client --libs` -> 0
-L/usr/lib -lwayland-client
Called `/usr/bin/pkg-config wayland-client --libs` -> 0
-lwayland-client
Dependency wayland-client found: YES 1.16.0
Determining dependency 'wayland-egl' with pkg-config executable '/usr/bin/pkg-config'
Called `/usr/bin/pkg-config --modversion wayland-egl` -> 0
18.1.0
Called `/usr/bin/pkg-config --cflags wayland-egl` -> 0
Called `/usr/bin/pkg-config wayland-egl --libs` -> 0
-L/usr/lib -lwayland-egl -lwayland-client
Called `/usr/bin/pkg-config wayland-egl --libs` -> 0
-lwayland-egl -lwayland-client
Dependency wayland-egl found: YES 18.1.0
Determining dependency 'wayland-protocols' with pkg-config executable '/usr/bin/pkg-config'
Called `/usr/bin/pkg-config --modversion wayland-protocols` -> 0
1.17
Called `/usr/bin/pkg-config --cflags wayland-protocols` -> 0
Called `/usr/bin/pkg-config wayland-protocols --libs` -> 0
Called `/usr/bin/pkg-config wayland-protocols --libs` -> 0
Dependency wayland-protocols found: YES 1.17
Determining dependency 'egl' with pkg-config executable '/usr/bin/pkg-config'
Called `/usr/bin/pkg-config --modversion egl` -> 0
18.3.1
Called `/usr/bin/pkg-config --cflags egl` -> 0
-I/usr/include/libdrm
Called `/usr/bin/pkg-config egl --libs` -> 0
-L/usr/lib -lEGL
Called `/usr/bin/pkg-config egl --libs` -> 0
-lEGL
Dependency egl found: YES 18.3.1
Determining dependency 'glesv2' with pkg-config executable '/usr/bin/pkg-config'
Called `/usr/bin/pkg-config --modversion glesv2` -> 0
18.3.1
Called `/usr/bin/pkg-config --cflags glesv2` -> 0
Called `/usr/bin/pkg-config glesv2 --libs` -> 0
-L/usr/lib -lGLESv2
Called `/usr/bin/pkg-config glesv2 --libs` -> 0
-lGLESv2
Dependency glesv2 found: YES 18.3.1
Determining dependency 'libdrm' with pkg-config executable '/usr/bin/pkg-config'
Called `/usr/bin/pkg-config --modversion libdrm` -> 0
2.4.96
Called `/usr/bin/pkg-config --cflags libdrm` -> 0
-I/usr/include/libdrm
Called `/usr/bin/pkg-config libdrm --libs` -> 0
-L/usr/lib -ldrm
Called `/usr/bin/pkg-config libdrm --libs` -> 0
-ldrm
Dependency libdrm found: YES 2.4.96
Determining dependency 'gbm' with pkg-config executable '/usr/bin/pkg-config'
Called `/usr/bin/pkg-config --modversion gbm` -> 0
18.3.1
Called `/usr/bin/pkg-config --cflags gbm` -> 0
Called `/usr/bin/pkg-config gbm --libs` -> 0
-L/usr/lib -lgbm
Called `/usr/bin/pkg-config gbm --libs` -> 0
-lgbm
Dependency gbm found: YES 18.3.1
Determining dependency 'libinput' with pkg-config executable '/usr/bin/pkg-config'
Called `/usr/bin/pkg-config --modversion libinput` -> 0
1.12.5
Called `/usr/bin/pkg-config --cflags libinput` -> 0
Called `/usr/bin/pkg-config libinput --libs` -> 0
-L/usr/lib -linput
Called `/usr/bin/pkg-config libinput --libs` -> 0
-linput
Dependency libinput found: YES 1.12.5
Determining dependency 'xkbcommon' with pkg-config executable '/usr/bin/pkg-config'
Called `/usr/bin/pkg-config --modversion xkbcommon` -> 0
0.8.2
Called `/usr/bin/pkg-config --cflags xkbcommon` -> 0
Called `/usr/bin/pkg-config xkbcommon --libs` -> 0
-L/usr/lib -lxkbcommon
Called `/usr/bin/pkg-config xkbcommon --libs` -> 0
-lxkbcommon
Dependency xkbcommon found: YES 0.8.2
Determining dependency 'libudev' with pkg-config executable '/usr/bin/pkg-config'
Called `/usr/bin/pkg-config --modversion libudev` -> 0
240
Called `/usr/bin/pkg-config --cflags libudev` -> 0
Called `/usr/bin/pkg-config libudev --libs` -> 0
-L/usr/lib -ludev
Called `/usr/bin/pkg-config libudev --libs` -> 0
-ludev
Dependency libudev found: YES 240
Determining dependency 'pixman-1' with pkg-config executable '/usr/bin/pkg-config'
Called `/usr/bin/pkg-config --modversion pixman-1` -> 0
0.36.0
Called `/usr/bin/pkg-config --cflags pixman-1` -> 0
-I/usr/include/pixman-1
Called `/usr/bin/pkg-config pixman-1 --libs` -> 0
-L/usr/lib -lpixman-1
Called `/usr/bin/pkg-config pixman-1 --libs` -> 0
-lpixman-1
Dependency pixman-1 found: YES 0.36.0
Determining dependency 'libcap' with pkg-config executable '/usr/bin/pkg-config'
Called `/usr/bin/pkg-config --modversion libcap` -> 0
2.26
Called `/usr/bin/pkg-config --cflags libcap` -> 0
Called `/usr/bin/pkg-config libcap --libs` -> 0
-L/lib64 -lcap
Called `/usr/bin/pkg-config libcap --libs` -> 0
-L/lib64 -lcap
Dependency libcap found: YES 2.26
Determining dependency 'libsystemd' with pkg-config executable '/usr/bin/pkg-config'
Called `/usr/bin/pkg-config --modversion libsystemd` -> 0
240
Called `/usr/bin/pkg-config --cflags libsystemd` -> 0
Called `/usr/bin/pkg-config libsystemd --libs` -> 0
-L/usr/lib -lsystemd
Called `/usr/bin/pkg-config libsystemd --libs` -> 0
-lsystemd
Dependency libsystemd found: YES 240
Running compile:
Working directory: /tmp/tmpqz914hn4
Command line: clang /tmp/tmpqz914hn4/testfile.c -pipe -D_FILE_OFFSET_BITS=64 -o /tmp/tmpqz914hn4/output.exe -march=x86-64 -mtune=generic -O2 -fno-plt -g -fvar-tracking-assignments -fdebug-prefix-map=/home/pletcher/.cache/yay/wlroots-git/src=/usr/src/debug -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -O0 -Wl,--start-group -lm -Wl,--end-group -Wl,--allow-shlib-undefined
Code:
int main(int argc, char **argv) { return 0; }
Compiler stdout:
Compiler stderr:
clang-7: error: unknown argument: '-fvar-tracking-assignments'
meson.build:67:0: ERROR: C library 'm' not found
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment