Opened 5 years ago

Closed 20 months ago

#60237 closed defect (fixed)

cargo-bootstrap @0.43.0: fetching the i686 distfiles fails

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Priority: Normal Milestone:
Component: ports Version: 2.6.2
Keywords: Cc: herbygillot (Herby Gillot)
Port: cargo-bootstrap

Description

Attempting to upgrade cargo-bootstrap +universal from 0.41.0 to 0.43.0 fails to fetch the i686 distfiles:

--->  Fetching archive for cargo-bootstrap
--->  Attempting to fetch cargo-bootstrap-0.43.0_0+universal.darwin_17.i386-x86_64.tbz2 from https://packages.macports.org/cargo-bootstrap
--->  Fetching distfiles for cargo-bootstrap
--->  Attempting to fetch cargo-0.43.0-x86_64-apple-darwin.tar.gz from https://distfiles.macports.org/cargo
--->  Attempting to fetch cargo-0.43.0-i686-apple-darwin.tar.gz from https://distfiles.macports.org/cargo
--->  Attempting to fetch cargo-0.43.0-i686-apple-darwin.tar.gz from https://static.rust-lang.org/dist/
Error: Failed to fetch cargo-bootstrap: The requested URL returned error: 404 Not Found

Change History (7)

comment:1 Changed 5 years ago by herbygillot (Herby Gillot)

We might have to remove i686 as an available architecture option; i686-apple-darwin is listed as a Tier 3 platform on the rust-lang.org website(1), defined as follows:

Tier 3 platforms are those which the Rust codebase has support for, but which are not built or tested automatically, and may not work. Official builds are not available.

1: https://forge.rust-lang.org/release/platform-support.html

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

i686-apple-darwin tarball exists for version 0.42.0 but not for 0.43.0

➜  ~ http HEAD 'https://static.rust-lang.org/dist/cargo-0.42.0-i686-apple-darwin.tar.gz'
HTTP/1.1 200 OK
Accept-Ranges: bytes
Connection: keep-alive
Content-Length: 5241962
Content-Type: application/x-tar
Date: Wed, 25 Mar 2020 04:04:09 GMT
ETag: "25e2abe46534ef57ce33c77f81446e8e"
Last-Modified: Thu, 27 Feb 2020 14:49:23 GMT
Server: AmazonS3
Via: 1.1 d945a5fbc073d46145c31f513978802d.cloudfront.net (CloudFront)
X-Amz-Cf-Id: Hiu7wmJn7TTtX3N8sdwe7pl_-PIQL35VVOXv0tmfY5xdhim4bdwhhA==
X-Amz-Cf-Pop: ARN1-C1
X-Cache: Miss from cloudfront
x-amz-version-id: NOSYJWFYTjV1d0M99z4miArhf6Brg0lf



➜  ~ http HEAD 'https://static.rust-lang.org/dist/cargo-0.43.0-i686-apple-darwin.tar.gz'
HTTP/1.1 404 Not Found
Age: 48907
Connection: keep-alive
Content-Encoding: gzip
Content-Type: text/html
Date: Tue, 24 Mar 2020 14:29:07 GMT
Last-Modified: Tue, 24 Mar 2020 00:33:41 GMT
Server: AmazonS3
Vary: Accept-Encoding
Via: 1.1 9b9ff06545217fe747384bd8b8509aa4.cloudfront.net (CloudFront)
X-Amz-Cf-Id: 77xNrdEspDjF0qamOEgwp92dJh05nCDZiFFy7HJE2Hycx9GZBLYokg==
X-Amz-Cf-Pop: ARN1-C1
X-Cache: Error from cloudfront
x-amz-version-id: q1Uu.ZgLKpZPlA4Inn22EcsQyLVrEjgg

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

Replying to herbygillot:

We might have to remove i686 as an available architecture option

That's probably fine. Cargo's dependency rust already requires a recent OS to compile and thus is not compatible with 32-bit-only systems anymore. And since cargo is just a dependency manager and doesn't install libraries, its non-universalness shouldn't prevent other ports from being universal.

comment:4 Changed 5 years ago by herbygillot (Herby Gillot)

comment:5 Changed 20 months ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

cargo-bootstrap no longer exists, so I think it is safe to close this ticket.

comment:6 Changed 20 months ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

Owner: set to MarcusCalhoun-Lopez
Status: newassigned

comment:7 Changed 20 months ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

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