Santiago Vila a écrit le 29/01/2019 à 22:55 : > On Tue, Jan 29, 2019 at 09:44:40PM +0100, Gilles Filippini wrote: > >> Looking at the jh_build code, the list of -link javadoc options is >> constructed from this snippet: >> CLASSPATHDOCS="`for i in $(grep-dctrl --no-field-names --show-field >> Build-Depends,Build-Depends-Indep -F source "$pkg" debian/control | tr , ' ' >> | sed 's/([^)]*)//g') ; do dpkg -L $i 2>/dev/null | grep >> /usr/share/doc/.*/api$; done | sed 's/^/-link /' | xargs`" >> >> Then dropping default-jdk-doc from Build-Depends did the trick! > > Please note that if the package does not build when default-jdk-doc is > present, then (imo) you should probably use build-conflicts against it and > any similar package which we know makes the package to FTBFS, not just > remove it from build-depends. > > (At least this is what build-conflicts was invented for).
No, this is a misunderstanding: the code snippet above scans Build-Depends* fields from debian/control. If default-jdk-doc is installed but not referenced in Build-Depends*, then the package will build fine. I've tested this configuration. Thanks, _g.
signature.asc
Description: OpenPGP digital signature