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

Bill Hoffman bill.hoffman at kitware.com
Mon Oct 13 08:59:55 EDT 2008


Eric Noulard wrote:
> 2008/10/13 Petri Hodju <petrihodju at yahoo.com>:
>> Hi!
>>
>> I have put together a custom way of building packages inspired by Stuart
>> Herring posted here earlier:
>>
>> Fri Apr 4 20:39:04 EDT 2008
>> [CMake] CPack: Building Multiple Packages
>>
>> Everything is working fine with version 2.6.0 but things break up with
>> 2.6.2. The
>> error I get is like:
>>
>> CPack Error: Problem creating temporary directory: /opt/test
> 
> 
> 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!



-Bill



More information about the CMake mailing list