[MacPorts] #54428: libnetpbm @10.78.05_1: fails to fetch when using proxy server (was: libnetpbm @10.78.05_1 +universal: Fails to Fetch; port distfiles doesn't return pathname as expected)

MacPorts noreply at macports.org
Wed Jul 5 19:19:19 UTC 2017


#54428: libnetpbm @10.78.05_1: fails to fetch when using proxy server
------------------------+------------------------
  Reporter:  jkulesza   |      Owner:  ryandesign
      Type:  defect     |     Status:  accepted
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:  2.4.1
Resolution:             |   Keywords:
      Port:  libnetpbm  |
------------------------+------------------------
Changes (by ryandesign):

 * status:  assigned => accepted


Old description:

> Issuing `port install libnetpbm` fails with:
>
> {{{
> :debug:archivefetch archivefetch phase started at Wed Jul  5 09:16:51 MDT
> 2017
> :debug:archivefetch Executing org.macports.archivefetch (libnetpbm)
> :debug:archivefetch Privilege de-escalation not attempted as not running
> as root.
> :debug:fetch fetch phase started at Wed Jul  5 09:16:51 MDT 2017
> :notice:fetch --->  Fetching distfiles for libnetpbm
> :debug:fetch Executing org.macports.fetch (libnetpbm)
> :debug:fetch Environment:
> :debug:fetch CC_PRINT_OPTIONS='YES'
> :debug:fetch
> CC_PRINT_OPTIONS_FILE='/local/macports/var/macports/build/_local_macports_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_netpbm/libnetpbm/work/.CC_PRINT_OPTIONS'
> :debug:fetch CPATH='/local/macports/include'
> :debug:fetch LIBRARY_PATH='/local/macports/lib'
> :debug:fetch MACOSX_DEPLOYMENT_TARGET='10.11'
> :info:fetch Executing:  cd
> "/local/macports/var/macports/build/_local_macports_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_netpbm/libnetpbm/work"
> && /usr/bin/svn --non-interactive --trust-server-cert checkout --config-
> option servers:global:http-proxy-host=proxyout.domain.ext --config-option
> servers:global:http-proxy-port=8080
> https://svn.code.sf.net/p/netpbm/code/@2989 --non-recursive
> /local/macports/var/macports/build/_local_macports_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_netpbm/libnetpbm/work
> 2>&1
> :debug:fetch system:  cd
> "/local/macports/var/macports/build/_local_macports_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_netpbm/libnetpbm/work"
> && /usr/bin/svn --non-interactive --trust-server-cert checkout --config-
> option servers:global:http-proxy-host=proxyout.domain.ext --config-option
> servers:global:http-proxy-port=8080
> https://svn.code.sf.net/p/netpbm/code/@2989 --non-recursive
> /local/macports/var/macports/build/_local_macports_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_netpbm/libnetpbm/work
> 2>&1
> :info:fetch Checked out revision 2989.
> :debug:fetch Executing proc-post-org.macports.fetch-fetch-0
> :debug:fetch system -W
> /local/macports/var/macports/build/_local_macports_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_netpbm/libnetpbm/work:
> /usr/bin/svn --non-interactive --trust-server-cert update -r 2989
> advanced userguide
> :info:fetch Updating 'advanced':
> :info:fetch svn: E170013: Unable to connect to a repository at URL
> 'https://svn.code.sf.net/p/netpbm/code'
> :info:fetch svn: E000061: Error running context: Connection refused
> :info:fetch Command failed: /usr/bin/svn --non-interactive --trust-
> server-cert update -r 2989 advanced userguide
> :info:fetch Exit code: 1
> :error:fetch Failed to fetch libnetpbm: command execution failed
> :debug:fetch Error code: NONE
> :debug:fetch Backtrace: command execution failed
> :debug:fetch     while executing
> :debug:fetch "$post $targetname"
> :error:fetch See
> /local/macports/var/macports/logs/_local_macports_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_netpbm/libnetpbm/main.log
> for details.
> }}}
>
> This is using OS X's native subversion client.  I installed MacPort's
> subversion client (v1.9.5) with the same result.  Note that I must use a
> proxy to pull ports; however, I don't have problems retrieving other
> ports (e.g., I was able to install subversion).
>
> I tried following the instructions at
> https://trac.macports.org/wiki/ProblemHotlist#fetch-failures; however, I
> see:
>
> {{{
> 430 jkulesza at storm[~/GIT/jkulesza_rc_files]> port clean libnetpbm
> --->  Cleaning libnetpbm
> [Git(master)]
> 431 jkulesza at storm[~/GIT/jkulesza_rc_files]> port install libnetpbm
> --->  Computing dependencies for libnetpbm
> --->  Fetching distfiles for libnetpbm
> Error: Failed to fetch libnetpbm: command execution failed
> Error: See
> /local/macports/var/macports/logs/_local_macports_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_netpbm/libnetpbm/main.log
> for details.
> Error: Follow https://guide.macports.org/#project.tickets to report a
> bug.
> Error: Processing of port libnetpbm failed
> [Git(master)]
> 432 jkulesza at storm[~/GIT/jkulesza_rc_files]> port distfiles libnetpbm
> --->  Distfiles for libnetpbm
> [Git(master)]
> 434 jkulesza at storm[~/GIT/jkulesza_rc_files]> port clean --all libnetpbm
> --->  Cleaning libnetpbm
> [Git(master)]
> 435 jkulesza at storm[~/GIT/jkulesza_rc_files]> port distfiles libnetpbm
> --->  Distfiles for libnetpbm
> }}}
>
> The `port distfiles` command doesn't appear to display the distfile path
> as expected based on the previously cited website.

New description:

 Issuing `port install libnetpbm` fails with:

 {{{
 :debug:archivefetch archivefetch phase started at Wed Jul  5 09:16:51 MDT
 2017
 :debug:archivefetch Executing org.macports.archivefetch (libnetpbm)
 :debug:archivefetch Privilege de-escalation not attempted as not running
 as root.
 :debug:fetch fetch phase started at Wed Jul  5 09:16:51 MDT 2017
 :notice:fetch --->  Fetching distfiles for libnetpbm
 :debug:fetch Executing org.macports.fetch (libnetpbm)
 :debug:fetch Environment:
 :debug:fetch CC_PRINT_OPTIONS='YES'
 :debug:fetch
 CC_PRINT_OPTIONS_FILE='/local/macports/var/macports/build/_local_macports_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_netpbm/libnetpbm/work/.CC_PRINT_OPTIONS'
 :debug:fetch CPATH='/local/macports/include'
 :debug:fetch LIBRARY_PATH='/local/macports/lib'
 :debug:fetch MACOSX_DEPLOYMENT_TARGET='10.11'
 :info:fetch Executing:  cd
 "/local/macports/var/macports/build/_local_macports_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_netpbm/libnetpbm/work"
 && /usr/bin/svn --non-interactive --trust-server-cert checkout --config-
 option servers:global:http-proxy-host=proxyout.domain.ext --config-option
 servers:global:http-proxy-port=8080
 https://svn.code.sf.net/p/netpbm/code/@2989 --non-recursive
 /local/macports/var/macports/build/_local_macports_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_netpbm/libnetpbm/work
 2>&1
 :debug:fetch system:  cd
 "/local/macports/var/macports/build/_local_macports_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_netpbm/libnetpbm/work"
 && /usr/bin/svn --non-interactive --trust-server-cert checkout --config-
 option servers:global:http-proxy-host=proxyout.domain.ext --config-option
 servers:global:http-proxy-port=8080
 https://svn.code.sf.net/p/netpbm/code/@2989 --non-recursive
 /local/macports/var/macports/build/_local_macports_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_netpbm/libnetpbm/work
 2>&1
 :info:fetch Checked out revision 2989.
 :debug:fetch Executing proc-post-org.macports.fetch-fetch-0
 :debug:fetch system -W
 /local/macports/var/macports/build/_local_macports_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_netpbm/libnetpbm/work:
 /usr/bin/svn --non-interactive --trust-server-cert update -r 2989 advanced
 userguide
 :info:fetch Updating 'advanced':
 :info:fetch svn: E170013: Unable to connect to a repository at URL
 'https://svn.code.sf.net/p/netpbm/code'
 :info:fetch svn: E000061: Error running context: Connection refused
 :info:fetch Command failed: /usr/bin/svn --non-interactive --trust-server-
 cert update -r 2989 advanced userguide
 :info:fetch Exit code: 1
 :error:fetch Failed to fetch libnetpbm: command execution failed
 :debug:fetch Error code: NONE
 :debug:fetch Backtrace: command execution failed
 :debug:fetch     while executing
 :debug:fetch "$post $targetname"
 :error:fetch See
 /local/macports/var/macports/logs/_local_macports_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_netpbm/libnetpbm/main.log
 for details.
 }}}

 This is using OS X's native subversion client.  I installed MacPort's
 subversion client (v1.9.5) with the same result.  Note that I must use a
 proxy to pull ports; however, I don't have problems retrieving other ports
 (e.g., I was able to install subversion).

 I tried following the instructions at ProblemHotlist#fetch-failures;
 however, I see:

 {{{
 430 jkulesza at storm[~/GIT/jkulesza_rc_files]> port clean libnetpbm
 --->  Cleaning libnetpbm
 [Git(master)]
 431 jkulesza at storm[~/GIT/jkulesza_rc_files]> port install libnetpbm
 --->  Computing dependencies for libnetpbm
 --->  Fetching distfiles for libnetpbm
 Error: Failed to fetch libnetpbm: command execution failed
 Error: See
 /local/macports/var/macports/logs/_local_macports_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_netpbm/libnetpbm/main.log
 for details.
 Error: Follow https://guide.macports.org/#project.tickets to report a bug.
 Error: Processing of port libnetpbm failed
 [Git(master)]
 432 jkulesza at storm[~/GIT/jkulesza_rc_files]> port distfiles libnetpbm
 --->  Distfiles for libnetpbm
 [Git(master)]
 434 jkulesza at storm[~/GIT/jkulesza_rc_files]> port clean --all libnetpbm
 --->  Cleaning libnetpbm
 [Git(master)]
 435 jkulesza at storm[~/GIT/jkulesza_rc_files]> port distfiles libnetpbm
 --->  Distfiles for libnetpbm
 }}}

 The `port distfiles` command doesn't appear to display the distfile path
 as expected based on the previously cited website.

--

Comment:

 Thanks for letting me know. I'll try to fix this so that it can be fetched
 when using a proxy.

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


More information about the macports-tickets mailing list