Bug#521945: FTBFS: missing Build-Depends on ure
> Hi,
Hi Rene,
> Damien Raude-Morvan wrote:
>> [javac] 20. ERROR in /home/drazzib/Dev/debian-
>> pkg/work/rebuild/build/writer2latex/writer2latex-0.5.0.2/sourc
>> [javac] e/writer2latex/filter/ByteArrayXStream.java (at line 39)
>> [javac] import com.sun.star.io.XStream;
>> [javac] ^^^^^^^^^^^^^^^
>> [javac] The import com.sun.star.io cannot be resolved
>
> Weird. All the jars it needs are in /usr/share/java/openoffice, which
> is in openoffice.org-java-common on which writer2latex *does* build-depend
AFAIK, "com.sun.star.io.XStream" is not in any JAR files of
openoffice.org-java-common.
I've found this import in /usr/share/java/openoffice/ridl.jar which is :
[~]$ dpkg -S /usr/share/java/openoffice/ridl.jar
ure: /usr/share/java/openoffice/ridl.jar
I've not suggested to add a B-D on "ure" randomly ;)
>> There seems to be some missing Build-Depends on "ure" package.
>
> ... and the jars in /usr/lib/ure/share are symlinks to those files.
> (well, arguably, they might better be the other way round, but...)
>
> That said, I can confirm that adding "ure" to the builddeps fixes the
> failure, though.
ridl.jar is not the only JAR file in "ure" package.
[~]$ dpkg -L ure | grep "/usr/share/java/openoffice/.*"
/usr/share/java/openoffice/ridl.jar
/usr/share/java/openoffice/JREProperties.class
/usr/share/java/openoffice/unoloader.jar
/usr/share/java/openoffice/juh.jar
/usr/share/java/openoffice/jurt.jar
/usr/share/java/openoffice/java_uno.jar
Cheers,
--
Damien Raude-Morvan
Reply to: