Your message dated Wed, 23 Oct 2024 19:47:55 +0100
with message-id <zxle2xrqughca...@remnant.pseudorandom.co.uk>
and subject line Re: Bug#1085890: loupe: FTBFS on i386: rustc-LLVM ERROR: out
of memory; Couldn't compile the test
has caused the Debian Bug report #1085890,
regarding loupe: FTBFS on i386: rustc-LLVM ERROR: out of memory; Couldn't
compile the test
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 ow...@bugs.debian.org
immediately.)
--
1085890: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1085890
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: loupe
Version: 47.0-1
Severity: serious
Tags: ftbfs
Justification: fails to build from source (but built successfully in the past)
X-Debbugs-Cc: debian-r...@lists.debian.org, b...@debian.org
Control: block 1085885 by -1
User: debian...@lists.debian.org
Usertags: i386
loupe failed to build from source on i386:
https://buildd.debian.org/status/fetch.php?pkg=loupe&arch=i386&ver=47.0-3&stamp=1728056118&raw=0
> running 2 tests
> test src/util/gettext.rs - util::gettext::apply_unicode_escapes (line 46) ...
> FAILED
> test src/util/gettext.rs - util::gettext::hex_to_char (line 83) ... FAILED
>
> failures:
>
> ---- src/util/gettext.rs - util::gettext::apply_unicode_escapes (line 46)
> stdout ----
> rustc-LLVM ERROR: out of memory
> Allocation failed
> Couldn't compile the test.
> ---- src/util/gettext.rs - util::gettext::hex_to_char (line 83) stdout ----
> rustc-LLVM ERROR: out of memory
> Allocation failed
> Couldn't compile the test.
This seems to be repeatable: the build of 47.0-3 was retried a couple of
times and it fails like this every time. 47.0-1 and -2 had what appears
to be the same issue.
I think the most recent version that built successfully on i386, 46.2-2,
might not have had a test suite at all?
47.0-1 appears to have had the same symptom on armel and armhf, our only
other 32-bit architectures where loupe's build-dependencies are available,
and that was addressed by disabling LTO on those architectures. If
the problem is that the buildd ran out of virtual address space, then
it's going to affect every 32-bit architecture equally, so perhaps this
workaround needs to be extended to all 32-bit architectures? That would
look something like:
-ifneq (,$(filter armel armhf,$(DEB_HOST_ARCH)))
+ifeq ($(DEB_HOST_ARCH_BITS),32)
(Or perhaps the Rust team could arrange for rustc/dh_cargo to disable
memory-hungry optimizations like LTO in all 32-bit builds automatically?)
This is preventing the current version of loupe from migrating to testing
(#1085885).
Thanks,
smcv
--- End Message ---
--- Begin Message ---
Version: 47.1-1
On Wed, 23 Oct 2024 at 11:00:19 +0100, Simon McVittie wrote:
> perhaps [the workaround of disabling LTO]
> needs to be extended to all 32-bit architectures?
loupe (47.1-1) unstable; urgency=medium
.
* New upstream release
* d/rules: Simplify, use only default dpkg include
* d/rules: Simplify disabling of lto on 32-bit arches (Closes: #1085885)
* d/copyright: Update for new upstream release
* d/p/patch-meson-build.diff: Skip doctests in Cargo.toml, too
has successfully built on i386.
smcv
--- End Message ---