Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build LLVM with support for compression #95545

Closed
wants to merge 2 commits into from

Conversation

jonhoo
Copy link
Contributor

@jonhoo jonhoo commented Mar 31, 2022

Through what seems to be an oversight we don't install libz in the
aarch64 Docker image, which causes LLVM, and in turn both rustc and
llvm-tools, to be built without support for compressing PGO and coverage
files (and probably other things too). This patch rectifies that
oversight so that aarch64 joins x86_64 in having compression support.

Since we do this for both what writes and what reads these things, it
doesn't usually manifest as an issue (beyond larger-than-necessary
files). But it does mean that a profraw file written by rustc on x86_64
cannot be read by Rust's llvm-profdata on aarch64. It shows up in other
situations too, such as if someone built rustc from source with zlib
available on aarch64, but is using llvm-tools from rustup. So it feels
worthwhile to fix.

And for Google-ability, this tends to manifest with errors like:

profile uses zlib compression but the profile reader was built without zlib support

Note that we install zlib1g-dev, not lib32z1-dev as in the x86_64
image, since we're only building for 64-bit on aarch anyway.

Through what seems to be an oversight we don't install libz in the
aarch64 Docker image, which causes LLVM, and in turn both rustc and
llvm-tools, to be built without support for compressing PGO and coverage
files (and probably other things too). This patch rectifies that
oversight so that aarch64 joins x86_64 in having compression support.

Since we do this for both what writes and what reads these things, it
doesn't usually manifest as an issue (beyond larger-than-necessary
files). But it does mean that a profraw file written by rustc on x86_64
cannot be read by Rust's llvm-profdata on aarch64. It shows up in other
situations too, such as if someone built rustc from source with zlib
available on aarch64, but is using llvm-tools from rustup. So it feels
worthwhile to fix.

And for Google-ability, this tends to manifest with errors like:

```
profile uses zlib compression but the profile reader was built without zlib support
```

Note that we install `zlib1g-dev`, not `lib32z1-dev` as in the x86_64
image, since we're only building for 64-bit on aarch anyway.
@rust-highfive
Copy link
Collaborator

r? @kennytm

(rust-highfive has picked a reviewer for you, use r? to override)

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Mar 31, 2022
@jonhoo
Copy link
Contributor Author

jonhoo commented Mar 31, 2022

Are the build logs available for the CI builds? It's kind of hard to check whether this worked for me locally, but it should be immediately visible in the logs as, for example,

-- Found ZLIB: /some/path/to/libz.so (found version "1.2.11") 

@jonhoo
Copy link
Contributor Author

jonhoo commented Mar 31, 2022

Here's the Ubuntu package listing, if helpful: https://packages.ubuntu.com/focal/zlib1g-dev

@Mark-Simulacrum
Copy link
Member

You can hunt down a builder here - https://github.com/rust-lang-ci/rust/actions (auto branch).

Can you check that we do this for other tier 1 platforms as well? I think it makes sense to try to patch all of them as best we can; ideally we'd at least know and maybe document cases where it's not done (similar to e.g. missing stack overflow protection and other such historical(?) cases).

@mati865
Copy link
Contributor

mati865 commented Apr 1, 2022

FWIW this was explicitly disabled for Tier 1 windows-gnu because of the additional shared library dependence: #85762

This was different case though since here we have control over zlib library.
In Windows case zlib appeared in the images without our changes and personally I wouldn't like to rely on that.

@Mark-Simulacrum
Copy link
Member

Ah, right, I'm recalling that now. I think it may make sense to explicitly note that somewhere (e.g., the platform support page).

@jonhoo
Copy link
Contributor Author

jonhoo commented Apr 1, 2022

@Mark-Simulacrum I think that'll only work for builds that actually ran as part of CI. But the aarch64 build doesn't run as CI normally I don't think?

@jonhoo
Copy link
Contributor Author

jonhoo commented Apr 1, 2022

Looking at the other Tier 1 targets, there's Windows (which we're ignoring), macOS (which doesn't seem to have a Docker build?), and i686 which has zlib, so I think we're good.

One thing I did notice was that there's also host-x86_64/dist-aarch64-linux. How does that differ from host-aarch64/aarch64-gnu? Should I update that one too? It seems to install mostly through cross-apt-packages.sh, but updating that feels like it'd affect other targets too?

@Mark-Simulacrum
Copy link
Member

@Mark-Simulacrum I think that'll only work for builds that actually ran as part of CI. But the aarch64 build doesn't run as CI normally I don't think?

Not sure what you specifically mean - all of our builds run either never or during every auto branch CI build.

The dist builder is what ships artifacts, the one that runs on native hardware builds artifacts and tests them but doesn't upload anything anywhere.

I guess that covers the Linux targets, so we're probably good.

@jonhoo
Copy link
Contributor Author

jonhoo commented Apr 1, 2022

What I meant was that CI doesn't run the host-aarch64 build, at least from what I can tell, which is what I'd need the logs from.

The dist builder is what ships artifacts, the one that runs on native hardware builds artifacts and tests them but doesn't upload anything anywhere.

Hmm, that's interesting. I'm not sure how we grab the aarch64 version of zlib on x86_64 for cross-compilation 🤔 We may have to build it from source to get that to work.

@jonhoo
Copy link
Contributor Author

jonhoo commented Apr 1, 2022

Which in turn means we'll need the zlib source tarball to be hosted on ci-mirrors.rust-lang.org like the OpenSSL and curl ones are. But I suppose I can use the upstream URL for now.

@jonhoo
Copy link
Contributor Author

jonhoo commented Apr 1, 2022

I added a step to build zlib from source and cross-compile it for aarch64. It looks like the auto job isn't running though. Does bors need to be told something for that to happen?

@tschuett
Copy link

tschuett commented Apr 1, 2022

Why are the differences in the shebang style: /usr/bin/env xx (bash vs. sh)?

@jonhoo
Copy link
Contributor Author

jonhoo commented Apr 1, 2022

I just changed them to be consistent with what was in the dist-x86_64-linux scripts. Happy to make them whatever.

@joshtriplett
Copy link
Member

Hmm, that's interesting. I'm not sure how we grab the aarch64 version of zlib on x86_64 for cross-compilation 🤔 We may have to build it from source to get that to work.

Debian multiarch can do that.

dpkg --add-architecture arm64
apt update
apt install zlib1g-dev:arm64

@jonhoo
Copy link
Contributor Author

jonhoo commented Apr 4, 2022

@joshtriplett Ah, nice! Updated to use that instead.

@Mark-Simulacrum
Copy link
Member

@bors r+ rollup=iffy

@bors
Copy link
Contributor

bors commented Apr 6, 2022

📌 Commit fa7807b has been approved by Mark-Simulacrum

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Apr 6, 2022
@Dylan-DPC
Copy link
Member

@bors p=1

@bors
Copy link
Contributor

bors commented Apr 8, 2022

⌛ Testing commit fa7807b with merge 266f08a7595734dee4b56bcebad4027bdbce6c7a...

@bors bors added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. and removed S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. labels May 5, 2022
@rust-log-analyzer
Copy link
Collaborator

A job failed! Check out the build log: (web) (plain)

Click to see the possible cause of the failure (guessed by this bot)
Ign:7 http://archive.ubuntu.com/ubuntu xenial/multiverse arm64 Packages
Ign:5 http://archive.ubuntu.com/ubuntu xenial/main arm64 Packages
Ign:6 http://archive.ubuntu.com/ubuntu xenial/universe arm64 Packages
Ign:7 http://archive.ubuntu.com/ubuntu xenial/multiverse arm64 Packages
Err:5 http://archive.ubuntu.com/ubuntu xenial/main arm64 Packages
  404  Not Found [IP: 91.189.91.38 80]
Ign:7 http://archive.ubuntu.com/ubuntu xenial/multiverse arm64 Packages
Ign:8 http://archive.ubuntu.com/ubuntu xenial-updates/main arm64 Packages
Ign:9 http://archive.ubuntu.com/ubuntu xenial-updates/universe arm64 Packages
Ign:10 http://archive.ubuntu.com/ubuntu xenial-updates/multiverse arm64 Packages
---
Ign:9 http://archive.ubuntu.com/ubuntu xenial-updates/universe arm64 Packages
Ign:11 http://archive.ubuntu.com/ubuntu xenial-backports/main arm64 Packages
Ign:12 http://archive.ubuntu.com/ubuntu xenial-backports/universe arm64 Packages
Ign:10 http://archive.ubuntu.com/ubuntu xenial-updates/multiverse arm64 Packages
Err:8 http://archive.ubuntu.com/ubuntu xenial-updates/main arm64 Packages
  404  Not Found [IP: 91.189.91.38 80]
Ign:11 http://archive.ubuntu.com/ubuntu xenial-backports/main arm64 Packages
Ign:12 http://archive.ubuntu.com/ubuntu xenial-backports/universe arm64 Packages
Ign:10 http://archive.ubuntu.com/ubuntu xenial-updates/multiverse arm64 Packages
Ign:11 http://archive.ubuntu.com/ubuntu xenial-backports/main arm64 Packages
Ign:11 http://archive.ubuntu.com/ubuntu xenial-backports/main arm64 Packages
Ign:12 http://archive.ubuntu.com/ubuntu xenial-backports/universe arm64 Packages
Err:11 http://archive.ubuntu.com/ubuntu xenial-backports/main arm64 Packages
  404  Not Found [IP: 91.189.91.38 80]
Ign:12 http://archive.ubuntu.com/ubuntu xenial-backports/universe arm64 Packages
Ign:14 http://security.ubuntu.com/ubuntu xenial-security/universe arm64 Packages
Ign:15 http://security.ubuntu.com/ubuntu xenial-security/multiverse arm64 Packages
Ign:13 http://security.ubuntu.com/ubuntu xenial-security/main arm64 Packages
Ign:13 http://security.ubuntu.com/ubuntu xenial-security/main arm64 Packages
Ign:14 http://security.ubuntu.com/ubuntu xenial-security/universe arm64 Packages
Ign:15 http://security.ubuntu.com/ubuntu xenial-security/multiverse arm64 Packages
Ign:13 http://security.ubuntu.com/ubuntu xenial-security/main arm64 Packages
Ign:14 http://security.ubuntu.com/ubuntu xenial-security/universe arm64 Packages
Ign:15 http://security.ubuntu.com/ubuntu xenial-security/multiverse arm64 Packages
Err:13 http://security.ubuntu.com/ubuntu xenial-security/main arm64 Packages
  404  Not Found [IP: 91.189.91.38 80]
Ign:15 http://security.ubuntu.com/ubuntu xenial-security/multiverse arm64 Packages
Reading package lists...
Reading package lists...
E: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/xenial/main/binary-arm64/Packages  404  Not Found [IP: 91.189.91.38 80]
E: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/xenial-updates/main/binary-arm64/Packages  404  Not Found [IP: 91.189.91.38 80]
E: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/xenial-backports/main/binary-arm64/Packages  404  Not Found [IP: 91.189.91.38 80]
E: Failed to fetch http://security.ubuntu.com/ubuntu/dists/xenial-security/main/binary-arm64/Packages  404  Not Found [IP: 91.189.91.38 80]
E: Some index files failed to download. They have been ignored, or old ones used instead.
The command '/bin/sh -c dpkg --add-architecture arm64 && apt-get update && apt-get install zlib1g-dev:arm64' returned a non-zero code: 100
Sending build context to Docker daemon    513kB

Step 1/30 : FROM ubuntu:20.04
 ---> 53df61775e88
---
Ign:7 http://archive.ubuntu.com/ubuntu xenial/multiverse arm64 Packages
Ign:4 http://archive.ubuntu.com/ubuntu xenial/main arm64 Packages
Ign:6 http://archive.ubuntu.com/ubuntu xenial/universe arm64 Packages
Ign:7 http://archive.ubuntu.com/ubuntu xenial/multiverse arm64 Packages
Err:4 http://archive.ubuntu.com/ubuntu xenial/main arm64 Packages
  404  Not Found [IP: 91.189.91.38 80]
Ign:7 http://archive.ubuntu.com/ubuntu xenial/multiverse arm64 Packages
Ign:8 http://archive.ubuntu.com/ubuntu xenial-updates/main arm64 Packages
Ign:9 http://archive.ubuntu.com/ubuntu xenial-updates/universe arm64 Packages
Ign:10 http://archive.ubuntu.com/ubuntu xenial-updates/multiverse arm64 Packages
---
Ign:9 http://archive.ubuntu.com/ubuntu xenial-updates/universe arm64 Packages
Ign:11 http://archive.ubuntu.com/ubuntu xenial-backports/main arm64 Packages
Ign:12 http://archive.ubuntu.com/ubuntu xenial-backports/universe arm64 Packages
Ign:10 http://archive.ubuntu.com/ubuntu xenial-updates/multiverse arm64 Packages
Err:8 http://archive.ubuntu.com/ubuntu xenial-updates/main arm64 Packages
  404  Not Found [IP: 91.189.91.38 80]
Ign:11 http://archive.ubuntu.com/ubuntu xenial-backports/main arm64 Packages
Ign:12 http://archive.ubuntu.com/ubuntu xenial-backports/universe arm64 Packages
Ign:10 http://archive.ubuntu.com/ubuntu xenial-updates/multiverse arm64 Packages
Ign:11 http://archive.ubuntu.com/ubuntu xenial-backports/main arm64 Packages
Ign:11 http://archive.ubuntu.com/ubuntu xenial-backports/main arm64 Packages
Ign:12 http://archive.ubuntu.com/ubuntu xenial-backports/universe arm64 Packages
Err:11 http://archive.ubuntu.com/ubuntu xenial-backports/main arm64 Packages
  404  Not Found [IP: 91.189.91.38 80]
Ign:13 http://security.ubuntu.com/ubuntu xenial-security/main arm64 Packages
Ign:14 http://security.ubuntu.com/ubuntu xenial-security/universe arm64 Packages
Ign:15 http://security.ubuntu.com/ubuntu xenial-security/multiverse arm64 Packages
Ign:13 http://security.ubuntu.com/ubuntu xenial-security/main arm64 Packages
Ign:13 http://security.ubuntu.com/ubuntu xenial-security/main arm64 Packages
Ign:14 http://security.ubuntu.com/ubuntu xenial-security/universe arm64 Packages
Ign:15 http://security.ubuntu.com/ubuntu xenial-security/multiverse arm64 Packages
Ign:13 http://security.ubuntu.com/ubuntu xenial-security/main arm64 Packages
Ign:14 http://security.ubuntu.com/ubuntu xenial-security/universe arm64 Packages
Ign:15 http://security.ubuntu.com/ubuntu xenial-security/multiverse arm64 Packages
Err:13 http://security.ubuntu.com/ubuntu xenial-security/main arm64 Packages
  404  Not Found [IP: 185.125.190.39 80]
Ign:15 http://security.ubuntu.com/ubuntu xenial-security/multiverse arm64 Packages
Reading package lists...
Reading package lists...
E: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/xenial/main/binary-arm64/Packages  404  Not Found [IP: 91.189.91.38 80]
E: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/xenial-updates/main/binary-arm64/Packages  404  Not Found [IP: 91.189.91.38 80]
E: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/xenial-backports/main/binary-arm64/Packages  404  Not Found [IP: 91.189.91.38 80]
E: Failed to fetch http://security.ubuntu.com/ubuntu/dists/xenial-security/main/binary-arm64/Packages  404  Not Found [IP: 185.125.190.39 80]
E: Some index files failed to download. They have been ignored, or old ones used instead.
The command '/bin/sh -c dpkg --add-architecture arm64 && apt-get update && apt-get install zlib1g-dev:arm64' returned a non-zero code: 100
Sending build context to Docker daemon    513kB

Step 1/30 : FROM ubuntu:20.04
 ---> 53df61775e88
---
Ign:8 http://security.ubuntu.com/ubuntu xenial-security/main arm64 Packages
Ign:13 http://archive.ubuntu.com/ubuntu xenial-updates/multiverse arm64 Packages
Ign:9 http://security.ubuntu.com/ubuntu xenial-security/universe arm64 Packages
Ign:10 http://security.ubuntu.com/ubuntu xenial-security/multiverse arm64 Packages
Err:5 http://archive.ubuntu.com/ubuntu xenial/main arm64 Packages
  404  Not Found [IP: 185.125.190.39 80]
Ign:14 http://archive.ubuntu.com/ubuntu xenial-backports/main arm64 Packages
Ign:15 http://archive.ubuntu.com/ubuntu xenial-backports/universe arm64 Packages
Ign:7 http://archive.ubuntu.com/ubuntu xenial/multiverse arm64 Packages
Ign:11 http://archive.ubuntu.com/ubuntu xenial-updates/main arm64 Packages
Ign:11 http://archive.ubuntu.com/ubuntu xenial-updates/main arm64 Packages
Err:8 http://security.ubuntu.com/ubuntu xenial-security/main arm64 Packages
  404  Not Found [IP: 185.125.190.36 80]
Ign:12 http://archive.ubuntu.com/ubuntu xenial-updates/universe arm64 Packages
Ign:10 http://security.ubuntu.com/ubuntu xenial-security/multiverse arm64 Packages
Ign:13 http://archive.ubuntu.com/ubuntu xenial-updates/multiverse arm64 Packages
Ign:14 http://archive.ubuntu.com/ubuntu xenial-backports/main arm64 Packages
Ign:14 http://archive.ubuntu.com/ubuntu xenial-backports/main arm64 Packages
Ign:15 http://archive.ubuntu.com/ubuntu xenial-backports/universe arm64 Packages
Err:11 http://archive.ubuntu.com/ubuntu xenial-updates/main arm64 Packages
  404  Not Found [IP: 185.125.190.39 80]
Ign:13 http://archive.ubuntu.com/ubuntu xenial-updates/multiverse arm64 Packages
Err:14 http://archive.ubuntu.com/ubuntu xenial-backports/main arm64 Packages
Err:14 http://archive.ubuntu.com/ubuntu xenial-backports/main arm64 Packages
  404  Not Found [IP: 185.125.190.39 80]
Reading package lists...
Reading package lists...
E: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/xenial/main/binary-arm64/Packages  404  Not Found [IP: 185.125.190.39 80]
E: Failed to fetch http://security.ubuntu.com/ubuntu/dists/xenial-security/main/binary-arm64/Packages  404  Not Found [IP: 185.125.190.36 80]
E: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/xenial-updates/main/binary-arm64/Packages  404  Not Found [IP: 185.125.190.39 80]
E: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/xenial-backports/main/binary-arm64/Packages  404  Not Found [IP: 185.125.190.39 80]
E: Some index files failed to download. They have been ignored, or old ones used instead.
The command '/bin/sh -c dpkg --add-architecture arm64 && apt-get update && apt-get install zlib1g-dev:arm64' returned a non-zero code: 100
Sending build context to Docker daemon    513kB

Step 1/30 : FROM ubuntu:20.04
 ---> 53df61775e88
---
Ign:4 http://security.ubuntu.com/ubuntu xenial-security/multiverse arm64 Packages
Ign:2 http://security.ubuntu.com/ubuntu xenial-security/main arm64 Packages
Ign:3 http://security.ubuntu.com/ubuntu xenial-security/universe arm64 Packages
Ign:4 http://security.ubuntu.com/ubuntu xenial-security/multiverse arm64 Packages
Err:2 http://security.ubuntu.com/ubuntu xenial-security/main arm64 Packages
  404  Not Found [IP: 91.189.91.39 80]
Ign:4 http://security.ubuntu.com/ubuntu xenial-security/multiverse arm64 Packages
Hit:6 http://archive.ubuntu.com/ubuntu xenial-updates InRelease
Hit:7 http://archive.ubuntu.com/ubuntu xenial-backports InRelease
Ign:8 http://archive.ubuntu.com/ubuntu xenial/main arm64 Packages
---
Ign:15 http://archive.ubuntu.com/ubuntu xenial-backports/universe arm64 Packages
Ign:11 http://archive.ubuntu.com/ubuntu xenial-updates/main arm64 Packages
Ign:12 http://archive.ubuntu.com/ubuntu xenial-updates/universe arm64 Packages
Ign:13 http://archive.ubuntu.com/ubuntu xenial-updates/multiverse arm64 Packages
Err:8 http://archive.ubuntu.com/ubuntu xenial/main arm64 Packages
  404  Not Found [IP: 185.125.190.39 80]
Ign:10 http://archive.ubuntu.com/ubuntu xenial/multiverse arm64 Packages
Ign:14 http://archive.ubuntu.com/ubuntu xenial-backports/main arm64 Packages
Ign:15 http://archive.ubuntu.com/ubuntu xenial-backports/universe arm64 Packages
Err:11 http://archive.ubuntu.com/ubuntu xenial-updates/main arm64 Packages
Err:11 http://archive.ubuntu.com/ubuntu xenial-updates/main arm64 Packages
  404  Not Found [IP: 185.125.190.39 80]
Ign:13 http://archive.ubuntu.com/ubuntu xenial-updates/multiverse arm64 Packages
Err:14 http://archive.ubuntu.com/ubuntu xenial-backports/main arm64 Packages
Err:14 http://archive.ubuntu.com/ubuntu xenial-backports/main arm64 Packages
  404  Not Found [IP: 185.125.190.39 80]
Reading package lists...
Reading package lists...
E: Failed to fetch http://security.ubuntu.com/ubuntu/dists/xenial-security/main/binary-arm64/Packages  404  Not Found [IP: 91.189.91.39 80]
E: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/xenial/main/binary-arm64/Packages  404  Not Found [IP: 185.125.190.39 80]
E: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/xenial-updates/main/binary-arm64/Packages  404  Not Found [IP: 185.125.190.39 80]
E: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/xenial-backports/main/binary-arm64/Packages  404  Not Found [IP: 185.125.190.39 80]
E: Some index files failed to download. They have been ignored, or old ones used instead.
The command '/bin/sh -c dpkg --add-architecture arm64 && apt-get update && apt-get install zlib1g-dev:arm64' returned a non-zero code: 100
Sending build context to Docker daemon    513kB

Step 1/30 : FROM ubuntu:20.04
 ---> 53df61775e88
---
Ign:4 http://security.ubuntu.com/ubuntu xenial-security/multiverse arm64 Packages
Ign:2 http://security.ubuntu.com/ubuntu xenial-security/main arm64 Packages
Ign:3 http://security.ubuntu.com/ubuntu xenial-security/universe arm64 Packages
Ign:4 http://security.ubuntu.com/ubuntu xenial-security/multiverse arm64 Packages
Err:2 http://security.ubuntu.com/ubuntu xenial-security/main arm64 Packages
  404  Not Found [IP: 91.189.91.39 80]
Ign:4 http://security.ubuntu.com/ubuntu xenial-security/multiverse arm64 Packages
Hit:6 http://archive.ubuntu.com/ubuntu xenial-updates InRelease
Hit:7 http://archive.ubuntu.com/ubuntu xenial-backports InRelease
Ign:8 http://archive.ubuntu.com/ubuntu xenial/main arm64 Packages
---
Ign:15 http://archive.ubuntu.com/ubuntu xenial-backports/universe arm64 Packages
Ign:11 http://archive.ubuntu.com/ubuntu xenial-updates/main arm64 Packages
Ign:12 http://archive.ubuntu.com/ubuntu xenial-updates/universe arm64 Packages
Ign:13 http://archive.ubuntu.com/ubuntu xenial-updates/multiverse arm64 Packages
Err:8 http://archive.ubuntu.com/ubuntu xenial/main arm64 Packages
  404  Not Found [IP: 185.125.190.39 80]
Ign:10 http://archive.ubuntu.com/ubuntu xenial/multiverse arm64 Packages
Ign:14 http://archive.ubuntu.com/ubuntu xenial-backports/main arm64 Packages
Ign:15 http://archive.ubuntu.com/ubuntu xenial-backports/universe arm64 Packages
Err:11 http://archive.ubuntu.com/ubuntu xenial-updates/main arm64 Packages
Err:11 http://archive.ubuntu.com/ubuntu xenial-updates/main arm64 Packages
  404  Not Found [IP: 185.125.190.39 80]
Ign:13 http://archive.ubuntu.com/ubuntu xenial-updates/multiverse arm64 Packages
Err:14 http://archive.ubuntu.com/ubuntu xenial-backports/main arm64 Packages
Err:14 http://archive.ubuntu.com/ubuntu xenial-backports/main arm64 Packages
  404  Not Found [IP: 185.125.190.39 80]
Reading package lists...
Reading package lists...
E: Failed to fetch http://security.ubuntu.com/ubuntu/dists/xenial-security/main/binary-arm64/Packages  404  Not Found [IP: 91.189.91.39 80]
E: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/xenial/main/binary-arm64/Packages  404  Not Found [IP: 185.125.190.39 80]
E: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/xenial-updates/main/binary-arm64/Packages  404  Not Found [IP: 185.125.190.39 80]
E: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/xenial-backports/main/binary-arm64/Packages  404  Not Found [IP: 185.125.190.39 80]
E: Some index files failed to download. They have been ignored, or old ones used instead.
The command '/bin/sh -c dpkg --add-architecture arm64 && apt-get update && apt-get install zlib1g-dev:arm64' returned a non-zero code: 100
##[error]Process completed with exit code 1.
Post job cleanup.

@Mark-Simulacrum
Copy link
Member

Re-assigning to @joshtriplett to see if you might have a recommendation for how to resolve the problem here (per #95545 (comment))

@compiler-errors
Copy link
Member

I did a bors resync and this seems to have gotten reapproved, sorry for the noise

@bors r-

@bors bors added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels May 7, 2022
@compiler-errors compiler-errors added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. and removed S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. labels May 7, 2022
@ehuss
Copy link
Contributor

ehuss commented May 16, 2022

@bors r-

@bors bors added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels May 16, 2022
@ehuss
Copy link
Contributor

ehuss commented May 16, 2022

@bors ping

@bors
Copy link
Contributor

bors commented May 16, 2022

😪 I'm awake I'm awake

@ehuss
Copy link
Contributor

ehuss commented May 16, 2022

@bors retry

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. labels May 16, 2022
@ehuss
Copy link
Contributor

ehuss commented May 16, 2022

@bors r-

@bors bors added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. and removed S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. labels May 16, 2022
@ehuss
Copy link
Contributor

ehuss commented May 16, 2022

Oops, sorry for the noise.

@apiraino apiraino added the T-infra Relevant to the infrastructure team, which will review and decide on the PR/issue. label May 23, 2022
@bors
Copy link
Contributor

bors commented Aug 5, 2022

☔ The latest upstream changes (presumably #95026) made this pull request unmergeable. Please resolve the merge conflicts.

@Dylan-DPC
Copy link
Member

@jonhoo any updates on this? thanks

@JohnCSimon
Copy link
Member

@jonhoo
Ping from triage: I'm closing this due to inactivity, Please reopen when you are ready to continue with this.
Note: if you are going to continue please open the PR BEFORE you push to it, else you won't be able to reopen - this is a quirk of github.
Thanks for your contribution.

@rustbot label: +S-inactive

@JohnCSimon JohnCSimon closed this Jun 17, 2023
@rustbot rustbot added the S-inactive Status: Inactive and waiting on the author. This is often applied to closed PRs. label Jun 17, 2023
@jonhoo
Copy link
Contributor Author

jonhoo commented Jul 30, 2023

Sorry for dropping the ball on this. Between moving and switching jobs, this became down-prioritized, and eventually I just dropped it altogether. I still think it's worthwhile to land a change like this to get smaller coverage files on aarch64, but I'm no longer in a position to push that forward myself as I don't have a direct need for it any more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-inactive Status: Inactive and waiting on the author. This is often applied to closed PRs. S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. T-infra Relevant to the infrastructure team, which will review and decide on the PR/issue.
Projects
None yet
Development

Successfully merging this pull request may close these issues.