[Build-common-hackers] Bug#840330: Bug#840330: cdbs: licensecheck runs twice during build

Jonas Smedegaard dr at jones.dk
Mon Oct 10 20:07:39 UTC 2016


Quoting Jérémy Lal (2016-10-10 21:24:23)
> 2016-10-10 20:59 GMT+02:00 Jonas Smedegaard <dr at jones.dk>:
>> Quoting Jérémy Lal (2016-10-10 18:51:53)
>>> cdbs runs licensecheck two times during build:
[...]
>>> and it crashes too.
>>
>> That's a different and more serious bug.  Please file a bugreport 
>> separately about that, with more details.
>
> ok, bad wording on my side: it doesn't crash, the build is killed 
> after 150 minutes of inactivity. Probably because licensecheck has to 
> analyze a lot more binary files because of this bug - that's fair so i 
> won't open a new bug.

That sounds like two bugs (of severity important, I suggest):

  * licensecheck too slow (takes 150/2 minutes for nodejs)
  * licensecheck is too silent (causes timeout on buildds)

>>> Is there some way to avoid completely running licensecheck when 
>>> building on sbuild. It's a ressource hog and discutably useful.
>>
>> Avoid build-depending on licensecheck should do the trick.
> 
> Well, that would be caused by
> Build-Depends: @cdbs@
> 
> which gives
> Build-Depends: cdbs,
>  licensecheck,
> 
> after refreshing control file with
> DEB_MAINTAINER_MODE=1 debuild clean
> 
> ?

This like suppresses auto-resolved build-dependency:

CDBS_BUILD_DEPENDS_rules_utils_copyright-check =


 - Jonas

-- 
 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/

 [x] quote me freely  [ ] ask before reusing  [ ] keep private
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: signature
URL: <http://lists.alioth.debian.org/pipermail/build-common-hackers/attachments/20161010/c5f2f736/attachment.sig>


More information about the Build-common-hackers mailing list