GNU bug report logs - #57677
GIMP retains reference to GCC

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix; Reported by: Ludovic Courtès <ludo@HIDDEN>; dated Thu, 8 Sep 2022 13:12:02 UTC; Maintainer for guix is bug-guix@HIDDEN.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 8 Sep 2022 13:11:08 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Sep 08 09:11:08 2022
Received: from localhost ([127.0.0.1]:57651 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oWHJE-0003gc-Dx
	for submit <at> debbugs.gnu.org; Thu, 08 Sep 2022 09:11:08 -0400
Received: from lists.gnu.org ([209.51.188.17]:35780)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ludo@HIDDEN>) id 1oWHJ9-0003gM-Ri
 for submit <at> debbugs.gnu.org; Thu, 08 Sep 2022 09:11:07 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:55500)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ludo@HIDDEN>) id 1oWHJ9-0000hc-KN
 for bug-guix@HIDDEN; Thu, 08 Sep 2022 09:11:03 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:55072)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ludo@HIDDEN>) id 1oWHJ9-0007vH-95
 for bug-guix@HIDDEN; Thu, 08 Sep 2022 09:11:03 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=MIME-Version:Date:Subject:To:From:in-reply-to:
 references; bh=hZOWuQICs8o5gbE7mnSVhsRx2RzPuAiz8CA2w9T3vbs=; b=fqQ3kwLOX2J3p1
 Zn6w/l53a4jeYiaXNaa4am5T+yeJQHNICjmdwbIynVhWkg7Nyey0lrvaWYOsSuzeIWaBPX4XjUXsZ
 ATM0ZQMw40XX1uKgrTakq4Eiv3qz3dshVzEi8kGWVWl+WAdJRDUa6oe7OAdLRkdQ/W1YXw11AXxzD
 L2za7iPzGLnzdmczbqDsJBs3TB9FNlu2ytwYtAuSD4qBzURLA6kgCjZQKT33ZEgRcuv8xU6IjAkNk
 whuaxeW3Bq5EAC2NFNqlwddnjEN+y5f6fXcdfu4uz/f9Dv45McDKlgrhD6ucXJA8P24z7eAu4SkRa
 1+feRyqVp7glQWRDLCRQ==;
Received: from [2001:660:6102:320:e120:2c8f:8909:cdfe] (port=35646 helo=ribbon)
 by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ludo@HIDDEN>) id 1oWHJ8-0004S7-O9
 for bug-guix@HIDDEN; Thu, 08 Sep 2022 09:11:02 -0400
From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN>
To: bug-guix@HIDDEN
Subject: GIMP retains reference to GCC
Date: Thu, 08 Sep 2022 15:11:00 +0200
Message-ID: <87o7vqggez.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

From ca. commit 2183db8d2ab773f41e4320367645880b06959bfc:

--8<---------------cut here---------------start------------->8---
$ guix size gimp | head -4
store item                                                       total    s=
elf
/gnu/store/wdm2s2si8fqsrcd5xpc29ivmpkf20s8d-mesa-21.3.8            411.6   =
169.6  14.1%
/gnu/store/6pdzpmxg5afzss6dlivq8z84sfa31x22-llvm-11.0.0            221.5   =
149.5  12.4%
/gnu/store/069aq2v993kpc41yabp5b6vm4wb9jkhg-gcc-10.3.0             217.7   =
145.8  12.1%
$ guix graph --path -t references /gnu/store/m4s1ghyqp05irx8acz2mqa68lyclcs=
rz-gimp-2.10.32 /gnu/store/069aq2v993kpc41yabp5b6vm4wb9jkhg-gcc-10.3.0=20=20
/gnu/store/m4s1ghyqp05irx8acz2mqa68lyclcsrz-gimp-2.10.32
/gnu/store/069aq2v993kpc41yabp5b6vm4wb9jkhg-gcc-10.3.0
$ grep -r 069aq2v993kpc41yabp5b6vm4wb9jkhg /gnu/store/m4s1ghyqp05irx8acz2mq=
a68lyclcsrz-gimp-2.10.32
grep: /gnu/store/m4s1ghyqp05irx8acz2mqa68lyclcsrz-gimp-2.10.32/libexec/gimp=
-debug-tool-2.0: binary file matches
grep: /gnu/store/m4s1ghyqp05irx8acz2mqa68lyclcsrz-gimp-2.10.32/bin/gimp-con=
sole-2.10: binary file matches
grep: /gnu/store/m4s1ghyqp05irx8acz2mqa68lyclcsrz-gimp-2.10.32/bin/gimp-2.1=
0: binary file matches
$ strings /gnu/store/m4s1ghyqp05irx8acz2mqa68lyclcsrz-gimp-2.10.32/bin/gimp=
-console-2.10 | grep -C3  069aq2v993kpc41yabp5b6vm4wb9jkhg
GNU Image Manipulation Program
	Using built-in specs.
	COLLECT_GCC=3Dgcc
	COLLECT_LTO_WRAPPER=3D/gnu/store/069aq2v993kpc41yabp5b6vm4wb9jkhg-gcc-10.3=
.0/libexec/gcc/x86_64-unknown-linux-gnu/10.3.0/lto-wrapper
	Target: x86_64-unknown-linux-gnu
	Configured with:=20
	Thread model: posix
--8<---------------cut here---------------end--------------->8---

So the root cause is that GIMP=E2=80=99s build process captures the output =
of
=E2=80=98gcc -v=E2=80=99, which leads to this unintended retention.

Ludo=E2=80=99.




Acknowledgement sent to Ludovic Courtès <ludo@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guix@HIDDEN. Full text available.
Report forwarded to bug-guix@HIDDEN:
bug#57677; Package guix. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Thu, 8 Sep 2022 13:15:01 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.