Bug 78857 - ERROR: Source for bsh.jar not found! when building --with-java=no
Summary: ERROR: Source for bsh.jar not found! when building --with-java=no
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
(earliest affected)
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: David Tardon
Whiteboard: target:4.3.0
Depends on:
Reported: 2014-05-18 11:45 UTC by Simon Wilper
Modified: 2014-05-20 08:31 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Note You need to log in before you can comment on or make changes to this bug.
Description Simon Wilper 2014-05-18 11:45:42 UTC
In module instsetoo_native the make_installer.pl script throws the errors that the files bsh.jar, js.jar and hsqldb.jar could not be found although I am building --with-java=no.

I checked the file workdir/InstallScriptTarget/setup_osl.ins and found the entries

> File auto_extensions_bsh_jar_bsh
> 	Dir = gid_Dir_Classes;
> 	Name = bsh.jar;
> 	Styles = (PACKED);
> 	UnixRights = 644;
> End
> File auto_extensions_rhino_jar_js
> 	Dir = gid_Dir_Classes;
> 	Name = js.jar;
> 	Styles = (PACKED);
> 	UnixRights = 644;
> End
> End
> File auto_ooo_jar_hsqldb
> 	Dir = gid_Dir_Classes;
> 	Name = hsqldb.jar;
> 	Styles = (PACKED);
> 	UnixRights = 644;

After removing those the build completes just fine, I get an install package that I can unpack and the office runs fine.

So my question is: Did I miss an autoconf option so that the entries don't get in the setup_osl.ins in the first place? How is this file generated an when (in the buildprocess)?
Comment 1 Stephan Bergmann 2014-05-19 08:15:35 UTC
likely caused by the move to scp2/AutoInstall.mk
Comment 2 Commit Notification 2014-05-19 08:30:23 UTC
David Tardon committed a patch related to this issue.
It has been pushed to "master":


fdo#78857 jars aren't built without java

The patch should be included in the daily builds available at
http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
Affected users are encouraged to test the fix and report feedback.
Comment 3 Simon Wilper 2014-05-20 08:31:02 UTC
Excellent! That was fast!  Working fine now.