Build started at 2020-02-02T12:23:05.923398 Main binary: /usr/bin/python3.6 Build Options: -Ddri2=true -Ddocumentation=false -Dprefix=/usr -Dlibdir=lib -Dlocalstatedir=/var/lib -Dsysconfdir=/etc -Dbuildtype=plain -Dwrap_mode=nodownload '--cross-file /var/tmp/portage/x11-libs/libvdpau-1.3/temp/meson.i686-pc-linux-gnu.x86' Python system: Linux The Meson build system Version: 0.52.1 Source dir: /var/tmp/portage/x11-libs/libvdpau-1.3/work/libvdpau-1.3 Build dir: /var/tmp/portage/x11-libs/libvdpau-1.3/work/libvdpau-1.3-abi_x86_32.x86 Build type: cross build Project name: libvdpau Project version: undefined Appending CFLAGS from environment: '-march=native -O2 -pipe' Appending LDFLAGS from environment: ['-Wl,-O1', '-Wl,--as-needed'] Appending CPPFLAGS from environment: ' -D_GNU_SOURCE' Sanity testing C compiler: x86_64-pc-linux-gnu-gcc -m32 Is cross compiler: False. Sanity check compiler command line: x86_64-pc-linux-gnu-gcc -m32 /var/tmp/portage/x11-libs/libvdpau-1.3/work/libvdpau-1.3-abi_x86_32.x86/meson-private/sanitycheckc.c -o /var/tmp/portage/x11-libs/libvdpau-1.3/work/libvdpau-1.3-abi_x86_32.x86/meson-private/sanitycheckc.exe -march=native -O2 -pipe -D_GNU_SOURCE -pipe -D_FILE_OFFSET_BITS=64 -Wl,-O1 -Wl,--as-needed Sanity check compile stdout: ----- Sanity check compile stderr: ----- Running test binary command: /var/tmp/portage/x11-libs/libvdpau-1.3/work/libvdpau-1.3-abi_x86_32.x86/meson-private/sanitycheckc.exe C compiler for the build machine: x86_64-pc-linux-gnu-gcc -m32 (gcc 9.2.0 "x86_64-pc-linux-gnu-gcc (Gentoo 9.2.0-r2 p3) 9.2.0") C linker for the build machine: GNU ld.bfd 2.32 Appending CXXFLAGS from environment: '-march=native -O2 -pipe' Appending LDFLAGS from environment: ['-Wl,-O1', '-Wl,--as-needed'] Appending CPPFLAGS from environment: ' -D_GNU_SOURCE' Sanity testing C++ compiler: x86_64-pc-linux-gnu-g++ -m32 Is cross compiler: False. Sanity check compiler command line: x86_64-pc-linux-gnu-g++ -m32 /var/tmp/portage/x11-libs/libvdpau-1.3/work/libvdpau-1.3-abi_x86_32.x86/meson-private/sanitycheckcpp.cc -o /var/tmp/portage/x11-libs/libvdpau-1.3/work/libvdpau-1.3-abi_x86_32.x86/meson-private/sanitycheckcpp.exe -march=native -O2 -pipe -D_GNU_SOURCE -pipe -D_FILE_OFFSET_BITS=64 -Wl,-O1 -Wl,--as-needed Sanity check compile stdout: ----- Sanity check compile stderr: ----- Running test binary command: /var/tmp/portage/x11-libs/libvdpau-1.3/work/libvdpau-1.3-abi_x86_32.x86/meson-private/sanitycheckcpp.exe C++ compiler for the build machine: x86_64-pc-linux-gnu-g++ -m32 (gcc 9.2.0 "x86_64-pc-linux-gnu-g++ (Gentoo 9.2.0-r2 p3) 9.2.0") C++ linker for the build machine: GNU ld.bfd 2.32 Sanity testing C compiler: x86_64-pc-linux-gnu-gcc -m32 Is cross compiler: True. Sanity check compiler command line: x86_64-pc-linux-gnu-gcc -m32 /var/tmp/portage/x11-libs/libvdpau-1.3/work/libvdpau-1.3-abi_x86_32.x86/meson-private/sanitycheckc.c -o /var/tmp/portage/x11-libs/libvdpau-1.3/work/libvdpau-1.3-abi_x86_32.x86/meson-private/sanitycheckc_cross.exe -march=native -O2 -pipe -D_GNU_SOURCE -pipe -D_FILE_OFFSET_BITS=64 -Wl,-O1 -Wl,--as-needed Sanity check compile stdout: ----- Sanity check compile stderr: ----- Running test binary command: /var/tmp/portage/x11-libs/libvdpau-1.3/work/libvdpau-1.3-abi_x86_32.x86/meson-private/sanitycheckc_cross.exe C compiler for the host machine: x86_64-pc-linux-gnu-gcc -m32 (gcc 9.2.0 "x86_64-pc-linux-gnu-gcc (Gentoo 9.2.0-r2 p3) 9.2.0") C linker for the host machine: GNU ld.bfd 2.32 WARNING: Env var AR seems to point to the cross compiler. This is probably wrong, it should always point to the native compiler. Sanity testing C++ compiler: x86_64-pc-linux-gnu-g++ -m32 Is cross compiler: True. Sanity check compiler command line: x86_64-pc-linux-gnu-g++ -m32 /var/tmp/portage/x11-libs/libvdpau-1.3/work/libvdpau-1.3-abi_x86_32.x86/meson-private/sanitycheckcpp.cc -o /var/tmp/portage/x11-libs/libvdpau-1.3/work/libvdpau-1.3-abi_x86_32.x86/meson-private/sanitycheckcpp_cross.exe -march=native -O2 -pipe -D_GNU_SOURCE -pipe -D_FILE_OFFSET_BITS=64 -Wl,-O1 -Wl,--as-needed Sanity check compile stdout: ----- Sanity check compile stderr: ----- Running test binary command: /var/tmp/portage/x11-libs/libvdpau-1.3/work/libvdpau-1.3-abi_x86_32.x86/meson-private/sanitycheckcpp_cross.exe C++ compiler for the host machine: x86_64-pc-linux-gnu-g++ -m32 (gcc 9.2.0 "x86_64-pc-linux-gnu-g++ (Gentoo 9.2.0-r2 p3) 9.2.0") C++ linker for the host machine: GNU ld.bfd 2.32 Build machine cpu family: x86 Build machine cpu: i686 Host machine cpu family: x86 Host machine cpu: i686 Target machine cpu family: x86 Target machine cpu: i686 Running compile: Working directory: /var/tmp/portage/x11-libs/libvdpau-1.3/work/libvdpau-1.3-abi_x86_32.x86/meson-private/tmpt3njemdf Command line: x86_64-pc-linux-gnu-gcc -m32 /var/tmp/portage/x11-libs/libvdpau-1.3/work/libvdpau-1.3-abi_x86_32.x86/meson-private/tmpt3njemdf/testfile.c -o /var/tmp/portage/x11-libs/libvdpau-1.3/work/libvdpau-1.3-abi_x86_32.x86/meson-private/tmpt3njemdf/output.exe -pipe -march=native -O2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -O0 -Wl,-O1 -Wl,--as-needed Code: #define secure_getenv meson_disable_define_of_secure_getenv #include #undef secure_getenv #ifdef __cplusplus extern "C" #endif char secure_getenv (); #if defined __stub_secure_getenv || defined __stub___secure_getenv fail fail fail this function is not going to work #endif int main () { return secure_getenv (); } Compiler stdout: Compiler stderr: Checking for function "secure_getenv" : YES Pkg-config binary for MachineChoice.HOST is not cached. WARNING: Env var PKG_CONFIG seems to point to the cross compiler. This is probably wrong, it should always point to the native compiler. Pkg-config binary for MachineChoice.HOST specified from cross file, native file, or env var as ['i686-pc-linux-gnu-pkg-config'] Trying pkg-config binary i686-pc-linux-gnu-pkg-config for machine MachineChoice.HOST at ['/usr/bin/i686-pc-linux-gnu-pkg-config'] Found pkg-config: /usr/bin/i686-pc-linux-gnu-pkg-config (1.6.3) Determining dependency 'dri2proto' with pkg-config executable '/usr/bin/i686-pc-linux-gnu-pkg-config' PKG_CONFIG_PATH: /usr/share/pkgconfig Called `/usr/bin/i686-pc-linux-gnu-pkg-config --modversion dri2proto` -> 1 CMake binary for MachineChoice.HOST is not cached CMake binary missing from cross or native file, or env var undefined. Trying a default CMake fallback at cmake Trying CMake binary cmake for machine MachineChoice.HOST at ['/usr/bin/cmake'] Found CMake: /usr/bin/cmake (3.14.6) Extracting basic cmake information Try CMake generator: auto Failed to find a c compiler for CMake. This might cause CMake to fail. Failed to find a cpp compiler for CMake. This might cause CMake to fail. Called `/usr/bin/cmake --trace-expand .` in /var/tmp/portage/x11-libs/libvdpau-1.3/work/libvdpau-1.3-abi_x86_32.x86/meson-private/cmake_dri2proto -> 0 -- Module search paths: ['/', '/opt', '/usr', '/usr/local'] -- CMake root: /usr/share/cmake -- CMake architectures: [] -- CMake lib search paths: ['lib', 'lib32', 'lib64', 'libx32', 'share'] Run-time dependency dri2proto found: NO (tried pkgconfig and cmake) meson.build:29:4: ERROR: Dependency "dri2proto" not found, tried pkgconfig and cmake