Trying to run cpack on Linux (archlinux 64 bit) with a working makensis environment,
I get the following error (and following stacktrace):

[andrea@precision test_cmake]$ gdb cpack
GNU gdb (GDB) 7.3.1
Copyright (C) 2011 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-unknown-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/bin/cpack...(no debugging symbols found)...done.
(gdb) run -G NSIS
Starting program: /usr/bin/cpack -G NSIS
[Thread debugging using libthread_db enabled]
terminate called after throwing an instance of 'std::logic_error'
  what():  basic_string::_S_construct null not valid

Program received signal SIGABRT, Aborted.
0x00007ffff6c90935 in raise () from /lib/libc.so.6
(gdb) bt
#0  0x00007ffff6c90935 in raise () from /lib/libc.so.6
#1  0x00007ffff6c91dab in abort () from /lib/libc.so.6
#2 0x00007ffff72d11ed in __gnu_cxx::__verbose_terminate_handler() () from /usr/lib/libstdc++.so.6
#3  0x00007ffff72cf396 in ?? () from /usr/lib/libstdc++.so.6
#4  0x00007ffff72cf3c3 in std::terminate() () from /usr/lib/libstdc++.so.6
#5  0x00007ffff72cf4be in __cxa_throw () from /usr/lib/libstdc++.so.6
#6 0x00007ffff727c1f7 in std::__throw_logic_error(char const*) () from /usr/lib/libstdc++.so.6 #7 0x00007ffff72ba039 in char* std::string::_S_construct<char const*>(char const*, char const*, std::allocator<char> const&, std::forward_iterator_tag) () from /usr/lib/libstdc++.so.6 #8 0x00007ffff72ba113 in std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&) () from /usr/lib/libstdc++.so.6
#9  0x000000000048a9f6 in cmCPackNSISGenerator::InitializeInternal() ()
#10 0x000000000047b784 in cmCPackGenerator::Initialize(char const*, cmMakefile*) ()
#11 0x0000000000474562 in main ()


Any idea about what it could be?
Thanks,
Andrea
--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to