[CMake] cmake under OpenBSD: rpath support misconfigured

Frank Mertens frank at cyblogic.de
Fri Aug 7 15:18:48 EDT 2009


Frank Mertens wrote:
> Bill Hoffman wrote:
>> Frank Mertens wrote:
>>
>>> I'm running OpenBSD on a freshly refurbishes office server.
>>> It does currently nothing else than running tests for my
>>> inhouse needs. Give me the pointers and I set it up as testing
>>> client for cmake, too.
>>>
>>> Being new to ctest, I skimmed through "CMake Testing With CTest"
>>> and triggered "make test". It already passes 99% of all tests
>>> with cmake 2.6.3.
>>>
>> Great,
>>
>> Can you run the attached ctest script?
>>
>> To run:
>>
>> ctest -S generic_cmake.cmake
>>
> 
> It fails within seconds...
> 
> $ ctest -version
> ctest version 2.6-patch 3
> $ ctest -S generic_cmake.cmake
> HOSTNAME: blackbox.cyblogic.com
> BUILDNAME: OpenBSGENERI4.5i386-gcc
> NOSPACES =
> Remove binary directory...
> CTest Directory: /home/guest/Dashboards/My Tests-OpenBSGENERI4.5i386-gcc
> Initial checkout:
> Initial cmake:
> CTest command:
> Start dashboard...
>   Update
> Abort trap (core dumped)
> $ echo $?
> 134

Launched it again in gdb, maybe helps...

(gdb) r -S generic_cmake.cmake
Starting program: /home/frank/cmake-2.6.3/bin/ctest -S generic_cmake.cmake
HOSTNAME: blackbox.cyblogic.com
BUILDNAME: OpenBSGENERI4.5i386-gcc
NOSPACES =
Remove binary directory...
CTest Directory: /home/guest/Dashboards/My Tests-OpenBSGENERI4.5i386-gcc
Initial checkout:
Initial cmake:
CTest command:
Start dashboard...
  Update

Program received signal SIGABRT, Aborted.
0x00c23f81 in kill () from /usr/lib/libc.so.50.1
(gdb) where
#0  0x00c23f81 in kill () from /usr/lib/libc.so.50.1
#1  0x00c55114 in __stack_smash_handler (func=0x3c0124a0 "virtual int cmCTestUpdateHandler::ProcessHandler()",
    damaged=701771816) at /usr/src/lib/libc/sys/stack_protector.c:89
#2  0x1c088cdc in cmCTestUpdateHandler::ProcessHandler ()
#3  0x1c08ee0d in cmCTestHandlerCommand::InitialPass ()
#4  0x1c05c9e1 in cmCommand::InvokeInitialPass ()
#5  0x1c0e1c74 in cmMakefile::ExecuteCommand ()
#6  0x1c0e3009 in cmMakefile::ReadListFile ()
#7  0x1c0580f6 in cmCTestScriptHandler::ReadInScript ()
#8  0x1c059075 in cmCTestScriptHandler::RunConfigurationScript ()
#9  0x1c056744 in cmCTestScriptHandler::ProcessHandler ()
#10 0x1c019da6 in cmCTest::Run ()
#11 0x1c00761c in main ()
(gdb)



More information about the CMake mailing list