logo       


Bug#366327: Bug#366327: pbuilder: pdebuild-internal doesn't honor dpkg-buil: msg#00082

Subject: Bug#366327: Bug#366327: pbuilder: pdebuild-internal doesn't honor dpkg-buildpackage options
> 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


Ruby Jobs
Java Jobs
Jobs in California
more...
what
job title, keywords
where
city, state, zip
jobs by job search
Search:
Java, servers, webhosting, windows, cisco ...
more...
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
encryption.gpg....    ietf.rfc822/199...    freebsd.devel.i...    lang.haskell.li...    mail.squirrelma...    web.zope.plone....    yellowdog.gener...    text.xml.xalan....    recreation.phot...    kde.devel.educa...    hardware.bus.ca...    printing.ghosts...    voip.peering/20...    assembly/2006-0...    org.user-groups...    culture.interne...    network.i2p/200...    boot-loaders.ya...    xfree86.render/...    qnx.openqnx.dev...    jakarta.velocit...    user-groups.pal...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe