Bug#847297: electric: Build-depends on scala but doesn't seem to use it

2016-12-06 Thread Stuart Prescott
Source: electric
Version: 9.07+dfsg-1
Severity: normal

Dear Maintainer,

The 'electric' source package build-depends on scala but does not seem
to actually use the scala compiler at all in the build. The source package
contains lots of empty directories under 'scala' and there are a few scala
source files elsewhere in the plugins. It seems unlikely that this is the
intended situation; either scala isn't needed for the build or something
has gone awry with the build and some of the package isn't being built as
intended (or I've completely missed something in the build system and build
logs!).

cheers
Stuart

__
This is the maintainer address of Debian's Java team
. 
Please use
debian-j...@lists.debian.org for discussions and questions.


Bug#847297: electric: Build-depends on scala but doesn't seem to use it

2016-12-07 Thread Markus Koschany
On 07.12.2016 03:36, Stuart Prescott wrote:
> Source: electric
> Version: 9.07+dfsg-1
> Severity: normal
> 
> Dear Maintainer,
> 
> The 'electric' source package build-depends on scala but does not seem
> to actually use the scala compiler at all in the build. The source package
> contains lots of empty directories under 'scala' and there are a few scala
> source files elsewhere in the plugins. It seems unlikely that this is the
> intended situation; either scala isn't needed for the build or something
> has gone awry with the build and some of the package isn't being built as
> intended (or I've completely missed something in the build system and build
> logs!).
> 

Hi,

AFAIK Scala is optional and not strictly required to rebuild Electric
from source. So in this regard you are right we could remove scala from
Build-Depends. The upstream source tarball contains only class files
under scala/ thus I had to repack the tarball and remove all binary
blobs. Some Scala plugins exist under
com/sun/electric/plugins/minarea/deltamerge1 though and someone would
need the scala compiler for building them from source.

In short adding scala to Build-Depends is convenient for people who want
to build the scala plugins but it is not used automatically thus it
should be safe to remove with the next upload of Electric.

Regards,

Markus






signature.asc
Description: OpenPGP digital signature
__
This is the maintainer address of Debian's Java team
. 
Please use
debian-j...@lists.debian.org for discussions and questions.