Opened 8 years ago

Last modified 7 years ago

#50870 closed defect

Patching local portfile attempts to fetch from outside sources — at Version 2

Reported by: desertshadow@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: base Version: 2.3.4
Keywords: Cc:
Port:

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

Following this guide, line by line, ends up with errors: wiki:howto/PatchLocal

When I get to the patching part, it tries to fetch from remote servers.

Here is the contents of /opt/local/etc/macports/sources.conf

file:///usr/local/ports
file:///Users/jonny/Projects/Active/macports/
rsync://rsync.macports.org/release/tarballs/ports.tar [defualt]
sh-3.2# port patch arb-devel
--->  Fetching distfiles for arb-devel
cd `port work arb-devel`

--->  Attempting to fetch arb-6.0.1-source.tgz from http://distfiles.macports.org/arb-devel
--->  Attempting to fetch arb-6.0.1-source.tgz from http://sea.us.distfiles.macports.org/macports/distfiles/arb-devel
--->  Attempting to fetch arb-6.0.1-source.tgz from http://ykf.ca.distfiles.macports.org/MacPorts/mpdistfiles/arb-devel
--->  Attempting to fetch arb-6.0.1-source.tgz from http://mse.uk.distfiles.macports.org/sites/distfiles.macports.org/arb-devel
--->  Attempting to fetch arb-6.0.1-source.tgz from http://cjj.kr.distfiles.macports.org/arb-devel
--->  Attempting to fetch arb-6.0.1-source.tgz from http://nue.de.distfiles.macports.org/macports/distfiles/arb-devel
--->  Attempting to fetch arb-6.0.1-source.tgz from http://lil.fr.distfiles.macports.org/arb-devel
--->  Attempting to fetch arb-6.0.1-source.tgz from http://download.arb-home.de/release/arb-devel-6.0.1/
--->  Attempting to fetch arb-6.0.1-source.tgz from http://nou.nc.distfiles.macports.org/pub/macports/distfiles.macports.org/arb-devel
--->  Attempting to fetch arb-6.0.1-source.tgz from http://osl.no.distfiles.macports.org/arb-devel
--->  Attempting to fetch arb-6.0.1-source.tgz from http://fco.it.distfiles.macports.org/mirrors/macports-distfiles/arb-devel
--->  Attempting to fetch arb-6.0.1-source.tgz from http://jog.id.distfiles.macports.org/macports/mpdistfiles/arb-devel
--->  Attempting to fetch arb-6.0.1-source.tgz from http://aarnet.au.distfiles.macports.org/pub/macports/mpdistfiles/arb-devel
--->  Attempting to fetch arb-6.0.1-source.tgz from http://jnb.za.distfiles.macports.org/distfiles/arb-devel
--->  Attempting to fetch arb-6.0.1-source.tgz from http://her.gr.distfiles.macports.org/mirrors/macports/mpdistfiles/arb-devel
--->  Attempting to fetch arb-6.0.1-source.tgz from http://svn.macports.org/repository/macports/distfiles/arb-devel
Error: org.macports.fetch for port arb-devel returned: fetch failed
Please see the log file for port arb-devel for details:
    /opt/local/var/macports/logs/_usr_local_ports_science_arb-devel/arb-devel/main.log
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port arb-devel failed
sh-3.2# cd `port work arb-devel`
sh-3.2# 

Change History (2)

comment:1 Changed 8 years ago by desertshadow@…

It won't let me edit my original ticket, but the correct contents are:

file:///usr/local/ports
file:///Users/jonny/Projects/Active/macports/
rsync://rsync.macports.org/release/tarballs/ports.tar [default]

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

Component: portsbase
Description: modified (diff)

That's true, MacPorts will try to fetch from remote servers even for local portfiles. What should MacPorts do instead?

Note: See TracTickets for help on using tickets.