Bug#801865: libreoffice: FTBFS[kfreebsd-*]; still uses gcj?
Hi,
On Thu, Oct 15, 2015 at 01:34:51PM +0100, Steven Chamberlain wrote:
> Package: libreoffice
> Version: 1:5.0.3~rc1-1
> Severity: normal
>
> Hi,
>
> Despite this change:
> | - build-depend on default-jdk (>= 2:1.7-52.1) for OpenJDK 7 on kfreebsd-*
> | again
>
> the regenerated debian/control file in the package still had gcj
> in build-depends for kfreebsd. I think this is because of an
No, it doesn't.
Build-Depends: ant (>= 1.7.0),
[...]
default-jdk,
default-jdk (>= 1:1.7-48) [ia64],
default-jdk (>= 2:1.7-52.1) [kfreebsd-amd64 kfreebsd-i386],
[...]
g++-5 [hppa ia64 s390 sparc],
g++-mingw-w64-i686 [i386 amd64],
gcc-5 [hppa ia64 s390 sparc],
gcj-jdk [hppa ia64 s390 sparc],
gcj-native-helper [hppa ia64 s390 sparc],
[...]
> out-of-date java-common package, which defines $java_architectures in
> /usr/share/java/java_defaults.mk.
Then you should generate control in a uptodate chroot (what I did)
I am not sure the definition of Build-Depends is also for stuff
not related to actually building the package (control isn't rebuilt unless
you change something in "normal" builds, it is basically static in .debian.tar.gz)
> Perhaps build-depends should be bumped to java-common (>= 0.52.1~)?
> Otherwise in an out-of-date sid chroot it could still try to build
> with gcj.
No, it won't.
debian/rules has
JAVA_HOME=/usr/lib/jvm/default-java
That will use openjdk given the build-dep on the newer default-jdk _is_ there.
java-common is just need for (re-)generating control.
Regards,
Rene
Reply to: