hi, one of my packages (csound) provides java-bindings. for this, it B-Ds on "default-jdk".Unfortunately, "default-jdk" pulls in the HOST binaries of `javac`, which of course doesn't work when cross-building.
i wonder: is the correct solution to B-D on "default-jdk:native", or to set the default-jdk's (and probably it's dependencies that actually implement the "Default JDK"'s) Multi-Arch field to "foreign" (or something else)?
i see that "openjdk-11-jdk-headless" (which is what "default-jdk" ultimately installs today) is marked "Multi-Arch: same".
this probably only shows that i am still utterly confused when it comes to Multi-Arch hints.
anyhow, i *think* the situtation for "default-jdk" (and "default-jre") is actually comparable to Python3 (which uses "Multi-Arch: allowed"; and in the B-Ds i use "python3:any"). if this is correct, i figure that the solution really has to go into "default-jdk" and I cannot do much about the current situation.
except of course: file bug reports.but i would very much welcome it if somebody who actually knows what they talk about would do that :-)
fgmadrs IOhannes
Attachment:
OpenPGP_0xB65019C47F7A36F8.asc
Description: OpenPGP public key
Attachment:
OpenPGP_signature
Description: OpenPGP digital signature