Opened 10 years ago

Closed 10 years ago

Last modified 6 years ago

#41023 closed defect (fixed)

netpbm: fetch fails behind proxy

Reported by: essandess (Steve Smith) Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.2.0
Keywords: Cc:
Port: netpbm

Description

macports, bash, and svn all set up correctly to use firewall proxy.

export http_proxy=http://proxy:8000
export https_proxy=http://proxy:8000
vi ~/.subversion/servers
:
[global]
http-proxy-host = proxy
http-proxy-port = 8000

Build of netpbm fails, affecting many other MacPort dependencies.

Error:

Error: org.macports.fetch for port netpbm returned: Subversion check out failed

Issuing the failed command in Terminal,

cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_netpbm/netpbm/work" && /usr/bin/svn --non-interactive --trust-server-cert export svn://svn.code.sf.net/p/netpbm/code/advanced/@2009 2>&1

svn: E000054: Unable to connect to a repository at URL 'svn://svn.code.sf.net/p/netpbm/code/advanced'
svn: E000054: Can't read from connection: Connection reset by peer

The command fails in the same way using both OS X Mavericks 10.9's /usr/bin/svn and MacPorts's /opt/local/bin/svn compiled on Mavericks 10.9.

Attachments (1)

main.log (35.7 KB) - added by essandess (Steve Smith) 10 years ago.

Download all attachments as: .zip

Change History (5)

Changed 10 years ago by essandess (Steve Smith)

Attachment: main.log added

comment:1 Changed 10 years ago by essandess (Steve Smith)

Following this ticket, I am able to download netpbm directly with the command,

cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_netpbm/netpbm/work"
svn co https://netpbm.svn.sourceforge.net/svnroot/netpbm/stable netpbm

How can I tell MacPorts to use this source to build netpbm rather than the unobtainable source at svn://svn.code.sf.net?

Last edited 10 years ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

comment:2 in reply to:  1 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… openmaintainer@… removed
Owner: changed from macports-tickets@… to ryandesign@…
Status: newassigned
Summary: netpbm doesn't build behind proxynetpbm: fetch fails behind proxy

Replying to s.t.smith@…:

How can I tell MacPorts to use this source to build netpbm rather than the unobtainable source at svn://svn.code.sf.net?

You can't, except for by editing the Portfile.

I just changed the svn url from https://netpbm.svn.sourceforge.net/svnroot/netpbm/advanced/ to svn://svn.code.sf.net/p/netpbm/code/advanced/ in r105291, and similar changes in several other ports. I didn't realize this would cause problems for proxies. It seems to me that SourceForge is moving away from the old .svn.sourceforge.net hostnames to the new svn.code.sf.net hostname so I don't want to change it back, but perhaps the new hostname has an https version as well that we could use.

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

Resolution: fixed
Status: assignedclosed

comment:4 Changed 6 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.