******************************************************************************** conan install libselinux/2.9@ --profile=/home/conan/w/BuildSingleReference/7155/96ebe30c-ddcc-4dbd-9b62-f39000131788/profile.txt --build=libselinux ******************************************************************************** Configuration: [settings] arch=x86_64 arch_build=x86_64 build_type=Release compiler=gcc compiler.libcxx=libstdc++11 compiler.version=10 os=Linux os_build=Linux [options] libselinux:shared=True [build_requires] [env] libselinux/2.9: Forced build from source Installing package: libselinux/2.9 Requirements bzip2/1.0.8 from 'conan-center' - Cache libselinux/2.9 from local cache - Cache pcre2/10.36 from 'conan-center' - Cache zlib/1.2.11 from 'conan-center' - Cache Packages bzip2/1.0.8:91a8b22c2c5a149bc617cfc06cdd21bf23b12567 - Cache libselinux/2.9:c7793c317ceabef0b9880b80676e557dd0ea95e9 - Build pcre2/10.36:2a1d707302ad380d0a87e831845f2544cf9ab775 - Cache zlib/1.2.11:19729b9559f3ae196cad45cb2b97468ccb75dcd1 - Cache Build requirements flex/2.6.4 from 'conan-center' - Cache m4/1.4.18 from 'conan-center' - Cache Build requirements packages flex/2.6.4:21011818b664ba5f28bbba5f38f3117d33c4b91b - Cache m4/1.4.18:73468d6cd433312abe58cd86e0da983f5d6f13ce - Cache Installing (downloading, building) binaries... bzip2/1.0.8: Already installed! bzip2/1.0.8: Appending PATH environment variable: /home/conan/w/BuildSingleReference/.conan/data/bzip2/1.0.8/_/_/package/91a8b22c2c5a149bc617cfc06cdd21bf23b12567/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 m4/1.4.18: Already installed! m4/1.4.18: Appending PATH environment variable: /home/conan/w/BuildSingleReference/.conan/data/m4/1.4.18/_/_/package/73468d6cd433312abe58cd86e0da983f5d6f13ce/bin m4/1.4.18: Setting M4 environment variable: /home/conan/w/BuildSingleReference/.conan/data/m4/1.4.18/_/_/package/73468d6cd433312abe58cd86e0da983f5d6f13ce/bin/m4 [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 flex/2.6.4: 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 pcre2/10.36: Already installed! pcre2/10.36: Appending PATH environment variable: /home/conan/w/BuildSingleReference/.conan/data/pcre2/10.36/_/_/package/2a1d707302ad380d0a87e831845f2544cf9ab775/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 libselinux/2.9: Applying build-requirement: flex/2.6.4 libselinux/2.9: Applying build-requirement: m4/1.4.18 libselinux/2.9: Copying sources to build folder libselinux/2.9: Building your package in /home/conan/w/BuildSingleReference/.conan/data/libselinux/2.9/_/_/build/c7793c317ceabef0b9880b80676e557dd0ea95e9 libselinux/2.9: Generator txt created conanbuildinfo.txt [HOOK - conan-center.py] pre_build(): [FPIC MANAGEMENT (KB-H007)] 'fPIC' option not found [HOOK - conan-center.py] pre_build(): [FPIC MANAGEMENT (KB-H007)] OK libselinux/2.9: Calling build() ----Running------ > make 'libsepol.so.1' -j3 ----------------- /usr/bin/gcc -m64 -O3 -s -I. -I../include -D_GNU_SOURCE -I../cil/include -fPIC -DSHARED -c -o assertion.lo assertion.c /usr/bin/gcc -m64 -O3 -s -I. -I../include -D_GNU_SOURCE -I../cil/include -fPIC -DSHARED -c -o avrule_block.lo avrule_block.c /usr/bin/gcc -m64 -O3 -s -I. -I../include -D_GNU_SOURCE -I../cil/include -fPIC -DSHARED -c -o avtab.lo avtab.c /usr/bin/gcc -m64 -O3 -s -I. -I../include -D_GNU_SOURCE -I../cil/include -fPIC -DSHARED -c -o boolean_record.lo boolean_record.c /usr/bin/gcc -m64 -O3 -s -I. -I../include -D_GNU_SOURCE -I../cil/include -fPIC -DSHARED -c -o booleans.lo booleans.c /usr/bin/gcc -m64 -O3 -s -I. -I../include -D_GNU_SOURCE -I../cil/include -fPIC -DSHARED -c -o conditional.lo conditional.c /usr/bin/gcc -m64 -O3 -s -I. -I../include -D_GNU_SOURCE -I../cil/include -fPIC -DSHARED -c -o constraint.lo constraint.c /usr/bin/gcc -m64 -O3 -s -I. -I../include -D_GNU_SOURCE -I../cil/include -fPIC -DSHARED -c -o context.lo context.c /usr/bin/gcc -m64 -O3 -s -I. -I../include -D_GNU_SOURCE -I../cil/include -fPIC -DSHARED -c -o context_record.lo context_record.c /usr/bin/gcc -m64 -O3 -s -I. -I../include -D_GNU_SOURCE -I../cil/include -fPIC -DSHARED -c -o debug.lo debug.c /usr/bin/gcc -m64 -O3 -s -I. -I../include -D_GNU_SOURCE -I../cil/include -fPIC -DSHARED -c -o ebitmap.lo ebitmap.c /usr/bin/gcc -m64 -O3 -s -I. -I../include -D_GNU_SOURCE -I../cil/include -fPIC -DSHARED -c -o expand.lo expand.c /usr/bin/gcc -m64 -O3 -s -I. -I../include -D_GNU_SOURCE -I../cil/include -fPIC -DSHARED -c -o genbools.lo genbools.c /usr/bin/gcc -m64 -O3 -s -I. -I../include -D_GNU_SOURCE -I../cil/include -fPIC -DSHARED -c -o genusers.lo genusers.c /usr/bin/gcc -m64 -O3 -s -I. -I../include -D_GNU_SOURCE -I../cil/include -fPIC -DSHARED -c -o handle.lo handle.c /usr/bin/gcc -m64 -O3 -s -I. -I../include -D_GNU_SOURCE -I../cil/include -fPIC -DSHARED -c -o hashtab.lo hashtab.c /usr/bin/gcc -m64 -O3 -s -I. -I../include -D_GNU_SOURCE -I../cil/include -fPIC -DSHARED -c -o hierarchy.lo hierarchy.c /usr/bin/gcc -m64 -O3 -s -I. -I../include -D_GNU_SOURCE -I../cil/include -fPIC -DSHARED -c -o ibendport_record.lo ibendport_record.c /usr/bin/gcc -m64 -O3 -s -I. -I../include -D_GNU_SOURCE -I../cil/include -fPIC -DSHARED -c -o ibendports.lo ibendports.c /usr/bin/gcc -m64 -O3 -s -I. -I../include -D_GNU_SOURCE -I../cil/include -fPIC -DSHARED -c -o ibpkey_record.lo ibpkey_record.c /usr/bin/gcc -m64 -O3 -s -I. -I../include -D_GNU_SOURCE -I../cil/include -fPIC -DSHARED -c -o ibpkeys.lo ibpkeys.c /usr/bin/gcc -m64 -O3 -s -I. -I../include -D_GNU_SOURCE -I../cil/include -fPIC -DSHARED -c -o iface_record.lo iface_record.c /usr/bin/gcc -m64 -O3 -s -I. -I../include -D_GNU_SOURCE -I../cil/include -fPIC -DSHARED -c -o interfaces.lo interfaces.c /usr/bin/gcc -m64 -O3 -s -I. -I../include -D_GNU_SOURCE -I../cil/include -fPIC -DSHARED -c -o kernel_to_cil.lo kernel_to_cil.c /usr/bin/gcc -m64 -O3 -s -I. -I../include -D_GNU_SOURCE -I../cil/include -fPIC -DSHARED -c -o kernel_to_common.lo kernel_to_common.c /usr/bin/gcc -m64 -O3 -s -I. -I../include -D_GNU_SOURCE -I../cil/include -fPIC -DSHARED -c -o kernel_to_conf.lo kernel_to_conf.c /usr/bin/gcc -m64 -O3 -s -I. -I../include -D_GNU_SOURCE -I../cil/include -fPIC -DSHARED -c -o link.lo link.c /usr/bin/gcc -m64 -O3 -s -I. -I../include -D_GNU_SOURCE -I../cil/include -fPIC -DSHARED -c -o mls.lo mls.c /usr/bin/gcc -m64 -O3 -s -I. -I../include -D_GNU_SOURCE -I../cil/include -fPIC -DSHARED -c -o module.lo module.c /usr/bin/gcc -m64 -O3 -s -I. -I../include -D_GNU_SOURCE -I../cil/include -fPIC -DSHARED -c -o module_to_cil.lo module_to_cil.c /usr/bin/gcc -m64 -O3 -s -I. -I../include -D_GNU_SOURCE -I../cil/include -fPIC -DSHARED -c -o node_record.lo node_record.c /usr/bin/gcc -m64 -O3 -s -I. -I../include -D_GNU_SOURCE -I../cil/include -fPIC -DSHARED -c -o nodes.lo nodes.c /usr/bin/gcc -m64 -O3 -s -I. -I../include -D_GNU_SOURCE -I../cil/include -fPIC -DSHARED -c -o polcaps.lo polcaps.c /usr/bin/gcc -m64 -O3 -s -I. -I../include -D_GNU_SOURCE -I../cil/include -fPIC -DSHARED -c -o policydb.lo policydb.c /usr/bin/gcc -m64 -O3 -s -I. -I../include -D_GNU_SOURCE -I../cil/include -fPIC -DSHARED -c -o policydb_convert.lo policydb_convert.c /usr/bin/gcc -m64 -O3 -s -I. -I../include -D_GNU_SOURCE -I../cil/include -fPIC -DSHARED -c -o policydb_public.lo policydb_public.c /usr/bin/gcc -m64 -O3 -s -I. -I../include -D_GNU_SOURCE -I../cil/include -fPIC -DSHARED -c -o port_record.lo port_record.c /usr/bin/gcc -m64 -O3 -s -I. -I../include -D_GNU_SOURCE -I../cil/include -fPIC -DSHARED -c -o ports.lo ports.c /usr/bin/gcc -m64 -O3 -s -I. -I../include -D_GNU_SOURCE -I../cil/include -fPIC -DSHARED -c -o roles.lo roles.c /usr/bin/gcc -m64 -O3 -s -I. -I../include -D_GNU_SOURCE -I../cil/include -fPIC -DSHARED -c -o services.lo services.c /usr/bin/gcc -m64 -O3 -s -I. -I../include -D_GNU_SOURCE -I../cil/include -fPIC -DSHARED -c -o sidtab.lo sidtab.c /usr/bin/gcc -m64 -O3 -s -I. -I../include -D_GNU_SOURCE -I../cil/include -fPIC -DSHARED -c -o symtab.lo symtab.c /usr/bin/gcc -m64 -O3 -s -I. -I../include -D_GNU_SOURCE -I../cil/include -fPIC -DSHARED -c -o user_record.lo user_record.c /usr/bin/gcc -m64 -O3 -s -I. -I../include -D_GNU_SOURCE -I../cil/include -fPIC -DSHARED -c -o users.lo users.c /usr/bin/gcc -m64 -O3 -s -I. -I../include -D_GNU_SOURCE -I../cil/include -fPIC -DSHARED -c -o util.lo util.c /usr/bin/gcc -m64 -O3 -s -I. -I../include -D_GNU_SOURCE -I../cil/include -fPIC -DSHARED -c -o write.lo write.c /usr/bin/gcc -m64 -O3 -s -I. -I../include -D_GNU_SOURCE -I../cil/include -fPIC -DSHARED -c -o ../cil/src/cil.lo ../cil/src/cil.c /usr/bin/gcc -m64 -O3 -s -I. -I../include -D_GNU_SOURCE -I../cil/include -fPIC -DSHARED -c -o ../cil/src/cil_binary.lo ../cil/src/cil_binary.c /usr/bin/gcc -m64 -O3 -s -I. -I../include -D_GNU_SOURCE -I../cil/include -fPIC -DSHARED -c -o ../cil/src/cil_build_ast.lo ../cil/src/cil_build_ast.c /usr/bin/gcc -m64 -O3 -s -I. -I../include -D_GNU_SOURCE -I../cil/include -fPIC -DSHARED -c -o ../cil/src/cil_copy_ast.lo ../cil/src/cil_copy_ast.c /usr/bin/gcc -m64 -O3 -s -I. -I../include -D_GNU_SOURCE -I../cil/include -fPIC -DSHARED -c -o ../cil/src/cil_find.lo ../cil/src/cil_find.c /usr/bin/gcc -m64 -O3 -s -I. -I../include -D_GNU_SOURCE -I../cil/include -fPIC -DSHARED -c -o ../cil/src/cil_fqn.lo ../cil/src/cil_fqn.c flex -o ../cil/src/cil_lexer.c ../cil/src/cil_lexer.l /usr/bin/gcc -m64 -O3 -s -I. -I../include -D_GNU_SOURCE -I../cil/include -fPIC -DSHARED -c -o ../cil/src/cil_list.lo ../cil/src/cil_list.c /usr/bin/gcc -m64 -O3 -s -I. -I../include -D_GNU_SOURCE -I../cil/include -fPIC -DSHARED -c -o ../cil/src/cil_log.lo ../cil/src/cil_log.c /usr/bin/gcc -m64 -O3 -s -I. -I../include -D_GNU_SOURCE -I../cil/include -fPIC -DSHARED -c -o ../cil/src/cil_mem.lo ../cil/src/cil_mem.c /usr/bin/gcc -m64 -O3 -s -I. -I../include -D_GNU_SOURCE -I../cil/include -fPIC -DSHARED -c -o ../cil/src/cil_parser.lo ../cil/src/cil_parser.c /usr/bin/gcc -m64 -O3 -s -I. -I../include -D_GNU_SOURCE -I../cil/include -fPIC -DSHARED -c -o ../cil/src/cil_policy.lo ../cil/src/cil_policy.c /usr/bin/gcc -m64 -O3 -s -I. -I../include -D_GNU_SOURCE -I../cil/include -fPIC -DSHARED -c -o ../cil/src/cil_post.lo ../cil/src/cil_post.c /usr/bin/gcc -m64 -O3 -s -I. -I../include -D_GNU_SOURCE -I../cil/include -fPIC -DSHARED -c -o ../cil/src/cil_reset_ast.lo ../cil/src/cil_reset_ast.c /usr/bin/gcc -m64 -O3 -s -I. -I../include -D_GNU_SOURCE -I../cil/include -fPIC -DSHARED -c -o ../cil/src/cil_resolve_ast.lo ../cil/src/cil_resolve_ast.c /usr/bin/gcc -m64 -O3 -s -I. -I../include -D_GNU_SOURCE -I../cil/include -fPIC -DSHARED -c -o ../cil/src/cil_stack.lo ../cil/src/cil_stack.c /usr/bin/gcc -m64 -O3 -s -I. -I../include -D_GNU_SOURCE -I../cil/include -fPIC -DSHARED -c -o ../cil/src/cil_strpool.lo ../cil/src/cil_strpool.c /usr/bin/gcc -m64 -O3 -s -I. -I../include -D_GNU_SOURCE -I../cil/include -fPIC -DSHARED -c -o ../cil/src/cil_symtab.lo ../cil/src/cil_symtab.c /usr/bin/gcc -m64 -O3 -s -I. -I../include -D_GNU_SOURCE -I../cil/include -fPIC -DSHARED -c -o ../cil/src/cil_tree.lo ../cil/src/cil_tree.c /usr/bin/gcc -m64 -O3 -s -I. -I../include -D_GNU_SOURCE -I../cil/include -fPIC -DSHARED -c -o ../cil/src/cil_verify.lo ../cil/src/cil_verify.c cp libsepol.map.in libsepol.map /usr/bin/gcc -m64 -O3 -s -I. -I../include -D_GNU_SOURCE -I../cil/include -fPIC -DSHARED -c -o ../cil/src/cil_lexer.lo ../cil/src/cil_lexer.c /usr/bin/gcc -m64 -O3 -s -I. -I../include -D_GNU_SOURCE -I../cil/include -m64 -L/home/conan/w/BuildSingleReference/.conan/data/flex/2.6.4/_/_/package/21011818b664ba5f28bbba5f38f3117d33c4b91b/lib -L/home/conan/w/BuildSingleReference/.conan/data/pcre2/10.36/_/_/package/2a1d707302ad380d0a87e831845f2544cf9ab775/lib -L/home/conan/w/BuildSingleReference/.conan/data/zlib/1.2.11/_/_/package/19729b9559f3ae196cad45cb2b97468ccb75dcd1/lib -L/home/conan/w/BuildSingleReference/.conan/data/bzip2/1.0.8/_/_/package/91a8b22c2c5a149bc617cfc06cdd21bf23b12567/lib -shared -o libsepol.so.1 assertion.lo avrule_block.lo avtab.lo boolean_record.lo booleans.lo conditional.lo constraint.lo context.lo context_record.lo debug.lo ebitmap.lo expand.lo genbools.lo genusers.lo handle.lo hashtab.lo hierarchy.lo ibendport_record.lo ibendports.lo ibpkey_record.lo ibpkeys.lo iface_record.lo interfaces.lo kernel_to_cil.lo kernel_to_common.lo kernel_to_conf.lo link.lo mls.lo module.lo module_to_cil.lo node_record.lo nodes.lo polcaps.lo policydb.lo policydb_convert.lo policydb_public.lo port_record.lo ports.lo roles.lo services.lo sidtab.lo symtab.lo user_record.lo users.lo util.lo write.lo ../cil/src/cil.lo ../cil/src/cil_binary.lo ../cil/src/cil_build_ast.lo ../cil/src/cil_copy_ast.lo ../cil/src/cil_find.lo ../cil/src/cil_fqn.lo ../cil/src/cil_lexer.lo ../cil/src/cil_list.lo ../cil/src/cil_log.lo ../cil/src/cil_mem.lo ../cil/src/cil_parser.lo ../cil/src/cil_policy.lo ../cil/src/cil_post.lo ../cil/src/cil_reset_ast.lo ../cil/src/cil_resolve_ast.lo ../cil/src/cil_stack.lo ../cil/src/cil_strpool.lo ../cil/src/cil_symtab.lo ../cil/src/cil_tree.lo ../cil/src/cil_verify.lo -Wl,-soname,libsepol.so.1,--version-script=libsepol.map,-z,defs libselinux/2.9: /usr/bin/ld: ../cil/src/cil_binary.lo:(.bss+0x0): multiple definition of `cil_mem_error_handler'; ../cil/src/cil.lo:(.bss+0x500): first defined here /usr/bin/ld: ../cil/src/cil_build_ast.lo:(.bss+0x0): multiple definition of `cil_mem_error_handler'; ../cil/src/cil.lo:(.bss+0x500): first defined here /usr/bin/ld: ../cil/src/cil_copy_ast.lo:(.bss+0x0): multiple definition of `cil_mem_error_handler'; ../cil/src/cil.lo:(.bss+0x500): first defined here /usr/bin/ld: ../cil/src/cil_find.lo:(.bss+0x0): multiple definition of `cil_mem_error_handler'; ../cil/src/cil.lo:(.bss+0x500): first defined here /usr/bin/ld: ../cil/src/cil_fqn.lo:(.bss+0x0): multiple definition of `cil_mem_error_handler'; ../cil/src/cil.lo:(.bss+0x500): first defined here /usr/bin/ld: ../cil/src/cil_lexer.lo:(.bss+0x8): multiple definition of `cil_mem_error_handler'; ../cil/src/cil.lo:(.bss+0x500): first defined here /usr/bin/ld: ../cil/src/cil_list.lo:(.bss+0x0): multiple definition of `cil_mem_error_handler'; ../cil/src/cil.lo:(.bss+0x500): first defined here /usr/bin/ld: ../cil/src/cil_mem.lo:(.data.rel+0x0): multiple definition of `cil_mem_error_handler'; ../cil/src/cil.lo:(.bss+0x500): first defined here /usr/bin/ld: ../cil/src/cil_parser.lo:(.bss+0x18): multiple definition of `cil_mem_error_handler'; ../cil/src/cil.lo:(.bss+0x500): first defined here /usr/bin/ld: ../cil/src/cil_policy.lo:(.bss+0x0): multiple definition of `cil_mem_error_handler'; ../cil/src/cil.lo:(.bss+0x500): first defined here /usr/bin/ld: ../cil/src/cil_post.lo:(.bss+0x0): multiple definition of `cil_mem_error_handler'; ../cil/src/cil.lo:(.bss+0x500): first defined here /usr/bin/ld: ../cil/src/cil_reset_ast.lo:(.bss+0x0): multiple definition of `cil_mem_error_handler'; ../cil/src/cil.lo:(.bss+0x500): first defined here /usr/bin/ld: ../cil/src/cil_resolve_ast.lo:(.bss+0x0): multiple definition of `cil_mem_error_handler'; ../cil/src/cil.lo:(.bss+0x500): first defined here /usr/bin/ld: ../cil/src/cil_stack.lo:(.bss+0x0): multiple definition of `cil_mem_error_handler'; ../cil/src/cil.lo:(.bss+0x500): first defined here /usr/bin/ld: ../cil/src/cil_strpool.lo:(.bss+0x0): multiple definition of `cil_mem_error_handler'; ../cil/src/cil.lo:(.bss+0x500): first defined here /usr/bin/ld: ../cil/src/cil_symtab.lo:(.bss+0x0): multiple definition of `cil_mem_error_handler'; ../cil/src/cil.lo:(.bss+0x500): first defined here /usr/bin/ld: ../cil/src/cil_tree.lo:(.bss+0x0): multiple definition of `cil_mem_error_handler'; ../cil/src/cil.lo:(.bss+0x500): first defined here /usr/bin/ld: ../cil/src/cil_verify.lo:(.bss+0x0): multiple definition of `cil_mem_error_handler'; ../cil/src/cil.lo:(.bss+0x500): first defined here collect2: error: ld returned 1 exit status make: *** [Makefile:50: libsepol.so.1] Error 1 m4/1.4.18: WARN: Lib folder doesn't exist, can't collect libraries: /home/conan/w/BuildSingleReference/.conan/data/m4/1.4.18/_/_/package/73468d6cd433312abe58cd86e0da983f5d6f13ce/lib [HOOK - conan-center.py] post_package_info(): WARN: [LIBRARY DOES NOT EXIST (KB-H054)] Component m4::m4 libdir "lib" does not contain any library [HOOK - conan-center.py] post_package_info(): WARN: [LIBRARY DOES NOT EXIST (KB-H054)] Component m4::m4 libdir "lib" does not contain any declared library [HOOK - conan-center.py] post_package_info(): WARN: [LIBRARY DOES NOT EXIST (KB-H054)] Component pcre2::pcre2 libdir "lib" does not contain any declared library libselinux/2.9: WARN: Build folder is dirty, removing it: /home/conan/w/BuildSingleReference/.conan/data/libselinux/2.9/_/_/build/c7793c317ceabef0b9880b80676e557dd0ea95e9 libselinux/2.9: ERROR: Package 'c7793c317ceabef0b9880b80676e557dd0ea95e9' build failed libselinux/2.9: WARN: Build folder /home/conan/w/BuildSingleReference/.conan/data/libselinux/2.9/_/_/build/c7793c317ceabef0b9880b80676e557dd0ea95e9 ERROR: libselinux/2.9: Error in build() method, line 61 env_build.make(args=args) ConanException: Error 2 while executing make 'libsepol.so.1' -j3