[MacPorts] #50870: Patching local portfile attempts to fetch from outside sources
#50870: Patching local portfile attempts to fetch from outside sources ----------------------------+-------------------------------- Reporter: desertshadow@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Keywords: | Port: ----------------------------+-------------------------------- 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# }}} -- Ticket URL: <https://trac.macports.org/ticket/50870> MacPorts <https://www.macports.org/> Ports system for OS X
#50870: Patching local portfile attempts to fetch from outside sources -----------------------------+-------------------------------- Reporter: desertshadow@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: | -----------------------------+-------------------------------- Comment (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] }}} -- Ticket URL: <https://trac.macports.org/ticket/50870#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X
#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
#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: | -----------------------------+-------------------------------- Comment (by desertshadow@…): Perhaps I misunderstand, but file:///usr/local/ports includes all the files needed to build. It is also first in the list. I expect it will build using file:///usr/local/ports arb-devel doesn't exist on any remote servers, only locally. It is a new portfile. -- Ticket URL: <https://trac.macports.org/ticket/50870#comment:3> MacPorts <https://www.macports.org/> Ports system for OS X
#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: | -----------------------------+-------------------------------- Comment (by ryandesign@…): sources.conf specifies where MacPorts will look for Portfiles and local patchfiles. The source code tarballs, however, will be downloaded from the location specified in the master_sites line in the Portfile. -- Ticket URL: <https://trac.macports.org/ticket/50870#comment:4> MacPorts <https://www.macports.org/> Ports system for OS X
#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: | -----------------------------+-------------------------------- Comment (by desertshadow@…): Ah, Perhaps this is not a problem then with macports, but with the tutorial on the macports website, for not mentioning to change the master_sites line in the port file. -- Ticket URL: <https://trac.macports.org/ticket/50870#comment:5> MacPorts <https://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts