>>> host-checkpolicy 2.9 Downloading --2020-05-17 12:51:44-- https://github.com/SELinuxProject/selinux/releases/download/20190315/checkpolicy-2.9.tar.gz Resolving github.com (github.com)... 140.82.118.3 Connecting to github.com (github.com)|140.82.118.3|:443... connected. HTTP request sent, awaiting response... 302 Found Location: https://github-production-release-asset-2e65be.s3.amazonaws.com/20648799/756d7780-4743-11e9-868c-ca6654c97b07?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20200517%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20200517T105145Z&X-Amz-Expires=300&X-Amz-Signature=ed60f9803cb86c13606673b1efa8ca2b9f85064704bffd628f94bdf9754164cf&X-Amz-SignedHeaders=host&actor_id=0&repo_id=20648799&response-content-disposition=attachment%3B%20filename%3Dcheckpolicy-2.9.tar.gz&response-content-type=application%2Foctet-stream [following] --2020-05-17 12:51:45-- https://github-production-release-asset-2e65be.s3.amazonaws.com/20648799/756d7780-4743-11e9-868c-ca6654c97b07?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20200517%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20200517T105145Z&X-Amz-Expires=300&X-Amz-Signature=ed60f9803cb86c13606673b1efa8ca2b9f85064704bffd628f94bdf9754164cf&X-Amz-SignedHeaders=host&actor_id=0&repo_id=20648799&response-content-disposition=attachment%3B%20filename%3Dcheckpolicy-2.9.tar.gz&response-content-type=application%2Foctet-stream Resolving github-production-release-asset-2e65be.s3.amazonaws.com (github-production-release-asset-2e65be.s3.amazonaws.com)... 52.216.134.107 Connecting to github-production-release-asset-2e65be.s3.amazonaws.com (github-production-release-asset-2e65be.s3.amazonaws.com)|52.216.134.107|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 68735 (67K) [application/octet-stream] Saving to: '/home/naourr/work/instance-0/output-1/build/.checkpolicy-2.9.tar.gz.Fn0vo5/output' 0K .......... .......... .......... .......... .......... 74% 277K 0s 50K .......... ....... 100% 48.2M=0.2s 2020-05-17 12:51:45 (371 KB/s) - '/home/naourr/work/instance-0/output-1/build/.checkpolicy-2.9.tar.gz.Fn0vo5/output' saved [68735/68735] checkpolicy-2.9.tar.gz: OK (sha256: a946c32b284532447857e4c48830f8816867c61220c8c08bdd32e6f691335f8e) >>> host-checkpolicy 2.9 Extracting gzip -d -c /home/naourr/work/instance-0/dl/checkpolicy/checkpolicy-2.9.tar.gz | /home/naourr/work/instance-0/output-1/host/bin/tar --strip-components=1 -C /home/naourr/work/instance-0/output-1/build/host-checkpolicy-2.9 -xf - >>> host-checkpolicy 2.9 Patching >>> host-checkpolicy 2.9 Configuring >>> host-checkpolicy 2.9 Building PATH="/home/naourr/work/instance-0/output-1/host/bin:/home/naourr/work/instance-0/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-0/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-0/output-1/host/lib/pkgconfig:/home/naourr/work/instance-0/output-1/host/share/pkgconfig" /usr/bin/make -j4 -C /home/naourr/work/instance-0/output-1/build/host-checkpolicy-2.9 PATH="/home/naourr/work/instance-0/output-1/host/bin:/home/naourr/work/instance-0/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-0/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-0/output-1/host/lib/pkgconfig:/home/naourr/work/instance-0/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-0/output-1/host/include" CFLAGS="-O2 -I/home/naourr/work/instance-0/output-1/host/include" CXXFLAGS="-O2 -I/home/naourr/work/instance-0/output-1/host/include" LDFLAGS="-L/home/naourr/work/instance-0/output-1/host/lib -Wl,-rpath,/home/naourr/work/instance-0/output-1/host/lib" INTLTOOL_PERL=/usr/bin/perl PREFIX=/home/naourr/work/instance-0/output-1/host LEX="/home/naourr/work/instance-0/output-1/host/bin/flex" YACC="/home/naourr/work/instance-0/output-1/host/bin/bison -y" make[1]: Entering directory '/home/naourr/work/instance-0/output-1/build/host-checkpolicy-2.9' /home/naourr/work/instance-0/output-1/host/bin/bison -y -d policy_parse.y /usr/bin/gcc -O2 -I/home/naourr/work/instance-0/output-1/host/include -o queue.o -c queue.c /usr/bin/gcc -O2 -I/home/naourr/work/instance-0/output-1/host/include -o module_compiler.o -c module_compiler.c /usr/bin/gcc -O2 -I/home/naourr/work/instance-0/output-1/host/include -o parse_util.o -c parse_util.c /usr/bin/gcc -O2 -I/home/naourr/work/instance-0/output-1/host/include -o policy_define.o -c policy_define.c /usr/bin/gcc -O2 -I/home/naourr/work/instance-0/output-1/host/include -o checkpolicy.o -c checkpolicy.c /usr/bin/gcc -O2 -I/home/naourr/work/instance-0/output-1/host/include -o checkmodule.o -c checkmodule.c /usr/bin/gcc -O2 -I/home/naourr/work/instance-0/output-1/host/include -o y.tab.o -c y.tab.c /home/naourr/work/instance-0/output-1/host/bin/flex policy_scan.l /usr/bin/gcc -O2 -I/home/naourr/work/instance-0/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-0/output-1/host/lib -Wl,-rpath,/home/naourr/work/instance-0/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-0/output-1/host/lib -Wl,-rpath,/home/naourr/work/instance-0/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-0/output-1/build/host-checkpolicy-2.9' make: *** [package/pkg-generic.mk:269: /home/naourr/work/instance-0/output-1/build/host-checkpolicy-2.9/.stamp_built] Error 2 make: Leaving directory '/home/naourr/work/instance-0/buildroot'