Re: CDBS regression affecting Java packages

2017-10-17 Thread Markus Koschany
Am 17.10.2017 um 12:40 schrieb Matthias Klose:
> On 14.10.2017 11:29, Emmanuel Bourg wrote:
>> Hi all,
>>
>> FYI many Java packages are currently failing to build due to a
>> regression in CDBS 0.4.143 (#878510). The DEB_UPSTREAM_VERSION variable
>> now contains the Debian revision and the builds typically break during
>> the install phase because the path of the jars to install becomes wrong.
> 
> I see that many packages are now converted to use plain debhelper.  Should 
> that
> be a soft release goal for all java packages?

I believe that's more or less already the case but is nowhere
documented. I always do it when I come across a CDBS package which needs
a major update anyway. I also think that focusing on DH will make
maintenance easier in the long-term for everyone involved.

Markus



signature.asc
Description: OpenPGP digital signature


Re: CDBS regression affecting Java packages

2017-10-17 Thread Emmanuel Bourg
Le 17/10/2017 à 12:40, Matthias Klose a écrit :

> I see that many packages are now converted to use plain debhelper.  Should 
> that
> be a soft release goal for all java packages?

Yes I think it's a good idea to standardize on a single system to
simplify the maintenance (23% Java packages use CDBS, down from 40% last
year and 64% two years ago). CDBS with Maven has an annoying bug that
makes it run the tests twice, so the build is slower than DH. With
debhelper I miss the DEB_MAVEN_* variables though, that was convenient
to quickly tweak the build without overriding dh_auto_build,
dh_auto_test and dh_auto_clean.

Emmanuel Bourg



Re: CDBS regression affecting Java packages

2017-10-17 Thread Matthias Klose
On 14.10.2017 11:29, Emmanuel Bourg wrote:
> Hi all,
> 
> FYI many Java packages are currently failing to build due to a
> regression in CDBS 0.4.143 (#878510). The DEB_UPSTREAM_VERSION variable
> now contains the Debian revision and the builds typically break during
> the install phase because the path of the jars to install becomes wrong.

I see that many packages are now converted to use plain debhelper.  Should that
be a soft release goal for all java packages?

Matthias



CDBS regression affecting Java packages

2017-10-14 Thread Emmanuel Bourg
Hi all,

FYI many Java packages are currently failing to build due to a
regression in CDBS 0.4.143 (#878510). The DEB_UPSTREAM_VERSION variable
now contains the Debian revision and the builds typically break during
the install phase because the path of the jars to install becomes wrong.

Emmanuel Bourg