Debian Bug report logs -
#363193
pbuilder-satisfydepends does not support new style architecture specifications
Reported by: Peter Eisentraut <peter_e@gmx.net>
Date: Tue, 18 Apr 2006 01:03:01 UTC
Severity: important
Tags: patch
Merged with 483253,
600823
Found in versions pbuilder/0.150, pbuilder/0.181, pbuilder/0.199
Fixed in version pbuilder/0.199+nmu2
Done: Emilio Pozuelo Monfort <pochu@debian.org>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded to debian-bugs-dist@lists.debian.org, Debian pbuilder maintenance team <pbuilder-maint@lists.alioth.debian.org>:
Bug#363193; Package pbuilder.
(full text, mbox, link).
Acknowledgement sent to Peter Eisentraut <peter_e@gmx.net>:
New Bug report received and forwarded. Copy sent to Debian pbuilder maintenance team <pbuilder-maint@lists.alioth.debian.org>.
(full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
Package: pbuilder
Version: 0.150
Severity: normal
pbuilder-satisfydepends does not understand architecture specifications
like "linux-any" in build dependencies, which dpkg-dev introduced
recently (e.g., "Build-Depends: libasound2-dev [linux-any]"). I am at a
Linux system and see
-> Considering libasound2-dev [linux-any]
-> This package is not for this architecture
Information forwarded to debian-bugs-dist@lists.debian.org, Debian pbuilder maintenance team <pbuilder-maint@lists.alioth.debian.org>:
Bug#363193; Package pbuilder.
(full text, mbox, link).
Acknowledgement sent to Junichi Uekawa <dancer@netfort.gr.jp>:
Extra info received and forwarded to list. Copy sent to Debian pbuilder maintenance team <pbuilder-maint@lists.alioth.debian.org>.
(full text, mbox, link).
Message #10 received at 363193@bugs.debian.org (full text, mbox, reply):
Hi,
> pbuilder-satisfydepends does not understand architecture specifications
> like "linux-any" in build dependencies, which dpkg-dev introduced
> recently (e.g., "Build-Depends: libasound2-dev [linux-any]"). I am at a
> Linux system and see
Which version of dpkg?
regards,
junichi
--
dancer@{debian.org,netfort.gr.jp} Debian Project
Information forwarded to debian-bugs-dist@lists.debian.org, Debian pbuilder maintenance team <pbuilder-maint@lists.alioth.debian.org>:
Bug#363193; Package pbuilder.
(full text, mbox, link).
Acknowledgement sent to Peter Eisentraut <peter_e@gmx.net>:
Extra info received and forwarded to list. Copy sent to Debian pbuilder maintenance team <pbuilder-maint@lists.alioth.debian.org>.
(full text, mbox, link).
Message #15 received at 363193@bugs.debian.org (full text, mbox, reply):
Am Dienstag, 18. April 2006 15:26 schrieb Junichi Uekawa:
> > pbuilder-satisfydepends does not understand architecture specifications
> > like "linux-any" in build dependencies, which dpkg-dev introduced
> > recently (e.g., "Build-Depends: libasound2-dev [linux-any]"). I am at a
> > Linux system and see
>
> Which version of dpkg?
I'm using 1.13.17, but the feature was introduced in 1.13.12, in case that is
what you were wondering.
Information forwarded to debian-bugs-dist@lists.debian.org, Debian pbuilder maintenance team <pbuilder-maint@lists.alioth.debian.org>:
Bug#363193; Package pbuilder.
(full text, mbox, link).
Acknowledgement sent to Junichi Uekawa <dancer@netfort.gr.jp>:
Extra info received and forwarded to list. Copy sent to Debian pbuilder maintenance team <pbuilder-maint@lists.alioth.debian.org>.
(full text, mbox, link).
Message #20 received at 363193@bugs.debian.org (full text, mbox, reply):
Hi,
> > > pbuilder-satisfydepends does not understand architecture specifications
> > > like "linux-any" in build dependencies, which dpkg-dev introduced
> > > recently (e.g., "Build-Depends: libasound2-dev [linux-any]"). I am at a
> > > Linux system and see
> >
> > Which version of dpkg?
>
> I'm using 1.13.17, but the feature was introduced in 1.13.12, in case that is
> what you were wondering.
Thanks.
If it's a feature added in that version, it's probably not for general
consumption before etch release.
But anyway, pbuilder should better support it by etch.
Ho hum.
So, how do I expand the wildcards ?
y
c.f. http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=291939
regards,
junichi
--
dancer@{debian.org,netfort.gr.jp} Debian Project
Information forwarded to debian-bugs-dist@lists.debian.org, Debian pbuilder maintenance team <pbuilder-maint@lists.alioth.debian.org>:
Bug#363193; Package pbuilder.
(full text, mbox, link).
Acknowledgement sent to Peter Eisentraut <peter_e@gmx.net>:
Extra info received and forwarded to list. Copy sent to Debian pbuilder maintenance team <pbuilder-maint@lists.alioth.debian.org>.
(full text, mbox, link).
Message #25 received at 363193@bugs.debian.org (full text, mbox, reply):
Junichi Uekawa wrote:
> If it's a feature added in that version, it's probably not for
> general consumption before etch release.
I'm hoping that we can get full support for it before etch, so that we
can get rid of various clumsy workarounds like type-handling and
auto-updating control files. The stuff is already starting to be in
use, but if you choose to use it, you can't use pbuilder anymore, which
is a shame.
> So, how do I expand the wildcards ?
Steal the code from dpkg-checkbuilddeps and /usr/lib/dpkg/controllib.pl,
respectively.
Thanks.
Information forwarded to debian-bugs-dist@lists.debian.org, Debian pbuilder maintenance team <pbuilder-maint@lists.alioth.debian.org>:
Bug#363193; Package pbuilder.
(full text, mbox, link).
Acknowledgement sent to Junichi Uekawa <dancer@netfort.gr.jp>:
Extra info received and forwarded to list. Copy sent to Debian pbuilder maintenance team <pbuilder-maint@lists.alioth.debian.org>.
(full text, mbox, link).
Message #30 received at 363193@bugs.debian.org (full text, mbox, reply):
Hi,
> > If it's a feature added in that version, it's probably not for
> > general consumption before etch release.
>
> I'm hoping that we can get full support for it before etch, so that we
> can get rid of various clumsy workarounds like type-handling and
> auto-updating control files. The stuff is already starting to be in
> use, but if you choose to use it, you can't use pbuilder anymore, which
> is a shame.
>
> > So, how do I expand the wildcards ?
>
> Steal the code from dpkg-checkbuilddeps and /usr/lib/dpkg/controllib.pl,
> respectively.
pbuilder is in shell, not perl, so it is more convenient if there's
something outside that.
regards,
junichi
--
dancer@{debian.org,netfort.gr.jp} Debian Project
Information forwarded to debian-bugs-dist@lists.debian.org, Debian pbuilder maintenance team <pbuilder-maint@lists.alioth.debian.org>:
Bug#363193; Package pbuilder.
(full text, mbox, link).
Acknowledgement sent to Peter Eisentraut <peter_e@gmx.net>:
Extra info received and forwarded to list. Copy sent to Debian pbuilder maintenance team <pbuilder-maint@lists.alioth.debian.org>.
(full text, mbox, link).
Message #35 received at 363193@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Here is a patch that resolves this.
[patch-363193.diff (text/x-diff, attachment)]
Tags added: patch
Request was from Peter Eisentraut <petere@debian.org>
to control@bugs.debian.org.
(full text, mbox, link).
Information forwarded to debian-bugs-dist@lists.debian.org, Debian pbuilder maintenance team <pbuilder-maint@lists.alioth.debian.org>:
Bug#363193; Package pbuilder.
(full text, mbox, link).
Acknowledgement sent to Junichi Uekawa <dancer@netfort.gr.jp>:
Extra info received and forwarded to list. Copy sent to Debian pbuilder maintenance team <pbuilder-maint@lists.alioth.debian.org>.
(full text, mbox, link).
Message #42 received at 363193@bugs.debian.org (full text, mbox, reply):
Hi,
Have you actually tested this patch?
ARCH is the current running architecture, which won't be linux-any etc.
regards,
junichi
> diff -Nru --exclude pbuilder-doc.html /tmp/lJIc1Y81Rq/pbuilder-0.152/debian/changelog /tmp/H2m1HBzCBJ/pbuilder-0.152/debian/changelog
> --- /tmp/lJIc1Y81Rq/pbuilder-0.152/debian/changelog 2006-04-26 02:33:36.000000000 +0200
> +++ /tmp/H2m1HBzCBJ/pbuilder-0.152/debian/changelog 2006-05-13 14:30:39.000000000 +0200
> @@ -1,3 +1,9 @@
> +pbuilder (0.152-0.1) TEST; urgency=low
> +
> + * Support for new style architecture specifications (closes: #363193)
> +
> + -- Peter Eisentraut <petere@debian.org> Sat, 13 May 2006 14:29:52 +0200
> +
> pbuilder (0.152) unstable; urgency=low
>
> * fix pdebuild-internal, pass --uid/--gid options.
> diff -Nru --exclude pbuilder-doc.html /tmp/lJIc1Y81Rq/pbuilder-0.152/pbuilder-satisfydepends /tmp/H2m1HBzCBJ/pbuilder-0.152/pbuilder-satisfydepends
> --- /tmp/lJIc1Y81Rq/pbuilder-0.152/pbuilder-satisfydepends 2006-03-31 02:14:31.000000000 +0200
> +++ /tmp/H2m1HBzCBJ/pbuilder-0.152/pbuilder-satisfydepends 2006-05-13 14:46:52.000000000 +0200
> @@ -40,16 +40,29 @@
> return 1;
> }
>
> +function expand_arch () {
> + local ARCH="$1"
> + local EXPANDED_ARCH
> + if echo "$ARCH" | grep "-" > /dev/null; then
> + EXPANDED_ARCH=$ARCH
> + else
> + EXPANDED_ARCH="linux-$ARCH"
> + fi
> + local WC1=$(echo $EXPANDED_ARCH | sed 's/^[^-]*/any/')
> + local WC2=$(echo $EXPANDED_ARCH | sed 's/[^-]*$/any/')
> + echo "$ARCH\\|$EXPANDED_ARCH\\|$WC1\\|$WC2"
> +}
> +
> function checkbuilddep_archdeps () {
> # returns FALSE on INSTALL
> local INSTALLPKG="$1"
> local ARCH="$2"
> - if echo "$INSTALLPKG" | sed 's/.*\(\[.*\]\)/\1/' | grep "[[/][!]$ARCH[]/]" > /dev/null; then
> + if echo "$INSTALLPKG" | sed 's/.*\(\[.*\]\)/\1/' | grep "[[/][!]\($(expand_arch $ARCH)\)[]/]" > /dev/null; then
> # if !$ARCH exists in there, ERROR.
> return 0;
> fi
> if ! echo "$INSTALLPKG" | sed 's/.*\(\[.*\]\)/\1/' | grep "[!]" > /dev/null; then
> - if ! echo "$INSTALLPKG" | sed 's/.*\(\[.*\]\)/\1/' | grep "[[/]$ARCH[]/]" > /dev/null; then
> + if ! echo "$INSTALLPKG" | sed 's/.*\(\[.*\]\)/\1/' | grep "[[/]\($(expand_arch $ARCH)\)[]/]" > /dev/null; then
> # if $ARCH does not exist, ERROR.
> return 0;
> fi
Information forwarded to debian-bugs-dist@lists.debian.org, Debian pbuilder maintenance team <pbuilder-maint@lists.alioth.debian.org>:
Bug#363193; Package pbuilder.
(full text, mbox, link).
Acknowledgement sent to Peter Eisentraut <peter_e@gmx.net>:
Extra info received and forwarded to list. Copy sent to Debian pbuilder maintenance team <pbuilder-maint@lists.alioth.debian.org>.
(full text, mbox, link).
Message #47 received at 363193@bugs.debian.org (full text, mbox, reply):
Junichi Uekawa wrote:
> Have you actually tested this patch?
Yes.
> ARCH is the current running architecture, which won't be linux-any
> etc.
I don't understand what that has to do with anything.
Information forwarded to debian-bugs-dist@lists.debian.org, Debian pbuilder maintenance team <pbuilder-maint@lists.alioth.debian.org>:
Bug#363193; Package pbuilder.
(full text, mbox, link).
Acknowledgement sent to Junichi Uekawa <dancer@netfort.gr.jp>:
Extra info received and forwarded to list. Copy sent to Debian pbuilder maintenance team <pbuilder-maint@lists.alioth.debian.org>.
(full text, mbox, link).
Message #52 received at 363193@bugs.debian.org (full text, mbox, reply):
At Mon, 15 May 2006 03:08:31 +0900,
Junichi Uekawa wrote:
>
>
> Hi,
>
> Have you actually tested this patch?
>
> ARCH is the current running architecture, which won't be linux-any etc.
>
> regards,
> junichi
>
[09:36:45]ibookg4:tmp> /usr/lib/pbuilder/pbuilder-satisfydepends --echo
-> Attempting to parse the build-deps : pbuilder-satisfydepends,v 1.24 2006/03/31 00:14:31 dancer Exp $
-> Considering libasound2 [linux-any]
-> This package is not for this architecture
-> Installing
apt-get -y --force-yes install
-> Finished parsing the build-deps
[09:36:50]ibookg4:tmp> /usr/lib/pbuilder/pbuilder-satisfydepends --echo
-> Attempting to parse the build-deps : pbuilder-satisfydepends,v 1.25 2006/05/14 18:32:32 dancer Exp $
-> Considering libasound2 [linux-any]
-> Trying libasound2
-> Installing libasound2
apt-get -y --force-yes install libasound2
-> Finished parsing the build-deps
tested locally, it seems to be functioning fine, cool.
Applied.
regards,
junichi
Information forwarded to debian-bugs-dist@lists.debian.org, Debian pbuilder maintenance team <pbuilder-maint@lists.alioth.debian.org>:
Bug#363193; Package pbuilder.
(full text, mbox, link).
Acknowledgement sent to Junichi Uekawa <dancer@netfort.gr.jp>:
Extra info received and forwarded to list. Copy sent to Debian pbuilder maintenance team <pbuilder-maint@lists.alioth.debian.org>.
(full text, mbox, link).
Message #57 received at 363193@bugs.debian.org (full text, mbox, reply):
Hi,
I was discussing with Christian Perrier at dinner and he mentioned
that the new-style architecture specifications (Build-Depends: XXX
[linux-any] etc.) may have been reverted. I'm not quite sure about
that since the documentation and changelogs are quite scarse about
dpkg-dev stuff.
Am I okay in going ahead with committing this change to pbuilder ?
I am personally against supporting new debian/control construct to
pbuilder before the next stable release with dpkg supporting that
contstruct, but if there is need within Debian archive, I would add
this feature.
regards,
junichi
At Mon, 15 May 2006 09:41:06 +0900,
Junichi Uekawa wrote:
>
> At Mon, 15 May 2006 03:08:31 +0900,
> Junichi Uekawa wrote:
> >
> >
> > Hi,
> >
> > Have you actually tested this patch?
> >
> > ARCH is the current running architecture, which won't be linux-any etc.
> >
> > regards,
> > junichi
> >
>
> [09:36:45]ibookg4:tmp> /usr/lib/pbuilder/pbuilder-satisfydepends --echo
> -> Attempting to parse the build-deps : pbuilder-satisfydepends,v 1.24 2006/03/31 00:14:31 dancer Exp $
> -> Considering libasound2 [linux-any]
> -> This package is not for this architecture
> -> Installing
> apt-get -y --force-yes install
> -> Finished parsing the build-deps
> [09:36:50]ibookg4:tmp> /usr/lib/pbuilder/pbuilder-satisfydepends --echo
> -> Attempting to parse the build-deps : pbuilder-satisfydepends,v 1.25 2006/05/14 18:32:32 dancer Exp $
> -> Considering libasound2 [linux-any]
> -> Trying libasound2
> -> Installing libasound2
> apt-get -y --force-yes install libasound2
> -> Finished parsing the build-deps
>
>
> tested locally, it seems to be functioning fine, cool.
> Applied.
>
>
>
> regards,
> junichi
>
Information forwarded to debian-bugs-dist@lists.debian.org, Debian pbuilder maintenance team <pbuilder-maint@lists.alioth.debian.org>:
Bug#363193; Package pbuilder.
(full text, mbox, link).
Acknowledgement sent to Frank Lichtenheld <djpig@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian pbuilder maintenance team <pbuilder-maint@lists.alioth.debian.org>.
(full text, mbox, link).
Message #62 received at 363193@bugs.debian.org (full text, mbox, reply):
On Mon, May 15, 2006 at 01:46:49PM +0900, Junichi Uekawa wrote:
> I was discussing with Christian Perrier at dinner and he mentioned
> that the new-style architecture specifications (Build-Depends: XXX
> [linux-any] etc.) may have been reverted. I'm not quite sure about
> that since the documentation and changelogs are quite scarse about
> dpkg-dev stuff.
>
> Am I okay in going ahead with committing this change to pbuilder ?
Guillem, could you please answer this question? It is your code
after all and so you can probably answer it more effectly than me...
Gruesse,
--
Frank Lichtenheld <djpig@debian.org>
www: http://www.djpig.de/
Blocking bugs added: 363193
Request was from Peter Eisentraut <petere@debian.org>
to control@bugs.debian.org.
(full text, mbox, link).
Reply sent to Junichi Uekawa <dancer@debian.org>:
You have taken responsibility.
(full text, mbox, link).
Notification sent to Peter Eisentraut <peter_e@gmx.net>:
Bug acknowledged by developer.
(full text, mbox, link).
Message #69 received at 363193-close@bugs.debian.org (full text, mbox, reply):
Source: pbuilder
Source-Version: 0.153
We believe that the bug you reported is fixed in the latest version of
pbuilder, which is due to be installed in the Debian FTP archive:
pbuilder_0.153.dsc
to pool/main/p/pbuilder/pbuilder_0.153.dsc
pbuilder_0.153.tar.gz
to pool/main/p/pbuilder/pbuilder_0.153.tar.gz
pbuilder_0.153_all.deb
to pool/main/p/pbuilder/pbuilder_0.153_all.deb
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 363193@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Junichi Uekawa <dancer@debian.org> (supplier of updated pbuilder package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.7
Date: Fri, 26 May 2006 06:30:13 +0900
Source: pbuilder
Binary: pbuilder
Architecture: source all
Version: 0.153
Distribution: unstable
Urgency: low
Maintainer: Debian pbuilder maintenance team <pbuilder-maint@lists.alioth.debian.org>
Changed-By: Junichi Uekawa <dancer@debian.org>
Description:
pbuilder - personal package builder for Debian packages
Closes: 363193 367133
Changes:
pbuilder (0.153) unstable; urgency=low
.
[Junichi Uekawa]
* fix pdebuild --help output (closes: #367133)
* Support for new style architecture specifications (closes: #363193)
Thanks to Peter Eisentraut for patch.
The support is currently disabled, until dpkg maintainers clarify the
situation.
* pbuilder-doc.xml: update documentation to add an example snippet for
using locally built packages from pbuilder.
And other minor updates, including spellchecking.
* manpages: spellcheck.
* cowdancer support, pbuilder support cowbuilder.
* quiet down cowprotect message.
Files:
ecca37bdcc03a527786ff3f5911b4467 675 devel extra pbuilder_0.153.dsc
db9e5015020cce8d0eaef966068df8c0 412592 devel extra pbuilder_0.153.tar.gz
b3df87b9e2c9622bb32c714c09bd3293 77660 devel extra pbuilder_0.153_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
iD8DBQFEdiPx2Dd9TugeVcERAuNdAJ93NprXbGeC0lXaW3+UdR5wbC1dtwCfQqgO
wn8wxulmCZTkhhAlYe8h5Ps=
=kvrn
-----END PGP SIGNATURE-----
Information forwarded to debian-bugs-dist@lists.debian.org, Debian pbuilder maintenance team <pbuilder-maint@lists.alioth.debian.org>:
Bug#363193; Package pbuilder.
(full text, mbox, link).
Acknowledgement sent to Peter Eisentraut <peter_e@gmx.net>:
Extra info received and forwarded to list. Copy sent to Debian pbuilder maintenance team <pbuilder-maint@lists.alioth.debian.org>.
(full text, mbox, link).
Message #74 received at 363193@bugs.debian.org (full text, mbox, reply):
reopen 363193
stop
I appreciate your concerns, but until this actually works, this bug is
not closed.
Bug reopened, originator not changed.
Request was from Peter Eisentraut <peter_e@gmx.net>
to control@bugs.debian.org.
(full text, mbox, link).
Information forwarded to debian-bugs-dist@lists.debian.org, Debian pbuilder maintenance team <pbuilder-maint@lists.alioth.debian.org>:
Bug#363193; Package pbuilder.
(full text, mbox, link).
Acknowledgement sent to Junichi Uekawa <dancer@netfort.gr.jp>:
Extra info received and forwarded to list. Copy sent to Debian pbuilder maintenance team <pbuilder-maint@lists.alioth.debian.org>.
(full text, mbox, link).
Message #81 received at 363193@bugs.debian.org (full text, mbox, reply):
close 363193
stop
shut up.
Information forwarded to debian-bugs-dist@lists.debian.org, Debian pbuilder maintenance team <pbuilder-maint@lists.alioth.debian.org>:
Bug#363193; Package pbuilder.
(full text, mbox, link).
Acknowledgement sent to Junichi Uekawa <dancer@netfort.gr.jp>:
Extra info received and forwarded to list. Copy sent to Debian pbuilder maintenance team <pbuilder-maint@lists.alioth.debian.org>.
(full text, mbox, link).
Message #86 received at 363193@bugs.debian.org (full text, mbox, reply):
reopen 363193
retitle 363193 waiting for dpkg maintainer to respond and document: support for *-* type Build-Depends.
severity 363193 wishlist
stop
>
> I appreciate your concerns, but until this actually works, this bug is
> not closed.
retitled accordingly.
Information forwarded to debian-bugs-dist@lists.debian.org, Debian pbuilder maintenance team <pbuilder-maint@lists.alioth.debian.org>:
Bug#363193; Package pbuilder.
(full text, mbox, link).
Acknowledgement sent to Junichi Uekawa <dancer@netfort.gr.jp>:
Extra info received and forwarded to list. Copy sent to Debian pbuilder maintenance team <pbuilder-maint@lists.alioth.debian.org>.
(full text, mbox, link).
Message #91 received at 363193@bugs.debian.org (full text, mbox, reply):
Hi Guillem, what's up ?
http://lists.debian.org/debian-dpkg/2006/05/msg00056.html
regards,
junichi
--
dancer@{debian.org,netfort.gr.jp} Debian Project
quote:
On Mon, May 15, 2006 at 01:46:49PM +0900, Junichi Uekawa wrote:
> I was discussing with Christian Perrier at dinner and he mentioned
> that the new-style architecture specifications (Build-Depends: XXX
> [linux-any] etc.) may have been reverted. I'm not quite sure about
> that since the documentation and changelogs are quite scarse about
> dpkg-dev stuff.
>
> Am I okay in going ahead with committing this change to pbuilder ?
Guillem, could you please answer this question? It is your code
after all and so you can probably answer it more effectly than me...
Gruesse,
--
Frank Lichtenheld <djpig@debian.org>
www: http://www.djpig.de/
Information forwarded to debian-bugs-dist@lists.debian.org, Debian pbuilder maintenance team <pbuilder-maint@lists.alioth.debian.org>:
Bug#363193; Package pbuilder.
(full text, mbox, link).
Acknowledgement sent to Peter Eisentraut <peter_e@gmx.net>:
Extra info received and forwarded to list. Copy sent to Debian pbuilder maintenance team <pbuilder-maint@lists.alioth.debian.org>.
(full text, mbox, link).
Message #96 received at 363193@bugs.debian.org (full text, mbox, reply):
Junichi Uekawa wrote:
> close 363193
> stop
>
> shut up.
Could you please have the courtesy of explaining how you intend to
handle this issue? Since you included my patch, you apparently thought
the issue has merit. If you close the bug, then you indicate that you
have dealt with the issue, but that is not the case. If you don't
think the issue has merit, please revert my patch and close the bug.
Then we will wait until the dpkg guys have their act together and the
architecture specification is in the policy (or not; whatever happens).
If you think that the issue has merit but you don't like to fix it, tag
the bug wontfix and/or put a blocker on it. But the current state is
confusing.
Bug closed, send any further explanations to Peter Eisentraut <peter_e@gmx.net>
Request was from Junichi Uekawa <dancer@netfort.gr.jp>
to control@bugs.debian.org.
(full text, mbox, link).
Bug reopened, originator not changed.
Request was from Junichi Uekawa <dancer@netfort.gr.jp>
to control@bugs.debian.org.
(full text, mbox, link).
Changed Bug title.
Request was from Junichi Uekawa <dancer@netfort.gr.jp>
to control@bugs.debian.org.
(full text, mbox, link).
Severity set to `wishlist' from `normal'
Request was from Junichi Uekawa <dancer@netfort.gr.jp>
to control@bugs.debian.org.
(full text, mbox, link).
Information forwarded to debian-bugs-dist@lists.debian.org, Debian pbuilder maintenance team <pbuilder-maint@lists.alioth.debian.org>:
Bug#363193; Package pbuilder.
(full text, mbox, link).
Acknowledgement sent to Junichi Uekawa <dancer@netfort.gr.jp>:
Extra info received and forwarded to list. Copy sent to Debian pbuilder maintenance team <pbuilder-maint@lists.alioth.debian.org>.
(full text, mbox, link).
Message #109 received at 363193@bugs.debian.org (full text, mbox, reply):
clone 363193 -1
reassign -1 dpkg
retitle -1 document wildcards in arch-specific Build-Depends specification.
block 363193 by -1
thanks
actually, this is better.
regards,
junichi
--
dancer@{debian.org,netfort.gr.jp} Debian Project
Blocking bugs added:
Request was from Junichi Uekawa <dancer@netfort.gr.jp>
to control@bugs.debian.org.
(full text, mbox, link).
Information forwarded to debian-bugs-dist@lists.debian.org, Debian pbuilder maintenance team <pbuilder-maint@lists.alioth.debian.org>:
Bug#363193; Package pbuilder.
(full text, mbox, link).
Acknowledgement sent to Guillem Jover <guillem@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian pbuilder maintenance team <pbuilder-maint@lists.alioth.debian.org>.
(full text, mbox, link).
Message #118 received at 363193@bugs.debian.org (full text, mbox, reply):
On Thu, 18 May 2006 03:39:24 -0500, Frank Lichtenheld wrote:
> On Mon, May 15, 2006 at 01:46:49PM +0900, Junichi Uekawa wrote:
> > I was discussing with Christian Perrier at dinner and he mentioned
> > that the new-style architecture specifications (Build-Depends: XXX
> > [linux-any] etc.) may have been reverted. I'm not quite sure about
> > that since the documentation and changelogs are quite scarse about
> > dpkg-dev stuff.
> >
> > Am I okay in going ahead with committing this change to pbuilder ?
Please use instead dpkg-architecture -e or -i options (documented in
the man page), so that we have this code centralized there, and can
extend or fix it in just one place.
You'll have to depend on a new enough version of dpkg (1.13.17) or
conditionally use the feature if that dpkg version is present.
About the bug report, if you find the documentation lacking in
dpkg-architecture's man page I can extend it, otherwise please
close it.
regards,
guillem
Blocking bugs added: 370830
Request was from Junichi Uekawa <dancer@netfort.gr.jp>
to control@bugs.debian.org.
(full text, mbox, link).
Information forwarded to debian-bugs-dist@lists.debian.org, Debian pbuilder maintenance team <pbuilder-maint@lists.alioth.debian.org>:
Bug#363193; Package pbuilder.
(full text, mbox, link).
Acknowledgement sent to Junichi Uekawa <dancer@netfort.gr.jp>:
Extra info received and forwarded to list. Copy sent to Debian pbuilder maintenance team <pbuilder-maint@lists.alioth.debian.org>.
(full text, mbox, link).
Message #125 received at 363193@bugs.debian.org (full text, mbox, reply):
Hi,
> You'll have to depend on a new enough version of dpkg (1.13.17) or
> conditionally use the feature if that dpkg version is present.
This information belongs to BACKWARD COMPATIBILITY section of the
manpage.
regards,
junichi
--
dancer@{debian.org,netfort.gr.jp} Debian Project
Information forwarded to debian-bugs-dist@lists.debian.org, Debian pbuilder maintenance team <pbuilder-maint@lists.alioth.debian.org>:
Bug#363193; Package pbuilder.
(full text, mbox, link).
Acknowledgement sent to Peter Eisentraut <peter_e@gmx.net>:
Extra info received and forwarded to list. Copy sent to Debian pbuilder maintenance team <pbuilder-maint@lists.alioth.debian.org>.
(full text, mbox, link).
Message #130 received at 363193@bugs.debian.org (full text, mbox, reply):
Could this be addressed for lenny? The dpkg maintainers claim that the
documentation has been fixed.
Information forwarded to debian-bugs-dist@lists.debian.org, Debian pbuilder maintenance team <pbuilder-maint@lists.alioth.debian.org>:
Bug#363193; Package pbuilder.
(full text, mbox, link).
Acknowledgement sent to Junichi Uekawa <dancer@netfort.gr.jp>:
Extra info received and forwarded to list. Copy sent to Debian pbuilder maintenance team <pbuilder-maint@lists.alioth.debian.org>.
(full text, mbox, link).
Message #135 received at 363193@bugs.debian.org (full text, mbox, reply):
Hi,
> Could this be addressed for lenny? The dpkg maintainers claim that the
> documentation has been fixed.
I assume pbuilder doesn't yet support any of it, and the code required
to implement it requires to be re-written for dpkg-architecture -e and
-a.
regards,
junichi
--
dancer@{debian.org,netfort.gr.jp} Debian Project
Information forwarded to debian-bugs-dist@lists.debian.org, Debian pbuilder maintenance team <pbuilder-maint@lists.alioth.debian.org>:
Bug#363193; Package pbuilder.
(full text, mbox, link).
Acknowledgement sent to Peter Eisentraut <peter_e@gmx.net>:
Extra info received and forwarded to list. Copy sent to Debian pbuilder maintenance team <pbuilder-maint@lists.alioth.debian.org>.
(full text, mbox, link).
Message #140 received at 363193@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Back to this issue. dpkg has supported the build dependency style [linux-any]
or [linux-any hurd-any] etc. since etch, so it should be safe to use it.
We were earlier confused by the unclear documentation, but
dpkg-architecture(1) now has nice examples:
Check if the current architecture or an architecture provided with -a
are Linux systems:
dpkg-architecture -ilinux-any
dpkg-architecture -ai386 -ilinux-any
With that in mind, I propose the attached patch. It looks simple enough.
Apparently the old regular expression supports architectures separated by
slashes (/)? I don't find this documented anywhere, but you can continue to
support that if you split up $DEP_ARCHES beforehand.
As a test case, I used pgpool, replaced libpam-dev by libpam-dev [linux-any
hurd-any] and could build successfully. Yay! :)
[pbuilder-363193.patch (text/x-diff, attachment)]
Information forwarded to debian-bugs-dist@lists.debian.org, Debian pbuilder maintenance team <pbuilder-maint@lists.alioth.debian.org>:
Bug#363193; Package pbuilder.
(full text, mbox, link).
Acknowledgement sent to Peter Eisentraut <petere@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian pbuilder maintenance team <pbuilder-maint@lists.alioth.debian.org>.
(full text, mbox, link).
Message #145 received at 363193@bugs.debian.org (full text, mbox, reply):
# Automatically generated email from bts, devscripts version 2.10.20
# back to old title after dpkg docs have been updated
retitle 363193 pbuilder-satisfydepends does not support new style architecture specifications
Changed Bug title to `pbuilder-satisfydepends does not support new style architecture specifications' from `waiting for dpkg maintainer to respond and document: support for *-* type Build-Depends.'.
Request was from Peter Eisentraut <petere@debian.org>
to control@bugs.debian.org.
(Sat, 05 Apr 2008 00:03:03 GMT) (full text, mbox, link).
Forcibly Merged 363193 483253.
Request was from Peter Eisentraut <petere@debian.org>
to control@bugs.debian.org.
(Wed, 02 Jul 2008 08:33:02 GMT) (full text, mbox, link).
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian pbuilder maintenance team <pbuilder-maint@lists.alioth.debian.org>:
Bug#363193; Package pbuilder.
(Sun, 05 Jul 2009 05:18:07 GMT) (full text, mbox, link).
Acknowledgement sent
to Andres Mejia <mcitadel@gmail.com>:
Extra info received and forwarded to list. Copy sent to Debian pbuilder maintenance team <pbuilder-maint@lists.alioth.debian.org>.
(Sun, 05 Jul 2009 05:18:07 GMT) (full text, mbox, link).
Message #154 received at 363193@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Here's new patches to support architecture wildcards in pbuilder. The first patch
provides changes to how package interrelationships are handled. The second patch
adds support for checking the 'Architecture' field to see whether or not to build
a package. This kind of check is supported in sbuild.
Both patches are modeled closely to how architecture wildcard support is
implemented in sbuild. See bug #501230.
--
Regards,
Andres
[arch-wildcard-part1.patch (text/x-patch, attachment)]
[arch-wildcard-part2.patch (text/x-patch, attachment)]
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian pbuilder maintenance team <pbuilder-maint@lists.alioth.debian.org>:
Bug#363193; Package pbuilder.
(Wed, 08 Jul 2009 19:42:02 GMT) (full text, mbox, link).
Acknowledgement sent
to Andres Mejia <mcitadel@gmail.com>:
Extra info received and forwarded to list. Copy sent to Debian pbuilder maintenance team <pbuilder-maint@lists.alioth.debian.org>.
(Wed, 08 Jul 2009 19:42:02 GMT) (full text, mbox, link).
Message #159 received at 363193@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Fixed a problem with the second patch. I forgot the case where only arch 'all'
packages were being built.
I've attached both patches again. I've tested these and they match the
implementation used in sbuild.
--
Regards,
Andres
[arch-wildcard-part1.patch (text/x-patch, attachment)]
[arch-wildcard-part2.patch (text/x-patch, attachment)]
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian pbuilder maintenance team <pbuilder-maint@lists.alioth.debian.org>:
Bug#363193; Package pbuilder.
(Mon, 13 Jul 2009 00:18:03 GMT) (full text, mbox, link).
Acknowledgement sent
to Junichi Uekawa <dancer@netfort.gr.jp>:
Extra info received and forwarded to list. Copy sent to Debian pbuilder maintenance team <pbuilder-maint@lists.alioth.debian.org>.
(Mon, 13 Jul 2009 00:18:03 GMT) (full text, mbox, link).
Message #164 received at 363193@bugs.debian.org (full text, mbox, reply):
Hi,
Do you have handy testcases I could try?
At Wed, 8 Jul 2009 15:35:01 -0400,
Andres Mejia wrote:
>
> diff --git a/pbuilder-buildpackage b/pbuilder-buildpackage
> index 0fbaf2e..cde3551 100755
> --- a/pbuilder-buildpackage
> +++ b/pbuilder-buildpackage
> @@ -31,6 +31,9 @@ if [ ! -f "$PACKAGENAME" ]; then
> exit 1;
> fi;
>
> +# check if this package should be built at all
> +checkarchitecture "$PACKAGENAME"
> +
> if [ -n "$BUILDUSERNAME" -a -n "$BUILDUSERID" ]; then
> SUTOUSER="env LOGNAME=$BUILDUSERNAME su -p $BUILDUSERNAME"
> DEBBUILDOPTS="$DEBBUILDOPTS -rfakeroot"
> diff --git a/pbuilder-buildpackage-funcs b/pbuilder-buildpackage-funcs
> index 370c799..d573dbf 100644
> --- a/pbuilder-buildpackage-funcs
> +++ b/pbuilder-buildpackage-funcs
> @@ -30,6 +30,25 @@ function copydsc () {
> done
> }
>
> +function checkarchitecture () {
> + local DSCFILE="$1"
> + local ARCHES="$(cat $DSCFILE | grep Architecture | sed 's/^[^:]\+:\s*//')"
> + local ARCH=$(dpkg-architecture -qDEB_HOST_ARCH)
> + local VALID_ARCH
> + for d in $ARCHES; do
> + if dpkg-architecture -a$ARCH -i$d; then
> + VALID_ARCH="yes"
> + break
> + fi
> + done
> + if [ ! $VALID_ARCH ] && [ ! "$ARCHES" = "all" ]; then
> + local msg="E: $ARCH not in arch list or does not match any "
> + msg="$msg arch wildcards: $ARCHES"
> + log $msg
> + exit 2
> + fi
> +}
> +
> function checkbuilddep () {
> # call satisfydepends
> local BUILDOPT="--binary-all"
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian pbuilder maintenance team <pbuilder-maint@lists.alioth.debian.org>:
Bug#363193; Package pbuilder.
(Wed, 15 Jul 2009 03:03:03 GMT) (full text, mbox, link).
Acknowledgement sent
to Andres Mejia <mcitadel@gmail.com>:
Extra info received and forwarded to list. Copy sent to Debian pbuilder maintenance team <pbuilder-maint@lists.alioth.debian.org>.
(Wed, 15 Jul 2009 03:03:03 GMT) (full text, mbox, link).
Message #169 received at 363193@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
On Sunday 12 July 2009 19:55:10 Junichi Uekawa wrote:
> Hi,
>
> Do you have handy testcases I could try?
I've attached the tarball for a test native package. Should only attempt to
build on i386 or amd64 systems. It uses build-depends of hurd-dev only on hurd
systems, nasm for i386 and amd64, kfreebsd-kernel-headers on systems except for
linux and hurd, and libqemu-dev on systems except for i386 and amd64.
--
Regards,
Andres
[test-dummy_0.1.tar.gz (application/x-compressed-tar, attachment)]
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian pbuilder maintenance team <pbuilder-maint@lists.alioth.debian.org>:
Bug#363193; Package pbuilder.
(Fri, 05 Feb 2010 01:51:02 GMT) (full text, mbox, link).
Acknowledgement sent
to Darren Salt <linux@youmustbejoking.demon.co.uk>:
Extra info received and forwarded to list. Copy sent to Debian pbuilder maintenance team <pbuilder-maint@lists.alioth.debian.org>.
(Fri, 05 Feb 2010 01:51:02 GMT) (full text, mbox, link).
Message #174 received at 363193@bugs.debian.org (full text, mbox, reply):
I've just tested with gxine (which now uses libgudev where available). Looks
like those patches are working properly (or sufficiently so for my purposes)
:-)
--
| Darren Salt | linux at youmustbejoking | nr. Ashington, | Doon
| using Debian GNU/Linux | or ds ,demon,co,uk | Northumberland | Army
| + http://www.youmustbejoking.demon.co.uk/ & http://tartarus.org/ds/
This message was brought to you using only 100% recycled electrons.
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian pbuilder maintenance team <pbuilder-maint@lists.alioth.debian.org>:
Bug#363193; Package pbuilder.
(Wed, 07 Jul 2010 22:54:03 GMT) (full text, mbox, link).
Acknowledgement sent
to Michael Biebl <biebl@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian pbuilder maintenance team <pbuilder-maint@lists.alioth.debian.org>.
(Wed, 07 Jul 2010 22:54:03 GMT) (full text, mbox, link).
Message #179 received at 363193@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
severity 363193 important
thanks
Hi,
this bug is over 4 years old. Is there any progress?
Given, that architecture wildcards are now allowed by the Debian policy, I've
bumped the severity to important.
I can confirm that the patches in
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=363193#159
work for me (you can try the avahi 0.6.26-1 package from unstable).
As pbuilder is my main tool for building packages in a clean chroot, I'd
appreciate a quick fix.
Thanks for considering,
Michael
--
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?
[signature.asc (application/pgp-signature, attachment)]
Severity set to 'important' from 'normal'
Request was from Michael Biebl <biebl@debian.org>
to control@bugs.debian.org.
(Wed, 07 Jul 2010 22:54:04 GMT) (full text, mbox, link).
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian pbuilder maintenance team <pbuilder-maint@lists.alioth.debian.org>:
Bug#363193; Package pbuilder.
(Fri, 09 Jul 2010 21:00:06 GMT) (full text, mbox, link).
Acknowledgement sent
to Daniel Schepler <dschepler@gmail.com>:
Extra info received and forwarded to list. Copy sent to Debian pbuilder maintenance team <pbuilder-maint@lists.alioth.debian.org>.
(Fri, 09 Jul 2010 21:00:06 GMT) (full text, mbox, link).
Message #186 received at 363193@bugs.debian.org (full text, mbox, reply):
The second part of the patch you supplied in <http://bugs.debian.org/cgi-
bin/bugreport.cgi?bug=363193#159> doesn't look quite right to me. It seems
like it will refuse to build packages like acpi-support which has
Architecture: all i386 amd64 ia64
on architectures other than the ones explicitly listed there, while the intent
is that it should be able to build the arch-indep packages on any
architecture.
--
Daniel Schepler
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian pbuilder maintenance team <pbuilder-maint@lists.alioth.debian.org>:
Bug#363193; Package pbuilder.
(Fri, 16 Jul 2010 22:39:06 GMT) (full text, mbox, link).
Acknowledgement sent
to Daniel Schepler <dschepler@gmail.com>:
Extra info received and forwarded to list. Copy sent to Debian pbuilder maintenance team <pbuilder-maint@lists.alioth.debian.org>.
(Fri, 16 Jul 2010 22:39:06 GMT) (full text, mbox, link).
Message #191 received at 363193@bugs.debian.org (full text, mbox, reply):
I just tried applying the first part of the patch submitted for the bug. It
looks like it doesn't work right with PBUILDERSATISFYDEPENDSCMD set to
/usr/lib/pbuilder/pbuilder-satisfydepends-classic (which I need because the
aptitude version doesn't really support --preserve-buildplace, which my
pbuildd script needs to skip past currently unbuildable packages quickly).
For example, trying to build cowdancer on amd64 I got:
-> Attempting to parse the build-deps
-> Considering build-depdebhelper (>> 4.0.0)
-> Trying debhelper
-> Considering build-deppbuilder
-> Trying pbuilder
-> Considering build-depqemu [i386 amd64 powerpc]
-> This package is not for this architecture
-> Considering build-deplibklibc-dev
-> Trying libklibc-dev
-> Considering build-depklibc-utils
-> Trying klibc-utils
-> Considering build-depcpio
-> Trying cpio
-> Considering build-depbusybox-static
-> Trying busybox-static
-> Installing debhelper pbuilder libklibc-dev klibc-utils cpio busybox-
static
...
dpkg-checkbuilddeps: Unmet build dependencies: qemu
dpkg-buildpackage: warning: Build dependencies/conflicts unsatisfied; aborting.
dpkg-buildpackage: warning: (Use -d flag to override.)
E: Failed autobuilding of package
It does look like the patch works right with pbuilder-satisfydepends-aptitude.
--
Daniel Schepler
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian pbuilder maintenance team <pbuilder-maint@lists.alioth.debian.org>:
Bug#363193; Package pbuilder.
(Mon, 26 Jul 2010 18:00:03 GMT) (full text, mbox, link).
Acknowledgement sent
to Andres Mejia <mcitadel@gmail.com>:
Extra info received and forwarded to list. Copy sent to Debian pbuilder maintenance team <pbuilder-maint@lists.alioth.debian.org>.
(Mon, 26 Jul 2010 18:00:03 GMT) (full text, mbox, link).
Message #196 received at 363193@bugs.debian.org (full text, mbox, reply):
On Friday 09 July 2010 16:58:40 Daniel Schepler wrote:
> The second part of the patch you supplied in <http://bugs.debian.org/cgi-
> bin/bugreport.cgi?bug=363193#159> doesn't look quite right to me. It seems
> like it will refuse to build packages like acpi-support which has
> Architecture: all i386 amd64 ia64
> on architectures other than the ones explicitly listed there, while the
> intent is that it should be able to build the arch-indep packages on any
> architecture.
The intent of the second patch was to fix issue where source packages that
build architecture "all" packages would not build, though they should still
build. If they don't build, then another patch needs to be submitted.
I don't use pbuilder anymore so feel free to submit new patches.
--
Regards,
Andres Mejia
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian pbuilder maintenance team <pbuilder-maint@lists.alioth.debian.org>:
Bug#363193; Package pbuilder.
(Sat, 30 Oct 2010 13:06:03 GMT) (full text, mbox, link).
Acknowledgement sent
to Thorsten Glaser <tg@mirbsd.de>:
Extra info received and forwarded to list. Copy sent to Debian pbuilder maintenance team <pbuilder-maint@lists.alioth.debian.org>.
(Sat, 30 Oct 2010 13:06:03 GMT) (full text, mbox, link).
Message #201 received at 363193@bugs.debian.org (full text, mbox, reply):
found 363193 pbuilder/0.199
thanks
glib2.0_2.24.2-1.dsc (emphasis mine):
Build-Depends: debhelper (>> 5.0.22), pkg-config (>= 0.14.0), gettext,
autotools-dev, gnome-pkg-tools (>= 0.11), quilt, dpkg-dev (>= 1.14.13),
libpcre3-dev (>= 7.4-1~), desktop-file-utils, gtk-doc-tools,
libselinux1-dev [linux-any], linux-libc-dev [linux-any],
^^^^^^^^^^^^^^^^^^^^^^^^^^^
libgamin-dev [!linux-any] | libfam-dev [!linux-any], zlib1g-dev
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
cowbuilder:
dpkg: dependency problems prevent configuration of pbuilder-satisfydepends-dummy:
pbuilder-satisfydepends-dummy depends on debhelper (>> 5.0.22); however:
Package debhelper is not installed.
pbuilder-satisfydepends-dummy depends on pkg-config (>= 0.14.0); however:
Package pkg-config is not installed.
pbuilder-satisfydepends-dummy depends on gettext; however:
Package gettext is not installed.
pbuilder-satisfydepends-dummy depends on autotools-dev; however:
Package autotools-dev is not installed.
pbuilder-satisfydepends-dummy depends on gnome-pkg-tools (>= 0.11); however:
Package gnome-pkg-tools is not installed.
pbuilder-satisfydepends-dummy depends on quilt; however:
Package quilt is not installed.
pbuilder-satisfydepends-dummy depends on libpcre3-dev (>= 7.4-1~); however:
Package libpcre3-dev is not installed.
pbuilder-satisfydepends-dummy depends on desktop-file-utils; however:
Package desktop-file-utils is not installed.
pbuilder-satisfydepends-dummy depends on gtk-doc-tools; however:
Package gtk-doc-tools is not installed.
pbuilder-satisfydepends-dummy depends on libgamin-dev | libfam-dev; however:
^^^^^^^^^^^^^^^^^^^^^^^^^
Package libgamin-dev is not installed.
Package libfam-dev is not installed.
pbuilder-satisfydepends-dummy depends on zlib1g-dev; however:
Package zlib1g-dev is not installed.
dpkg: error processing pbuilder-satisfydepends-dummy (--install):
dependency problems - leaving unconfigured
As you can see, this leads to quite interesting problems building
packages which doesn’t work for me (m68k currently has too much of
the archive uninstallable to use buildd so I’m needing cowbuilder
to do that job). Please do fix this.
I’m using dpkg 1.15.5.6, because newer dpkg needs newer gettext
which needs newer libxml2 and glib2.0 which I’m tring to build
at the moment, but dpkg-architecture is there, and the feature
is said to have been there since etch, so…
Thanks in advance,
//mirabilos
--
"Using Lynx is like wearing a really good pair of shades: cuts out
the glare and harmful UV (ultra-vanity), and you feel so-o-o COOL."
-- Henry Nelson, March 1999
Bug Marked as found in versions pbuilder/0.199.
Request was from Thorsten Glaser <tg@mirbsd.de>
to control@bugs.debian.org.
(Sat, 30 Oct 2010 13:06:06 GMT) (full text, mbox, link).
Added indication that bug 363193 blocks 596602
Request was from Drew Parsons <dparsons@debian.org>
to control@bugs.debian.org.
(Tue, 02 Nov 2010 11:03:07 GMT) (full text, mbox, link).
Forcibly Merged 363193 483253 600823.
Request was from Matthew Palmer <mpalmer@debian.org>
to control@bugs.debian.org.
(Sun, 12 Dec 2010 03:39:03 GMT) (full text, mbox, link).
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian pbuilder maintenance team <pbuilder-maint@lists.alioth.debian.org>:
Bug#363193; Package pbuilder.
(Thu, 16 Dec 2010 01:36:03 GMT) (full text, mbox, link).
Acknowledgement sent
to Matthew Palmer <mpalmer@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian pbuilder maintenance team <pbuilder-maint@lists.alioth.debian.org>.
(Thu, 16 Dec 2010 01:36:03 GMT) (full text, mbox, link).
Message #212 received at 363193@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
usertags 363193 patch-in-git
usertags 363193 patch-supplied
thanks
Well, this has turned into a monster of a bug, with several subtly different
issues being raised and debated. Here's the ones that I've found and
addressed in the attached patch series (which might be more easily accessed
via the 363193 branch of git://github.com/mpalmer/pbuilder):
1) Support for wildcard arch specifications, such as "linux-any"
The main, initial bug report. The patches provided by Andres Mejia in
message #159 were the basis for this patch series (credited as
appropriate), with modifications as needed for the other issues herein.
2) Testcases (message #164)
Whilst I wasn't able to get full test coverage, I did add test coverage
for checkbuilddep_archdeps (testing arch-specific package dependencies)
and checkarchitecture (validating whether a particular package should be
built on a given architecture).
3) Support for (eg) Architecture: all i386 amd64 ia64 (message #186)
Policy states that this form of architecture list is valid for .dsc files
only (not debian/control), and so the checkarchitecture function needed
some mangling to work properly.
4) pbuilder-satisfydepends-classic didn't handle arch wildcards (message
#191)
This was something of a corner case in the -classic code, as it didn't
provide valid "package [arch]" stanzas to checkbuilddep_archdeps, but
instead replaced spaces with slashes.
Hopefully which patch(es) in the series cover each of the above issues
should be clear enough; if not, I'm happy to clarify.
- Matt
[0001-Apply-arch-wildcard-part1.patch.patch (text/x-diff, attachment)]
[0002-Add-a-little-more-verbosity-to-test-runs.patch (text/x-diff, attachment)]
[0003-Add-test-cases-for-checkbuilddep_archdeps.patch (text/x-diff, attachment)]
[0004-Fix-a-tiny-aesthetic-nit-in-pbuilder-satisfydepends.patch (text/x-diff, attachment)]
[0005-Fix-pbuilder-satisfydepends-classic-for-arch-selecto.patch (text/x-diff, attachment)]
[0006-Apply-arch-wildcard-part2.patch.patch (text/x-diff, attachment)]
[0007-Check-correct-architecture-for-checkarchitecture-an.patch (text/x-diff, attachment)]
[0008-Make-checkarchitecture-even-more-testable.patch (text/x-diff, attachment)]
[0009-Testsuite-for-checkarchitecture-and-adjustments-to.patch (text/x-diff, attachment)]
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian pbuilder maintenance team <pbuilder-maint@lists.alioth.debian.org>:
Bug#363193; Package pbuilder.
(Thu, 16 Dec 2010 07:54:03 GMT) (full text, mbox, link).
Acknowledgement sent
to Matthew Palmer <mpalmer@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian pbuilder maintenance team <pbuilder-maint@lists.alioth.debian.org>.
(Thu, 16 Dec 2010 07:54:03 GMT) (full text, mbox, link).
Message #217 received at 363193@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
This patch fixes things so that the test suite passes when being run during
the build process (and only the build process). It's needed in addition to
the previous 9 (and is in my git branch).
- Matt
[0010-Switch-all-dpkg-architecture-calls-to-include-f.patch (text/x-diff, attachment)]
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian pbuilder maintenance team <pbuilder-maint@lists.alioth.debian.org>:
Bug#363193; Package pbuilder.
(Sat, 25 Dec 2010 16:15:02 GMT) (full text, mbox, link).
Acknowledgement sent
to bertagaz <bertagaz@ptitcanardnoir.org>:
Extra info received and forwarded to list. Copy sent to Debian pbuilder maintenance team <pbuilder-maint@lists.alioth.debian.org>.
(Sat, 25 Dec 2010 16:15:02 GMT) (full text, mbox, link).
Message #222 received at 363193@bugs.debian.org (full text, mbox, reply):
Hi,
Just tried to build dpkg from sid, which has a linux-any build dep, using
a pbuilder build from mpalmer's branch 363193 and it worked like a charm.
Should be merged ASAP.
Thanks
bert.
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian pbuilder maintenance team <pbuilder-maint@lists.alioth.debian.org>:
Bug#363193; Package pbuilder.
(Sat, 19 Feb 2011 19:33:03 GMT) (full text, mbox, link).
Acknowledgement sent
to Emilio Pozuelo Monfort <pochu@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian pbuilder maintenance team <pbuilder-maint@lists.alioth.debian.org>.
(Sat, 19 Feb 2011 19:33:03 GMT) (full text, mbox, link).
Message #227 received at 363193@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Hi,
I talked to Junichi and he told me it was fine if I NMU'ed pbuilder to fix these
bugs. This is the debdiff for my NMU.
Regards,
Emilio
[pbuilder.debdiff (text/plain, attachment)]
Reply sent
to Emilio Pozuelo Monfort <pochu@debian.org>:
You have taken responsibility.
(Sat, 19 Feb 2011 19:36:08 GMT) (full text, mbox, link).
Notification sent
to Peter Eisentraut <peter_e@gmx.net>:
Bug acknowledged by developer.
(Sat, 19 Feb 2011 19:36:08 GMT) (full text, mbox, link).
Message #232 received at 363193-close@bugs.debian.org (full text, mbox, reply):
Source: pbuilder
Source-Version: 0.199+nmu2
We believe that the bug you reported is fixed in the latest version of
pbuilder, which is due to be installed in the Debian FTP archive:
pbuilder-uml_0.199+nmu2_amd64.deb
to main/p/pbuilder/pbuilder-uml_0.199+nmu2_amd64.deb
pbuilder_0.199+nmu2.dsc
to main/p/pbuilder/pbuilder_0.199+nmu2.dsc
pbuilder_0.199+nmu2.tar.gz
to main/p/pbuilder/pbuilder_0.199+nmu2.tar.gz
pbuilder_0.199+nmu2_all.deb
to main/p/pbuilder/pbuilder_0.199+nmu2_all.deb
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 363193@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Emilio Pozuelo Monfort <pochu@debian.org> (supplier of updated pbuilder package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.8
Date: Sat, 19 Feb 2011 19:02:34 +0000
Source: pbuilder
Binary: pbuilder pbuilder-uml
Architecture: source all amd64
Version: 0.199+nmu2
Distribution: unstable
Urgency: low
Maintainer: Debian pbuilder maintenance team <pbuilder-maint@lists.alioth.debian.org>
Changed-By: Emilio Pozuelo Monfort <pochu@debian.org>
Description:
pbuilder - personal package builder for Debian packages
pbuilder-uml - user-mode-linux version of pbuilder
Closes: 363193 606699
Changes:
pbuilder (0.199+nmu2) unstable; urgency=low
.
* Non-maintainer upload with maintainer's permission.
* pbuilder-satisfydepends-aptitude: Resolve packages from experimental
when necessary. Logic stolen from sbuild. Closes: #606699.
* pbuilder-buildpackage, pbuilder-buildpackage-funcs: Handle
architecture wildcards properly. Patch from Andres Mejia.
Closes: #363193.
* Makefile: Don't require a UTF-8 encoding to check the manpages.
Checksums-Sha1:
68b4acea2d130f2bf13e6c31f27c4c8ed06558e4 1164 pbuilder_0.199+nmu2.dsc
afab64d1eea39503497c947bef98bac68411fa67 857078 pbuilder_0.199+nmu2.tar.gz
21b7e7c5e3fbfc62b2284b82dd2901c9b4ed976a 361250 pbuilder_0.199+nmu2_all.deb
591375c49f0d742171885f9860e9ea064d13863e 41126 pbuilder-uml_0.199+nmu2_amd64.deb
Checksums-Sha256:
d0f561c63659333daa49d2b13ebe2e652ff4aa86999d676458460a0ddcec7707 1164 pbuilder_0.199+nmu2.dsc
f43b71b0d5f9f86526210896f75d123478fbec943e87cf054c186579b73b00e0 857078 pbuilder_0.199+nmu2.tar.gz
2ef7b4ee7f65d5e2f20194dc0e48376d88f48feb8a27ce6b33d41e3ff39efec9 361250 pbuilder_0.199+nmu2_all.deb
83ce0ddcc7e7e6518ab824c9122bdb176e4b08f608eeff450a1935a43165a9ca 41126 pbuilder-uml_0.199+nmu2_amd64.deb
Files:
b73a3b34933c70eb269b63e7ff07a634 1164 devel extra pbuilder_0.199+nmu2.dsc
87d4dc26f4551162c1b478f0e633ffca 857078 devel extra pbuilder_0.199+nmu2.tar.gz
f763dd6d356f29f6f4bd63f942463b9a 361250 devel extra pbuilder_0.199+nmu2_all.deb
dd72a81085fc2ec554d6c1c3fbeb51e2 41126 devel extra pbuilder-uml_0.199+nmu2_amd64.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
iEYEARECAAYFAk1gFtIACgkQhTV17EoIsv5NWQCcCeONLsDIwoU0ZgNMXK70pK6J
5rQAnijWcnNIjUV0+/mWItop4d5fq/tM
=ZWch
-----END PGP SIGNATURE-----
Reply sent
to Emilio Pozuelo Monfort <pochu@debian.org>:
You have taken responsibility.
(Sat, 19 Feb 2011 19:36:08 GMT) (full text, mbox, link).
Notification sent
to Modestas Vainius <modestas@vainius.eu>:
Bug acknowledged by developer.
(Sat, 19 Feb 2011 19:36:08 GMT) (full text, mbox, link).
Reply sent
to Emilio Pozuelo Monfort <pochu@debian.org>:
You have taken responsibility.
(Sat, 19 Feb 2011 19:36:09 GMT) (full text, mbox, link).
Notification sent
to Emil Langrock <emil.langrock@gmx.de>:
Bug acknowledged by developer.
(Sat, 19 Feb 2011 19:36:09 GMT) (full text, mbox, link).
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Wed, 30 Mar 2011 07:32:13 GMT) (full text, mbox, link).
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Sun Jan 7 19:12:54 2018;
Machine Name:
buxtehude
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.