← Back to team overview

openjdk team mailing list archive

Bug#949460: openjdk-14 FTCBFS: missing build-depends and wrong tools

 

Source: openjdk-14
Version: 14~32-1
Tags: patch
User: debian-cross@xxxxxxxxxxxxxxxx
Usertags: ftcbfs

openjdk-14 fails to cross build from source. The immediate failure is
when linking -lz using the build architecture compiler, because there is
not dependency on zlib1g-dev:native. In this case, it seems that the
build rules are already fully correct and openjdk really needs a build
tool that links -lz. As such it should have a relevant dependency on
zlib1g-dev:native. Once adding it, the build proceeds much further until
it finally fails when debian/rules invokes the build architecture
objcopy and strip. Using triplet-prefixed tools is necessary here. After
doing so, openjdk-14 cross builds successfully. Please consider applying
the attached patch.

At least the dependency issue appears to also affect openjdk-11 and
openjdk-13. Do you prefer fixing it yourself there or should I send
separate patchs?

Helmut


Follow ups