Attachments (1)

rust-mirror.log (111.2 KB) - added by jmroot (Joshua Root) 2 years ago.

Download all attachments as: .zip

Change History (10)

comment:1 in reply to:  description Changed 2 years ago by ryandesign (Ryan Carsten Schmidt)

Replying to jmroot:

This log is no longer available. Please copy error messages from buildbot logs into tickets.

This log says:

--->  rust-std-1.59.0+0-i686-macports-darwin10.tar.gz does not exist in /opt/local/var/macports/distfiles/rust
--->  Attempting to fetch rust-std-1.59.0+0-i686-macports-darwin10.tar.gz from http://distfiles.macports.org/rust

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:--  0:00:01 --:--:--     0DEBUG: Fetching distfile failed: The requested URL returned error: 404

comment:2 Changed 2 years ago by jmroot (Joshua Root)

The fatal error is

--->  Attempting to fetch rust-std-1.60.0+0-i686-macports-darwin10.tar.gz from https://github.com/MarcusCalhoun-Lopez/rust/releases/download/1.61.0

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:--  0:00:01 --:--:--     0DEBUG: Fetching distfile failed: error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version
Error: Failed to fetch rust: error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version

https://build.macports.org/builders/ports-10.6_i386-builder/builds/73537/steps/install-port/logs/stdio

More recent mirror log attached.

Changed 2 years ago by jmroot (Joshua Root)

Attachment: rust-mirror.log added

comment:3 Changed 2 years ago by herbygillot (Herby Gillot)

Owner: changed from herbygillot to MarcusCalhoun-Lopez

comment:4 Changed 23 months ago by ryandesign (Ryan Carsten Schmidt)

I mirrored the latest distfiles manually but this will break again with the next update.

The problem is that the mirroring process only works at the granularity of the portindex. There is only one portindex for Intel (for a given OS version) so it only tries one fetch for Intel (for whatever build_arch the mirroring machine happens to be, which is currently x86_64).

But we do try a fetch for each of the port's variants, in case different variants have different distfiles. I was going to suggest that adding a universal variant might solve the problem since it would fetch both the i386 and x86_64 parts for the universal variant. But I see that the rust port does use the rust portgroup which uses the muniversal portgroup so it already has a universal variant. Does it work? If so, I guess it is the case that this "rust-std" distfile is only needed to be of the build machine's architecture, and is not needed to be for each build architecture?

comment:5 Changed 23 months ago by jmroot (Joshua Root)

It's also referencing rust-std-1.60.0+0-x86_64-macports-darwin8.tar.gz, which doesn't exist. I guess it should just clear distfiles on unsupported platforms. The cargo port has the same problem.

comment:6 Changed 20 months ago by mascguy (Christopher Nielsen)

Cc: mascguy added

comment:7 Changed 16 months ago by jmroot (Joshua Root)

In 7c4d20e6f97d2bd28230d66ea8ccc48df8240dc5/macports-ports (master):

rust pg: don't add nonexistent Tiger distfiles

See: #65184

comment:8 Changed 16 months ago by jmroot (Joshua Root)

In 280f2d7a6b5d8d2358b4da62a80fb9fa3f3aa3c5/macports-ports (master):

rust: add workaround for mirroring i386 distfile

See: #65184

comment:9 Changed 16 months ago by jmroot (Joshua Root)

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.