Bug#728613: please support parallel package builds

2013-11-04 Thread Damyan Ivanov
-=| gregor herrmann, 03.11.2013 16:08:09 +0100 |=-
 On Sun, 03 Nov 2013 13:43:31 +, Jonathan Dowland wrote:
 
  Package: libfile-mimeinfo-perl
  Version: 0.20-1
  Severity: wishlist
  File: /usr/bin/mimeopen
  Tags: patch
  
  patch attached.
 
 While I agree that parallel builds are nice, I'm not sure we want to
 manually [0] add --parallel to each of our ~2700 packages, I'd rather see
 this changed in debhelper (and CDBS); which seems to be not so
 trivial, since this is discussed on the BTS every now and then.
 
 [0] Well, we could do a nice mass-change, if we want.
 
 What do others think?

My guess is that debhelper won't change defaults, even with new 
compatibility levels, so --parallel will be needed.

Are we sure all the builder modules can safely be used in parallel 
mode?

If so, I guess it is time to try and employ it.


signature.asc
Description: Digital signature


Bug#728613: please support parallel package builds

2013-11-04 Thread gregor herrmann
On Mon, 04 Nov 2013 21:34:22 +0200, Damyan Ivanov wrote:

  What do others think?
 My guess is that debhelper won't change defaults, even with new 
 compatibility levels, so --parallel will be needed.

My guess re. debhelper is the same.
 
 Are we sure all the builder modules can safely be used in parallel 
 mode?

I'm not sure :)
Probably we'd have to test this if we want it.
 
 If so, I guess it is time to try and employ it.

Hm ... do we know if this is actually helpful? While parallel
building is nice and everything, my pure guess is that it doesn't
help alot, if all, for most of our tiny packages.
(And most of the time is used for chroot setup/teardown, installing
build deps, later lintian, ...)

The time difference should be another test parameter :)


Cheers,
gregor

-- 
 .''`.  Homepage: http://info.comodo.priv.at/ - OpenPGP key 0xBB3A68018649AA06
 : :' : Debian GNU/Linux user, admin, and developer  -  http://www.debian.org/
 `. `'  Member of VIBE!AT  SPI, fellow of the Free Software Foundation Europe
   `-   NP: Spider Murphy Gang: Skandal Im Sperrbezirk


signature.asc
Description: Digital signature


Bug#728613: please support parallel package builds

2013-11-04 Thread Damyan Ivanov
Control: retitle -1 libfile-mimeinfo-perl: please support parallel package 
builds
Control: tag -1 moreinfo

-=| gregor herrmann, 04.11.2013 21:03:07 +0100 |=-
 Hm ... do we know if this is actually helpful? While parallel
 building is nice and everything, my pure guess is that it doesn't
 help alot, if all, for most of our tiny packages.
 (And most of the time is used for chroot setup/teardown, installing
 build deps, later lintian, ...)
 
 The time difference should be another test parameter :)

Right. Indeed, building libfile-mimeinfo-perl now takes 12.1s total, 
including chroot setup/teardown, with pre-populated package cache. 
Enabling --parallel results in 12.4s build time.

So, Jonathan, why are you requesting enabling parallel builds for 
libfile-mimeinfo-perl?


signature.asc
Description: Digital signature


Bug#728613: please support parallel package builds

2013-11-03 Thread Jonathan Dowland
Package: libfile-mimeinfo-perl
Version: 0.20-1
Severity: wishlist
File: /usr/bin/mimeopen
Tags: patch

patch attached.

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.11-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libfile-mimeinfo-perl depends on:
ii  libfile-basedir-perl   0.03-1
ii  libfile-desktopentry-perl  0.07-1
ii  perl   5.18.1-4
ii  shared-mime-info   1.0-1+b1

libfile-mimeinfo-perl recommends no packages.

libfile-mimeinfo-perl suggests no packages.

-- no debconf information
--- debian/rules~   2013-11-03 13:42:30.850897993 +
+++ debian/rules2013-11-03 13:41:04.046320069 +
@@ -1,5 +1,5 @@
 #!/usr/bin/make -f
 
 %:
-   dh $@
+   dh $@ --parallel
 


Bug#728613: please support parallel package builds

2013-11-03 Thread gregor herrmann
On Sun, 03 Nov 2013 13:43:31 +, Jonathan Dowland wrote:

 Package: libfile-mimeinfo-perl
 Version: 0.20-1
 Severity: wishlist
 File: /usr/bin/mimeopen
 Tags: patch
 
 patch attached.

While I agree that parallel builds are nice, I'm not sure we want to
manually [0] add --parallel to each of our ~2700 packages, I'd rather see
this changed in debhelper (and CDBS); which seems to be not so
trivial, since this is discussed on the BTS every now and then.

[0] Well, we could do a nice mass-change, if we want.

What do others think?
 

Cheers,
gregor


-- 
 .''`.  Homepage: http://info.comodo.priv.at/ - OpenPGP key 0xBB3A68018649AA06
 : :' : Debian GNU/Linux user, admin, and developer  -  http://www.debian.org/
 `. `'  Member of VIBE!AT  SPI, fellow of the Free Software Foundation Europe
   `-   NP: Die Schmetterlinge: Blaubarts Brautschau


signature.asc
Description: Digital signature


Bug#728613: please support parallel package builds

2013-11-03 Thread Salvatore Bonaccorso
Hi Gregor, hi Jonathan

On Sun, Nov 03, 2013 at 04:08:09PM +0100, gregor herrmann wrote:
 On Sun, 03 Nov 2013 13:43:31 +, Jonathan Dowland wrote:
 
  Package: libfile-mimeinfo-perl
  Version: 0.20-1
  Severity: wishlist
  File: /usr/bin/mimeopen
  Tags: patch
  
  patch attached.
 
 While I agree that parallel builds are nice, I'm not sure we want to
 manually [0] add --parallel to each of our ~2700 packages, I'd rather see
 this changed in debhelper (and CDBS); which seems to be not so
 trivial, since this is discussed on the BTS every now and then.
 
 [0] Well, we could do a nice mass-change, if we want.
 
 What do others think?

Personally I would prefer to keep the simple three-line debian/rules
makefile for our easy packages whenever possible. Otherwise we
probably also would want to modify dh-make-perl.

Regards,
Salvatore


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#728613: please support parallel package builds

2013-11-03 Thread Jonathan Dowland
Hi Gregor

 On 3 Nov 2013, at 15:08, gregor herrmann gre...@debian.org wrote:
 
 While I agree that parallel builds are nice, I'm not sure we want to
 manually [0] add --parallel to each of our ~2700 packages, I'd rather see
 this changed in debhelper (and CDBS); which seems to be not so
 trivial, since this is discussed on the BTS every now and then.

I completely agree. I've only filed such wish list bugs when I've been 
submitting a patch for something else at the same time. I haven't read any 
existing threads to find out why it's non-trivial to change the default, I 
shall do some reading.

Thanks

--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org