Your message dated Sat, 29 Jul 2023 10:59:15 +0000
with message-id <[email protected]>
and subject line Bug#1042401: fixed in sccache 0.5.4-3
has caused the Debian Bug report #1042401,
regarding sccache FTBFS multiple issues
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1042401: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1042401
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: sccache
Version: 0.5.4
Severity: serious

sccache has a couple of FTBFS issues.

The first is that a couple of dependencies have been updated, dealing
with this is a simple matter of dropping patches and updating
dependencies.

The second is that the build runs out of address space on mipsel.
The workaround seems to be to use "thin" lto rather than full
lto. Unfortunately i'm not aware of a good way to do this other
than editing Cargo.toml. I did so with sed in debian/rules,
conditioned behind architecture conditionals.

Debdiff attatched, I may or may not NMU this later.
diff -Nru sccache-0.5.4/debian/changelog sccache-0.5.4/debian/changelog
--- sccache-0.5.4/debian/changelog      2023-07-05 18:31:19.000000000 +0000
+++ sccache-0.5.4/debian/changelog      2023-07-25 23:06:38.000000000 +0000
@@ -1,3 +1,14 @@
+sccache (0.5.4-2.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Drop patch 2023 and update debian dependency, directories 5.x is now in
+    Debian.
+  * Drop patch 2016 and update debian dependency, daemonise 0.5 is now in
+    Debian.
+  * Use thin lto on mipsel to avoid running out of address space.
+
+ -- Peter Michael Green <[email protected]>  Tue, 25 Jul 2023 23:06:38 +0000
+
 sccache (0.5.4-2) unstable; urgency=medium
 
   * drop patch 2019, obsoleted by Debian package updates
diff -Nru sccache-0.5.4/debian/control sccache-0.5.4/debian/control
--- sccache-0.5.4/debian/control        2023-06-27 13:20:11.000000000 +0000
+++ sccache-0.5.4/debian/control        2023-07-25 23:06:38.000000000 +0000
@@ -22,8 +22,8 @@
  librust-chrono-0.4+default-dev,
  librust-clap-4+default-dev,
  librust-counted-array-0.1+default-dev,
- librust-daemonize-0.4+default-dev,
- librust-directories-4+default-dev,
+ librust-daemonize-0.5+default-dev,
+ librust-directories-5+default-dev,
  librust-env-logger-0.9+default-dev,
  librust-encoding-0.2+default-dev,
  librust-filetime-0.2+default-dev,
diff -Nru sccache-0.5.4/debian/patches/2016_daemonize.patch 
sccache-0.5.4/debian/patches/2016_daemonize.patch
--- sccache-0.5.4/debian/patches/2016_daemonize.patch   2023-06-27 
13:26:13.000000000 +0000
+++ sccache-0.5.4/debian/patches/2016_daemonize.patch   1970-01-01 
00:00:00.000000000 +0000
@@ -1,17 +0,0 @@
-Description: relax dependency on crate daemonize
- Needed to match Debian-packaged daemonize v0.4.1.
-Author: Jonas Smedegaard <[email protected]>
-Last-Update: 2023-05-21
----
-This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
---- a/Cargo.toml
-+++ b/Cargo.toml
-@@ -108,7 +108,7 @@
- serial_test = ">= 0.9, < 3"
- 
- [target.'cfg(unix)'.dependencies]
--daemonize = "0.5"
-+daemonize = ">= 0.4, < 0.6"
- 
- [features]
- all = [
diff -Nru sccache-0.5.4/debian/patches/2023_directories.patch 
sccache-0.5.4/debian/patches/2023_directories.patch
--- sccache-0.5.4/debian/patches/2023_directories.patch 2023-07-05 
18:31:19.000000000 +0000
+++ sccache-0.5.4/debian/patches/2023_directories.patch 1970-01-01 
00:00:00.000000000 +0000
@@ -1,17 +0,0 @@
-Description: relax dependency on crate directories
- Needed to match Debian-packaged directories v4.0.1.
-Author: Jonas Smedegaard <[email protected]>
-Last-Update: 2023-05-21
----
-This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
---- a/Cargo.toml
-+++ b/Cargo.toml
-@@ -33,7 +33,7 @@
- byteorder = "1.0"
- bytes = "1"
- clap = { version = "4.1.11", features = ["derive", "env", "wrap_help"] }
--directories = "5.0.0"
-+directories = ">= 4, < 6"
- encoding = "0.2"
- env_logger = ">= 0.9, < 0.11"
- filetime = "0.2"
diff -Nru sccache-0.5.4/debian/patches/series 
sccache-0.5.4/debian/patches/series
--- sccache-0.5.4/debian/patches/series 2023-07-04 08:18:27.000000000 +0000
+++ sccache-0.5.4/debian/patches/series 2023-07-25 23:06:38.000000000 +0000
@@ -15,9 +15,7 @@
 2013_is-terminal.patch
 2014_hyper.patch
 2015_uuid.patch
-2016_daemonize.patch
 2017_memmap2.patch
 2018_regex.patch
 2021_chrono.patch
 2022_reqwest_trust-dns.patch
-2023_directories.patch
diff -Nru sccache-0.5.4/debian/rules sccache-0.5.4/debian/rules
--- sccache-0.5.4/debian/rules  2023-07-05 18:31:19.000000000 +0000
+++ sccache-0.5.4/debian/rules  2023-07-25 23:06:38.000000000 +0000
@@ -26,6 +26,10 @@
        dh $@ --buildsystem cargo
 
 override_dh_auto_build:
+       #use thin rather than full lto on mipsel to avoid running out of 
address space.
+ifeq ($(DEB_HOST_ARCH),mipsel)
+       sed -i 's/lto = true/lto = "thin"/' Cargo.toml
+endif
        dh_auto_build --buildsystem cargo -- $(CARGO_BUILD_ARGS)
 
 # ensure ccache is not in use during tests
@@ -43,3 +47,8 @@
                --name "a fast C/C++/Rust compiler cache" \
                --output $@ $< \
                || { $< --help; false; }
+
+ifeq ($(DEB_HOST_ARCH),mipsel)
+execute_after_dh_auto_clean:
+       sed -i 's/lto = "thin"/lto = true/' Cargo.toml
+endif

--- End Message ---
--- Begin Message ---
Source: sccache
Source-Version: 0.5.4-3
Done: Jonas Smedegaard <[email protected]>

We believe that the bug you reported is fixed in the latest version of
sccache, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Jonas Smedegaard <[email protected]> (supplier of updated sccache package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sat, 29 Jul 2023 10:37:26 +0200
Source: sccache
Architecture: source
Version: 0.5.4-3
Distribution: unstable
Urgency: medium
Maintainer: Jonas Smedegaard <[email protected]>
Changed-By: Jonas Smedegaard <[email protected]>
Closes: 1042225 1042401
Changes:
 sccache (0.5.4-3) unstable; urgency=medium
 .
   * drop patches 2007 2013 2015 2016 2023,
     obsoleted by Debian package updates;
     update build-dependencies for crates daemonize directories;
     closes: bug#1042225, thanks to Lucas Nussbaum
   * update dh-cargo fork
   * use thin link-time optimization for weak arches,
     and drop other workarounds for those;
     closes: bug#1042401, thanks to Peter Green
   * update DEP-3 patch headers
Checksums-Sha1:
 e2f3f048bea12bd460c9fd6a528ef8571b9c9cb1 4379 sccache_0.5.4-3.dsc
 a24ffa31cdffe0d02866e5b3aa751341d74cd790 18624 sccache_0.5.4-3.debian.tar.xz
 181e023f98b1b696495a3c986e27be39979cc44e 22854 sccache_0.5.4-3_amd64.buildinfo
Checksums-Sha256:
 3a47f975cae8d1f92971d6ec6fbb228c2bca763a89b4f7f4117d2a12515d1cdd 4379 
sccache_0.5.4-3.dsc
 e3a2fbf181aa1442ef035ce9b6f078c1f9bf92d731245c9172cadc704be26793 18624 
sccache_0.5.4-3.debian.tar.xz
 3467bc84f076a1d55ab98d82427eaf62760ab6eb93d69edbecea7741c55b873b 22854 
sccache_0.5.4-3_amd64.buildinfo
Files:
 f7c7b6797e33c81f14e35b773f9b2d76 4379 devel optional sccache_0.5.4-3.dsc
 1e20cd6f2944c304cebeb4ab2a2a738c 18624 devel optional 
sccache_0.5.4-3.debian.tar.xz
 5ed086e9f8bdb51c5b77249eb79f8de8 22854 devel optional 
sccache_0.5.4-3_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEn+Ppw2aRpp/1PMaELHwxRsGgASEFAmTE34gACgkQLHwxRsGg
ASHTzQ/+PAmWM0wG2FZ282RoCOjSycQO/e8on7lSE30i2cnEUVY93hhnZamYHzaR
/fqN5M0CgG6UfYsv2xyuCoB4owW4aZk6IHjbwM272lowJqijRp/exLUNka23rTI7
Mf0ZkozvzZg7PfQYdH/Tp5BIe6IlJ2NDfaJUErpMobsd79TbVljGgvyDuzJTCKgs
1QbK8OraQhzw1mjHyNkwQDW3cjzUjaSIIVre8Vh549OeUlkCGkPJlhmxS2vDAEBp
RrrQ5J+laZvvxWoKra6fnK1krGktMT8E0JOKSi4A6Hs9sRkaOYpJ4dyRDi49LtkX
qb0UvrU7s8ECtJt8FMsAPfC5nwpE70Q1RdzK2yiKitZ5UUfl/yCL0XsWAhPq1wx+
2xMVtaQD01fsDjoDco46Qmvcsv57xNc7vMVz2hb5s2FQZ7KyB7044oezTZk0SO8a
//u1xtKrF8PRXUsxGXul5SAQZwl7DWDb4YUUw0p9FH8MvKyv+BIk/lK68Hwcu/qd
s0bgcMje2mC8NonfcXhUcWmON7WXzfK3atMBAhbIFxEOuqu7JYkpjw5Vpi8ZjhVZ
pVmpyztJrsl+JKZld4CcvloopSUsknqNAJW4Ps6l4E1Ab0nQr9lgUiMHgTmU461I
q/bN9wo7fIlX32ETE3gZ4a+eymHrdcIhejnDx/4uoPv2yJGsJls=
=T7hP
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to