>>> host-checkpolicy 3.0 Extracting gzip -d -c /home/naourr/work/instance-1/dl/checkpolicy/checkpolicy-3.0.tar.gz | /home/naourr/work/instance-1/output-1/host/bin/tar --strip-components=1 -C /home/naourr/work/instance-1/output-1/build/host-checkpolicy-3.0 -xf - >>> host-checkpolicy 3.0 Patching >>> host-checkpolicy 3.0 Configuring >>> host-checkpolicy 3.0 Building PATH="/home/naourr/work/instance-1/output-1/host/bin:/home/naourr/work/instance-1/output-1/host/sbin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/home/naourr/bin:/home/naourr/git/git-wrappers:/home/naourr/.local/bin:/home/naourr/bin" PKG_CONFIG="/home/naourr/work/instance-1/output-1/host/bin/pkg-config" PKG_CONFIG_SYSROOT_DIR="/" PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 PKG_CONFIG_ALLOW_SYSTEM_LIBS=1 PKG_CONFIG_LIBDIR="/home/naourr/work/instance-1/output-1/host/lib/pkgconfig:/home/naourr/work/instance-1/output-1/host/share/pkgconfig" /usr/bin/make -j4 -C /home/naourr/work/instance-1/output-1/build/host-checkpolicy-3.0 PATH="/home/naourr/work/instance-1/output-1/host/bin:/home/naourr/work/instance-1/output-1/host/sbin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/home/naourr/bin:/home/naourr/git/git-wrappers:/home/naourr/.local/bin:/home/naourr/bin" PKG_CONFIG="/home/naourr/work/instance-1/output-1/host/bin/pkg-config" PKG_CONFIG_SYSROOT_DIR="/" PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 PKG_CONFIG_ALLOW_SYSTEM_LIBS=1 PKG_CONFIG_LIBDIR="/home/naourr/work/instance-1/output-1/host/lib/pkgconfig:/home/naourr/work/instance-1/output-1/host/share/pkgconfig" AR="/usr/bin/ar" AS="/usr/bin/as" LD="/usr/bin/ld" NM="/usr/bin/nm" CC="/usr/bin/gcc" GCC="/usr/bin/gcc" CXX="/usr/bin/g++" CPP="/usr/bin/cpp" OBJCOPY="/usr/bin/objcopy" RANLIB="/usr/bin/ranlib" CPPFLAGS="-I/home/naourr/work/instance-1/output-1/host/include" CFLAGS="-O2 -I/home/naourr/work/instance-1/output-1/host/include" CXXFLAGS="-O2 -I/home/naourr/work/instance-1/output-1/host/include" LDFLAGS="-L/home/naourr/work/instance-1/output-1/host/lib -Wl,-rpath,/home/naourr/work/instance-1/output-1/host/lib" INTLTOOL_PERL=/usr/bin/perl PREFIX=/home/naourr/work/instance-1/output-1/host LEX="/home/naourr/work/instance-1/output-1/host/bin/flex" YACC="/home/naourr/work/instance-1/output-1/host/bin/bison -y" make[1]: Entering directory '/home/naourr/work/instance-1/output-1/build/host-checkpolicy-3.0' /home/naourr/work/instance-1/output-1/host/bin/bison -y -d policy_parse.y /usr/bin/gcc -O2 -I/home/naourr/work/instance-1/output-1/host/include -o queue.o -c queue.c /usr/bin/gcc -O2 -I/home/naourr/work/instance-1/output-1/host/include -o module_compiler.o -c module_compiler.c /usr/bin/gcc -O2 -I/home/naourr/work/instance-1/output-1/host/include -o parse_util.o -c parse_util.c /usr/bin/gcc -O2 -I/home/naourr/work/instance-1/output-1/host/include -o policy_define.o -c policy_define.c /usr/bin/gcc -O2 -I/home/naourr/work/instance-1/output-1/host/include -o checkpolicy.o -c checkpolicy.c /usr/bin/gcc -O2 -I/home/naourr/work/instance-1/output-1/host/include -o checkmodule.o -c checkmodule.c /usr/bin/gcc -O2 -I/home/naourr/work/instance-1/output-1/host/include -o y.tab.o -c y.tab.c /home/naourr/work/instance-1/output-1/host/bin/flex policy_scan.l /usr/bin/gcc -O2 -I/home/naourr/work/instance-1/output-1/host/include -o lex.yy.o -c lex.yy.c /usr/bin/gcc -o checkpolicy y.tab.o lex.yy.o queue.o module_compiler.o parse_util.o policy_define.o checkpolicy.o -L/home/naourr/work/instance-1/output-1/host/lib -Wl,-rpath,/home/naourr/work/instance-1/output-1/host/lib -l:libsepol.a /usr/bin/gcc -o checkmodule y.tab.o lex.yy.o queue.o module_compiler.o parse_util.o policy_define.o checkmodule.o -L/home/naourr/work/instance-1/output-1/host/lib -Wl,-rpath,/home/naourr/work/instance-1/output-1/host/lib -l:libsepol.a /usr/bin/ld: policy_define.o:(.bss+0x28): multiple definition of `te_assertions'; y.tab.o:(.bss+0x18): first defined here /usr/bin/ld: checkpolicy.o:(.bss+0x0): multiple definition of `te_assertions'; y.tab.o:(.bss+0x18): first defined here /usr/bin/ld: policy_define.o:(.bss+0x28): multiple definition of `te_assertions'; y.tab.o:(.bss+0x18): first defined here /usr/bin/ld: checkmodule.o:(.bss+0x0): multiple definition of `te_assertions'; y.tab.o:(.bss+0x18): first defined here collect2: error: ld returned 1 exit status make[1]: *** [Makefile:33: checkpolicy] Error 1 make[1]: *** Waiting for unfinished jobs.... collect2: error: ld returned 1 exit status make[1]: *** [Makefile:36: checkmodule] Error 1 make[1]: Leaving directory '/home/naourr/work/instance-1/output-1/build/host-checkpolicy-3.0' make: *** [package/pkg-generic.mk:269: /home/naourr/work/instance-1/output-1/build/host-checkpolicy-3.0/.stamp_built] Error 2 make: Leaving directory '/home/naourr/work/instance-1/buildroot'