Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#54428 closed defect (fixed)

libnetpbm @10.78.05_1: fails to fetch when using proxy server

Reported by: jkulesza (Joel A. Kulesza) Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.4.1
Keywords: Cc:
Port: libnetpbm

Description (last modified by ryandesign (Ryan Carsten Schmidt))

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@storm[~/GIT/jkulesza_rc_files]> port clean libnetpbm
--->  Cleaning libnetpbm
[Git(master)]
431 jkulesza@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@storm[~/GIT/jkulesza_rc_files]> port distfiles libnetpbm
--->  Distfiles for libnetpbm
[Git(master)]
434 jkulesza@storm[~/GIT/jkulesza_rc_files]> port clean --all libnetpbm
--->  Cleaning libnetpbm
[Git(master)]
435 jkulesza@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.

Change History (6)

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

Cc: ryandesign@… removed
Owner: set to ryandesign
Status: newassigned

comment:2 Changed 7 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Status: assignedaccepted
Summary: libnetpbm @10.78.05_1 +universal: Fails to Fetch; port distfiles doesn't return pathname as expectedlibnetpbm @10.78.05_1: fails to fetch when using proxy server

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

comment:3 Changed 7 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: acceptedclosed

In a023b4a6f25b88c0c1d1c2a61fe039fd28ce7d19/macports-ports:

netpbm: Fix fetch failure when using a proxy

Closes: #54428

comment:4 Changed 7 years ago by jkulesza (Joel A. Kulesza)

Resolution: fixed
Status: closedreopened

This still fails for me with Connection refused.

Looking more closely at the commands, it looks like

/usr/bin/svn --non-interactive --trust-server-cert update -r 2989 advanced userguide

needs proxy information added. When I manually run the command above, I have failure.

When I instead run:

/usr/bin/svn --non-interactive --trust-server-cert update --config-option servers:global:http-proxy-host=proxyout.domain.ext --config-option servers:global:http-proxy-port=8080 -r 2989 advanced userguide

the command succeeds.

comment:5 Changed 7 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: reopenedclosed

The problem should be fixed once [a023b4a6f25b88c0c1d1c2a61fe039fd28ce7d19/macports-ports] syncs to the rsync server and you then run sudo port selfupdate. (The synchronization process between GitHub and the rsync server got stuck; it has been restarted and will take a couple hours to complete.)

comment:6 Changed 7 years ago by ryandesign (Ryan Carsten Schmidt)

In 9192b329cc13ddda097b50a8cb086adc4b8d5435/macports-ports:

netpbm: Fetch from GitHub mirror instead of SourceForge svn

Fetching from svn has been repeatedly problematic.

See: #28250
See: #28590
See: #29692
See: #31987
See: #32000
See: #36517
See: #38823
See: #41023
See: #48687
See: #50087
See: #54428
See: #54918
See: #54919
See: #54924
See: #55853
See: #55930
See: #55986

Note: See TracTickets for help on using tickets.