[Build-common-hackers] Bug#590157: Bug#590157: cdbs and module-assistant: conflicting use of DEB_DESTDIR variable

Jakub Wilk jwilk at debian.org
Sat Jul 24 12:03:24 UTC 2010


* Jonas Smedegaard <jonas at jones.dk>, 2010-07-24, 13:13:
>>Both packages use the DEB_DESTDIR variable, but with completely 
>>different semantics. It is close to impossible to use both cdbs and 
>>/us/share/modass/include/*.mk in a single debian/rules, see e.g. 
>>bug #577321.
>
>I fail to locate CDBS nor module-assistant even mentioned in that 
>bugreport.

True, let me fix that. Basically, modass/include/generic.mk does 
something like:

KSRC = /usr/src/linux
DEB_DESTDIR=$(KSRC)/..

which stomps on cdbs's DEB_DESTDIR. As a consequence, cdbs executes:

/usr/bin/make  -C build-tree/linux-gpib-3.2.11  install DESTDIR=/usr/src/linux/..

which obviously won't succeed.

>Suggestions of how to solve[1] this is of course appreciated,

Please don't count on me here, I don't know either of the packages in 
question.

-- 
Jakub Wilk
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/build-common-hackers/attachments/20100724/8320a3d1/attachment.pgp>


More information about the Build-common-hackers mailing list