Closed Bug 1841580 Opened 1 year ago Closed 1 year ago

Firefox Snap ESR build broken due to arm64 focal packages repository missing

Categories

(Firefox Build System :: Third Party Packaging, defect, P4)

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: gerard-majax, Unassigned)

References

Details

This change added arm64 package for libstdc++-6 and has been applied to stable and esr https://github.com/canonical/firefox-snap/commit/fa6a66cd793dcd1cf0ae3bfbeac83a3ac5a7b0bc

However this is breaking build locally for me:

  • checkout current upstream/esr
  • snap run snapcraft clean --use-lxd
  • snap run snapcraft --use-lxd

Expected:
Build terminates successfully

Actual:
Build fails with:

Add repository architecture: arm64
Hit:1 http://security.ubuntu.com/ubuntu focal-security InRelease
Get:2 https://ppa.launchpadcontent.net/ubuntu-toolchain-r/test/ubuntu focal InRelease [17.5 kB]
Ign:3 http://security.ubuntu.com/ubuntu focal-security/main arm64 Packages
Ign:4 http://security.ubuntu.com/ubuntu focal-security/multiverse arm64 Packages
Ign:5 http://security.ubuntu.com/ubuntu focal-security/restricted arm64 Packages
Ign:6 http://security.ubuntu.com/ubuntu focal-security/universe arm64 Packages
Hit:7 http://archive.ubuntu.com/ubuntu focal InRelease
Ign:3 http://security.ubuntu.com/ubuntu focal-security/main arm64 Packages
Ign:4 http://security.ubuntu.com/ubuntu focal-security/multiverse arm64 Packages
Ign:5 http://security.ubuntu.com/ubuntu focal-security/restricted arm64 Packages
Ign:6 http://security.ubuntu.com/ubuntu focal-security/universe arm64 Packages
Ign:3 http://security.ubuntu.com/ubuntu focal-security/main arm64 Packages
Ign:4 http://security.ubuntu.com/ubuntu focal-security/multiverse arm64 Packages
Ign:5 http://security.ubuntu.com/ubuntu focal-security/restricted arm64 Packages
Ign:6 http://security.ubuntu.com/ubuntu focal-security/universe arm64 Packages
Ign:3 http://security.ubuntu.com/ubuntu focal-security/main arm64 Packages
Ign:4 http://security.ubuntu.com/ubuntu focal-security/multiverse arm64 Packages
Hit:8 http://archive.ubuntu.com/ubuntu focal-updates InRelease
Ign:5 http://security.ubuntu.com/ubuntu focal-security/restricted arm64 Packages
Ign:6 http://security.ubuntu.com/ubuntu focal-security/universe arm64 Packages
Get:9 https://ppa.launchpadcontent.net/ubuntu-toolchain-r/test/ubuntu focal/main arm64 Packages [9612 B]
Ign:3 http://security.ubuntu.com/ubuntu focal-security/main arm64 Packages
Ign:4 http://security.ubuntu.com/ubuntu focal-security/multiverse arm64 Packages
Ign:5 http://security.ubuntu.com/ubuntu focal-security/restricted arm64 Packages
Ign:6 http://security.ubuntu.com/ubuntu focal-security/universe arm64 Packages
Err:3 http://security.ubuntu.com/ubuntu focal-security/main arm64 Packages
  404  Not Found [IP: 185.125.190.39 80]
Get:10 https://ppa.launchpadcontent.net/ubuntu-toolchain-r/test/ubuntu focal/main Translation-en [7444 B]
Ign:4 http://security.ubuntu.com/ubuntu focal-security/multiverse arm64 Packages
Ign:5 http://security.ubuntu.com/ubuntu focal-security/restricted arm64 Packages
Ign:6 http://security.ubuntu.com/ubuntu focal-security/universe arm64 Packages
Ign:11 http://archive.ubuntu.com/ubuntu focal/main arm64 Packages
Ign:12 http://archive.ubuntu.com/ubuntu focal/multiverse arm64 Packages
Ign:13 http://archive.ubuntu.com/ubuntu focal/restricted arm64 Packages
Ign:14 http://archive.ubuntu.com/ubuntu focal/universe arm64 Packages
Ign:11 http://archive.ubuntu.com/ubuntu focal/main arm64 Packages
Ign:15 http://archive.ubuntu.com/ubuntu focal-updates/main arm64 Packages
Ign:16 http://archive.ubuntu.com/ubuntu focal-updates/multiverse arm64 Packages
Ign:17 http://archive.ubuntu.com/ubuntu focal-updates/restricted arm64 Packages
Ign:18 http://archive.ubuntu.com/ubuntu focal-updates/universe arm64 Packages
Ign:12 http://archive.ubuntu.com/ubuntu focal/multiverse arm64 Packages
Ign:13 http://archive.ubuntu.com/ubuntu focal/restricted arm64 Packages
Ign:14 http://archive.ubuntu.com/ubuntu focal/universe arm64 Packages
Ign:11 http://archive.ubuntu.com/ubuntu focal/main arm64 Packages
Ign:15 http://archive.ubuntu.com/ubuntu focal-updates/main arm64 Packages
Ign:16 http://archive.ubuntu.com/ubuntu focal-updates/multiverse arm64 Packages
Ign:17 http://archive.ubuntu.com/ubuntu focal-updates/restricted arm64 Packages
Ign:18 http://archive.ubuntu.com/ubuntu focal-updates/universe arm64 Packages
Ign:12 http://archive.ubuntu.com/ubuntu focal/multiverse arm64 Packages
Ign:13 http://archive.ubuntu.com/ubuntu focal/restricted arm64 Packages
Ign:14 http://archive.ubuntu.com/ubuntu focal/universe arm64 Packages
Ign:11 http://archive.ubuntu.com/ubuntu focal/main arm64 Packages
Ign:15 http://archive.ubuntu.com/ubuntu focal-updates/main arm64 Packages
Ign:16 http://archive.ubuntu.com/ubuntu focal-updates/multiverse arm64 Packages
Ign:17 http://archive.ubuntu.com/ubuntu focal-updates/restricted arm64 Packages
Ign:18 http://archive.ubuntu.com/ubuntu focal-updates/universe arm64 Packages
Ign:12 http://archive.ubuntu.com/ubuntu focal/multiverse arm64 Packages
Ign:13 http://archive.ubuntu.com/ubuntu focal/restricted arm64 Packages
Ign:14 http://archive.ubuntu.com/ubuntu focal/universe arm64 Packages
Ign:11 http://archive.ubuntu.com/ubuntu focal/main arm64 Packages
Ign:15 http://archive.ubuntu.com/ubuntu focal-updates/main arm64 Packages
Ign:16 http://archive.ubuntu.com/ubuntu focal-updates/multiverse arm64 Packages
Ign:17 http://archive.ubuntu.com/ubuntu focal-updates/restricted arm64 Packages
Ign:18 http://archive.ubuntu.com/ubuntu focal-updates/universe arm64 Packages
Ign:12 http://archive.ubuntu.com/ubuntu focal/multiverse arm64 Packages
Ign:13 http://archive.ubuntu.com/ubuntu focal/restricted arm64 Packages
Ign:14 http://archive.ubuntu.com/ubuntu focal/universe arm64 Packages
Err:11 http://archive.ubuntu.com/ubuntu focal/main arm64 Packages
  404  Not Found [IP: 91.189.91.39 80]
Ign:15 http://archive.ubuntu.com/ubuntu focal-updates/main arm64 Packages
Ign:16 http://archive.ubuntu.com/ubuntu focal-updates/multiverse arm64 Packages
Ign:17 http://archive.ubuntu.com/ubuntu focal-updates/restricted arm64 Packages
Ign:18 http://archive.ubuntu.com/ubuntu focal-updates/universe arm64 Packages
Ign:12 http://archive.ubuntu.com/ubuntu focal/multiverse arm64 Packages
Ign:13 http://archive.ubuntu.com/ubuntu focal/restricted arm64 Packages
Ign:14 http://archive.ubuntu.com/ubuntu focal/universe arm64 Packages
Err:15 http://archive.ubuntu.com/ubuntu focal-updates/main arm64 Packages
  404  Not Found [IP: 91.189.91.39 80]
Ign:16 http://archive.ubuntu.com/ubuntu focal-updates/multiverse arm64 Packages
Ign:17 http://archive.ubuntu.com/ubuntu focal-updates/restricted arm64 Packages
Ign:18 http://archive.ubuntu.com/ubuntu focal-updates/universe arm64 Packages
Fetched 34.6 kB in 2s (16.7 kB/s)
Reading package lists... Done
E: Failed to fetch http://security.ubuntu.com/ubuntu/dists/focal-security/main/binary-arm64/Packages  404  Not Found [IP: 185.125.190.39 80]
E: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/focal/main/binary-arm64/Packages  404  Not Found [IP: 91.189.91.39 80]
E: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/focal-updates/main/binary-arm64/Packages  404  Not Found [IP: 91.189.91.39 80]
E: Some index files failed to download. They have been ignored, or old ones used instead.
Failed to update the package cache: Some files could not be downloaded:

failed to run apt update

Check that the sources on your host are configured correctly.

It looks like this changes force adds focal arm64 sources directly in apt config, and those are missing: http://archive.ubuntu.com/ubuntu/dists/focal/main/binary-arm64/Packages

Flags: needinfo?(bandali)

Removing the arch-specific statement gets rid of the issue. Local upstream builds in bug 1839317 have a patch to remove it as well.

Blocks: 1839317
No longer blocks: snap
Flags: needinfo?(bandali)

The severity field is not set for this bug.
:gerard-majax, could you have a look please?

For more information, please visit BugBot documentation.

Flags: needinfo?(lissyx+mozillians)
Severity: -- → S2
Flags: needinfo?(lissyx+mozillians)
Priority: -- → P4
Depends on: 1849277

This is still relevant only for ESR now

Summary: Firefox Snap ESR and stable build broken due to arm64 focal packages repository missing → Firefox Snap ESR build broken due to arm64 focal packages repository missing
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.