Bug#366327: [Pbuilder-maint] Bug#366327: pbuilder: pdebuild-internal
doesn't honor dpkg-buildpackage options
Junichi Uekawa
dancer at netfort.gr.jp
Sun Jun 25 16:37:23 UTC 2006
> Running `pdebuild --use-pdebuild-internal' didn't seem to honor these
> options. Neither did passing these options on the command line (with the
> `--debbuildopts' option). The following utterly trivial patch apparently
> fixed the problem. Unless it was not done this way on purpose, I'd ask
> you to apply the change.
>
> Have a nice day, and thanks for writing pbuilder.
>
> Cheers,
> -- W.
>
> -- System Information:
> Debian Release: testing/unstable
> APT prefers experimental
> APT policy: (600, 'experimental'), (550, 'unstable')
> Architecture: i386 (i686)
> Shell: /bin/sh linked to /bin/bash
> Kernel: Linux 2.6.15-1-k7
> Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to fr_FR.UTF-8)
>
> Versions of packages pbuilder depends on:
> ii cdebootstrap 0.3.11 Bootstrap a Debian system
> ii coreutils 5.94-1 The GNU core utilities
> ii debianutils 2.15.7 Miscellaneous utilities specific t
> ii debootstrap 0.3.3 Bootstrap a basic Debian system
> ii gcc 4:4.0.3-3 The GNU C compiler
> ii wget 1.10.2-1 retrieves files from the web
>
> Versions of packages pbuilder recommends:
> ii devscripts 2.9.19 Scripts to make the life of a Debi
> ii fakeroot 1.5.8 Gives a fake root environment
> ii sudo 1.6.8p12-4 Provide limited super user privile
>
> -- no debconf information
>
> *** /tmp/pbuilder.patch
> --- /usr/lib/pbuilder/pdebuild-internal.orig 2006-05-07 14:37:26.000000000 +0200
> +++ /usr/lib/pbuilder/pdebuild-internal 2006-05-07 14:39:18.000000000 +0200
> @@ -82,4 +82,4 @@
> export HOME=$(pwd)/../
>
> # do build with that user.
> -echo /usr/bin/dpkg-buildpackage -rfakeroot -us -uc '${DEBBUILDOPTS}' | su pbuser
> +echo /usr/bin/dpkg-buildpackage -rfakeroot -us -uc "${DEBBUILDOPTS}" | su pbuser
>
Try this instead:
--- pdebuild-internal.~1.12.~ 2006-06-05 20:39:04.000000000 +0900
+++ pdebuild-internal 2006-06-26 01:36:51.000000000 +0900
@@ -82,4 +82,5 @@
export HOME=$(pwd)/../
# do build with that user.
+export DEBBUILDOPTS
echo /usr/bin/dpkg-buildpackage -rfakeroot -us -uc '${DEBBUILDOPTS}' | su -p pbuser
regards,
junichi
--
dancer@{debian.org,netfort.gr.jp} Debian Project
More information about the Pbuilder-maint
mailing list