Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#55986 closed defect (fixed)

netpbm @10.81.02: fetch fails with access forbidden

Reported by: mndavidoff (Monte Davidoff) Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: netpbm

Description

Installing netpbm @10.81.03 from source fails with access forbidden.

$ sudo port -vs install netpbm
--->  Computing dependencies for netpbm.
--->  Fetching distfiles for netpbm
Executing:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_netpbm/netpbm/work" && /usr/bin/svn --non-interactive --trust-server-cert checkout http://svn.code.sf.net/p/netpbm/code/@3155 --non-recursive /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_netpbm/netpbm/work 2>&1
svn: E170013: Unable to connect to a repository at URL 'http://svn.code.sf.net/p/netpbm/code'
svn: E175013: Access to '/p/netpbm/code' forbidden
Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_netpbm/netpbm/work" && /usr/bin/svn --non-interactive --trust-server-cert checkout http://svn.code.sf.net/p/netpbm/code/@3155 --non-recursive /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_netpbm/netpbm/work 2>&1
Exit code: 1
Error: Failed to fetch netpbm: Subversion check out failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_netpbm/netpbm/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets to report a bug.
Error: Processing of port netpbm failed

It looks like SourceForge now prohibits svn checkout using http URLs. I changed svn.url to https://svn.code.sf.net/p/netpbm/code/, and the installation succeeded.

Attachments (1)

main.log.gz (3.3 KB) - added by mndavidoff (Monte Davidoff) 7 years ago.

Download all attachments as: .zip

Change History (5)

Changed 7 years ago by mndavidoff (Monte Davidoff)

Attachment: main.log.gz added

comment:1 Changed 7 years ago by mndavidoff (Monte Davidoff)

Oops! I forgot to fill in the port field: netpbm, and cc the maintainer: ryandesign. My apologies!

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

Owner: set to ryandesign
Port: netpbm added
Status: newaccepted

I am aware of the problem. It presumably affects not just netpbm but the handful of ports that fetch from SourceForge svn. I was going to wait a while to see if the situation changes, since SourceForge has been having a variety of intermittent errors and it's hard to know which errors are transient and will resolve themselves and which are intentional and permanent. I recently changed the fetching of these ports from https to http because SourceForge has new https security restrictions for svn repositories that make it unusable to MacPorts on OS X El Capitan and earlier. We need a solution that works everywhere. For netpbm, I'm looking into fetching from a GitHub mirror instead. I haven't looked into the options available for the other ports yet.

comment:3 in reply to:  description Changed 7 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: acceptedclosed

Replying to mndavidoff:

It looks like SourceForge now prohibits svn checkout using http URLs.

It is working today, so it appears to have been a temporary problem.

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