[Build-common-hackers] Bug#433862: cdbs: please allow the possibility to filter out packages
Andreas Metzler
ametzler at downhill.at.eu.org
Sun Dec 23 13:39:11 UTC 2007
On 2007-12-23 Peter Eisentraut <peter_e at gmx.net> wrote:
> Sune Vuorela wrote:
>>> Setting
>>> Architecture: some long list without ia64
>>> strangely seems to work now. I am quite sure it failed earlier for me
>>> today. ;-)
>> This is exactly what I am trying to avoid. It makes it harder for
>> unofficial archs to be able to be there. And neither me nor cdbs should try
>> to do any blockers for unofficial archs.
[...]
> I have no idea what you are saying here, why would the implementation of cdbs
> affect the existence of unofficial architectures?
Hello,
the issue is positive vs. exclusion list:
Architecture: some long list without ia64
needs to be kept up-to date constantly, including even unofficial
architectures. While
ifeq ($(DEB_BUILD_ARCH),ia64)
some-magic
endif
continues work no matter whether there are 2 or 25 non-ia64 archs.
> Your original bug report said,
> I tried different things, like -Npackage in DH_OPTIONS, but failed.
> That should work now.
I does not. -Nguile-gnutls does not seem to end up in dh_listfiles
environment, even if I have
export DH_OPTIONS=-Nguile-gnutls
as the *very* *first* noncomment line; and therefore I get:
--------------------
dh_installdirs -pguile-gnutls
dh_installdirs: I have no package to build
make: *** [install/guile-gnutls] Error 1
dpkg-buildpackage: failure: fakeroot debian/rules binary gave error exit status 2
--------------------
Looks like make does not pass on exported variables to $(shell) constructs:
--------------------------------
ametzler at argenau:/tmp/GNUTLS$ cat Makefile
DH_OPTIONS := -Nguile-gnutls
export DH_OPTIONS
TESTVAR := $(shell printenv | grep DH)
blah:
@printf 1;echo $(TESTVAR)
@printf 2; printenv | grep DH
ametzler at argenau:/tmp/GNUTLS$ make
1
2DH_OPTIONS=-Nguile-gnutls
--------------------------------
cu andreas
--
`What a good friend you are to him, Dr. Maturin. His other friends are
so grateful to you.'
`I sew his ears on from time to time, sure'
More information about the Build-common-hackers
mailing list