Hi, Quoting IOhannes m zmölnig (Debian GNU|Linux) (2022-02-21 17:14:25) > 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 :-) are java packages not Architecture:all? If they are, then you can move default-jdk from Build-Depends to Build-Depends-Indep. We don't cross-build arch:all packages but only arch:any packages. Thanks! cheers, josch
Attachment:
signature.asc
Description: signature