Package: dpkg-dev
Version: 1.16.1.2
Severity: wishlist
File: /usr/bin/dpkg-buildpackage

Dear Maintainer,

When I setup a poor man wanna-buildd with reprepro+rebuildd+sbuild, I
saw that "dpkg-buildpackage -A" produce a ".changes" named
"<PACKAGE>_<VERSION>_<arch>.changes"

In my poor man setup, I upload source to reprepro and let it list all
the architectures that need a build[1] and spool them to rebuildd.

In that case, when a source with "architecture: any all" is uploaded I
got:

- one job to build "architecture: all"
- one job per supported architectures[2]

If the "architecture: all" job run on a host where a binary dependent
job was run, I lost the .changes.

Here is a workflow:

1. job "architecture: amd64" run on host buildd-amd64 this generate
   "<PACKAGE>_<VERSION>_amd64.changes" and dput it on my rerepro

2. job "architecture: all" run on host buildd-amd64 this generate
   "<PACKAGE>_<VERSION>_amd64.changes" which overwrite the previous one
   and dput it on my rerepro

Now, If I enable more than one parallel job because I have a strong
build machine, I can have the following:

1. job "architecture: amd64" run on host buildd-amd64 this generate
   "<PACKAGE>_<VERSION>_amd64.changes"

1.2 job "architecture: all" run on host buildd-amd64 this generate
    "<PACKAGE>_<VERSION>_amd64.changes"

2. dput "<PACKAGE>_<VERSION>_amd64.changes"

Depending when the tasks finished, I may dput both packages like
previously, or only the second one if it overwrite the first .changes
before its dput'ed.

In that case, if "dpkg-buildpackage -A" generate a
"<PACKAGE>_<VERSION>_all.changes" everything will works.

Regards.

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

Kernel: Linux 3.2.4+hati.1+ (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages dpkg-dev depends on:
ii  base-files    6.5
ii  binutils      2.22-5
ii  bzip2         1.0.6-1
ii  libdpkg-perl  1.16.1.2
ii  make          3.81-8.1
ii  patch         2.6.1-3
ii  xz-utils      5.1.1alpha+20110809-3

Versions of packages dpkg-dev recommends:
pn  build-essential          11.5
pn  fakeroot                 1.18.2-1
pn  gcc [c-compiler]         4:4.6.2-4
pn  gcc-4.6 [c-compiler]     4.6.2-14
pn  gnupg                    1.4.11-3
pn  gpgv                     1.4.11-3
pn  libalgorithm-merge-perl  <none>

Versions of packages dpkg-dev suggests:
ii  debian-keyring  2011.12.01

-- no debconf information


Footnotes: 
[1]  http://bugs.debian.org/656187

[2]  In reprepro configuration

-- 
Daniel Dehennin
Récupérer ma clef GPG:
gpg --keyserver pgp.mit.edu --recv-keys 0x6A2540D1

Attachment: pgpmpy8SfeG6R.pgp
Description: PGP signature

Reply via email to