Re: Bug#89433: I want to adopt osh
Sorry for a confusing example. I tried
DEB_BUILD_OPTIONS="debug,nostrip" && debuild
and it didn't work. I did some RTFM and found in debuild(1):
> ENVIRONMENT VARIABLES
> As environment variables can affect the building of a
> package, often unintentionally, debuild sanitises the
> environment by removing all environment variables except
> for TERM, HOME, LOGNAME, GNUPGHOME, PGPPASS, PGPPATH,
> FAKEROOTKEY, DEB_* and the locale variables LANG and LC_*.
> TERM is set to `dumb' if it is unset, and PATH is set to
> "/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11".
I missed "DEB_*" and drew a wrong conclusion, that is, debuild reset
DEB_BUILD_OPTIONS. It is right to say that
DEB_BUILD_OPTIONS="debug,nostrip" && debuild
won't work, but it is pointless.
The comment is already removed from my debian/rules.
--
Oohara Yuuma <oohara@libra.interq.or.jp>
Graduate-school of Science, Kyoto University
PGP key (key ID F464A695) http://www.interq.or.jp/libra/oohara/pub-key.txt
Key fingerprint = 6142 8D07 9C5B 159B C170 1F4A 40D6 F42E F464 A695
I always put away what I take.
--- Ryuji Akai, "Star away"
Reply to: