Public bug reported: During a rebuild test with default-jdk switched to openjdk-7 (as it is in quantal), a build failure was detected for setools version 3.3.7-2build1.
See attached log for full build failure details. https://wiki.ubuntu.com/JavaTeam/Java7Default contains more details of how to diagnose and resolve these types of issues. This log snippet might also be of interest: qpol_wrap.c:5269:17: note: expected 'struct qpol_policy_t *' but argument is of type 'struct qpol_syn_terule *' qpol_wrap.c:5272:3: error: too many arguments to function 'qpol_syn_terule_get_lineno' qpol_wrap.c:5269:17: note: declared here qpol_wrap.c: At top level: qpol_wrap.c:5279:31: error: conflicting types for 'qpol_syn_terule_get_cond' In file included from ../../../libqpol/include/qpol/policy.h:59:0, from ../../../libqpol/include/../include/qpol/avrule_query.h:34, from qpol_wrap.c:3011: ../../../libqpol/include/qpol/syn_rule_query.h:294:13: note: previous declaration of 'qpol_syn_terule_get_cond' was here qpol_wrap.c: In function 'qpol_syn_terule_get_cond': qpol_wrap.c:5282:3: warning: passing argument 1 of 'qpol_syn_terule_get_cond' from incompatible pointer type [enabled by default] qpol_wrap.c:5279:31: note: expected 'struct qpol_syn_terule *' but argument is of type 'struct qpol_policy_t *' qpol_wrap.c:5282:3: warning: passing argument 2 of 'qpol_syn_terule_get_cond' from incompatible pointer type [enabled by default] qpol_wrap.c:5279:31: note: expected 'struct qpol_policy_t *' but argument is of type 'struct qpol_syn_terule *' qpol_wrap.c:5282:3: error: too many arguments to function 'qpol_syn_terule_get_cond' qpol_wrap.c:5279:31: note: declared here qpol_wrap.c: At top level: qpol_wrap.c:5289:16: error: conflicting types for 'qpol_syn_terule_get_is_enabled' In file included from ../../../libqpol/include/qpol/policy.h:59:0, from ../../../libqpol/include/../include/qpol/avrule_query.h:34, from qpol_wrap.c:3011: ../../../libqpol/include/qpol/syn_rule_query.h:307:13: note: previous declaration of 'qpol_syn_terule_get_is_enabled' was here qpol_wrap.c: In function 'qpol_syn_terule_get_is_enabled': qpol_wrap.c:5292:3: warning: passing argument 1 of 'qpol_syn_terule_get_is_enabled' from incompatible pointer type [enabled by default] qpol_wrap.c:5289:16: note: expected 'struct qpol_syn_terule *' but argument is of type 'struct qpol_policy_t *' qpol_wrap.c:5292:3: warning: passing argument 2 of 'qpol_syn_terule_get_is_enabled' from incompatible pointer type [enabled by default] qpol_wrap.c:5289:16: note: expected 'struct qpol_policy_t *' but argument is of type 'struct qpol_syn_terule *' qpol_wrap.c:5292:3: error: too many arguments to function 'qpol_syn_terule_get_is_enabled' qpol_wrap.c:5289:16: note: declared here make[6]: *** [_qpol.so] Error 1 make[6]: Leaving directory `/«PKGBUILDDIR»/libqpol/swig/python' make[5]: *** [all] Error 2 make[5]: Leaving directory `/«PKGBUILDDIR»/libqpol/swig/python' make[4]: *** [all-recursive] Error 1 make[4]: Leaving directory `/«PKGBUILDDIR»/libqpol/swig' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/«PKGBUILDDIR»/libqpol' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/«PKGBUILDDIR»' make[1]: *** [all] Error 2 make[1]: Leaving directory `/«PKGBUILDDIR»' dh_auto_build: make -j1 returned exit code 2 make: *** [build] Error 2 dpkg-buildpackage: error: debian/rules build gave error exit status 2 ──────────────────────────────────────────────────────────────────────────────── Build finished at 20120603-0152 Finished ──────── E: Build failure (dpkg-buildpackage died) ** Affects: setools (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 auto ftbfs java7-ftbfs -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1009478 Title: setools version 3.3.7-2build1 failed to build with openjdk-7 as default-jdk To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/setools/+bug/1009478/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
