Opened 7 years ago

Closed 7 years ago

#54496 closed defect (duplicate)

Error: Failed to fetch gtest: Subversion check out failed

Reported by: robert-cody Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.4.0
Keywords: Cc:
Port: gtest

Description

version:1
:debug:clean Attempting ln -sf /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_gtest/gtest/work /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/devel/gtest/work
:debug:clean dropping privileges: euid changed to 503, egid changed to 501.
:debug:main Executing org.macports.main (gtest)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:archivefetch archivefetch phase started at Tue Jul 18 21:20:33 MSK 2017
:msg:archivefetch --->  Fetching archive for gtest
:debug:archivefetch Executing org.macports.archivefetch (gtest)
:debug:archivefetch euid/egid changed to: 0/0
:debug:archivefetch chowned /opt/local/var/macports/incoming to macports
:debug:archivefetch euid/egid changed to: 503/501
:info:archivefetch --->  gtest-1.7.0.746_0.darwin_16.x86_64.tbz2 doesn't seem to exist in /opt/local/var/macports/incoming/verified
:msg:archivefetch --->  Attempting to fetch gtest-1.7.0.746_0.darwin_16.x86_64.tbz2 from https://packages.macports.org/gtest
:debug:archivefetch Fetching archive failed: The requested URL returned error: 404 Not Found
:msg:archivefetch --->  Attempting to fetch gtest-1.7.0.746_0.darwin_16.x86_64.tbz2 from http://nue.de.packages.macports.org/gtest
:debug:archivefetch Fetching archive failed: The requested URL returned error: 404 Not Found
:msg:archivefetch --->  Attempting to fetch gtest-1.7.0.746_0.darwin_16.x86_64.tbz2 from http://lil.fr.packages.macports.org/gtest
:debug:archivefetch Fetching archive failed: The requested URL returned error: 404 Not Found
:debug:archivefetch Privilege de-escalation not attempted as not running as root.
:debug:fetch fetch phase started at Tue Jul 18 21:20:35 MSK 2017
:notice:fetch --->  Fetching distfiles for gtest
:debug:fetch elevating privileges for fetch: euid changed to 0, egid changed to 0.
:debug:fetch dropping privileges: euid changed to 503, egid changed to 501.
:debug:fetch Executing org.macports.fetch (gtest)
:debug:fetch Environment: 
:debug:fetch CC_PRINT_OPTIONS='YES'
:debug:fetch CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_gtest/gtest/work/.CC_PRINT_OPTIONS'
:debug:fetch CPATH='/opt/local/include'
:debug:fetch LIBRARY_PATH='/opt/local/lib'
:debug:fetch MACOSX_DEPLOYMENT_TARGET='10.12'
:info:fetch Executing:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_gtest/gtest/work" && /usr/bin/svn --non-interactive --trust-server-cert export http://googletest.googlecode.com/svn/trunk@746 2>&1
:debug:fetch system:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_gtest/gtest/work" && /usr/bin/svn --non-interactive --trust-server-cert export http://googletest.googlecode.com/svn/trunk@746 2>&1
:info:fetch svn: E170013: Unable to connect to a repository at URL 'http://googletest.googlecode.com/svn/trunk'
:info:fetch svn: E160013: '/svn/trunk' path not found
:info:fetch Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_gtest/gtest/work" && /usr/bin/svn --non-interactive --trust-server-cert export http://googletest.googlecode.com/svn/trunk@746 2>&1
:info:fetch Exit code: 1
:error:fetch Failed to fetch gtest: Subversion check out failed
:debug:fetch Error code: NONE
:debug:fetch Backtrace: Subversion check out failed
:debug:fetch     while executing
:debug:fetch "svnfetch"
:debug:fetch     (procedure "portfetch::fetch_main" line 13)
:debug:fetch     invoked from within
:debug:fetch "$procedure $targetname"
:debug:fetch could not read "/opt/local/share/vim/vimfiles/syntax/cmake.vim": no such file or directory
:debug:fetch     while executing
:debug:fetch "::file type $file"
:error:fetch See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_gtest/gtest/main.log for details.
version:1
:debug:main dropping privileges: euid changed to 503, egid changed to 501.
:debug:main Executing org.macports.main (gtest)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.archivefetch (gtest)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:fetch fetch phase started at Tue Jul 18 21:34:03 MSK 2017
:notice:fetch --->  Fetching distfiles for gtest
:debug:fetch Executing org.macports.fetch (gtest)
:debug:fetch Environment: 
:debug:fetch CC_PRINT_OPTIONS='YES'
:debug:fetch CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_gtest/gtest/work/.CC_PRINT_OPTIONS'
:debug:fetch CPATH='/opt/local/include'
:debug:fetch LIBRARY_PATH='/opt/local/lib'
:debug:fetch MACOSX_DEPLOYMENT_TARGET='10.12'
:info:fetch Executing:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_gtest/gtest/work" && /usr/bin/svn --non-interactive --trust-server-cert export http://googletest.googlecode.com/svn/trunk@746 2>&1
:debug:fetch system:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_gtest/gtest/work" && /usr/bin/svn --non-interactive --trust-server-cert export http://googletest.googlecode.com/svn/trunk@746 2>&1
:info:fetch svn: E170013: Unable to connect to a repository at URL 'http://googletest.googlecode.com/svn/trunk'
:info:fetch svn: E160013: '/svn/trunk' path not found
:info:fetch Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_gtest/gtest/work" && /usr/bin/svn --non-interactive --trust-server-cert export http://googletest.googlecode.com/svn/trunk@746 2>&1
:info:fetch Exit code: 1
:error:fetch Failed to fetch gtest: Subversion check out failed
:debug:fetch Error code: NONE
:debug:fetch Backtrace: Subversion check out failed
:debug:fetch     while executing
:debug:fetch "svnfetch"
:debug:fetch     (procedure "portfetch::fetch_main" line 13)
:debug:fetch     invoked from within
:debug:fetch "$procedure $targetname"
:debug:fetch Failed to locate 'lbzip2' in path: '/opt/local/bin:/opt/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin' or at its MacPorts configuration time location, did you move it?
:debug:fetch     while executing
:debug:fetch "error "$eMessage or at its MacPorts configuration time location, did you move it?""
:debug:fetch     invoked from within
:debug:fetch "try -pass_signal {
:debug:fetch             set cmd_path [macports::binaryInPath $prog]
:debug:fetch             return $cmd_path
:debug:fetch         } catch {{*} eCode eMessage} {
:debug:fetch        ..."
:debug:fetch     (procedure "macports::findBinary" line 5)
:error:fetch See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_gtest/gtest/main.log for details.

Change History (5)

comment:1 Changed 7 years ago by robert-cody

MacPorts failed to install any dependent ports, for example mkvtoolnix.

comment:2 Changed 7 years ago by ctreleaven (Craig Treleaven)

mkvtoolnix doesn't rely on gtest anymore. I mistakenly added that dependency for a brief period while working on the mkvtoolnix port. The following ticket explains the problems with the gtest port:

https://trac.macports.org/ticket/48800

And it turns out that mkvtoolnix already had an included copy of gtest that does the right thing.

You should be able to go ahead with mkvtoolnix with the following:

sudo port clean gtest
sudo port selfupdate
sudo port install mkvtoolnix

If you have any problems, please either post to macports-users or raise a ticket.

comment:3 Changed 7 years ago by robert-cody

Thanks, that helped.

comment:4 Changed 7 years ago by mf2k (Frank Schima)

Keywords: gtest subversion removed
Priority: HighNormal

The Priority field is for use by Macports team members only.

comment:5 Changed 7 years ago by mf2k (Frank Schima)

Resolution: duplicate
Status: newclosed

See #48800

Note: See TracTickets for help on using tickets.