New issue
Advanced search Search tips
Starred by 2 users

Issue metadata

Status: Fixed
Owner:
Closed: Dec 14
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 3
Type: Bug



Sign in to add a comment
link

Issue 913061: Use snapshot.debian.org to build sysroots reproducibly

Reported by jeremya@chromium.org, Dec 7 Project Member

Issue description

Currently, an implicit input to the sysroot build scripts is the entire current state of packages.debian.org. This makes it difficult to reproduce a given sysroot--running the script again at a later date will produce a different sysroot.

snapshot.debian.org is an official mirror of historical snapshots of the debian package archive. It would be possible to use the snapshot mirror to make the sysroot build process reproducible, which would be useful for embedders and other non-Chrome usages of the Chromium sysroot. In particular, Electron rebuilds Chromium's sysroot in order to add the 'libnotify' package, and we frequently run into issues where packages have been updated in Debian since the last sysroot build, and have additional dependencies.

See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=912524 for some potential issues with using snapshot.debian.org from AWS.
 

Comment 1 by jeremya@chromium.org, Dec 7

See https://github.com/electron/debian-sysroot-image-creator/commit/17466efabe55b3395334a860a904ee60c6efa387 for an attempt at this (which was later reverted in Electron due to the above-mentioned Debian bug)

Comment 2 by jchin...@chromium.org, Dec 7

Components: -Infra Build
Tentatively recomponentizing under Build; please update as appropriate. Thanks!

Comment 3 by thomasanderson@chromium.org, Dec 7

Labels: -Type-Task Pri-3 Type-Bug
Owner: thomasanderson@chromium.org
Status: Assigned (was: Untriaged)

Comment 4 by thomasanderson@chromium.org, Dec 14

Status: Started (was: Assigned)

Comment 5 by jeremya@chromium.org, Dec 14

Hey Thomas, let me know if there's anything I can do to help out :)

Comment 7 by thomasanderson@chromium.org, Dec 14

Status: Fixed (was: Started)

Sign in to add a comment