Acknowledgement sent
to Goswin von Brederlow <[email protected]>:
New Bug report received and forwarded. Copy sent to Devscripts Devel Team <[email protected]>.
(Thu, 09 Sep 2010 16:57:08 GMT) (full text, mbox, link).
Subject: Building with sudo looses DEB_BUILD_OPTIONS
Date: Thu, 09 Sep 2010 18:54:20 +0200
Package: devscripts
Version: 2.10.64
Severity: normal
File: /usr/bin/debuild
Hi,
I have a package that supports DEB_BUILD_OPTIONS. When I build it with
DEB_BUILD_OPTIONS=foo debuild -rfakeroot
then everything works as expected. But when I build with
DEB_BUILD_OPTIONS=foo debuild -rsudo
The binary target fails because DEB_BUILD_OPTIONS is unset.
It would be nice if debuild would preserve the environment across the
sudo call by seting the standard variables like DEB_BUILD_OPTIONS in
the call.
MfG
Goswin
-- Package-specific info:
--- /etc/devscripts.conf ---
DEBUILD_ROOTCMD=fakeroot
DEBUILD_PREPEND_PATH="/usr/lib/ccache"
--- ~/.devscripts ---
Not present
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.31.6-xen-2010.02.18 (SMP w/4 CPU cores)
Locale: LANG=C, LC_CTYPE=de_DE (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/dash
Versions of packages devscripts depends on:
ii dpkg-dev 1.15.8.4 Debian package development tools
ii libc6 2.11.1-3 Embedded GNU C Library: Shared lib
ii perl 5.10.1-14 Larry Wall's Practical Extraction
Versions of packages devscripts recommends:
ii at 3.1.12-1 Delayed job execution and batch pr
ii bsd-mailx [mailx] 8.1.2-0.20100314cvs-1 simple mail user agent
ii curl 7.20.1-2 Get a file from an HTTP, HTTPS or
ii cvs 1:1.12.13-12 Concurrent Versions System
ii dctrl-tools 2.14 Command-line tools to process Debi
ii debian-keyring [d 2010.06.08 GnuPG (and obsolete PGP) keys of D
ii dupload 2.6.6 utility to upload Debian packages
ii elinks [www-brows 0.12~pre5-2 advanced text-mode WWW browser
ii equivs 2.0.8 Circumvent Debian package dependen
ii fakeroot 1.14.4-1 Gives a fake root environment
ii git [git-core] 1:1.7.1-1 fast, scalable, distributed revisi
ii git-core 1:1.7.1-1 fast, scalable, distributed revisi
ii gnupg 1.4.10-4 GNU privacy guard - a free PGP rep
ii iceape-browser [w 2.0.4-2 Iceape Navigator (Internet browser
ii iceweasel [www-br 3.5.9-3 Web browser based on Firefox
ii libauthen-sasl-pe 2.1500-1 Authen::SASL - SASL Authentication
ii libcrypt-ssleay-p 0.57-2 Support for https protocol in LWP
pn libjson-perl <none> (no description available)
ii libparse-debcontr 2.005-2 Easy OO parsing of Debian control-
ii libsoap-lite-perl 0.712-1 Perl implementation of a SOAP clie
ii libterm-size-perl 0.2-4+b1 Perl extension for retrieving term
ii libtimedate-perl 1.2000-1 collection of modules to manipulat
ii liburi-perl 1.54-1 module to manipulate and access UR
ii libwww-perl 5.836-1 Perl HTTP/WWW client/server librar
pn libyaml-syck-perl <none> (no description available)
ii lintian 2.4.2 Debian package checker
ii lsb-release 3.2-23.1 Linux Standard Base version report
ii lynx-cur [www-bro 2.8.8dev.3-3 Text-mode WWW Browser with NLS sup
ii lzma 4.43-14 Compression method of 7z format in
ii mailx 1:20081101-2 Transitional package for mailx ren
ii man-db 2.5.7-3 on-line manual pager
ii mercurial 1.5.2-1 scalable distributed version contr
ii openssh-client [s 1:5.5p1-4 secure shell (SSH) client, for sec
ii patch 2.6-2 Apply a diff file to an original
ii patchutils 0.3.1-2 Utilities to work with patches
ii sensible-utils 0.0.4 Utilities for sensible alternative
ii strace 4.5.20-2 A system call tracer
ii subversion 1.6.11dfsg-1 Advanced version control system
ii unzip 6.0-4 De-archiver for .zip files
ii w3m [www-browser] 0.5.2-4 WWW browsable pager with excellent
ii wdiff 0.6.3-1 Compares two files word by word
ii wget 1.12-2 retrieves files from the web
ii xemacs21-nomule [ 21.4.22-3 highly customizable text editor --
ii xz-utils 4.999.9beta+20100527-1 XZ-format compression utilities
Versions of packages devscripts suggests:
ii build-essential 11.5 Informational list of build-essent
pn cvs-buildpackage <none> (no description available)
pn devscripts-el <none> (no description available)
ii gnuplot 4.4.0-1 A command-line driven interactive
pn libfile-desktopentry-perl <none> (no description available)
pn libnet-smtp-ssl-perl <none> (no description available)
ii mutt 1.5.20-9 text-based mailreader supporting M
ii svn-buildpackage 0.8.1 helper programs to maintain Debian
ii w3m 0.5.2-4 WWW browsable pager with excellent
-- no debconf information
Changed Bug title to 'Building with sudo loses DEB_BUILD_OPTIONS' from 'Building with sudo looses DEB_BUILD_OPTIONS'.
Request was from Andrej Shadura <[email protected]>
to [email protected].
(Thu, 05 Sep 2024 19:24:09 GMT) (full text, mbox, link).
Debbugs is free software and licensed under the terms of the GNU General
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.