Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[BUG] app-admin/setools-3.3.7-r3 qpol_wrap.c error
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
xzhai
n00b
n00b


Joined: 30 Aug 2012
Posts: 3

PostPosted: Sun Sep 02, 2012 2:40 pm    Post subject: [BUG] app-admin/setools-3.3.7-r3 qpol_wrap.c error Reply with quote

qpol_wrap.c was automatically generated by SWIG, but the python wrapper throw below error:

build log

[code:1:bcd509a8ff]
 * Package: app-admin/setools-3.3.7-r3
 * Repository: gentoo
 * Maintainer: selinux@gentoo.org
 * USE: X elibc_glibc kernel_linux python userland_GNU x86
 * FEATURES: sandbox
>>> Unpacking source...
>>> Unpacking setools-3.3.7.tar.bz2 to /var/tmp/portage/app-admin/setools-3.3.7-r3/work
>>> Unpacking setools-3.3.7-01-fedora-patches.tar.gz to /var/tmp/portage/app-admin/setools-3.3.7-r3/work
>>> Unpacking setools-3.3.7-03-gentoo-patches.tar.gz to /var/tmp/portage/app-admin/setools-3.3.7-r3/work
>>> Source unpacked in /var/tmp/portage/app-admin/setools-3.3.7-r3/work
>>> Preparing source in /var/tmp/portage/app-admin/setools-3.3.7-r3/work/setools-3.3.7 ...
* Applying various (Fedora-provided) setools fixes...
* 0001-add-setools-seinfo-and-sesearch-python-bindings.patch ...
 [ ok ]
* 0002-setools-should-exit-with-an-error-status-if-it-gets-.patch ...
 [ ok ]
* 0003-Since-we-do-not-ship-neverallow-rules-all-always-fai.patch ...
 [ ok ]
* 0004-Fix-man-pages-and-getoptions.patch ...
 [ ok ]
* 0005-Fix-sepol-calls-to-work-with-latest-libsepol.patch ...
 [ ok ]
* 0006-Changes-to-support-named-file_trans-rules.patch ...
 [ ok ]
* 0007-Remove-unused-variables.patch ...
 [ ok ]
* 0008-Fix-output-to-match-policy-lines.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 ]
* 0003-make-python-optional-again.patch ...
 [ ok ]
* 0004-support-python3-builds.patch ...
 [ ok ]
* 0005-update-on-py_functions-for-python3.patch ...
 [ ok ]
* 0006-import_submodules_correctly.patch ...
 [ ok ]
* Done with patching
* Running eautoreconf in '/var/tmp/portage/app-admin/setools-3.3.7-r3/work/setools-3.3.7' ...
* 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.7/
* Applying portage/1.2.0 patch ...
* Applying sed/1.5.6 patch ...
* Applying as-needed/2.2.6 patch ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/app-admin/setools-3.3.7-r3/work/setools-3.3.7 ...
* econf: updating setools-3.3.7/config.guess with /usr/share/gnuconfig/config.guess
* econf: updating setools-3.3.7/config.sub with /usr/share/gnuconfig/config.sub
./configure --prefix=/usr --build=i686-pc-linux-gnu --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --with-java-prefix= --disable-selinux-check --disable-bwidget-check --enable-swig-python --disable-swig-java --enable-swig-tcl --enable-gui --disable-debug
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 for style of include used by make... GNU
checking for i686-pc-linux-gnu-gcc... i686-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 i686-pc-linux-gnu-gcc accepts -g... yes
checking for i686-pc-linux-gnu-gcc option to accept ISO C89... none needed
checking dependency style of i686-pc-linux-gnu-gcc... gcc3
checking how to run the C preprocessor... i686-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 i686-pc-linux-gnu-gcc option to accept ISO C99... -std=gnu99
checking for i686-pc-linux-gnu-g++... i686-pc-linux-gnu-g++
checking whether we are using the GNU C++ compiler... yes
checking whether i686-pc-linux-gnu-g++ accepts -g... yes
checking dependency style of i686-pc-linux-gnu-g++... gcc3
checking build system type... i686-pc-linux-gnu
checking host system type... i686-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 i686-pc-linux-gnu-gcc -std=gnu99... /usr/i686-pc-linux-gnu/bin/ld
checking if the linker (/usr/i686-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 i686-pc-linux-gnu file names to i686-pc-linux-gnu format... func_convert_file_noop
checking how to convert i686-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/i686-pc-linux-gnu/bin/ld option to reload object files... -r
checking for i686-pc-linux-gnu-objdump... i686-pc-linux-gnu-objdump
checking how to recognize dependent libraries... pass_all
checking for i686-pc-linux-gnu-dlltool... no
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for i686-pc-linux-gnu-ar... i686-pc-linux-gnu-ar
checking for archiver @FILE support... @
checking for i686-pc-linux-gnu-strip... i686-pc-linux-gnu-strip
checking for i686-pc-linux-gnu-ranlib... i686-pc-linux-gnu-ranlib
checking command to parse /usr/bin/nm -B output from i686-pc-linux-gnu-gcc -std=gnu99 object... ok
checking for sysroot... no
checking for i686-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 i686-pc-linux-gnu-gcc -std=gnu99 supports -fno-rtti -fno-exceptions... no
checking for i686-pc-linux-gnu-gcc -std=gnu99 option to produce PIC... -fPIC -DPIC
checking if i686-pc-linux-gnu-gcc -std=gnu99 PIC flag -fPIC -DPIC works... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 static flag -static works... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports -c -o file.o... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports -c -o file.o... (cached) yes
checking whether the i686-pc-linux-gnu-gcc -std=gnu99 linker (/usr/i686-pc-linux-gnu/bin/ld) 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... i686-pc-linux-gnu-g++ -E
checking for ld used by i686-pc-linux-gnu-g++... /usr/i686-pc-linux-gnu/bin/ld
checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes
checking whether the i686-pc-linux-gnu-g++ linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes
checking for i686-pc-linux-gnu-g++ option to produce PIC... -fPIC -DPIC
checking if i686-pc-linux-gnu-g++ PIC flag -fPIC -DPIC works... yes
checking if i686-pc-linux-gnu-g++ static flag -static works... yes
checking if i686-pc-linux-gnu-g++ supports -c -o file.o... yes
checking if i686-pc-linux-gnu-g++ supports -c -o file.o... (cached) yes
checking whether the i686-pc-linux-gnu-g++ linker (/usr/i686-pc-linux-gnu/bin/ld) 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... 64
checking for debugging support... disabled
checking for how to link against libraries... shared
checking for profiling support... disabled
checking for swig... /usr/bin/swig
checking for python... /usr/bin/python
checking for the distutils Python package... yes
checking for Python include path... -I/usr/include/python3.2
checking for Python library path... -L/usr/lib/python3.2 -lpython3.2
checking for Python site-packages path... /usr/lib/python3.2/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 >= 2.7... yes
checking for /usr/bin/python version... 3.2
checking for /usr/bin/python platform... linux2
checking for /usr/bin/python script directory... ${prefix}/lib/python3.2/site-packages
checking for /usr/bin/python extension module directory... ${exec_prefix}/lib/python3.2/site-packages
checking for swig... (cached) /usr/bin/swig
checking for correct TEA configuration... ok (TEA 3.5)
checking for Tcl configuration... found /usr/lib/tclConfig.sh
checking for existence of /usr/lib/tclConfig.sh... loading
checking for Tcl 8.4 or greater... yes
checking for Tcl public headers... /usr/include
checking for tclsh... /usr/bin/tclsh8.5
checking which setools programs to build... all
checking for Tk configuration... found /usr/lib/tkConfig.sh
checking for existence of /usr/lib/tkConfig.sh... loading
checking for Tk 8.4 or greater... yes
checking for Tk public headers... /usr/include
checking for X... libraries , headers
checking for X11 header files... checking for wish... /usr/bin/wish8.5
checking for BWidget 1.7 or greater... 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/lib/libsepol.a... yes
checking for user and role mappings... 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/targeted
checking for policy source... configure: WARNING: could not read default policy /etc/selinux/targeted/src/policy/policy.conf
checking for pkg-config... yes
checking for libxml... yes
checking for sqlite3... yes
checking for GTK... yes
checking for libglade... yes
checking for gdk-pixbuf... yes
checking for gthread... 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: 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.7-r3/work/setools-3.3.7 ...
make -j2
make all-recursive
make[1]: Entering directory `/var/tmp/portage/app-admin/setools-3.3.7-r3/work/setools-3.3.7'
Making all in libqpol
make[2]: Entering directory `/var/tmp/portage/app-admin/setools-3.3.7-r3/work/setools-3.3.7/libqpol'
Making all in src
make[3]: Entering directory `/var/tmp/portage/app-admin/setools-3.3.7-r3/work/setools-3.3.7/libqpol/src'
/bin/sh ../../ylwrap policy_parse.y y.tab.c policy_parse.c y.tab.h policy_parse.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.7-r3/work/setools-3.3.7/libqpol/src'
i686-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -fno-strict-aliasing -I./../include -I/usr/lib/../include -I/usr/include -I/usr/include -fpic -O2 -march=i686 -pipe -MT avrule_query.o -MD -MP -MF .deps/avrule_query.Tpo -c -o avrule_query.o avrule_query.c
i686-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -fno-strict-aliasing -I./../include -I/usr/lib/../include -I/usr/include -I/usr/include -fpic -O2 -march=i686 -pipe -MT bool_query.o -MD -MP -MF .deps/bool_query.Tpo -c -o bool_query.o bool_query.c
mv -f .deps/bool_query.Tpo .deps/bool_query.Po
i686-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -fno-strict-aliasing -I./../include -I/usr/lib/../include -I/usr/include -I/usr/include -fpic -O2 -march=i686 -pipe -MT class_perm_query.o -MD -MP -MF .deps/class_perm_query.Tpo -c -o class_perm_query.o class_perm_query.c
mv -f .deps/avrule_query.Tpo .deps/avrule_query.Po
i686-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -fno-strict-aliasing -I./../include -I/usr/lib/../include -I/usr/include -I/usr/include -fpic -O2 -march=i686 -pipe -MT cond_query.o -MD -MP -MF .deps/cond_query.Tpo -c -o cond_query.o cond_query.c
mv -f .deps/cond_query.Tpo .deps/cond_query.Po
i686-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -fno-strict-aliasing -I./../include -I/usr/lib/../include -I/usr/include -I/usr/include -fpic -O2 -march=i686 -pipe -MT constraint_query.o -MD -MP -MF .deps/constraint_query.Tpo -c -o constraint_query.o constraint_query.c
mv -f .deps/class_perm_query.Tpo .deps/class_perm_query.Po
i686-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -fno-strict-aliasing -I./../include -I/usr/lib/../include -I/usr/include -I/usr/include -fpic -O2 -march=i686 -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
i686-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -fno-strict-aliasing -I./../include -I/usr/lib/../include -I/usr/include -I/usr/include -fpic -O2 -march=i686 -pipe -MT expand.o -MD -MP -MF .deps/expand.Tpo -c -o expand.o expand.c
mv -f .deps/expand.Tpo .deps/expand.Po
i686-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -fno-strict-aliasing -I./../include -I/usr/lib/../include -I/usr/include -I/usr/include -fpic -O2 -march=i686 -pipe -MT fs_use_query.o -MD -MP -MF .deps/fs_use_query.Tpo -c -o fs_use_query.o fs_use_query.c
mv -f .deps/constraint_query.Tpo .deps/constraint_query.Po
i686-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -fno-strict-aliasing -I./../include -I/usr/lib/../include -I/usr/include -I/usr/include -fpic -O2 -march=i686 -pipe -MT genfscon_query.o -MD -MP -MF .deps/genfscon_query.Tpo -c -o genfscon_query.o genfscon_query.c
mv -f .deps/fs_use_query.Tpo .deps/fs_use_query.Po
i686-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -fno-strict-aliasing -I./../include -I/usr/lib/../include -I/usr/include -I/usr/include -fpic -O2 -march=i686 -pipe -MT isid_query.o -MD -MP -MF .deps/isid_query.Tpo -c -o isid_query.o isid_query.c
mv -f .deps/genfscon_query.Tpo .deps/genfscon_query.Po
i686-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -fno-strict-aliasing -I./../include -I/usr/lib/../include -I/usr/include -I/usr/include -fpic -O2 -march=i686 -pipe -MT iterator.o -MD -MP -MF .deps/iterator.Tpo -c -o iterator.o iterator.c
mv -f .deps/isid_query.Tpo .deps/isid_query.Po
i686-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -fno-strict-aliasing -I./../include -I/usr/lib/../include -I/usr/include -I/usr/include -fpic -O2 -march=i686 -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 qualifiers from pointer target type
mv -f .deps/mls_query.Tpo .deps/mls_query.Po
i686-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -fno-strict-aliasing -I./../include -I/usr/lib/../include -I/usr/include -I/usr/include -fpic -O2 -march=i686 -pipe -MT mlsrule_query.o -MD -MP -MF .deps/mlsrule_query.Tpo -c -o mlsrule_query.o mlsrule_query.c
mv -f .deps/iterator.Tpo .deps/iterator.Po
i686-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -fno-strict-aliasing -I./../include -I/usr/lib/../include -I/usr/include -I/usr/include -fpic -O2 -march=i686 -pipe -MT module.o -MD -MP -MF .deps/module.Tpo -c -o module.o module.c
mv -f .deps/mlsrule_query.Tpo .deps/mlsrule_query.Po
i686-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -fno-strict-aliasing -I./../include -I/usr/lib/../include -I/usr/include -I/usr/include -fpic -O2 -march=i686 -pipe -MT module_compiler.o -MD -MP -MF .deps/module_compiler.Tpo -c -o module_compiler.o module_compiler.c
mv -f .deps/module.Tpo .deps/module.Po
i686-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -fno-strict-aliasing -I./../include -I/usr/lib/../include -I/usr/include -I/usr/include -fpic -O2 -march=i686 -pipe -MT netifcon_query.o -MD -MP -MF .deps/netifcon_query.Tpo -c -o netifcon_query.o netifcon_query.c
mv -f .deps/netifcon_query.Tpo .deps/netifcon_query.Po
i686-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -fno-strict-aliasing -I./../include -I/usr/lib/../include -I/usr/include -I/usr/include -fpic -O2 -march=i686 -pipe -MT nodecon_query.o -MD -MP -MF .deps/nodecon_query.Tpo -c -o nodecon_query.o nodecon_query.c
mv -f .deps/nodecon_query.Tpo .deps/nodecon_query.Po
i686-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -fno-strict-aliasing -I./../include -I/usr/lib/../include -I/usr/include -I/usr/include -fpic -O2 -march=i686 -pipe -MT permissive_query.o -MD -MP -MF .deps/permissive_query.Tpo -c -o permissive_query.o permissive_query.c
mv -f .deps/permissive_query.Tpo .deps/permissive_query.Po
mv -f .deps/module_compiler.Tpo .deps/module_compiler.Po
i686-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -fno-strict-aliasing -I./../include -I/usr/lib/../include -I/usr/include -I/usr/include -fpic -O2 -march=i686 -pipe -MT polcap_query.o -MD -MP -MF .deps/polcap_query.Tpo -c -o polcap_query.o polcap_query.c
i686-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -fno-strict-aliasing -I./../include -I/usr/lib/../include -I/usr/include -I/usr/include -fpic -O2 -march=i686 -pipe -MT policy.o -MD -MP -MF .deps/policy.Tpo -c -o policy.o policy.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
./../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/polcap_query.Tpo .deps/polcap_query.Po
i686-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -fno-strict-aliasing -I./../include -I/usr/lib/../include -I/usr/include -I/usr/include -fpic -O2 -march=i686 -pipe -MT policy_define.o -MD -MP -MF .deps/policy_define.Tpo -c -o policy_define.o policy_define.c
mv -f .deps/policy.Tpo .deps/policy.Po
i686-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -fno-strict-aliasing -I./../include -I/usr/lib/../include -I/usr/include -I/usr/include -fpic -O2 -march=i686 -pipe -MT policy_extend.o -MD -MP -MF .deps/policy_extend.Tpo -c -o policy_extend.o policy_extend.c
mv -f .deps/policy_extend.Tpo .deps/policy_extend.Po
i686-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -fno-strict-aliasing -I./../include -I/usr/lib/../include -I/usr/include -I/usr/include -fpic -O2 -march=i686 -pipe -MT portcon_query.o -MD -MP -MF .deps/portcon_query.Tpo -c -o portcon_query.o portcon_query.c
mv -f .deps/portcon_query.Tpo .deps/portcon_query.Po
i686-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -fno-strict-aliasing -I./../include -I/usr/lib/../include -I/usr/include -I/usr/include -fpic -O2 -march=i686 -pipe -MT queue.o -MD -MP -MF .deps/queue.Tpo -c -o queue.o queue.c
mv -f .deps/queue.Tpo .deps/queue.Po
i686-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -fno-strict-aliasing -I./../include -I/usr/lib/../include -I/usr/include -I/usr/include -fpic -O2 -march=i686 -pipe -MT rbacrule_query.o -MD -MP -MF .deps/rbacrule_query.Tpo -c -o rbacrule_query.o rbacrule_query.c
mv -f .deps/rbacrule_query.Tpo .deps/rbacrule_query.Po
i686-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -fno-strict-aliasing -I./../include -I/usr/lib/../include -I/usr/include -I/usr/include -fpic -O2 -march=i686 -pipe -MT role_query.o -MD -MP -MF .deps/role_query.Tpo -c -o role_query.o role_query.c
mv -f .deps/role_query.Tpo .deps/role_query.Po
i686-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -fno-strict-aliasing -I./../include -I/usr/lib/../include -I/usr/include -I/usr/include -fpic -O2 -march=i686 -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_define.Tpo .deps/policy_define.Po
i686-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -fno-strict-aliasing -I./../include -I/usr/lib/../include -I/usr/include -I/usr/include -fpic -O2 -march=i686 -pipe -MT terule_query.o -MD -MP -MF .deps/terule_query.Tpo -c -o terule_query.o terule_query.c
mv -f .deps/terule_query.Tpo .deps/terule_query.Po
i686-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -fno-strict-aliasing -I./../include -I/usr/lib/../include -I/usr/include -I/usr/include -fpic -O2 -march=i686 -pipe -MT ftrule_query.o -MD -MP -MF .deps/ftrule_query.Tpo -c -o ftrule_query.o ftrule_query.c
mv -f .deps/ftrule_query.Tpo .deps/ftrule_query.Po
mv -f .deps/syn_rule_query.Tpo .deps/syn_rule_query.Po
i686-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -fno-strict-aliasing -I./../include -I/usr/lib/../include -I/usr/include -I/usr/include -fpic -O2 -march=i686 -pipe -MT type_query.o -MD -MP -MF .deps/type_query.Tpo -c -o type_query.o type_query.c
i686-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -fno-strict-aliasing -I./../include -I/usr/lib/../include -I/usr/include -I/usr/include -fpic -O2 -march=i686 -pipe -MT user_query.o -MD -MP -MF .deps/user_query.Tpo -c -o user_query.o user_query.c
mv -f .deps/user_query.Tpo .deps/user_query.Po
i686-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -fno-strict-aliasing -I./../include -I/usr/lib/../include -I/usr/include -I/usr/include -fpic -O2 -march=i686 -pipe -MT util.o -MD -MP -MF .deps/util.Tpo -c -o util.o util.c
mv -f .deps/type_query.Tpo .deps/type_query.Po
i686-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -fno-strict-aliasing -I./../include -I/usr/lib/../include -I/usr/include -I/usr/include -fpic -O2 -march=i686 -pipe -MT policy_parse.o -MD -MP -MF .deps/policy_parse.Tpo -c -o policy_parse.o policy_parse.c
mv -f .deps/util.Tpo .deps/util.Po
/bin/sh ../../ylwrap policy_scan.l lex.yy.c policy_scan.c -- flex
mkdir -p tmp_sepol
rm -f tmp_sepol/*
cp /usr/lib/libsepol.a tmp_sepol
(cd tmp_sepol; ar x libsepol.a)
i686-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -fno-strict-aliasing -I./../include -I/usr/lib/../include -I/usr/include -I/usr/include -fpic -O2 -march=i686 -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
rm -f libqpol.a
i686-pc-linux-gnu-gcc -std=gnu99 -shared -o libqpol.so.1.6 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/lib/libsepol.a -Wl,--no-whole-archive -L/usr/lib -L/usr/lib -lselinux -lsepol -lbz2
i686-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
i686-pc-linux-gnu-ranlib libqpol.a
ln -s -f libqpol.so.1.6 libqpol.so.1
ln -s -f libqpol.so.1.6 libqpol.so
make[4]: Leaving directory `/var/tmp/portage/app-admin/setools-3.3.7-r3/work/setools-3.3.7/libqpol/src'
make[3]: Leaving directory `/var/tmp/portage/app-admin/setools-3.3.7-r3/work/setools-3.3.7/libqpol/src'
Making all in include
make[3]: Entering directory `/var/tmp/portage/app-admin/setools-3.3.7-r3/work/setools-3.3.7/libqpol/include'
Making all in qpol
make[4]: Entering directory `/var/tmp/portage/app-admin/setools-3.3.7-r3/work/setools-3.3.7/libqpol/include/qpol'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/var/tmp/portage/app-admin/setools-3.3.7-r3/work/setools-3.3.7/libqpol/include/qpol'
make[4]: Entering directory `/var/tmp/portage/app-admin/setools-3.3.7-r3/work/setools-3.3.7/libqpol/include'
make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory `/var/tmp/portage/app-admin/setools-3.3.7-r3/work/setools-3.3.7/libqpol/include'
make[3]: Leaving directory `/var/tmp/portage/app-admin/setools-3.3.7-r3/work/setools-3.3.7/libqpol/include'
Making all in tests
make[3]: Entering directory `/var/tmp/portage/app-admin/setools-3.3.7-r3/work/setools-3.3.7/libqpol/tests'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/var/tmp/portage/app-admin/setools-3.3.7-r3/work/setools-3.3.7/libqpol/tests'
Making all in swig
make[3]: Entering directory `/var/tmp/portage/app-admin/setools-3.3.7-r3/work/setools-3.3.7/libqpol/swig'
Making all in tcl
make[4]: Entering directory `/var/tmp/portage/app-admin/setools-3.3.7-r3/work/setools-3.3.7/libqpol/swig/tcl'
/usr/bin/swig -tcl -pkgversion 1.6 -o qpol_wrap.c ../qpol.i
../qpol.i:241: Warning 504: Function qpol_module::qpol_module_t(char const *) must have a return type. Ignored.
../qpol.i:244: Warning 521: Illegal destructor name qpol_module::~qpol_module_t(). Ignored.
../qpol.i:343: Warning 504: Function qpol_policy::qpol_policy_t(char const *,int const) must have a return type. Ignored.
../qpol.i:346: Warning 521: Illegal destructor name qpol_policy::~qpol_policy_t(). Ignored.
../qpol.i:696: Warning 504: Function qpol_iterator::qpol_iterator_t() must have a return type. Ignored.
../qpol.i:699: Warning 521: Illegal destructor name qpol_iterator::~qpol_iterator_t(). Ignored.
../qpol.i:749: Warning 504: Function qpol_type::qpol_type_t(qpol_policy_t *,char const *) must have a return type. Ignored.
../qpol.i:753: Warning 521: Illegal destructor name qpol_type::~qpol_type_t(). Ignored.
../qpol.i:864: Warning 504: Function qpol_role::qpol_role_t(qpol_policy_t *,char const *) must have a return type. Ignored.
../qpol.i:868: Warning 521: Illegal destructor name qpol_role::~qpol_role_t(). Ignored.
../qpol.i:932: Warning 504: Function qpol_level::qpol_level_t(qpol_policy_t *,char const *) must have a return type. Ignored.
../qpol.i:936: Warning 521: Illegal destructor name qpol_level::~qpol_level_t(). Ignored.
../qpol.i:1010: Warning 504: Function qpol_cat::qpol_cat_t(qpol_policy_t *,char const *) must have a return type. Ignored.
../qpol.i:1014: Warning 521: Illegal destructor name qpol_cat::~qpol_cat_t(). Ignored.
../qpol.i:1073: Warning 504: Function qpol_mls_range::qpol_mls_range_t() must have a return type. Ignored.
../qpol.i:1077: Warning 521: Illegal destructor name qpol_mls_range::~qpol_mls_range_t(). Ignored.
../qpol.i:1114: Warning 504: Function qpol_mls_level::qpol_mls_level_t() must have a return type. Ignored.
../qpol.i:1118: Warning 521: Illegal destructor name qpol_mls_level::~qpol_mls_level_t(). Ignored.
../qpol.i:1160: Warning 504: Function qpol_user::qpol_user_t(qpol_policy_t *,char const *) must have a return type. Ignored.
../qpol.i:1164: Warning 521: Illegal destructor name qpol_user::~qpol_user_t(). Ignored.
../qpol.i:1235: Warning 504: Function qpol_bool::qpol_bool_t(qpol_policy_t *,char const *) must have a return type. Ignored.
../qpol.i:1239: Warning 521: Illegal destructor name qpol_bool::~qpol_bool_t(). Ignored.
../qpol.i:1304: Warning 504: Function qpol_context::qpol_context_t() must have a return type. Ignored.
../qpol.i:1308: Warning 521: Illegal destructor name qpol_context::~qpol_context_t(). Ignored.
../qpol.i:1368: Warning 504: Function qpol_class::qpol_class_t(qpol_policy_t *,char const *) must have a return type. Ignored.
../qpol.i:1372: Warning 521: Illegal destructor name qpol_class::~qpol_class_t(). Ignored.
../qpol.i:1455: Warning 504: Function qpol_common::qpol_common_t(qpol_policy_t *,char const *) must have a return type. Ignored.
../qpol.i:1459: Warning 521: Illegal destructor name qpol_common::~qpol_common_t(). Ignored.
../qpol.i:1528: Warning 504: Function qpol_fs_use::qpol_fs_use_t(qpol_policy_t *,char const *) must have a return type. Ignored.
../qpol.i:1532: Warning 521: Illegal destructor name qpol_fs_use::~qpol_fs_use_t(). Ignored.
../qpol.i:1606: Warning 504: Function qpol_genfscon::qpol_genfscon_t(qpol_policy_t *,char const *,char const *) must have a return type. Ignored.
../qpol.i:1609: Warning 521: Illegal destructor name qpol_genfscon::~qpol_genfscon_t(). Ignored.
../qpol.i:1669: Warning 504: Function qpol_isid::qpol_isid_t(qpol_policy_t *,char const *) must have a return type. Ignored.
../qpol.i:1673: Warning 521: Illegal destructor name qpol_isid::~qpol_isid_t(). Ignored.
../qpol.i:1713: Warning 504: Function qpol_netifcon::qpol_netifcon_t(qpol_policy_t *,char const *) must have a return type. Ignored.
../qpol.i:1717: Warning 521: Illegal destructor name qpol_netifcon::~qpol_netifcon_t(). Ignored.
../qpol.i:1774: Warning 504: Function qpol_nodecon::qpol_nodecon_t(qpol_policy_t *,int [4],int [4],int) must have a return type. Ignored.
../qpol.i:1777: Warning 521: Illegal destructor name qpol_nodecon::~qpol_nodecon_t(). Ignored.
../qpol.i:1842: Warning 504: Function qpol_portcon::qpol_portcon_t(qpol_policy_t *,uint16_t,uint16_t,uint8_t) must have a return type. Ignored.
../qpol.i:1846: Warning 521: Illegal destructor name qpol_portcon::~qpol_portcon_t(). Ignored.
../qpol.i:1903: Warning 504: Function qpol_constraint::qpol_constraint_t() must have a return type. Ignored.
../qpol.i:1906: Warning 521: Illegal destructor name qpol_constraint::~qpol_constraint_t(). Ignored.
../qpol.i:1955: Warning 504: Function qpol_validatetrans::qpol_validatetrans_t() must have a return type. Ignored.
../qpol.i:1958: Warning 521: Illegal destructor name qpol_validatetrans::~qpol_validatetrans_t(). Ignored.
../qpol.i:2020: Warning 504: Function qpol_constraint_expr_node::qpol_constraint_expr_node_t() must have a return type. Ignored.
../qpol.i:2024: Warning 521: Illegal destructor name qpol_constraint_expr_node::~qpol_constraint_expr_node_t(). Ignored.
../qpol.i:2082: Warning 504: Function qpol_role_allow::qpol_role_allow_t() must have a return type. Ignored.
../qpol.i:2086: Warning 521: Illegal destructor name qpol_role_allow::~qpol_role_allow_t(). Ignored.
../qpol.i:2123: Warning 504: Function qpol_role_trans::qpol_role_trans_t() must have a return type. Ignored.
../qpol.i:2127: Warning 521: Illegal destructor name qpol_role_trans::~qpol_role_trans_t(). Ignored.
../qpol.i:2174: Warning 504: Function qpol_range_trans::qpol_range_trans_t() must have a return type. Ignored.
../qpol.i:2178: Warning 521: Illegal destructor name qpol_range_trans::~qpol_range_trans_t(). Ignored.
../qpol.i:2237: Warning 504: Function qpol_avrule::qpol_avrule_t() must have a return type. Ignored.
../qpol.i:2241: Warning 521: Illegal destructor name qpol_avrule::~qpol_avrule_t(). Ignored.
../qpol.i:2357: Warning 504: Function qpol_terule::qpol_terule_t() must have a return type. Ignored.
../qpol.i:2361: Warning 521: Illegal destructor name qpol_terule::~qpol_terule_t(). Ignored.
../qpol.i:2473: Warning 504: Function qpol_cond::qpol_cond_t() must have a return type. Ignored.
../qpol.i:2477: Warning 521: Illegal destructor name qpol_cond::~qpol_cond_t(). Ignored.
../qpol.i:2566: Warning 504: Function qpol_cond_expr_node::qpol_cond_expr_node_t() must have a return type. Ignored.
../qpol.i:2570: Warning 521: Illegal destructor name qpol_cond_expr_node::~qpol_cond_expr_node_t(). Ignored.
../qpol.i:2611: Warning 504: Function qpol_type_set::qpol_type_set_t() must have a return type. Ignored.
../qpol.i:2615: Warning 521: Illegal destructor name qpol_type_set::~qpol_type_set_t(). Ignored.
../qpol.i:2674: Warning 504: Function qpol_syn_avrule::qpol_syn_avrule_t() must have a return type. Ignored.
../qpol.i:2678: Warning 521: Illegal destructor name qpol_syn_avrule::~qpol_syn_avrule_t(). Ignored.
../qpol.i:2787: Warning 504: Function qpol_syn_terule::qpol_syn_terule_t() must have a return type. Ignored.
../qpol.i:2791: Warning 521: Illegal destructor name qpol_syn_terule::~qpol_syn_terule_t(). Ignored.
make all-am
make[5]: Entering directory `/var/tmp/portage/app-admin/setools-3.3.7-r3/work/setools-3.3.7/libqpol/swig/tcl'
i686-pc-linux-gnu-gcc -std=gnu99 -shared -o libtqpol.so.1.6 qpol_wrap.c -fno-strict-aliasing -I/usr/include -I/usr/include -I../../.. -fpic -I../../../libqpol/include -O2 -march=i686 -pipe -I"/usr/include" -DSWIGTCL=1 ../../../libqpol/src/libqpol.so -ltcl8.5 -Wl,-O1 -Wl,--as-needed -Wl,-soname,libtqpol.so.1
qpol_wrap.c:11:0: warning: "SWIGTCL" redefined
<command-line>:0:0: note: this is the location of the previous definition
qpol_wrap.c:1831:24: error: conflicting types for ‘qpol_module_get_path’
../../../libqpol/include/qpol/module.h:69:13: note: previous declaration of ‘qpol_module_get_path’ was here
qpol_wrap.c: In function ‘qpol_module_get_path’:
qpol_wrap.c:1834:3: error: too many arguments to function ‘qpol_module_get_path’
qpol_wrap.c:1831:24: note: declared here
qpol_wrap.c: At top level:
qpol_wrap.c:1842:24: error: conflicting types for ‘qpol_module_get_name’
../../../libqpol/include/qpol/module.h:80:13: note: previous declaration of ‘qpol_module_get_name’ was here
qpol_wrap.c: In function ‘qpol_module_get_name’:
qpol_wrap.c:1845:3: error: too many arguments to function ‘qpol_module_get_name’
qpol_wrap.c:1842:24: note: declared here
qpol_wrap.c: At top level:
qpol_wrap.c:1853:24: error: conflicting types for ‘qpol_module_get_version’
../../../libqpol/include/qpol/module.h:90:13: note: previous declaration of ‘qpol_module_get_version’ was here
qpol_wrap.c: In function ‘qpol_module_get_version’:
qpol_wrap.c:1856:3: error: too many arguments to function ‘qpol_module_get_version’
qpol_wrap.c:1853:24: note: declared here
qpol_wrap.c: At top level:
qpol_wrap.c:1864:16: error: conflicting types for ‘qpol_module_get_type’
../../../libqpol/include/qpol/module.h:100:13: note: previous declaration of ‘qpol_module_get_type’ was here
qpol_wrap.c: In function ‘qpol_module_get_type’:
qpol_wrap.c:1867:3: error: too many arguments to function ‘qpol_module_get_type’
qpol_wrap.c:1864:16: note: declared here
qpol_wrap.c: At top level:
qpol_wrap.c:1874:16: error: conflicting types for ‘qpol_module_get_enabled’
../../../libqpol/include/qpol/module.h:110:13: note: previous declaration of ‘qpol_module_get_enabled’ was here
qpol_wrap.c: In function ‘qpol_module_get_enabled’:
qpol_wrap.c:1877:3: error: too many arguments to function ‘qpol_module_get_enabled’
qpol_wrap.c:1874:16: note: declared here
qpol_wrap.c: At top level:
qpol_wrap.c:1912:17: error: conflicting types for ‘qpol_module_set_enabled’
../../../libqpol/include/qpol/module.h:120:13: note: previous declaration of ‘qpol_module_set_enabled’ was here
qpol_wrap.c: In function ‘qpol_module_set_enabled’:
qpol_wrap.c:1914:3: error: void value not ignored as it ought to be
qpol_wrap.c: At top level:
qpol_wrap.c:1921:17: error: conflicting types for ‘qpol_policy_reevaluate_conds’
../../../libqpol/include/qpol/policy.h:187:13: note: previous declaration of ‘qpol_policy_reevaluate_conds’ was here
qpol_wrap.c: In function ‘qpol_policy_reevaluate_conds’:
qpol_wrap.c:1923:3: error: void value not ignored as it ought to be
qpol_wrap.c: At top level:
qpol_wrap.c:1930:17: error: conflicting types for ‘qpol_policy_append_module’
../../../libqpol/include/qpol/policy.h:201:13: note: previous declaration of ‘qpol_policy_append_module’ was here
qpol_wrap.c: In function ‘qpol_policy_append_module’:
qpol_wrap.c:1932:3: error: void value not ignored as it ought to be
qpol_wrap.c: At top level:
qpol_wrap.c:1939:17: error: conflicting types for ‘qpol_policy_rebuild’
../../../libqpol/include/qpol/policy.h:217:13: note: previous declaration of ‘qpol_policy_rebuild’ was here
qpol_wrap.c: In function ‘qpol_policy_rebuild’:
qpol_wrap.c:1941:3: error: void value not ignored as it ought to be
qpol_wrap.c: At top level:
qpol_wrap.c:1953:16: error: conflicting types for ‘qpol_policy_get_type’
../../../libqpol/include/qpol/policy.h:247:13: note: previous declaration of ‘qpol_policy_get_type’ was here
qpol_wrap.c: In function ‘qpol_policy_get_type’:
qpol_wrap.c:1955:3: error: too many arguments to function ‘qpol_policy_get_type’
qpol_wrap.c:1953:16: note: declared here
qpol_wrap.c: At top level:
qpol_wrap.c:1958:16: error: conflicting types for ‘qpol_policy_has_capability’
../../../libqpol/include/qpol/policy.h:256:13: note: previous declaration of ‘qpol_policy_has_capability’ was here
qpol_wrap.c:1961:17: error: conflicting types for ‘qpol_policy_build_syn_rule_table’
../../../libqpol/include/../include/qpol/policy_extend.h:46:13: note: previous declaration of ‘qpol_policy_build_syn_rule_table’ was here
qpol_wrap.c: In function ‘qpol_policy_build_syn_rule_table’:
qpol_wrap.c:1963:3: error: void value not ignored as it ought to be
qpol_wrap.c: At top level:
qpol_wrap.c:1970:29: error: conflicting types for ‘qpol_policy_get_module_iter’
../../../libqpol/include/qpol/policy.h:228:13: note: previous declaration of ‘qpol_policy_get_module_iter’ was here
qpol_wrap.c: In function ‘qpol_policy_get_module_iter’:
qpol_wrap.c:1973:3: error: too many arguments to function ‘qpol_policy_get_module_iter’
qpol_wrap.c:1970:29: note: declared here
qpol_wrap.c: At top level:
qpol_wrap.c:1981:29: error: conflicting types for ‘qpol_policy_get_type_iter’
../../../libqpol/include/qpol/type_query.h:63:13: note: previous declaration of ‘qpol_policy_get_type_iter’ was here
qpol_wrap.c: In function ‘qpol_policy_get_type_iter’:
qpol_wrap.c:1984:3: error: too many arguments to function ‘qpol_policy_get_type_iter’
qpol_wrap.c:1981:29: note: declared here
qpol_wrap.c: At top level:
qpol_wrap.c:1992:29: error: conflicting types for ‘qpol_policy_get_role_iter’
../../../libqpol/include/qpol/role_query.h:62:13: note: previous declaration of ‘qpol_policy_get_role_iter’ was here
qpol_wrap.c: In function ‘qpol_policy_get_role_iter’:
qpol_wrap.c:1995:3: error: too many arguments to function ‘qpol_policy_get_role_iter’
qpol_wrap.c:1992:29: note: declared here
qpol_wrap.c: At top level:
qpol_wrap.c:2003:29: error: conflicting types for ‘qpol_policy_get_level_iter’
../../../libqpol/include/qpol/mls_query.h:67:13: note: previous declaration of ‘qpol_policy_get_level_iter’ was here
qpol_wrap.c: In function ‘qpol_policy_get_level_iter’:
qpol_wrap.c:2006:3: error: too many arguments to function ‘qpol_policy_get_level_iter’
qpol_wrap.c:2003:29: note: declared here
qpol_wrap.c: At top level:
qpol_wrap.c:2014:29: error: conflicting types for ‘qpol_policy_get_cat_iter’
../../../libqpol/include/qpol/mls_query.h:154:13: note: previous declaration of ‘qpol_policy_get_cat_iter’ was here
qpol_wrap.c: In function ‘qpol_policy_get_cat_iter’:
qpol_wrap.c:2017:3: error: too many arguments to function ‘qpol_policy_get_cat_iter’
qpol_wrap.c:2014:29: note: declared here
qpol_wrap.c: At top level:
qpol_wrap.c:2025:29: error: conflicting types for ‘qpol_policy_get_user_iter’
../../../libqpol/include/qpol/user_query.h:62:13: note: previous declaration of ‘qpol_policy_get_user_iter’ was here
qpol_wrap.c: In function ‘qpol_policy_get_user_iter’:
qpol_wrap.c:2028:3: error: too many arguments to function ‘qpol_policy_get_user_iter’
qpol_wrap.c:2025:29: note: declared here
qpol_wrap.c: At top level:
qpol_wrap.c:2036:29: error: conflicting types for ‘qpol_policy_get_bool_iter’
../../../libqpol/include/qpol/bool_query.h:62:13: note: previous declaration of ‘qpol_policy_get_bool_iter’ was here
qpol_wrap.c: In function ‘qpol_policy_get_bool_iter’:
qpol_wrap.c:2039:3: error: too many arguments to function ‘qpol_policy_get_bool_iter’
qpol_wrap.c:2036:29: note: declared here
qpol_wrap.c: At top level:
qpol_wrap.c:2065:29: error: conflicting types for ‘qpol_policy_get_class_iter’
../../../libqpol/include/qpol/class_perm_query.h:95:13: note: previous declaration of ‘qpol_policy_get_class_iter’ was here
qpol_wrap.c: In function ‘qpol_policy_get_class_iter’:
qpol_wrap.c:2073:4: warning: passing argument 2 of ‘qpol_policy_get_class_iter’ from incompatible pointer type
qpol_wrap.c:2065:29: note: expected ‘char *’ but argument is of type ‘struct qpol_iterator_t **’
qpol_wrap.c: At top level:
qpol_wrap.c:2082:29: error: conflicting types for ‘qpol_policy_get_common_iter’
../../../libqpol/include/qpol/class_perm_query.h:168:13: note: previous declaration of ‘qpol_policy_get_common_iter’ was here
qpol_wrap.c: In function ‘qpol_policy_get_common_iter’:
qpol_wrap.c:2090:4: warning: passing argument 2 of ‘qpol_policy_get_common_iter’ from incompatible pointer type
qpol_wrap.c:2082:29: note: expected ‘char *’ but argument is of type ‘struct qpol_iterator_t **’
qpol_wrap.c: At top level:
qpol_wrap.c:2099:29: error: conflicting types for ‘qpol_policy_get_fs_use_iter’
../../../libqpol/include/qpol/fs_use_query.h:64:13: note: previous declaration of ‘qpol_policy_get_fs_use_iter’ was here
qpol_wrap.c: In function ‘qpol_policy_get_fs_use_iter’:
qpol_wrap.c:2102:3: error: too many arguments to function ‘qpol_policy_get_fs_use_iter’
qpol_wrap.c:2099:29: note: declared here
qpol_wrap.c: At top level:
qpol_wrap.c:2110:29: error: conflicting types for ‘qpol_policy_get_genfscon_iter’
../../../libqpol/include/qpol/genfscon_query.h:66:13: note: previous declaration of ‘qpol_policy_get_genfscon_iter’ was here
qpol_wrap.c: In function ‘qpol_policy_get_genfscon_iter’:
qpol_wrap.c:2113:3: error: too many arguments to function ‘qpol_policy_get_genfscon_iter’
qpol_wrap.c:2110:29: note: declared here
qpol_wrap.c: At top level:
qpol_wrap.c:2121:29: error: conflicting types for ‘qpol_policy_get_isid_iter’
../../../libqpol/include/qpol/isid_query.h:63:13: note: previous declaration of ‘qpol_policy_get_isid_iter’ was here
qpol_wrap.c: In function ‘qpol_policy_get_isid_iter’:
qpol_wrap.c:2124:3: error: too many arguments to function ‘qpol_policy_get_isid_iter’
qpol_wrap.c:2121:29: note: declared here
qpol_wrap.c: At top level:
qpol_wrap.c:2132:29: error: conflicting types for ‘qpol_policy_get_netifcon_iter’
../../../libqpol/include/qpol/netifcon_query.h:63:13: note: previous declaration of ‘qpol_policy_get_netifcon_iter’ was here
qpol_wrap.c: In function ‘qpol_policy_get_netifcon_iter’:
qpol_wrap.c:2135:3: error: too many arguments to function ‘qpol_policy_get_netifcon_iter’
qpol_wrap.c:2132:29: note: declared here
qpol_wrap.c: At top level:
qpol_wrap.c:2143:29: error: conflicting types for ‘qpol_policy_get_nodecon_iter’
../../../libqpol/include/qpol/nodecon_query.h:71:13: note: previous declaration of ‘qpol_policy_get_nodecon_iter’ was here
qpol_wrap.c: In function ‘qpol_policy_get_nodecon_iter’:
qpol_wrap.c:2146:3: error: too many arguments to function ‘qpol_policy_get_nodecon_iter’
qpol_wrap.c:2143:29: note: declared here
qpol_wrap.c: At top level:
qpol_wrap.c:2154:29: error: conflicting types for ‘qpol_policy_get_portcon_iter’
../../../libqpol/include/qpol/portcon_query.h:69:13: note: previous declaration of ‘qpol_policy_get_portcon_iter’ was here
qpol_wrap.c: In function ‘qpol_policy_get_portcon_iter’:
qpol_wrap.c:2157:3: error: too many arguments to function ‘qpol_policy_get_portcon_iter’
qpol_wrap.c:2154:29: note: declared here
qpol_wrap.c: At top level:
qpol_wrap.c:2165:29: error: conflicting types for ‘qpol_policy_get_constraint_iter’
../../../libqpol/include/qpol/constraint_query.h:54:13: note: previous declaration of ‘qpol_policy_get_constraint_iter’ was here
qpol_wrap.c: In function ‘qpol_policy_get_constraint_iter’:
qpol_wrap.c:2168:3: error: too many arguments to function ‘qpol_policy_get_constraint_iter’
qpol_wrap.c:2165:29: note: declared here
qpol_wrap.c: At top level:
qpol_wrap.c:2176:29: error: conflicting types for ‘qpol_policy_get_validatetrans_iter’
../../../libqpol/include/qpol/constraint_query.h:112:13: note: previous declaration of ‘qpol_policy_get_validatetrans_iter’ was here
qpol_wrap.c: In function ‘qpol_policy_get_validatetrans_iter’:
qpol_wrap.c:2179:3: error: too many arguments to function ‘qpol_policy_get_validatetrans_iter’
qpol_wrap.c:2176:29: note: declared here
qpol_wrap.c: At top level:
qpol_wrap.c:2187:29: error: conflicting types for ‘qpol_policy_get_role_allow_iter’
../../../libqpol/include/qpol/rbacrule_query.h:51:13: note: previous declaration of ‘qpol_policy_get_role_allow_iter’ was here
qpol_wrap.c: In function ‘qpol_policy_get_role_allow_iter’:
qpol_wrap.c:2190:3: error: too many arguments to function ‘qpol_policy_get_role_allow_iter’
qpol_wrap.c:2187:29: note: declared here
qpol_wrap.c: At top level:
qpol_wrap.c:2198:29: error: conflicting types for ‘qpol_policy_get_role_trans_iter’
../../../libqpol/include/qpol/rbacrule_query.h:88:13: note: previous declaration of ‘qpol_policy_get_role_trans_iter’ was here
qpol_wrap.c: In function ‘qpol_policy_get_role_trans_iter’:
qpol_wrap.c:2201:3: error: too many arguments to function ‘qpol_policy_get_role_trans_iter’
qpol_wrap.c:2198:29: note: declared here
qpol_wrap.c: At top level:
qpol_wrap.c:2209:29: error: conflicting types for ‘qpol_policy_get_range_trans_iter’
../../../libqpol/include/qpol/mlsrule_query.h:50:13: note: previous declaration of ‘qpol_policy_get_range_trans_iter’ was here
qpol_wrap.c: In function ‘qpol_policy_get_range_trans_iter’:
qpol_wrap.c:2212:3: error: too many arguments to function ‘qpol_policy_get_range_trans_iter’
qpol_wrap.c:2209:29: note: declared here
qpol_wrap.c: At top level:
qpol_wrap.c:2220:29: error: conflicting types for ‘qpol_policy_get_avrule_iter’
../../../libqpol/include/../include/qpol/avrule_query.h:64:13: note: previous declaration of ‘qpol_policy_get_avrule_iter’ was here
qpol_wrap.c: In function ‘qpol_policy_get_avrule_iter’:
qpol_wrap.c:2223:3: error: too many arguments to function ‘qpol_policy_get_avrule_iter’
qpol_wrap.c:2220:29: note: declared here
qpol_wrap.c: At top level:
qpol_wrap.c:2231:29: error: conflicting types for ‘qpol_policy_get_terule_iter’
../../../libqpol/include/qpol/terule_query.h:59:13: note: previous declaration of ‘qpol_policy_get_terule_iter’ was here
qpol_wrap.c: In function ‘qpol_policy_get_terule_iter’:
qpol_wrap.c:2234:3: error: too many arguments to function ‘qpol_policy_get_terule_iter’
qpol_wrap.c:2231:29: note: declared here
qpol_wrap.c: At top level:
qpol_wrap.c:2242:29: error: conflicting types for ‘qpol_policy_get_cond_iter’
../../../libqpol/include/qpol/cond_query.h:54:13: note: previous declaration of ‘qpol_policy_get_cond_iter’ was here
qpol_wrap.c: In function ‘qpol_policy_get_cond_iter’:
qpol_wrap.c:2245:3: error: too many arguments to function ‘qpol_policy_get_cond_iter’
qpol_wrap.c:2242:29: note: declared here
qpol_wrap.c: At top level:
qpol_wrap.c:2253:18: error: conflicting types for ‘qpol_iterator_get_item’
../../../libqpol/include/qpol/iterator.h:60:13: note: previous declaration of ‘qpol_iterator_get_item’ was here
qpol_wrap.c: In function ‘qpol_iterator_get_item’:
qpol_wrap.c:2256:3: error: too many arguments to function ‘qpol_iterator_get_item’
qpol_wrap.c:2253:18: note: declared here
qpol_wrap.c: At top level:
qpol_wrap.c:2264:17: error: conflicting types for ‘qpol_iterator_next’
../../../libqpol/include/qpol/iterator.h:69:13: note: previous declaration of ‘qpol_iterator_next’ was here
qpol_wrap.c: In function ‘qpol_iterator_next’:
qpol_wrap.c:2266:3: error: void value not ignored as it ought to be
qpol_wrap.c: At top level:
qpol_wrap.c:2273:16: error: conflicting types for ‘qpol_iterator_end’
../../../libqpol/include/qpol/iterator.h:79:13: note: previous declaration of ‘qpol_iterator_end’ was here
qpol_wrap.c:2276:19: error: conflicting types for ‘qpol_iterator_get_size’
../../../libqpol/include/qpol/iterator.h:89:13: note: previous declaration of ‘qpol_iterator_get_size’ was here
qpol_wrap.c: In function ‘qpol_iterator_get_size’:
qpol_wrap.c:2279:3: error: too many arguments to function ‘qpol_iterator_get_size’
qpol_wrap.c:2276:19: note: declared here
qpol_wrap.c: At top level:
qpol_wrap.c:2315:24: error: conflicting types for ‘qpol_type_get_name’
../../../libqpol/include/qpol/type_query.h:153:13: note: previous declaration of ‘qpol_type_get_name’ was here
qpol_wrap.c: In function ‘qpol_type_get_name’:
qpol_wrap.c:2318:3: warning: passing argument 1 of ‘qpol_type_get_name’ from incompatible pointer type
qpol_wrap.c:2315:24: note: expected ‘struct qpol_type *’ but argument is of type ‘struct qpol_policy_t *’
qpol_wrap.c:2318:3: warning: passing argument 2 of ‘qpol_type_get_name’ from incompatible pointer type
qpol_wrap.c:2315:24: note: expected ‘struct qpol_policy_t *’ but argument is of type ‘struct qpol_type *’
qpol_wrap.c:2318:3: error: too many arguments to function ‘qpol_type_get_name’
qpol_wrap.c:2315:24: note: declared here
qpol_wrap.c: At top level:
qpol_wrap.c:2326:16: error: conflicting types for ‘qpol_type_get_value’
../../../libqpol/include/qpol/type_query.h:74:13: note: previous declaration of ‘qpol_type_get_value’ was here
qpol_wrap.c: In function ‘qpol_type_get_value’:
qpol_wrap.c:2329:3: warning: passing argument 1 of ‘qpol_type_get_value’ from incompatible pointer type
qpol_wrap.c:2326:16: note: expected ‘struct qpol_type *’ but argument is of type ‘struct qpol_policy_t *’
qpol_wrap.c:2329:3: warning: passing argument 2 of ‘qpol_type_get_value’ from incompatible pointer type
qpol_wrap.c:2326:16: note: expected ‘struct qpol_policy_t *’ but argument is of type ‘struct qpol_type *’
qpol_wrap.c:2329:3: error: too many arguments to function ‘qpol_type_get_value’
qpol_wrap.c:2326:16: note: declared here
qpol_wrap.c: At top level:
qpol_wrap.c:2336:16: error: conflicting types for ‘qpol_type_get_isalias’
../../../libqpol/include/qpol/type_query.h:85:13: note: previous declaration of ‘qpol_type_get_isalias’ was here
qpol_wrap.c: In function ‘qpol_type_get_isalias’:
qpol_wrap.c:2339:3: warning: passing argument 1 of ‘qpol_type_get_isalias’ from incompatible pointer type
qpol_wrap.c:2336:16: note: expected ‘struct qpol_type *’ but argument is of type ‘struct qpol_policy_t *’
qpol_wrap.c:2339:3: warning: passing argument 2 of ‘qpol_type_get_isalias’ from incompatible pointer type
qpol_wrap.c:2336:16: no
Back to top
View user's profile Send private message
xzhai
n00b
n00b


Joined: 30 Aug 2012
Posts: 3

PostPosted: Sun Sep 02, 2012 3:30 pm    Post subject: setools-3.3.7/libqpol/swig/qpol.i is different from module.h Reply with quote

In qpol.i, such as 'qpol_module_get_path'

Code:

LINE-245       
       const char *get_path() {
                const char *p;
                BEGIN_EXCEPTION
                if (qpol_module_get_path(self, &p)) {
                        SWIG_exception(SWIG_ValueError,"Could not get module path");
                }
                return p;
                END_EXCEPTION
        fail:
                return NULL;
        };


But in module.h, extern int qpol_module_get_path(const qpol_module_t *, const char **);

It might be need to update qpol.i to meet module.h
Back to top
View user's profile Send private message
Roman G.S.
n00b
n00b


Joined: 03 Feb 2013
Posts: 1

PostPosted: Sun Feb 03, 2013 2:55 pm    Post subject: Reply with quote

I have exactly the same issue, trying to install gentoo with selinux profile. :(
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum