[MacPorts] #62144: base: On Mountain Lion configuration file is processed but it ignores archives server URL

MacPorts noreply at macports.org
Mon Jan 25 11:45:22 UTC 2021


#62144: base: On Mountain Lion configuration file is processed but it ignores
archives server URL
------------------------+--------------------
  Reporter:  snowflake  |      Owner:  (none)
      Type:  defect     |     Status:  new
  Priority:  Low        |  Milestone:
 Component:  base       |    Version:  2.6.99
Resolution:             |   Keywords:
      Port:             |
------------------------+--------------------

Comment (by ryandesign):

 There shouldn't be any code in MacPorts that influences this feature based
 on OS version, so that difference between your systems is likely
 irrelevant.

 Can you attach a main.log showing your local site being ignored? Can you
 also attach your archive_sites.conf so we can make sure it's set up
 correctly?

 MacPorts base is hardcoded to only check for archives on three packages
 servers. If it fails to find an archive on the first three servers it
 tries, it falls back to building from source, even if the archive does
 exist on another packages server that it didn't check.

 There is a configuration option `archive_site_local` which you can set in
 macports.conf to specify a local packages server, just as
 `master_site_local` and `patch_site_local` specify a local distfiles
 server. Maybe this works better or differently than using
 archive_sites.conf. Example:

 {{{
 archive_site_local  http://packages.local/:tbz2
 }}}

 I admit I am unsure why we have two methods of adding local archive sites.
 It is possible that they work differently or that one or the other doesn't
 work right.

 We use `archive_site_local` in our buildbot configuration, running on all
 OS versions from 10.6 to 11, and I use it on my own machines as well.

-- 
Ticket URL: <https://trac.macports.org/ticket/62144#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list