Opened 3 years ago
Closed 23 months ago
#65184 closed defect (fixed)
rust fails to mirror and fails to fetch on i386
Reported by: | jmroot (Joshua Root) | Owned by: | MarcusCalhoun-Lopez (Marcus Calhoun-Lopez) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | MarcusCalhoun-Lopez (Marcus Calhoun-Lopez), mascguy (Christopher Nielsen) | |
Port: | rust |
Attachments (1)
Change History (10)
comment:1 Changed 2 years ago by ryandesign (Ryan Carsten Schmidt)
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
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 2 years 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 2 years 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 2 years ago by mascguy (Christopher Nielsen)
Cc: | mascguy added |
---|
comment:7 Changed 23 months ago by jmroot (Joshua Root)
comment:8 Changed 23 months ago by jmroot (Joshua Root)
comment:9 Changed 23 months ago by jmroot (Joshua Root)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Replying to jmroot:
This log is no longer available. Please copy error messages from buildbot logs into tickets.
This log says: