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). Thanks.