setools version 3.3.7-2build1 failed to build with openjdk-7 as default-jdk

Bug #1009478 reported by James Page
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
setools (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

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)

Revision history for this message
James Page (james-page) wrote : Build log
tags: added: amd64 auto ftbfs java7-ftbfs
Revision history for this message
Logan Rosen (logan) wrote :

3.3.7-3 now builds with OpenJDK 7, so I am marking this as Fix Released.

Changed in setools (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.