On 2017-09-18 21:54, Aaron M. Ucko wrote: > Source: ust > Version: 2.9.1-1 > Severity: important > Tags: upstream > Justification: fails to build from source > User: debian-h...@lists.debian.org > > Builds of ust with GCJ (to which default-jdk necessarily still boils > down on hppa, admittedly not a release architecture) have been failing: > > CLASSPATH=.:./.${CLASSPATH:+":$CLASSPATH"} gcj -C -d . -source 1.6 -target > 1.6 org/lttng/ust/LTTngUst.java > gcj: error: 1.6: No such file or directory > gcj: error: 1.6: No such file or directory > gcj: error: unrecognized command line option '-source'; did you mean > '-fsource='? > gcj: error: unrecognized command line option '-target'; did you mean > '-ftarget='? > Makefile:510: recipe for target 'classnoinst.stamp' failed > make[4]: *** [classnoinst.stamp] Error 1 > > Could you please take a look? If building with GCJ is infeasible, > please specifically require OpenJDK so that autobuilders for GCJ-only > architectures (i.e., hppa) don't bother trying to cover ust. > > Thanks! >
Hi, The ust java bindings won't build with gcj, however they are optional and not required for a normal use of ust. I'd like to just disable them on platforms that don't have an openjdk port, I added a 'nojava' [1] build profile [2] to the packaging code that could be used for that but I haven't found a way to have it auto-enabled for hppa builds. Michael [1] https://github.com/debian-lttng/lttng-ust/commit/b72deebefe21f4b8f884502cc72e18752bb66ba6 [2] https://wiki.debian.org/BuildProfileSpec