******************************************************************************** conan install libbpf/0.4.0@ --build=libbpf --profile=/home/conan/w/BuildSingleReference/20434/27622147-bc94-4759-ae8b-351b01134256/profile.txt ******************************************************************************** Configuration: [settings] arch=x86_64 arch_build=x86_64 build_type=Release compiler=gcc compiler.libcxx=libstdc++11 compiler.version=5 os=Linux os_build=Linux [options] libbpf:shared=False [build_requires] [env] libbpf/0.4.0: Forced build from source Installing package: libbpf/0.4.0 Requirements libbpf/0.4.0 from local cache - Cache libelf/0.8.13 from 'conan-center' - Cache zlib/1.2.11 from 'conan-center' - Cache Packages libbpf/0.4.0:febb8ce525ba443fecd29d582bf7b2ea4b8478ea - Build libelf/0.8.13:76f87539fc90ff313e0b3182641a9bb558a717d2 - Cache zlib/1.2.11:76f87539fc90ff313e0b3182641a9bb558a717d2 - Cache Build requirements make/4.2.1 from 'conan-center' - Cache Build requirements packages make/4.2.1:24647d9fe8ec489125dfbae4b3ebefaf7581674c - Cache Installing (downloading, building) binaries... libelf/0.8.13: 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 make/4.2.1: Already installed! make/4.2.1: Creating CONAN_MAKE_PROGRAM environment variable: /home/conan/w/BuildSingleReference/.conan/data/make/4.2.1/_/_/package/24647d9fe8ec489125dfbae4b3ebefaf7581674c/bin/make [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 zlib/1.2.11: 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 libbpf/0.4.0: Applying build-requirement: make/4.2.1 libbpf/0.4.0: Copying sources to build folder libbpf/0.4.0: Building your package in /home/conan/w/BuildSingleReference/.conan/data/libbpf/0.4.0/_/_/build/febb8ce525ba443fecd29d582bf7b2ea4b8478ea libbpf/0.4.0: Generator cmake created conanbuildinfo.cmake libbpf/0.4.0: Generator pkg_config created make.pc libbpf/0.4.0: Generator pkg_config created libelf.pc libbpf/0.4.0: Generator pkg_config created zlib.pc [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 libbpf/0.4.0: Calling build() ----Running------ > /home/conan/w/BuildSingleReference/.conan/data/make/4.2.1/_/_/package/24647d9fe8ec489125dfbae4b3ebefaf7581674c/bin/make '--directory=src' 'PREFIX=' 'DESTDIR=/home/conan/w/BuildSingleReference/.conan/data/libbpf/0.4.0/_/_/package/febb8ce525ba443fecd29d582bf7b2ea4b8478ea' 'LIBSUBDIR=lib' 'BUILD_STATIC_ONLY=1' -j3 ----------------- make: Entering directory '/home/conan/w/BuildSingleReference/.conan/data/libbpf/0.4.0/_/_/build/febb8ce525ba443fecd29d582bf7b2ea4b8478ea/source_subfolder/src' MKDIR staticobjs CC bpf.o CC btf.o CC libbpf.o CC libbpf_errno.o CC netlink.o make: Leaving directory '/home/conan/w/BuildSingleReference/.conan/data/libbpf/0.4.0/_/_/build/febb8ce525ba443fecd29d582bf7b2ea4b8478ea/source_subfolder/src' libbpf/0.4.0: Package libelf was not found in the pkg-config search path. Perhaps you should add the directory containing `libelf.pc' to the PKG_CONFIG_PATH environment variable No package 'libelf' found netlink.c: In function ‘clsact_config’: netlink.c:380:18: error: ‘TC_H_CLSACT’ undeclared (first use in this function) t->tcm_parent = TC_H_CLSACT; ^ netlink.c:380:18: note: each undeclared identifier is reported only once for each function it appears in In file included from /usr/include/linux/pkt_cls.h:5:0, from netlink.c:10: netlink.c: In function ‘tc_get_tcm_parent’: netlink.c:412:23: error: ‘TC_H_CLSACT’ undeclared (first use in this function) *parent = TC_H_MAKE(TC_H_CLSACT, ^ netlink.c:414:9: error: ‘TC_H_MIN_INGRESS’ undeclared (first use in this function) TC_H_MIN_INGRESS : TC_H_MIN_EGRESS); ^ netlink.c:414:28: error: ‘TC_H_MIN_EGRESS’ undeclared (first use in this function) TC_H_MIN_INGRESS : TC_H_MIN_EGRESS); ^ netlink.c: In function ‘__get_tc_info’: netlink.c:515:11: error: ‘TCA_BPF_ID’ undeclared (first use in this function) if (!tbb[TCA_BPF_ID]) ^ make: *** [Makefile:113: staticobjs/netlink.o] Error 1 make: *** Waiting for unfinished jobs.... make/4.2.1: WARN: Lib folder doesn't exist, can't collect libraries: /home/conan/w/BuildSingleReference/.conan/data/make/4.2.1/_/_/package/24647d9fe8ec489125dfbae4b3ebefaf7581674c/lib libbpf/0.4.0: WARN: Build folder is dirty, removing it: /home/conan/w/BuildSingleReference/.conan/data/libbpf/0.4.0/_/_/build/febb8ce525ba443fecd29d582bf7b2ea4b8478ea libbpf/0.4.0: ERROR: Package 'febb8ce525ba443fecd29d582bf7b2ea4b8478ea' build failed libbpf/0.4.0: WARN: Build folder /home/conan/w/BuildSingleReference/.conan/data/libbpf/0.4.0/_/_/build/febb8ce525ba443fecd29d582bf7b2ea4b8478ea ERROR: libbpf/0.4.0: Error in build() method, line 67 autotools.make(args=make_args) ConanException: Error 2 while executing /home/conan/w/BuildSingleReference/.conan/data/make/4.2.1/_/_/package/24647d9fe8ec489125dfbae4b3ebefaf7581674c/bin/make '--directory=src' 'PREFIX=' 'DESTDIR=/home/conan/w/BuildSingleReference/.conan/data/libbpf/0.4.0/_/_/package/febb8ce525ba443fecd29d582bf7b2ea4b8478ea' 'LIBSUBDIR=lib' 'BUILD_STATIC_ONLY=1' -j3