ubuntu / desktop-snaps

Snap automation tools
15 stars 10 forks source link

New candidate build available for firefox on amd64 (r2838) #196

Closed github-actions[bot] closed 1 year ago

github-actions[bot] commented 1 year ago

Reported changes between the current stable and the new candidate

--- cache/firefox-2800/snap/manifest.yaml   2023-06-19 20:34:59.000000000 +0000
+++ cache/firefox-2838/snap/manifest.yaml   2023-06-28 05:44:09.000000000 +0000
@@ -1,9 +1,9 @@
 snapcraft-version: 7.4.3
-snapcraft-started-at: '2023-06-19T20:33:38.927749Z'
+snapcraft-started-at: '2023-06-28T05:42:57.026946Z'
 snapcraft-os-release-id: ubuntu
 snapcraft-os-release-version-id: '20.04'
 name: firefox
-version: 114.0.2-1
+version: 115.0-1
 summary: Mozilla Firefox web browser
 description: Firefox is a powerful, extensible web browser with support for modern
   web application technologies.
@@ -156,12 +156,12 @@
     installed-packages: []
     installed-snaps:
     - bare=5
-    - core20=1891
+    - core20=1950
     - gnome-3-38-2004-sdk=171
     - gnome-3-38-2004=140
     - gtk-common-themes=1535
     - snapcraft=9362
-    - snapd=19361
+    - snapd=19457
     override-build: |
       MOZCONFIG="/build/firefox/stage/mozconfig"
       gpg -d --batch --passphrase "$(base64 -d /build/firefox/.passphrase)" -o apikeys /build/firefox/.apikeys
@@ -192,12 +192,12 @@
     installed-packages: []
     installed-snaps:
     - bare=5
-    - core20=1891
+    - core20=1950
     - gnome-3-38-2004-sdk=171
     - gnome-3-38-2004=140
     - gtk-common-themes=1535
     - snapcraft=9362
-    - snapd=19361
+    - snapd=19457
     override-build: cargo install cbindgen
     override-prime: ''
     plugin: nil
@@ -227,12 +227,12 @@
     installed-packages: []
     installed-snaps:
     - bare=5
-    - core20=1891
+    - core20=1950
     - gnome-3-38-2004-sdk=171
     - gnome-3-38-2004=140
     - gtk-common-themes=1535
     - snapcraft=9362
-    - snapd=19361
+    - snapd=19457
     override-build: |
       if [ amd64 = "amd64" ]; then
         LLVM_RELEASE=$LLVM_RELEASE_15
@@ -410,7 +410,7 @@
     - libcryptsetup12=2:2.2.2-3ubuntu2.4
     - libctf-nobfd0=2.34-6ubuntu1.6
     - libctf0=2.34-6ubuntu1.6
-    - libcups2=2.3.1-9ubuntu1.3
+    - libcups2=2.3.1-9ubuntu1.4
     - libcurl3-gnutls=7.68.0-1ubuntu2.18
     - libcurl4=7.68.0-1ubuntu2.18
     - libdatrie-dev=0.2.12-3
@@ -764,12 +764,12 @@
     - zlib1g=1:1.2.11.dfsg-2ubuntu1.5
     installed-snaps:
     - bare=5
-    - core20=1891
+    - core20=1950
     - gnome-3-38-2004-sdk=171
     - gnome-3-38-2004=140
     - gtk-common-themes=1535
     - snapcraft=9362
-    - snapd=19361
+    - snapd=19457
     override-pull: |
       export SYMBOLS_ARCHIVE=$(find /build/firefox/stage/debug-symbols/ -type f -name "firefox-*.crashreporter-symbols.zip")
       if [ -f "$SYMBOLS_ARCHIVE" ]; then
@@ -781,7 +781,7 @@
           rm "/build/firefox/symbols-upload-token"
           deactivate
         else
-          cp $SYMBOLS_ARCHIVE /build/firefox/firefox_114.0.2-1_amd64.debug
+          cp $SYMBOLS_ARCHIVE /build/firefox/firefox_115.0-1_amd64.debug
         fi
       fi
     plugin: nil
@@ -804,12 +804,12 @@
     installed-packages: []
     installed-snaps:
     - bare=5
-    - core20=1891
+    - core20=1950
     - gnome-3-38-2004-sdk=171
     - gnome-3-38-2004=140
     - gtk-common-themes=1535
     - snapcraft=9362
-    - snapd=19361
+    - snapd=19457
     override-prime: |
       mkdir -p /build/firefox/prime/usr/lib/firefox
       cp -R $SNAPCRAFT_PART_SRC/desktop/ubuntu/distribution /build/firefox/prime/usr/lib/firefox/
@@ -842,21 +842,21 @@
     installed-packages: []
     installed-snaps:
     - bare=5
-    - core20=1891
+    - core20=1950
     - gnome-3-38-2004-sdk=171
     - gnome-3-38-2004=140
     - gtk-common-themes=1535
     - snapcraft=9362
-    - snapd=19361
+    - snapd=19457
     override-build: |
-      if [ amd64 = "amd64" ]; then
+      if [ amd64 = "amd64" ] || [ amd64 = "arm64" ]; then
         cargo build --release
         cp target/release/dump_syms /build/firefox/stage/usr/bin/
       fi
     override-pull: |
-      if [ amd64 = "amd64" ]; then
-        VERSION=$(echo 114.0.2-1 | cut -d- -f1)
-        BUILD=$(echo 114.0.2-1 | cut -d- -f2)
+      if [ amd64 = "amd64" ] || [ amd64 = "arm64" ]; then
+        VERSION=$(echo 115.0-1 | cut -d- -f1)
+        BUILD=$(echo 115.0-1 | cut -d- -f2)
         FFINFO=$(curl -s https://ftp.mozilla.org/pub/firefox/candidates/$VERSION-candidates/build$BUILD/linux-x86_64/en-US/firefox-$VERSION.json)
         MOZ_SOURCE_REPO=$(echo $FFINFO | jq -r .moz_source_repo)
         MOZ_SOURCE_STAMP=$(echo $FFINFO | jq -r .moz_source_stamp)
@@ -886,12 +886,12 @@
     installed-packages: []
     installed-snaps:
     - bare=5
-    - core20=1891
+    - core20=1950
     - gnome-3-38-2004-sdk=171
     - gnome-3-38-2004=140
     - gtk-common-themes=1535
     - snapcraft=9362
-    - snapd=19361
+    - snapd=19457
     plugin: nil
     prime:
     - usr/lib/*/libaom.so.*
@@ -1036,22 +1036,31 @@
     installed-packages: []
     installed-snaps:
     - bare=5
-    - core20=1891
+    - core20=1950
     - gnome-3-38-2004-sdk=171
     - gnome-3-38-2004=140
     - gtk-common-themes=1535
     - snapcraft=9362
-    - snapd=19361
+    - snapd=19457
     override-build: |
       QUILT_PATCHES=/build/firefox/patches quilt push -a
       export MOZCONFIG="/build/firefox/stage/mozconfig"
       BUILD_DBGSYMS=false
-      if [ amd64 = "amd64" ]; then
-        # Build and publish debug symbols for amd64 only, because Launchpad
-        # builders for other architectures (armhf and arm64) choke (OOM) when
-        # building with debug symbols enabled.
-        # TODO: find a way to work around this infrastructure limitation.
+      if [ amd64 = "amd64" ] || [ amd64 = "arm64" ]; then
+        # Build and publish debug symbols for amd64 and arm64 only,
+        # because Launchpad builders for armhf choke (OOM) when
+        # building with debug symbols enabled, even with
+        # patches/mozilla-reduce-rust-debuginfo.patch applied,
+        # at least as of 2023-06-25.
         BUILD_DBGSYMS=true
+        # GitHub Actions is limited to 2 CPUs and 7GB RAM, and
+        # too much debug info from Rust will make gkrust linkage fail.
+        # Same goes for arm64 builds on Launchpad.  It seems we can't
+        # detect $GITHUB_WORKSPACE, so we assume presence of the file
+        # "symbols-upload-token" means we are running on GitHub.
+        if [ -f "/build/firefox/symbols-upload-token"] || [ amd64 = "arm64" ]; then
+          patch -p1 < /build/firefox/patches/mozilla-reduce-rust-debuginfo.patch
+        fi
       fi
       if [ $BUILD_DBGSYMS = "true" ]; then
         echo "ac_add_options --enable-debug-symbols" >> $MOZCONFIG
@@ -1119,8 +1128,8 @@
         cp obj-*/dist/firefox-*.crashreporter-symbols.zip /build/firefox/stage/debug-symbols/
       fi
     override-pull: |
-      VERSION=$(echo 114.0.2-1 | cut -d- -f1)
-      BUILD=$(echo 114.0.2-1 | cut -d- -f2)
+      VERSION=$(echo 115.0-1 | cut -d- -f1)
+      BUILD=$(echo 115.0-1 | cut -d- -f2)
       ROOT=https://ftp.mozilla.org/pub/firefox/candidates/$VERSION-candidates/build$BUILD
       wget -O - $ROOT/source/firefox-$VERSION.source.tar.xz | tar -x --xz --strip-components=1
       mkdir -p /build/firefox/stage/debug-symbols
@@ -1202,12 +1211,12 @@
     installed-packages: []
     installed-snaps:
     - bare=5
-    - core20=1891
+    - core20=1950
     - gnome-3-38-2004-sdk=171
     - gnome-3-38-2004=140
     - gtk-common-themes=1535
     - snapcraft=9362
-    - snapd=19361
+    - snapd=19457
     override-prime: |
       INSTALLDIR=/build/firefox/prime/usr/lib/firefox/distribution/extensions
       mkdir -p $INSTALLDIR
@@ -1217,8 +1226,8 @@
         cp $XPI $INSTALLDIR/locale-$LANGCODE/langpack-$LANGCODE@firefox.mozilla.org.xpi
       done
     override-pull: |
-      VERSION=$(echo 114.0.2-1 | cut -d- -f1)
-      BUILD=$(echo 114.0.2-1 | cut -d- -f2)
+      VERSION=$(echo 115.0-1 | cut -d- -f1)
+      BUILD=$(echo 115.0-1 | cut -d- -f2)
       SERVER=https://ftp.mozilla.org
       ROOT=$SERVER/pub/firefox/candidates/$VERSION-candidates/build$BUILD
       XPIS=$(wget -O - $ROOT/linux-x86_64/xpi/ | sed -n 's/.* href="\(.*\.xpi\)".*/\1/p')
@@ -1355,7 +1364,7 @@
     - libcryptsetup12=2:2.2.2-3ubuntu2.4
     - libctf-nobfd0=2.34-6ubuntu1.6
     - libctf0=2.34-6ubuntu1.6
-    - libcups2=2.3.1-9ubuntu1.3
+    - libcups2=2.3.1-9ubuntu1.4
     - libcurl3-gnutls=7.68.0-1ubuntu2.18
     - libcurl4=7.68.0-1ubuntu2.18
     - libdatrie-dev=0.2.12-3
@@ -1709,12 +1718,12 @@
     - zlib1g=1:1.2.11.dfsg-2ubuntu1.5
     installed-snaps:
     - bare=5
-    - core20=1891
+    - core20=1950
     - gnome-3-38-2004-sdk=171
     - gnome-3-38-2004=140
     - gtk-common-themes=1535
     - snapcraft=9362
-    - snapd=19361
+    - snapd=19457
     make-parameters:
     - WITH_PYTHON=3.8
     - PLATFORM_PLUG=gnome-3-38-2004
@@ -1740,12 +1749,12 @@
     installed-packages: []
     installed-snaps:
     - bare=5
-    - core20=1891
+    - core20=1950
     - gnome-3-38-2004-sdk=171
     - gnome-3-38-2004=140
     - gtk-common-themes=1535
     - snapcraft=9362
-    - snapd=19361
+    - snapd=19457
     override-build: |
       set -eu
       apt download $(apt-cache search '^hunspell-.*$' |
@@ -1889,7 +1898,7 @@
     - libcryptsetup12=2:2.2.2-3ubuntu2.4
     - libctf-nobfd0=2.34-6ubuntu1.6
     - libctf0=2.34-6ubuntu1.6
-    - libcups2=2.3.1-9ubuntu1.3
+    - libcups2=2.3.1-9ubuntu1.4
     - libcurl3-gnutls=7.68.0-1ubuntu2.18
     - libcurl4=7.68.0-1ubuntu2.18
     - libdatrie-dev=0.2.12-3
@@ -2243,12 +2252,12 @@
     - zlib1g=1:1.2.11.dfsg-2ubuntu1.5
     installed-snaps:
     - bare=5
-    - core20=1891
+    - core20=1950
     - gnome-3-38-2004-sdk=171
     - gnome-3-38-2004=140
     - gtk-common-themes=1535
     - snapcraft=9362
-    - snapd=19361
+    - snapd=19457
     override-prime: |
       cp "/build/firefox/firefox.launcher" "/build/firefox/prime/"
       cp "/build/firefox/patch-default-profile.py" "/build/firefox/prime/"
@@ -2388,7 +2397,7 @@
     - libcryptsetup12=2:2.2.2-3ubuntu2.4
     - libctf-nobfd0=2.34-6ubuntu1.6
     - libctf0=2.34-6ubuntu1.6
-    - libcups2=2.3.1-9ubuntu1.3
+    - libcups2=2.3.1-9ubuntu1.4
     - libcurl3-gnutls=7.68.0-1ubuntu2.18
     - libcurl4=7.68.0-1ubuntu2.18
     - libdatrie-dev=0.2.12-3
@@ -2742,12 +2751,12 @@
     - zlib1g=1:1.2.11.dfsg-2ubuntu1.5
     installed-snaps:
     - bare=5
-    - core20=1891
+    - core20=1950
     - gnome-3-38-2004-sdk=171
     - gnome-3-38-2004=140
     - gtk-common-themes=1535
     - snapcraft=9362
-    - snapd=19361
+    - snapd=19457
     override-prime: ''
     override-stage: 'cp /build/firefox/mozconfig.in /build/firefox/stage/mozconfig

@@ -2774,12 +2783,12 @@
     installed-packages: []
     installed-snaps:
     - bare=5
-    - core20=1891
+    - core20=1950
     - gnome-3-38-2004-sdk=171
     - gnome-3-38-2004=140
     - gtk-common-themes=1535
     - snapcraft=9362
-    - snapd=19361
+    - snapd=19457
     override-build: 'cp -R node-$NODEJS_RELEASE-linux-*/ $SNAPCRAFT_PART_INSTALL/usr/

       '
@@ -2814,12 +2823,12 @@
     installed-packages: []
     installed-snaps:
     - bare=5
-    - core20=1891
+    - core20=1950
     - gnome-3-38-2004-sdk=171
     - gnome-3-38-2004=140
     - gtk-common-themes=1535
     - snapcraft=9362
-    - snapd=19361
+    - snapd=19457
     meson-parameters:
     - --prefix=/usr
     - --buildtype=release
@@ -2971,7 +2980,7 @@
     - libcryptsetup12=2:2.2.2-3ubuntu2.4
     - libctf-nobfd0=2.34-6ubuntu1.6
     - libctf0=2.34-6ubuntu1.6
-    - libcups2=2.3.1-9ubuntu1.3
+    - libcups2=2.3.1-9ubuntu1.4
     - libcurl3-gnutls=7.68.0-1ubuntu2.18
     - libcurl4=7.68.0-1ubuntu2.18
     - libdatrie-dev=0.2.12-3
@@ -3325,16 +3334,16 @@
     - zlib1g=1:1.2.11.dfsg-2ubuntu1.5
     installed-snaps:
     - bare=5
-    - core20=1891
+    - core20=1950
     - gnome-3-38-2004-sdk=171
     - gnome-3-38-2004=140
     - gtk-common-themes=1535
     - snapcraft=9362
-    - snapd=19361
+    - snapd=19457
     override-prime: ''
     override-pull: |
       # Do not use rustup to work around https://forum.snapcraft.io/t/armhf-builds-on-launchpad-timing-out/31008
-      REQUIRED_RUST_VERSION=1.65.0
+      REQUIRED_RUST_VERSION=1.66.0
       ROOT=https://static.rust-lang.org/dist/rust-$REQUIRED_RUST_VERSION
       if [ amd64 = "amd64" ]; then
         BINARIES_SUFFIX=x86_64-unknown-linux-gnu
@@ -3368,12 +3377,12 @@
     installed-packages: []
     installed-snaps:
     - bare=5
-    - core20=1891
+    - core20=1950
     - gnome-3-38-2004-sdk=171
     - gnome-3-38-2004=140
     - gtk-common-themes=1535
     - snapcraft=9362
-    - snapd=19361
+    - snapd=19457
     override-build: |
       tar -C /build/firefox/stage -xf wasi-sysroot-$WASI_RELEASE.tar.gz
       tar -C /build/firefox/stage/usr/lib/clang/* -xf libclang_rt.builtins-wasm32-wasi-$WASI_RELEASE.tar.gz
@@ -3405,9 +3414,9 @@
 architectures:
 - amd64
 image-info:
-  build-request-id: lp-80295984
-  build-request-timestamp: '2023-06-19T12:15:10Z'
-  build_url: https://launchpad.net/~mozilla-snaps/firefox/+snap/firefox-snap-stable/+build/2143516
+  build-request-id: lp-80491310
+  build-request-timestamp: '2023-06-28T02:30:11Z'
+  build_url: https://launchpad.net/~mozilla-snaps/firefox/+snap/firefox-snap-stable/+build/2151804
 build-packages:
 - adwaita-icon-theme=3.36.1-2ubuntu0.20.04.2
 - binutils-dev=2.34-6ubuntu1.6
@@ -3450,7 +3459,7 @@
 - libcairo2-dev=1.16.0-4ubuntu1
 - libcairo2=1.16.0-4ubuntu1
 - libcroco3=0.6.13-1
-- libcups2=2.3.1-9ubuntu1.3
+- libcups2=2.3.1-9ubuntu1.4
 - libcurl4=7.68.0-1ubuntu2.18
 - libdatrie-dev=0.2.12-3
 - libdatrie1=0.2.12-3
@@ -3653,7 +3662,7 @@
 - zip=3.0-11build1
 - zlib1g-dev=1:1.2.11.dfsg-2ubuntu1.5
 build-snaps:
-- core20=1891
+- core20=1950
 - gnome-3-38-2004-sdk=171
 - gnome-3-38-2004=140
 - gtk-common-themes=1535
Downloading firefox amd64 from channel stable (r2800) to cache directory
Unpackaging
Downloading firefox amd64 from channel candidate (r2838) to cache directory
Unpackaging

Changes to the snap manifest

Size of the old snap: 244.5 MiB
Size of the new snap: 245.0 MiB

Number of files changed (use -d to have the details)
148

No file removed

No file added
github-actions[bot] commented 1 year ago

Closing the bug since the revision isn't in the candidate channel anymore