[MacPorts] #50870: Patching local portfile attempts to fetch from outside sources

MacPorts noreply at macports.org
Fri Mar 11 13:46:26 PST 2016


#50870: Patching local portfile attempts to fetch from outside sources
-----------------------------+--------------------------------
  Reporter:  desertshadow@…  |      Owner:  macports-tickets@…
      Type:  defect          |     Status:  new
  Priority:  Normal          |  Milestone:
 Component:  base            |    Version:  2.3.4
Resolution:                  |   Keywords:
      Port:                  |
-----------------------------+--------------------------------
Changes (by ryandesign@…):

 * component:  ports => base


Old description:

> Following this guide, line by line, ends up with errors:
> https://trac.macports.org/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#
>
> }}}

New description:

 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#

 }}}

--

Comment:

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

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


More information about the macports-tickets mailing list