Changes between Initial Version and Version 2 of Ticket #45859


Ignore:
Timestamp:
Nov 12, 2014, 3:48:56 AM (10 years ago)
Author:
larryv (Lawrence Velázquez)
Comment:

Replying to lonelymoonxweng@…:

So I check le main.log, the info is the key point:

:info:archivefetch --->  cmake-3.0.2_1.darwin_14.x86_64.tbz2 doesn't seem to exist in /opt/local/var/macports/incoming/verified
:msg:archivefetch --->  Attempting to fetch cmake-3.0.2_1.darwin_14.x86_64.tbz2 from http://jog.id.packages.macports.org/macports/packages/cmake
:debug:archivefetch Fetching archive failed:: The requested URL returned error: 404 Not Found
:msg:archivefetch --->  Attempting to fetch cmake-3.0.2_1.darwin_14.x86_64.tbz2 from http://packages.macports.org/cmake
:debug:archivefetch Fetching archive failed:: The requested URL returned error: 404 Not Found
:msg:archivefetch --->  Attempting to fetch cmake-3.0.2_1.darwin_14.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/cmake
:debug:archivefetch Fetching archive failed:: The requested URL returned error: 404 Not Found

No, this is irrelevant. MacPorts (as expected) attempts to build CMake from source after this, and fails:

:info:build Undefined symbols for architecture x86_64:
:info:build   "_curl_easy_cleanup", referenced from:
:info:build       cmFileCommand::HandleDownloadCommand(std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&) in libCMakeLib.a(cmBootstrapCommands1.cxx.o)
:info:build       cmFileCommand::HandleUploadCommand(std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&) in libCMakeLib.a(cmBootstrapCommands1.cxx.o)
:info:build   "_curl_easy_init", referenced from:
:info:build       cmFileCommand::HandleDownloadCommand(std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&) in libCMakeLib.a(cmBootstrapCommands1.cxx.o)
:info:build       cmFileCommand::HandleUploadCommand(std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&) in libCMakeLib.a(cmBootstrapCommands1.cxx.o)
:info:build   "_curl_easy_perform", referenced from:
:info:build       cmFileCommand::HandleDownloadCommand(std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&) in libCMakeLib.a(cmBootstrapCommands1.cxx.o)
:info:build       cmFileCommand::HandleUploadCommand(std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&) in libCMakeLib.a(cmBootstrapCommands1.cxx.o)
:info:build   "_curl_easy_setopt", referenced from:
:info:build       cmFileCommand::HandleDownloadCommand(std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&) in libCMakeLib.a(cmBootstrapCommands1.cxx.o)
:info:build       cmFileCommand::HandleUploadCommand(std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&) in libCMakeLib.a(cmBootstrapCommands1.cxx.o)
:info:build   "_curl_easy_strerror", referenced from:
:info:build       cmFileCommand::HandleDownloadCommand(std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&) in libCMakeLib.a(cmBootstrapCommands1.cxx.o)
:info:build       cmFileCommand::HandleUploadCommand(std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&) in libCMakeLib.a(cmBootstrapCommands1.cxx.o)
:info:build   "_curl_global_cleanup", referenced from:
:info:build       cmFileCommand::HandleDownloadCommand(std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&) in libCMakeLib.a(cmBootstrapCommands1.cxx.o)
:info:build       cmFileCommand::HandleUploadCommand(std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&) in libCMakeLib.a(cmBootstrapCommands1.cxx.o)
:info:build   "_curl_global_init", referenced from:
:info:build       cmFileCommand::HandleDownloadCommand(std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&) in libCMakeLib.a(cmBootstrapCommands1.cxx.o)
:info:build       cmFileCommand::HandleUploadCommand(std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&) in libCMakeLib.a(cmBootstrapCommands1.cxx.o)
:info:build ld: symbol(s) not found for architecture x86_64
:info:build clang: error: linker command failed with exit code 1 (use -v to see invocation)

Probably a duplicate of #44237.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #45859

    • Property Status changed from new to closed
    • Property Keywords cmake building removed
    • Property Resolution changed from to duplicate
    • Property Port cmake added
  • Ticket #45859 – Description

    initial v2  
    1 command:sudo port install cmake
    2 erro info:Error: org.macports.build for port cmake returned: command execution failed
     1command:
     2{{{
     3sudo port install cmake
     4}}}
     5
     6error info:
     7{{{
     8Error: org.macports.build for port cmake returned: command execution failed
    39Please see the log file for port cmake for details:
    410    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cmake/cmake/main.log
     
    612    http://guide.macports.org/#project.tickets
    713Error: Processing of port cmake failed
     14}}}
    815
    916I think it is a building error.
    1017So I check le main.log, the info is the key point:
    11 ":info:archivefetch --->  cmake-3.0.2_1.darwin_14.x86_64.tbz2 doesn't seem to exist in /opt/local/var/macports/incoming/verified
     18{{{
     19:info:archivefetch --->  cmake-3.0.2_1.darwin_14.x86_64.tbz2 doesn't seem to exist in /opt/local/var/macports/incoming/verified
    1220:msg:archivefetch --->  Attempting to fetch cmake-3.0.2_1.darwin_14.x86_64.tbz2 from http://jog.id.packages.macports.org/macports/packages/cmake
    1321:debug:archivefetch Fetching archive failed:: The requested URL returned error: 404 Not Found
     
    1523:debug:archivefetch Fetching archive failed:: The requested URL returned error: 404 Not Found
    1624:msg:archivefetch --->  Attempting to fetch cmake-3.0.2_1.darwin_14.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/cmake
    17 :debug:archivefetch Fetching archive failed:: The requested URL returned error: 404 Not Found"
     25:debug:archivefetch Fetching archive failed:: The requested URL returned error: 404 Not Found
     26}}}
    1827So, I check the website, the newest package is cmake-3.0.2_1.darwin_13.x86_64.tbz2.