[MacPorts] #45859: can't install the cmake 3.0.2

MacPorts noreply at macports.org
Tue Nov 11 19:48:56 PST 2014


#45859: can't install the cmake 3.0.2
--------------------------------+--------------------------------
  Reporter:  lonelymoonxweng@…  |      Owner:  macports-tickets@…
      Type:  defect             |     Status:  closed
  Priority:  Normal             |  Milestone:
 Component:  ports              |    Version:  2.3.2
Resolution:  duplicate          |   Keywords:
      Port:  cmake              |
--------------------------------+--------------------------------
Changes (by larryv@…):

 * status:  new => closed
 * keywords:  cmake building =>
 * resolution:   => duplicate
 * port:   => cmake


Old description:

> command:sudo port install cmake
> erro 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.

New description:

 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.

--

Comment:

 Replying to [ticket:45859 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.

-- 
Ticket URL: <https://trac.macports.org/ticket/45859#comment:2>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list