* Package: app-admin/setools-3.3.8-r2  * Repository: gentoo  * Maintainer: selinux@gentoo.org  * USE: abi_x86_64 amd64 elibc_glibc kernel_linux multilib python selinux userland_GNU  * FEATURES: sandbox selinux sesandbox >>> Unpacking source... >>> Unpacking setools-3.3.8.tar.bz2 to /var/tmp/portage/app-admin/setools-3.3.8-r2/work >>> Unpacking setools-3.3.8-01-fedora-patches.tar.gz to /var/tmp/portage/app-admin/setools-3.3.8-r2/work >>> Unpacking setools-3.3.8-01-gentoo-patches.tar.gz to /var/tmp/portage/app-admin/setools-3.3.8-r2/work >>> Source unpacked in /var/tmp/portage/app-admin/setools-3.3.8-r2/work >>> Preparing source in /var/tmp/portage/app-admin/setools-3.3.8-r2/work/setools-3.3.8 ... * Applying various (Fedora-provided) setools fixes... * 0003-Since-we-do-not-ship-neverallow-rules-all-always-fai.patch ...  [ ok ] * 0005-Fix-sepol-calls-to-work-with-latest-libsepol.patch ...  [ ok ] * Done with patching * Applying various (Gentoo) setool fixes... * 0001-fix-implicit-def-fstat.patch ...  [ ok ] * 0002-fix-implicit-defines-from-fedora-patches.patch ...  [ ok ] * 0004-support-python3-builds.patch ...  [ ok ] * 0005-update-on-py_functions-for-python3.patch ...  [ ok ] * 0006-import_submodules_correctly.patch ...  [ ok ] * 0007-py27-needs-different-print-in-m4-code.patch ...  [ ok ] * 0008-setools-define-append_filename_trans.patch ...  [ ok ] * Done with patching * Running eautoreconf in '/var/tmp/portage/app-admin/setools-3.3.8-r2/work/setools-3.3.8' ... * Running libtoolize --install --copy --force --automake ...  [ ok ] * Running aclocal -I m4 ...  [ ok ] * Running autoconf ...  [ ok ] * Running autoheader ...  [ ok ] * Running automake --add-missing --copy --foreign ...  [ ok ] * Running elibtoolize in: setools-3.3.8/ * Applying portage/1.2.0 patch ... * Applying sed/1.5.6 patch ... * Applying as-needed/2.4.2 patch ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/app-admin/setools-3.3.8-r2/work/setools-3.3.8 ... * econf: updating setools-3.3.8/config.sub with /usr/share/gnuconfig/config.sub * econf: updating setools-3.3.8/config.guess with /usr/share/gnuconfig/config.guess ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 --with-java-prefix= --disable-selinux-check --disable-bwidget-check --enable-swig-python --disable-swig-java --disable-swig-tcl --disable-gui --disable-debug configure: loading site script /usr/share/config.site checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for style of include used by make... GNU checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed checking dependency style of x86_64-pc-linux-gnu-gcc... gcc3 checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking for x86_64-pc-linux-gnu-gcc option to accept ISO C99... -std=gnu99 checking for x86_64-pc-linux-gnu-g++... x86_64-pc-linux-gnu-g++ checking whether we are using the GNU C++ compiler... yes checking whether x86_64-pc-linux-gnu-g++ accepts -g... yes checking dependency style of x86_64-pc-linux-gnu-g++... gcc3 checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking how to print strings... printf checking for a sed that does not truncate output... /bin/sed checking for fgrep... /bin/grep -F checking for ld used by x86_64-pc-linux-gnu-gcc -std=gnu99... /usr/x86_64-pc-linux-gnu/bin/ld checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/x86_64-pc-linux-gnu/bin/ld option to reload object files... -r checking for x86_64-pc-linux-gnu-objdump... x86_64-pc-linux-gnu-objdump checking how to recognize dependent libraries... pass_all checking for x86_64-pc-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for x86_64-pc-linux-gnu-ar... x86_64-pc-linux-gnu-ar checking for archiver @FILE support... @ checking for x86_64-pc-linux-gnu-strip... x86_64-pc-linux-gnu-strip checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib checking command to parse /usr/bin/nm -B output from x86_64-pc-linux-gnu-gcc -std=gnu99 object... ok checking for sysroot... no checking for x86_64-pc-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking for dlfcn.h... yes checking for objdir... .libs checking if x86_64-pc-linux-gnu-gcc -std=gnu99 supports -fno-rtti -fno-exceptions... no checking for x86_64-pc-linux-gnu-gcc -std=gnu99 option to produce PIC... -fPIC -DPIC checking if x86_64-pc-linux-gnu-gcc -std=gnu99 PIC flag -fPIC -DPIC works... yes checking if x86_64-pc-linux-gnu-gcc -std=gnu99 static flag -static works... yes checking if x86_64-pc-linux-gnu-gcc -std=gnu99 supports -c -o file.o... yes checking if x86_64-pc-linux-gnu-gcc -std=gnu99 supports -c -o file.o... (cached) yes checking whether the x86_64-pc-linux-gnu-gcc -std=gnu99 linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking how to run the C++ preprocessor... x86_64-pc-linux-gnu-g++ -E checking for ld used by x86_64-pc-linux-gnu-g++... /usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64 checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) is GNU ld... yes checking whether the x86_64-pc-linux-gnu-g++ linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes checking for x86_64-pc-linux-gnu-g++ option to produce PIC... -fPIC -DPIC checking if x86_64-pc-linux-gnu-g++ PIC flag -fPIC -DPIC works... yes checking if x86_64-pc-linux-gnu-g++ static flag -static works... yes checking if x86_64-pc-linux-gnu-g++ supports -c -o file.o... yes checking if x86_64-pc-linux-gnu-g++ supports -c -o file.o... (cached) yes checking whether the x86_64-pc-linux-gnu-g++ linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether ln -s works... yes checking for flex... flex checking lex output file root... lex.yy checking lex library... -lfl checking whether yytext is a pointer... yes checking for bison... bison -y checking for stdbool.h that conforms to C99... yes checking for _Bool... yes checking whether byte ordering is bigendian... no checking for rand_r... yes checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking for debugging support... disabled checking for how to link against libraries... shared checking for profiling support... disabled checking for swig1.3... /usr/bin/swig1.3 checking for python... /usr/bin/python checking for the distutils Python package... yes checking for Python include path... -I/usr/include/python2.7 checking for Python library path... -L/usr/lib64/python2.7 -lpython2.7 checking for Python site-packages path... /usr/lib64/python2.7/site-packages checking python extra libraries... ('', '-lpthread -ldl -lutil') checking python extra linking flags... -Xlinker -export-dynamic checking consistency of all components of python development environment... yes checking whether /usr/bin/python version is >= 2.7... yes checking for /usr/bin/python version... 2.7 checking for /usr/bin/python platform... linux2 checking for /usr/bin/python script directory... ${prefix}/lib64/python2.7/site-packages checking for /usr/bin/python extension module directory... ${exec_prefix}/lib64/python2.7/site-packages checking for swig1.3... (cached) /usr/bin/swig1.3 checking which setools programs to build... only command line tools skipped, assuming 1.8+ is installed checking for sepol/sepol.h... checking sepol/sepol.h usability... yes checking sepol/sepol.h presence... yes checking for sepol/sepol.h... yes checking for sepol_policydb_read in -lsepol... yes checking selinux/selinux.h usability... yes checking selinux/selinux.h presence... yes checking for selinux/selinux.h... yes checking selinux/context.h usability... yes checking selinux/context.h presence... yes checking for selinux/context.h... yes checking for selinux_policy_root in -lselinux... yes checking for /usr/lib64/libsepol.a... yes checking for libsepol role_set_expand() role attribute support... yes checking whether TYPE_FLAGS_PERMISSIVE is declared... yes checking whether avtab_alloc is declared... yes checking for struct policydb.policycaps.node... yes checking whether cond_node_create is declared... yes checking sepol/errcodes.h usability... yes checking sepol/errcodes.h presence... yes checking for sepol/errcodes.h... yes checking for selinux policy root... /etc/selinux/strict checking for policy source... configure: WARNING: could not read default policy /etc/selinux/strict/src/policy/policy.conf checking for pkg-config... yes checking for libxml... yes checking for sqlite3... yes checking for CU_initialize_registry in -lcunit... no checking for CU_curses_run_tests in -lcunit... no configure: WARNING: Compatible CUnit not found; "make check" will fail. checking for BZ2_bzReadOpen in -lbz2... yes ./configure: line 20618: test: =: unary operator expected checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating VERSION config.status: creating libqpol/Makefile config.status: creating libqpol/src/Makefile config.status: creating libqpol/include/Makefile config.status: creating libqpol/include/qpol/Makefile config.status: creating libqpol/tests/Makefile config.status: creating libqpol/swig/Makefile config.status: creating libqpol/swig/python/Makefile config.status: creating libqpol/swig/java/Makefile config.status: creating libqpol/swig/java/MANIFEST.MF config.status: creating libqpol/swig/tcl/Makefile config.status: creating libapol/Makefile config.status: creating libapol/src/Makefile config.status: creating libapol/include/Makefile config.status: creating libapol/include/apol/Makefile config.status: creating libapol/tests/Makefile config.status: creating libapol/swig/Makefile config.status: creating libapol/swig/python/Makefile config.status: creating libapol/swig/java/Makefile config.status: creating libapol/swig/java/MANIFEST.MF config.status: creating libapol/swig/tcl/Makefile config.status: creating libpoldiff/Makefile config.status: creating libpoldiff/src/Makefile config.status: creating libpoldiff/include/Makefile config.status: creating libpoldiff/include/poldiff/Makefile config.status: creating libpoldiff/tests/Makefile config.status: creating libpoldiff/swig/Makefile config.status: creating libpoldiff/swig/python/Makefile config.status: creating libpoldiff/swig/java/Makefile config.status: creating libpoldiff/swig/java/MANIFEST.MF config.status: creating libpoldiff/swig/tcl/Makefile config.status: creating libsefs/Makefile config.status: creating libsefs/src/Makefile config.status: creating libsefs/include/Makefile config.status: creating libsefs/include/sefs/Makefile config.status: creating libsefs/tests/Makefile config.status: creating libsefs/swig/Makefile config.status: creating libsefs/swig/python/Makefile config.status: creating libsefs/swig/java/Makefile config.status: creating libsefs/swig/tcl/Makefile config.status: creating libsefs/swig/java/MANIFEST.MF config.status: creating libseaudit/Makefile config.status: creating libseaudit/src/Makefile config.status: creating libseaudit/include/Makefile config.status: creating libseaudit/include/seaudit/Makefile config.status: creating libseaudit/tests/Makefile config.status: creating libseaudit/swig/Makefile config.status: creating libseaudit/swig/python/Makefile config.status: creating libseaudit/swig/java/Makefile config.status: creating libseaudit/swig/java/MANIFEST.MF config.status: creating libseaudit/swig/tcl/Makefile config.status: creating secmds/Makefile config.status: creating apol/Makefile config.status: creating sechecker/Makefile config.status: creating seaudit/Makefile config.status: creating sediff/Makefile config.status: creating man/Makefile config.status: creating debian/Makefile config.status: creating python/Makefile config.status: creating python/setools/Makefile config.status: creating packages/Makefile config.status: creating packages/rpm/Makefile config.status: creating packages/libqpol.pc config.status: creating packages/libapol.pc config.status: creating packages/libpoldiff.pc config.status: creating packages/libseaudit.pc config.status: creating packages/libsefs.pc config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands config.status: executing config.tcl commands *** Configuration complete. Do `make help' to get a list of SETools targets. >>> Source configured. >>> Compiling source in /var/tmp/portage/app-admin/setools-3.3.8-r2/work/setools-3.3.8 ... make -j5 make all-recursive make[1]: Entering directory `/var/tmp/portage/app-admin/setools-3.3.8-r2/work/setools-3.3.8' Making all in libqpol make[2]: Entering directory `/var/tmp/portage/app-admin/setools-3.3.8-r2/work/setools-3.3.8/libqpol' Making all in src make[3]: Entering directory `/var/tmp/portage/app-admin/setools-3.3.8-r2/work/setools-3.3.8/libqpol/src' /bin/sh ../../ylwrap policy_parse.y y.tab.c policy_parse.c y.tab.h `echo policy_parse.c | sed -e s/cc$/hh/ -e s/cpp$/hpp/ -e s/cxx$/hxx/ -e s/c++$/h++/ -e s/c$/h/` y.output policy_parse.output -- bison -y -d updating policy_parse.h make all-am make[4]: Entering directory `/var/tmp/portage/app-admin/setools-3.3.8-r2/work/setools-3.3.8/libqpol/src' x86_64-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -fno-strict-aliasing -I./../include -I/usr/lib64/../include -I/usr/include -I/usr/include -fpic -O3 -march=native -pipe -MT avrule_query.o -MD -MP -MF .deps/avrule_query.Tpo -c -o avrule_query.o avrule_query.c x86_64-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -fno-strict-aliasing -I./../include -I/usr/lib64/../include -I/usr/include -I/usr/include -fpic -O3 -march=native -pipe -MT bool_query.o -MD -MP -MF .deps/bool_query.Tpo -c -o bool_query.o bool_query.c x86_64-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -fno-strict-aliasing -I./../include -I/usr/lib64/../include -I/usr/include -I/usr/include -fpic -O3 -march=native -pipe -MT class_perm_query.o -MD -MP -MF .deps/class_perm_query.Tpo -c -o class_perm_query.o class_perm_query.c x86_64-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -fno-strict-aliasing -I./../include -I/usr/lib64/../include -I/usr/include -I/usr/include -fpic -O3 -march=native -pipe -MT cond_query.o -MD -MP -MF .deps/cond_query.Tpo -c -o cond_query.o cond_query.c x86_64-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -fno-strict-aliasing -I./../include -I/usr/lib64/../include -I/usr/include -I/usr/include -fpic -O3 -march=native -pipe -MT constraint_query.o -MD -MP -MF .deps/constraint_query.Tpo -c -o constraint_query.o constraint_query.c mv -f .deps/bool_query.Tpo .deps/bool_query.Po x86_64-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -fno-strict-aliasing -I./../include -I/usr/lib64/../include -I/usr/include -I/usr/include -fpic -O3 -march=native -pipe -MT context_query.o -MD -MP -MF .deps/context_query.Tpo -c -o context_query.o context_query.c mv -f .deps/context_query.Tpo .deps/context_query.Po x86_64-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -fno-strict-aliasing -I./../include -I/usr/lib64/../include -I/usr/include -I/usr/include -fpic -O3 -march=native -pipe -MT expand.o -MD -MP -MF .deps/expand.Tpo -c -o expand.o expand.c mv -f .deps/avrule_query.Tpo .deps/avrule_query.Po mv -f .deps/cond_query.Tpo .deps/cond_query.Po x86_64-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -fno-strict-aliasing -I./../include -I/usr/lib64/../include -I/usr/include -I/usr/include -fpic -O3 -march=native -pipe -MT fs_use_query.o -MD -MP -MF .deps/fs_use_query.Tpo -c -o fs_use_query.o fs_use_query.c x86_64-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -fno-strict-aliasing -I./../include -I/usr/lib64/../include -I/usr/include -I/usr/include -fpic -O3 -march=native -pipe -MT genfscon_query.o -MD -MP -MF .deps/genfscon_query.Tpo -c -o genfscon_query.o genfscon_query.c mv -f .deps/class_perm_query.Tpo .deps/class_perm_query.Po x86_64-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -fno-strict-aliasing -I./../include -I/usr/lib64/../include -I/usr/include -I/usr/include -fpic -O3 -march=native -pipe -MT isid_query.o -MD -MP -MF .deps/isid_query.Tpo -c -o isid_query.o isid_query.c mv -f .deps/expand.Tpo .deps/expand.Po x86_64-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -fno-strict-aliasing -I./../include -I/usr/lib64/../include -I/usr/include -I/usr/include -fpic -O3 -march=native -pipe -MT iterator.o -MD -MP -MF .deps/iterator.Tpo -c -o iterator.o iterator.c mv -f .deps/fs_use_query.Tpo .deps/fs_use_query.Po x86_64-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -fno-strict-aliasing -I./../include -I/usr/lib64/../include -I/usr/include -I/usr/include -fpic -O3 -march=native -pipe -MT mls_query.o -MD -MP -MF .deps/mls_query.Tpo -c -o mls_query.o mls_query.c iterator.c: In function ‘ebitmap_state_get_cur_polcap’: iterator.c:653:2: warning: return discards ‘const’ qualifier from pointer target type [enabled by default] mv -f .deps/isid_query.Tpo .deps/isid_query.Po x86_64-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -fno-strict-aliasing -I./../include -I/usr/lib64/../include -I/usr/include -I/usr/include -fpic -O3 -march=native -pipe -MT mlsrule_query.o -MD -MP -MF .deps/mlsrule_query.Tpo -c -o mlsrule_query.o mlsrule_query.c mv -f .deps/genfscon_query.Tpo .deps/genfscon_query.Po x86_64-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -fno-strict-aliasing -I./../include -I/usr/lib64/../include -I/usr/include -I/usr/include -fpic -O3 -march=native -pipe -MT module.o -MD -MP -MF .deps/module.Tpo -c -o module.o module.c mv -f .deps/constraint_query.Tpo .deps/constraint_query.Po x86_64-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -fno-strict-aliasing -I./../include -I/usr/lib64/../include -I/usr/include -I/usr/include -fpic -O3 -march=native -pipe -MT module_compiler.o -MD -MP -MF .deps/module_compiler.Tpo -c -o module_compiler.o module_compiler.c mv -f .deps/mlsrule_query.Tpo .deps/mlsrule_query.Po x86_64-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -fno-strict-aliasing -I./../include -I/usr/lib64/../include -I/usr/include -I/usr/include -fpic -O3 -march=native -pipe -MT netifcon_query.o -MD -MP -MF .deps/netifcon_query.Tpo -c -o netifcon_query.o netifcon_query.c mv -f .deps/module.Tpo .deps/module.Po x86_64-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -fno-strict-aliasing -I./../include -I/usr/lib64/../include -I/usr/include -I/usr/include -fpic -O3 -march=native -pipe -MT nodecon_query.o -MD -MP -MF .deps/nodecon_query.Tpo -c -o nodecon_query.o nodecon_query.c mv -f .deps/iterator.Tpo .deps/iterator.Po x86_64-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -fno-strict-aliasing -I./../include -I/usr/lib64/../include -I/usr/include -I/usr/include -fpic -O3 -march=native -pipe -MT permissive_query.o -MD -MP -MF .deps/permissive_query.Tpo -c -o permissive_query.o permissive_query.c mv -f .deps/netifcon_query.Tpo .deps/netifcon_query.Po mv -f .deps/permissive_query.Tpo .deps/permissive_query.Po mv -f .deps/mls_query.Tpo .deps/mls_query.Po x86_64-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -fno-strict-aliasing -I./../include -I/usr/lib64/../include -I/usr/include -I/usr/include -fpic -O3 -march=native -pipe -MT polcap_query.o -MD -MP -MF .deps/polcap_query.Tpo -c -o polcap_query.o polcap_query.c x86_64-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -fno-strict-aliasing -I./../include -I/usr/lib64/../include -I/usr/include -I/usr/include -fpic -O3 -march=native -pipe -MT policy.o -MD -MP -MF .deps/policy.Tpo -c -o policy.o policy.c x86_64-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -fno-strict-aliasing -I./../include -I/usr/lib64/../include -I/usr/include -I/usr/include -fpic -O3 -march=native -pipe -MT policy_define.o -MD -MP -MF .deps/policy_define.Tpo -c -o policy_define.o policy_define.c mv -f .deps/polcap_query.Tpo .deps/polcap_query.Po x86_64-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -fno-strict-aliasing -I./../include -I/usr/lib64/../include -I/usr/include -I/usr/include -fpic -O3 -march=native -pipe -MT policy_extend.o -MD -MP -MF .deps/policy_extend.Tpo -c -o policy_extend.o policy_extend.c mv -f .deps/nodecon_query.Tpo .deps/nodecon_query.Po x86_64-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -fno-strict-aliasing -I./../include -I/usr/lib64/../include -I/usr/include -I/usr/include -fpic -O3 -march=native -pipe -MT portcon_query.o -MD -MP -MF .deps/portcon_query.Tpo -c -o portcon_query.o portcon_query.c policy.c: In function ‘union_multiply_declared_symbols’: policy.c:610:3: warning: passing argument 2 of ‘qpol_type_get_isattr’ from incompatible pointer type [enabled by default] In file included from ./../include/qpol/avrule_query.h:37:0, from ./../include/qpol/policy.h:39, from qpol_internal.h:34, from policy.c:29: ./../include/qpol/type_query.h:96:13: note: expected ‘const struct qpol_type_t *’ but argument is of type ‘struct type_datum_t *’ mv -f .deps/module_compiler.Tpo .deps/module_compiler.Po x86_64-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -fno-strict-aliasing -I./../include -I/usr/lib64/../include -I/usr/include -I/usr/include -fpic -O3 -march=native -pipe -MT queue.o -MD -MP -MF .deps/queue.Tpo -c -o queue.o queue.c mv -f .deps/portcon_query.Tpo .deps/portcon_query.Po x86_64-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -fno-strict-aliasing -I./../include -I/usr/lib64/../include -I/usr/include -I/usr/include -fpic -O3 -march=native -pipe -MT rbacrule_query.o -MD -MP -MF .deps/rbacrule_query.Tpo -c -o rbacrule_query.o rbacrule_query.c mv -f .deps/queue.Tpo .deps/queue.Po x86_64-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -fno-strict-aliasing -I./../include -I/usr/lib64/../include -I/usr/include -I/usr/include -fpic -O3 -march=native -pipe -MT role_query.o -MD -MP -MF .deps/role_query.Tpo -c -o role_query.o role_query.c mv -f .deps/rbacrule_query.Tpo .deps/rbacrule_query.Po x86_64-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -fno-strict-aliasing -I./../include -I/usr/lib64/../include -I/usr/include -I/usr/include -fpic -O3 -march=native -pipe -MT syn_rule_query.o -MD -MP -MF .deps/syn_rule_query.Tpo -c -o syn_rule_query.o syn_rule_query.c mv -f .deps/policy_extend.Tpo .deps/policy_extend.Po x86_64-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -fno-strict-aliasing -I./../include -I/usr/lib64/../include -I/usr/include -I/usr/include -fpic -O3 -march=native -pipe -MT terule_query.o -MD -MP -MF .deps/terule_query.Tpo -c -o terule_query.o terule_query.c mv -f .deps/policy.Tpo .deps/policy.Po x86_64-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -fno-strict-aliasing -I./../include -I/usr/lib64/../include -I/usr/include -I/usr/include -fpic -O3 -march=native -pipe -MT ftrule_query.o -MD -MP -MF .deps/ftrule_query.Tpo -c -o ftrule_query.o ftrule_query.c mv -f .deps/role_query.Tpo .deps/role_query.Po x86_64-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -fno-strict-aliasing -I./../include -I/usr/lib64/../include -I/usr/include -I/usr/include -fpic -O3 -march=native -pipe -MT type_query.o -MD -MP -MF .deps/type_query.Tpo -c -o type_query.o type_query.c mv -f .deps/terule_query.Tpo .deps/terule_query.Po x86_64-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -fno-strict-aliasing -I./../include -I/usr/lib64/../include -I/usr/include -I/usr/include -fpic -O3 -march=native -pipe -MT user_query.o -MD -MP -MF .deps/user_query.Tpo -c -o user_query.o user_query.c mv -f .deps/ftrule_query.Tpo .deps/ftrule_query.Po x86_64-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -fno-strict-aliasing -I./../include -I/usr/lib64/../include -I/usr/include -I/usr/include -fpic -O3 -march=native -pipe -MT util.o -MD -MP -MF .deps/util.Tpo -c -o util.o util.c mv -f .deps/syn_rule_query.Tpo .deps/syn_rule_query.Po x86_64-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -fno-strict-aliasing -I./../include -I/usr/lib64/../include -I/usr/include -I/usr/include -fpic -O3 -march=native -pipe -MT policy_parse.o -MD -MP -MF .deps/policy_parse.Tpo -c -o policy_parse.o policy_parse.c mv -f .deps/user_query.Tpo .deps/user_query.Po /bin/sh ../../ylwrap policy_scan.l lex.yy.c policy_scan.c -- flex mv -f .deps/type_query.Tpo .deps/type_query.Po mkdir -p tmp_sepol rm -f tmp_sepol/* cp /usr/lib64/libsepol.a tmp_sepol (cd tmp_sepol; ar x libsepol.a) mv -f .deps/util.Tpo .deps/util.Po x86_64-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -fno-strict-aliasing -I./../include -I/usr/lib64/../include -I/usr/include -I/usr/include -fpic -O3 -march=native -pipe -MT policy_scan.o -MD -MP -MF .deps/policy_scan.Tpo -c -o policy_scan.o policy_scan.c mv -f .deps/policy_parse.Tpo .deps/policy_parse.Po mv -f .deps/policy_scan.Tpo .deps/policy_scan.Po mv -f .deps/policy_define.Tpo .deps/policy_define.Po rm -f libqpol.a x86_64-pc-linux-gnu-gcc -std=gnu99 -shared -o libqpol.so.1.7 avrule_query.o bool_query.o class_perm_query.o cond_query.o constraint_query.o context_query.o expand.o fs_use_query.o genfscon_query.o isid_query.o iterator.o mls_query.o mlsrule_query.o module.o module_compiler.o netifcon_query.o nodecon_query.o permissive_query.o polcap_query.o policy.o policy_define.o policy_extend.o portcon_query.o queue.o rbacrule_query.o role_query.o syn_rule_query.o terule_query.o ftrule_query.o type_query.o user_query.o util.o policy_parse.o policy_scan.o -Wl,-O1 -Wl,--as-needed -Wl,-soname,libqpol.so.1,--version-script=./libqpol.map,-z,defs -Wl,--whole-archive /usr/lib64/libsepol.a -Wl,--no-whole-archive -L/usr/lib64 -L/usr/lib64 -lselinux -lsepol -lbz2 x86_64-pc-linux-gnu-ar cru libqpol.a avrule_query.o bool_query.o class_perm_query.o cond_query.o constraint_query.o context_query.o expand.o fs_use_query.o genfscon_query.o isid_query.o iterator.o mls_query.o mlsrule_query.o module.o module_compiler.o netifcon_query.o nodecon_query.o permissive_query.o polcap_query.o policy.o policy_define.o policy_extend.o portcon_query.o queue.o rbacrule_query.o role_query.o syn_rule_query.o terule_query.o ftrule_query.o type_query.o user_query.o util.o policy_parse.o policy_scan.o ./tmp_sepol/*.o x86_64-pc-linux-gnu-ranlib libqpol.a /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.2/../../../../x86_64-pc-linux-gnu/bin/ld: error: symbol qpol_policy_open_from_memory has undefined version collect2: error: ld returned 1 exit status make[4]: *** [libqpol.so.1.7] Error 1 make[4]: *** Waiting for unfinished jobs.... make[4]: Leaving directory `/var/tmp/portage/app-admin/setools-3.3.8-r2/work/setools-3.3.8/libqpol/src' make[3]: *** [all] Error 2 make[3]: Leaving directory `/var/tmp/portage/app-admin/setools-3.3.8-r2/work/setools-3.3.8/libqpol/src' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/app-admin/setools-3.3.8-r2/work/setools-3.3.8/libqpol' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/app-admin/setools-3.3.8-r2/work/setools-3.3.8' make: *** [all] Error 2 emake failed * ERROR: app-admin/setools-3.3.8-r2 failed (compile phase): * Failed to build setools * * Call stack: * ebuild.sh, line 93: Called src_compile * environment, line 7190: Called die * The specific snippet of code: * emake || die "Failed to build setools"; * * If you need support, post the output of `emerge --info '=app-admin/setools-3.3.8-r2'`, * the complete build log and the output of `emerge -pqv '=app-admin/setools-3.3.8-r2'`. !!! When you file a bug report, please include the following information: GENTOO_VM= CLASSPATH="" JAVA_HOME="" JAVACFLAGS="" COMPILER="" and of course, the output of emerge --info =setools-3.3.8 * The complete build log is located at '/var/tmp/portage/app-admin/setools-3.3.8-r2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-admin/setools-3.3.8-r2/temp/environment'. * Working directory: '/var/tmp/portage/app-admin/setools-3.3.8-r2/work/setools-3.3.8' * S: '/var/tmp/portage/app-admin/setools-3.3.8-r2/work/setools-3.3.8'