******************************************************************************** conan install pkgconf/1.7.4@ --build=pkgconf --profile=/home/conan/w/BuildSingleReference/26638/e6421ac3-d171-49fd-a00f-d3350cf4a889/profile.txt ******************************************************************************** Configuration: [settings] arch=x86_64 arch_build=x86_64 build_type=Release compiler=gcc compiler.libcxx=libstdc++11 compiler.version=6 os=Linux os_build=Linux [options] pkgconf:shared=False [build_requires] [env] pkgconf/1.7.4: Forced build from source Installing package: pkgconf/1.7.4 Requirements pkgconf/1.7.4 from local cache - Cache Packages pkgconf/1.7.4:f7e573cb501ccfc49e9e4d84de886bc1ef2e6ebb - Build Build requirements meson/0.58.1 from 'conan-center' - Cache ninja/1.10.2 from 'conan-center' - Cache Build requirements packages meson/0.58.1:5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 - Cache ninja/1.10.2:24647d9fe8ec489125dfbae4b3ebefaf7581674c - Cache Installing (downloading, building) binaries... ninja/1.10.2: Already installed! [HOOK - conan-center.py] post_package_info(): [CMAKE FILE NOT IN BUILD FOLDERS (KB-H019)] OK [HOOK - conan-center.py] post_package_info(): [LIBRARY DOES NOT EXIST (KB-H054)] OK meson/0.58.1: Already installed! meson/0.58.1: Appending PATH environment variable: /home/conan/w/BuildSingleReference/.conan/data/meson/0.58.1/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/bin [HOOK - conan-center.py] post_package_info(): [CMAKE FILE NOT IN BUILD FOLDERS (KB-H019)] OK [HOOK - conan-center.py] post_package_info(): [LIBRARY DOES NOT EXIST (KB-H054)] OK pkgconf/1.7.4: Applying build-requirement: meson/0.58.1 pkgconf/1.7.4: Applying build-requirement: ninja/1.10.2 pkgconf/1.7.4: Copying sources to build folder pkgconf/1.7.4: Building your package in /home/conan/w/BuildSingleReference/.conan/data/pkgconf/1.7.4/_/_/build/f7e573cb501ccfc49e9e4d84de886bc1ef2e6ebb pkgconf/1.7.4: Generator txt created conanbuildinfo.txt [HOOK - conan-center.py] pre_build(): [FPIC MANAGEMENT (KB-H007)] OK. 'fPIC' option found and apparently well managed [HOOK - conan-center.py] pre_build(): [FPIC MANAGEMENT (KB-H007)] OK pkgconf/1.7.4: Calling build() ----Running------ > meson "/home/conan/w/BuildSingleReference/.conan/data/pkgconf/1.7.4/_/_/build/f7e573cb501ccfc49e9e4d84de886bc1ef2e6ebb/source_subfolder" "/home/conan/w/BuildSingleReference/.conan/data/pkgconf/1.7.4/_/_/build/f7e573cb501ccfc49e9e4d84de886bc1ef2e6ebb/build_subfolder" --backend=ninja -Dprefix="/home/conan/w/BuildSingleReference/.conan/data/pkgconf/1.7.4/_/_/package/f7e573cb501ccfc49e9e4d84de886bc1ef2e6ebb" -Dlibdir="lib" -Dbindir="bin" -Dsbindir="bin" -Dlibexecdir="bin" -Dincludedir="include" -Ddefault_library="static" -Db_staticpic="true" -Dtests="False" -Dsharedstatedir="/home/conan/w/BuildSingleReference/.conan/data/pkgconf/1.7.4/_/_/package/f7e573cb501ccfc49e9e4d84de886bc1ef2e6ebb/bin/share" --buildtype=release ----------------- The Meson build system Version: 0.58.1 Source dir: /home/conan/w/BuildSingleReference/.conan/data/pkgconf/1.7.4/_/_/build/f7e573cb501ccfc49e9e4d84de886bc1ef2e6ebb/source_subfolder Build dir: /home/conan/w/BuildSingleReference/.conan/data/pkgconf/1.7.4/_/_/build/f7e573cb501ccfc49e9e4d84de886bc1ef2e6ebb/build_subfolder Build type: native build Project name: pkgconf Project version: 1.7.4 C compiler for the host machine: /usr/bin/gcc (gcc 6.4.0 "gcc (Ubuntu 6.4.0-8ubuntu1) 6.4.0 20171010") C linker for the host machine: /usr/bin/gcc ld.bfd 2.29.1 Host machine cpu family: x86_64 Host machine cpu: x86_64 Configuring config.h using configuration Build targets in project: 2 Found ninja-1.10.2 at /home/conan/w/BuildSingleReference/.conan/data/ninja/1.10.2/_/_/package/24647d9fe8ec489125dfbae4b3ebefaf7581674c/bin/ninja ----Running------ > ninja -C "/home/conan/w/BuildSingleReference/.conan/data/pkgconf/1.7.4/_/_/build/f7e573cb501ccfc49e9e4d84de886bc1ef2e6ebb/build_subfolder" ----------------- ninja: Entering directory `/home/conan/w/BuildSingleReference/.conan/data/pkgconf/1.7.4/_/_/build/f7e573cb501ccfc49e9e4d84de886bc1ef2e6ebb/build_subfolder' [1/19] Compiling C object libpkgconf.a.p/libpkgconf_audit.c.o [2/19] Compiling C object libpkgconf.a.p/libpkgconf_bsdstubs.c.o FAILED: libpkgconf.a.p/libpkgconf_bsdstubs.c.o /usr/bin/gcc -Ilibpkgconf.a.p -I. -I../source_subfolder -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -O3 -m64 -O3 -s -fPIC -DNDEBUG -fPIC -DPKGCONFIG_IS_STATIC -MD -MQ libpkgconf.a.p/libpkgconf_bsdstubs.c.o -MF libpkgconf.a.p/libpkgconf_bsdstubs.c.o.d -o libpkgconf.a.p/libpkgconf_bsdstubs.c.o -c ../source_subfolder/libpkgconf/bsdstubs.c ../source_subfolder/libpkgconf/bsdstubs.c:115:1: error: static declaration of ‘strndup’ follows non-static declaration strndup(const char *src, size_t len) ^~~~~~~ In file included from ../source_subfolder/libpkgconf/bsdstubs.c:22:0: /usr/include/string.h:174:14: note: previous declaration of ‘strndup’ was here extern char *strndup (const char *__string, size_t __n) ^~~~~~~ [3/19] Compiling C object libpkgconf.a.p/libpkgconf_cache.c.o [4/19] Compiling C object libpkgconf.a.p/libpkgconf_argvsplit.c.o [5/19] Compiling C object libpkgconf.a.p/libpkgconf_client.c.o [6/19] Compiling C object libpkgconf.a.p/libpkgconf_fileio.c.o [7/19] Compiling C object libpkgconf.a.p/libpkgconf_dependency.c.o ninja: build stopped: subcommand failed. pkgconf/1.7.4: Generating targets: 0%| | 0/2 [00:00