Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#34684 closed defect (fixed)

ld64-128.2.tar.gz not in distfiles, breaking mirrors

Reported by: GregoryEAllen (Greg Allen) Owned by: wsiegrist@…
Priority: Normal Milestone:
Component: server/hosting Version:
Keywords: Cc: ryandesign (Ryan Carsten Schmidt)
Port:

Description

... and breaking mirrors is bad luck.

ld64 installs as 128.2 on Lion, as 127.2 on Snow Leopard (and older versions on older platforms).

However, ld64-128.2.tar.gz is not included in the macports distfiles http://distfiles.macports.org/ld64/

We maintain an internal private mirror for computers that don't have internet access. These computers can't install ld64 on Lion because of a fetch failure; the tarball is not in our mirror because it's not in the distfiles.

An ld64 maintainer suggested this bug report. This is a bug in the distfiles server, not ld64 itself.

Change History (3)

comment:1 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… added
Component: portsserver/hosting
Owner: changed from macports-tickets@… to wsiegrist@…
Version: 2.1.1

Files will only automatically get to the distfiles mirror if it fetches them. The distfiles mirror runs Snow Leopard right now so it won't fetch any files that are conditional on other OS versions. The ld64 port uses different files for Lion and up; Snow Leopard and Leopard; and Tiger.

William, could you put these two files there manually?

$ port distfiles ld64 os.major=8 | sed -n '1,/^  /s/^  //p'
http://opensource.apple.com/tarballs/ld64/ld64-97.17.tar.gz
$ port distfiles ld64 os.major=11 | sed -n '1,/^  /s/^  //p'
http://opensource.apple.com/tarballs/ld64/ld64-128.2.tar.gz

I know the distfiles fetching script already loops through all variants when fetching. Could it also loop through all values of os.major?

comment:2 Changed 12 years ago by wsiegrist@…

Resolution: fixed
Status: newclosed

The sync script now loops through os.major values.

comment:3 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Super! Thanks.

Note: See TracTickets for help on using tickets.