[CMake] CPack 2.6.2: can't create temporary directory

Eric Noulard eric.noulard at gmail.com
Mon Oct 13 09:08:41 EDT 2008


2008/10/13 Bill Hoffman <bill.hoffman at kitware.com>:
> Eric Noulard wrote:
>>
>> It seems that DESTDIR is not honored in CMake 2.6.[12]
>> whereas it was in 2.6.0.
>>
>> Change has been made in Source/CPack/cmCPackGenerator.cxx::prepareNames
>> which does not check for destdir being set or not...
>> try a diff between
>>
>> r1.6 and r1.6.2.1 on 2.6 branch
>> or
>> r1.6 and r1.7 on main
>>
>> This seem to be related with the introduction of Component Framework;
>>
>>> So, I'm not sure if there is a bug in 2.6.2 or has something changed
>>> between
>>> 2.6.0 and 2.6.2 which I don't take into account.
>>
>> I don't know if it's a bug or a feature side-effect.
>>
> Definitely a bug!

It would be a good occasion to fix DESTDIR handling "globally"
see on-going discussion (and patches for that) here:

http://public.kitware.com/Bug/view.php?id=7000

The solution to the current bug  is somehow "unrelated" to this tracker item
bug fixing #7000 would definitely means fixing the DESTDIR issue too.

-- 
Erk


More information about the CMake mailing list