Opened 9 years ago

Closed 9 years ago

#49071 closed defect (invalid)

cmake build error macport-2.3.4 snow leopard

Reported by: betrussell23@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.3.4
Keywords: Cc: ryandesign (Ryan Carsten Schmidt)
Port: cmake

Description

I am upgrading my outdated ports. cmake fails with the following error log.

t/cmCTestUploadCommand.cxx.o CMakeFiles/CTestLib.dir/CTest/cmCTestUploadHandler.cxx.o CMakeFiles/CTestLib.dir/CTest/cmCTestVC.cxx.o CMakeFiles/CTestLib.dir/CTest/cmCTestGlobalVC.cxx.o CMakeFiles/CTestLib.dir/CTest/cmCTestCVS.cxx.o CMakeFiles/CTestLib.dir/CTest/cmCTestSVN.cxx.o CMakeFiles/CTestLib.dir/CTest/cmCTestBZR.cxx.o CMakeFiles/CTestLib.dir/CTest/cmCTestGIT.cxx.o CMakeFiles/CTestLib.dir/CTest/cmCTestHG.cxx.o CMakeFiles/CTestLib.dir/CTest/cmCTestP4.cxx.o
/opt/local/bin/ranlib libCTestLib.a
make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_cmake/cmake/work/cmake-3.3.2'
[ 92%] Built target CTestLib
make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_cmake/cmake/work/cmake-3.3.2'
make: *** [all] Error 2
make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_cmake/cmake/work/cmake-3.3.2'
Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_cmake/cmake/work/cmake-3.3.2" && /usr/bin/make -j2 -w all VERBOSE=ON
Exit code: 2
Error: org.macports.build for port cmake returned: command execution failed
Warning: targets not executed for cmake: org.macports.install org.macports.build org.macports.destroot
Please see the log file for port cmake for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_cmake/cmake/main.log
Error: Unable to upgrade port: 1
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets

Complete error log has been attached.

Attachments (1)

cmake_error.log (529.8 KB) - added by betrussell23@… 9 years ago.

Download all attachments as: .zip

Change History (5)

Changed 9 years ago by betrussell23@…

Attachment: cmake_error.log added

comment:1 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: betrussell23@… removed
Keywords: cmake macport2.3.4 removed
Port: removed

The log says:

ld: warning: in /Developer/SDKs/MacOSX10.6.sdk/Library/Frameworks//libcurl.framework/libcurl, missing required architecture x86_64 in file

Why is there anything in /Developer/SDKs/MacOSX10.6.sdk/Library/Frameworks? That is not normal.

comment:2 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… added

betrussell23, can you provide any details about why /Developer/SDKs/MacOSX10.6.sdk/Library exists? It should not. Try removing it.

comment:3 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Also, if /Library/Frameworks/libcurl.framework exists, you should remove that. Frameworks installed globally in /Library/Frameworks can cause problems for software installed with MacPorts.

comment:4 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: invalid
Status: newclosed
Note: See TracTickets for help on using tickets.