Package: dpkg-dev
Version: 1.15.8
Severity: important

Hello,

contrary to dpkg-dev 1.15.7.x and earlier, 1.15.8 no longer supports absolute
paths for the -r option. So:

$ dpkg-buildpackage -r/usr/bin/fakeroot
dpkg-buildpackage: error: gain-root-commmand '/usr/bin/fakeroot' not found

and:

$ dpkg-buildpackage -rfakeroot
 dpkg-buildpackage: export CFLAGS from dpkg-buildflags (origin: vendor): -g -O2
 dpkg-buildpackage: export CPPFLAGS from dpkg-buildflags (origin: vendor): 
 dpkg-buildpackage: export CXXFLAGS from dpkg-buildflags (origin: vendor): -g 
-O2
 dpkg-buildpackage: export FFLAGS from dpkg-buildflags (origin: vendor): -g -O2
 dpkg-buildpackage: export LDFLAGS from dpkg-buildflags (origin: vendor): 
 ....

Well, strictly speaking this is how manpage says it is supposed to be. But
sbuild calls dpkg-buildpackage with -r/usr/bin/fakeroot by default so this
change will eventually break all unstable sbuilds out there. So it begs the
question if the change is really worth it? I do believe that dpkg-buildpackage
should be changed to support absolute paths for -r again (what's the point not
to, they are more secure anyway?) and thus save sbuild users (buildd admins and
poor DDs) some time debugging and changing configuration. I would like to see
the fix in the next 1.15.8.x.

Looks like that the commit responsible for this regression is:

http://git.debian.org/?p=dpkg/dpkg.git;a=commit;h=7106a2d148ace7ea1e786e41e11f84081b47fec8

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

Kernel: Linux 2.6.35-rc4 (SMP w/4 CPU cores)
Locale: LANG=lt_LT.UTF-8, LC_CTYPE=lt_LT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages dpkg-dev depends on:
ii  base-files        5.8                    Debian base system miscellaneous f
ii  binutils          2.20.1-12              The GNU assembler, linker and bina
ii  bzip2             1.0.5-4                high-quality block-sorting file co
ii  libdpkg-perl      1.15.8                 Dpkg perl modules
ii  make              3.81-8                 An utility for Directing compilati
ii  patch             2.6-2                  Apply a diff file to an original
ii  xz-utils          4.999.9beta+20100713-1 XZ-format compression utilities

Versions of packages dpkg-dev recommends:
ii  build-essential               11.5       Informational list of build-essent
ii  fakeroot                      1.14.4-1   Gives a fake root environment
ii  gcc [c-compiler]              4:4.4.4-2  The GNU C compiler
ii  gcc-4.3 [c-compiler]          4.3.5-2    The GNU C compiler
ii  gcc-4.4 [c-compiler]          4.4.4-7    The GNU C compiler
ii  gnupg                         1.4.10-4   GNU privacy guard - a free PGP rep
ii  gpgv                          1.4.10-4   GNU privacy guard - signature veri
pn  libalgorithm-merge-perl       <none>     (no description available)

Versions of packages dpkg-dev suggests:
ii  debian-keyring                2010.06.08 GnuPG (and obsolete PGP) keys of D

-- no debconf information



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to