Opened 14 years ago

Closed 14 years ago

#25484 closed defect (duplicate)

cmake @2.8.1, Revision 3 (devel): Build failure on MacOSX 10.5.8

Reported by: hmp@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.9.1
Keywords: Cc: cssdev
Port: cmake

Description

On Mac OS X 10.5.8, XCode 3.1.3, in trying to build sqliteman, the cmake build fails. I've tried selfupdate, clean cmake, then install cmake, with no improvement.

:msg:configure --->  Building cmake
:debug:build build phase started at Wed Jun 30 22:40:16 PDT 2010
:debug:build Executing org.macports.build (cmake)
:debug:build Environment: CPATH='/opt/local/include' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_cmake/work/.CC_PRINT_OPTIONS' LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES' MACOSX_DEPLOYMENT_TARGET='10.5'
:debug:build Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_cmake/work/cmake-2.8.1" && /usr/bin/make all'
:info:build CMake Error: Parse error in cache file /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_cmake/work/cmake-2.8.1/CMakeCache.txt. Offending entry: /SDKs/MacOSX10.5.sdk
:info:build -- Java version 1.5.0.22 configured successfully!
:info:build -- Configuring incomplete, errors occurred!
:info:build make: *** [cmake_check_build_system] Error 1
:info:build shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_cmake/work/cmake-2.8.1" && /usr/bin/make all " returned error 2
:error:build Target org.macports.build returned: shell command failed
:debug:build Backtrace: shell command failed
    while executing
"command_exec build"
    (procedure "portbuild::build_main" line 8)
    invoked from within
"$procedure $targetname"
:info:build Warning: the following items did not execute (for cmake): org.macports.activate org.macports.build org.macports.destroot org.macports.install
:notice:build Log for cmake is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_cmake/main.log

Change History (3)

comment:1 Changed 14 years ago by sewebster@…

Looks like #23857.

comment:2 in reply to:  1 Changed 14 years ago by hmp@…

Replying to sewebster@…:

Looks like #23857.

Yep it is. I changed CMAKE_OSX_SYSROOT in the CMakeCache.txt file to be the MacOSX10.5.sdk directory and cmake built without problems.

thx for the quick response.

comment:3 Changed 14 years ago by jmroot (Joshua Root)

Cc: css@… added
Resolution: duplicate
Status: newclosed

Please remember to cc the maintainer.

Note: See TracTickets for help on using tickets.