Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#45859 closed defect (duplicate)

can't install the cmake 3.0.2 — at Version 2

Reported by: lonelymoonxweng@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.3.2
Keywords: Cc:
Port: cmake

Description (last modified by larryv (Lawrence Velázquez))

command:

sudo port install cmake

error info:

Error: org.macports.build for port cmake returned: command execution failed
Please see the log file for port cmake for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cmake/cmake/main.log
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port cmake failed

I think it is a building error. 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

So, I check the website, the newest package is cmake-3.0.2_1.darwin_13.x86_64.tbz2.

Change History (3)

Changed 10 years ago by lonelymoonxweng@…

Attachment: main.log added

comment:1 Changed 10 years ago by lonelymoonxweng@…

I just have a temp method to fix it. 0.download the cmake-3.0.2_1.darwin_13.x86_64.tbz2, and change the name to cmake-3.0.2_1.darwin_14.x86_64.tbz2 1.sudo port clean cmake 2.sudo port install cmake 3.you must copy cmake-3.0.2_1.darwin_14.x86_64.tbz2 as soon as possible to the path:opt/local/var/macports/incoming, before the macports downloading another packeages. 4.and then ok.

I just cheat the building.So, I still hope solve the problem as soon as possible.

comment:2 in reply to:  description Changed 10 years ago by larryv (Lawrence Velázquez)

Description: modified (diff)
Keywords: cmake building removed
Port: cmake added
Resolution: duplicate
Status: newclosed

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.

Note: See TracTickets for help on using tickets.