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>; Done: 宋文武 <iyzsong@HIDDEN>; Maintainer for guix is bug-guix@HIDDEN.

Message received at 57677-done <at> debbugs.gnu.org:


Received: (at 57677-done) by debbugs.gnu.org; 23 Mar 2024 11:28:07 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Mar 23 07:28:07 2024
Received: from localhost ([127.0.0.1]:48182 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1rnzXj-0005du-8u
	for submit <at> debbugs.gnu.org; Sat, 23 Mar 2024 07:28:07 -0400
Received: from mail.envs.net ([5.199.136.28]:39906)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <iyzsong@HIDDEN>) id 1rnzXh-0005df-4T
 for 57677-done <at> debbugs.gnu.org; Sat, 23 Mar 2024 07:28:06 -0400
Received: from localhost (mail.envs.net [127.0.0.1])
 by mail.envs.net (Postfix) with ESMTP id 5FB5138A0756
 for <57677-done <at> debbugs.gnu.org>; Sat, 23 Mar 2024 11:27:23 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=envs.net; s=modoboa;
 t=1711193243; bh=tEosu5t7GcP6SJlKl7ShknKv+9agbG3Xya27fhA5NNw=;
 h=From:To:Subject:In-Reply-To:References:Date:From;
 b=Z1cbI8eQLvi8v4dx6a1qikObN/gcU+/L4hmuH3kb5j14mxtQcC1Oq45CZ7UoRJm4L
 Lo/UvoaM9u0TgKPt+BI6F8gauZHfFVkCmdxlF25AHNybnc62Fnqm7Z2WiTC75LloTd
 UQ/LBdxKiQKoGk5zfw95lOY/pB5HVw2Zm7FMZ+gV/i2bgFkzBIrAX2a7T7eLEL8KYf
 oE1gRCGP6DfnT+ZgM1443XPGV7qH685AbJWmgKeJJz75CkUQcBPGbENzbtjxck1Zdl
 eM3+ctNJHn8L8bDkPff+uWtbWTT1zKzqK7wtCvfeFoTEnXqeQPAAKgqvbkFURfxy6s
 9YFVgKV2TKelPoTFs0W09xLiorYy6Gn2u5LqpAhtavN1N3ayIt43ntyBQQFS1mU1/P
 SsvvxdwIha7BKVSW9fxkc89snUHNE8+E070O39czpfphxbA0BktPOSI8EEnTuVOzXO
 xlhIvol7Sesv7YWN1alVM/hmwJowSL3RlhqnnWg9+vK6y9xjVXbU3fyv21x5Sd3kWt
 04d5qMu+LA85VrYRWxvtnGzFdGOzJgYkkYqE1a4B9V9F+tmzF5VEB7elUq/+r7gUv6
 a/+Ei8GhM+8a/jM1wwd+QdEMjeiuMIOqQJ3ZW8xQZWou9QgHEQhbX1RHpsUNQn/usX
 /u3JkbpIxQLmLX+kqwatdxFg=
X-Virus-Scanned: Debian amavisd-new at mail.envs.net
Received: from mail.envs.net ([127.0.0.1])
 by localhost (mail.envs.net [127.0.0.1]) (amavisd-new, port 10026)
 with ESMTP id sz10AEo6PTP6 for <57677-done <at> debbugs.gnu.org>;
 Sat, 23 Mar 2024 11:27:21 +0000 (UTC)
Received: from localhost (unknown [36.170.45.227])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
 key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest
 SHA256) (No client certificate requested)
 by mail.envs.net (Postfix) with ESMTPSA
 for <57677-done <at> debbugs.gnu.org>; Sat, 23 Mar 2024 11:27:20 +0000 (UTC)
Received: from localhost (localhost [local])
 by localhost (OpenSMTPD) with ESMTPA id fc9083b1
 for <57677-done <at> debbugs.gnu.org>;
 Sat, 23 Mar 2024 11:27:55 +0000 (UTC)
From: =?utf-8?B?5a6L5paH5q2m?= <iyzsong@HIDDEN>
To: 57677-done <at> debbugs.gnu.org
Subject: Re: bug#57677: GIMP retains reference to GCC
In-Reply-To: <87o7vqggez.fsf@HIDDEN> ("Ludovic =?utf-8?Q?Court=C3=A8s=22'?=
 =?utf-8?Q?s?= message of "Thu, 08 Sep 2022 15:11:00 +0200")
References: <87o7vqggez.fsf@HIDDEN>
Date: Sat, 23 Mar 2024 19:27:54 +0800
Message-ID: <871q81dw79.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 57677-done
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: -1.0 (-)


Fixed in commit b099e5e98033, forgot to close.




Notification sent to Ludovic Courtès <ludo@HIDDEN>:
bug acknowledged by developer. Full text available.
Reply sent to 宋文武 <iyzsong@HIDDEN>:
You have taken responsibility. Full text available.

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


Received: (at 57677) by debbugs.gnu.org; 8 Feb 2023 07:13:26 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Feb 08 02:13:26 2023
Received: from localhost ([127.0.0.1]:54575 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1pPedx-00050J-NS
	for submit <at> debbugs.gnu.org; Wed, 08 Feb 2023 02:13:25 -0500
Received: from mail.envs.net ([5.199.136.28]:38846)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <iyzsong@HIDDEN>) id 1pPedw-00050A-0l
 for 57677 <at> debbugs.gnu.org; Wed, 08 Feb 2023 02:13:24 -0500
Received: from localhost (mail.envs.net [127.0.0.1])
 by mail.envs.net (Postfix) with ESMTP id 2022038A04F4;
 Wed,  8 Feb 2023 07:13:22 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=envs.net; s=modoboa;
 t=1675840402; bh=506Gk8aFdmq7UOCzXSZbW2fj2s+oUCJi5vi6OG5sfhc=;
 h=From:To:Cc:Subject:References:Date:In-Reply-To:From;
 b=jmSjowU/ap1W9ZjId3Pc92xaDzTeDpkt6waTP7Wzqqh1Mme8zpKelKiWYUUXNkWIT
 zo+p/1arl3cbBfzC+HPhZerXyaXEkw94BQCwTuk0x42EVzfRtbWpvtI7/i5r6/2lXl
 eBjAnmJpt1dZaEPzsLlB0nV/aPJPvux5Bo9GfYdzRK3GCRszOQ4gF0lTLNuQAgRh0g
 yo/e2f1p6CH0Sxyab0dWDA0OAXcF5v3A5XNeyN3WAxYZbScun1OcyPj4j1wpa45E+j
 qPpQFJ+yzFi612VNmPiEsHn5dsKKHZng0eQHcibnaMg2zBGjFKWQZhyLvONpfnafq7
 48ohOtZU/0BNxH4keMQbf9LaDMK6V+vA40ywE1yFzMU7rMfjPTP6ivsA29gDxwEN57
 2/DadqFyLZx47+GQG3/Y6CQMfCKU6ZeZFym8fziiO+DUQmx40NNq+zy8fiLuQ1Iz8u
 Urw7Pmdp5eWdWJEabkWo5N42yf7/+dqEZaG/g9LSFSHFVaUGwLsEMwmEghUoExJEsv
 iVbfHxuyXLSg4BCdjuroZyGOsXjLf9GHdwS073x2KADoIqO3N3/qFyEpbZ3d95BtG8
 J8lwqXsJ31K9sjenG7lorWnNQZKdzas/gt/828h9ekRv7F8JmEsvj0ZpYLd36j8Y74
 m+GhYw7am/j3c2gjS1FVtrE8=
X-Virus-Scanned: Debian amavisd-new at mail.envs.net
Received: from mail.envs.net ([127.0.0.1])
 by localhost (mail.envs.net [127.0.0.1]) (amavisd-new, port 10026)
 with ESMTP id nIhPGqzN98MJ; Wed,  8 Feb 2023 07:13:19 +0000 (UTC)
Received: from localhost (unknown [182.150.116.135])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
 key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest
 SHA256) (No client certificate requested)
 by mail.envs.net (Postfix) with ESMTPSA;
 Wed,  8 Feb 2023 07:13:19 +0000 (UTC)
Received: from localhost (localhost [local])
 by localhost (OpenSMTPD) with ESMTPA id 31459587;
 Wed, 8 Feb 2023 07:13:39 +0000 (UTC)
From: =?utf-8?B?5a6L5paH5q2m?= <iyzsong@HIDDEN>
To: Ludovic =?utf-8?Q?Court=C3=A8s?= <ludo@HIDDEN>
Subject: Re: bug#57677: GIMP retains reference to GCC
References: <87o7vqggez.fsf@HIDDEN>
Date: Wed, 08 Feb 2023 15:13:39 +0800
In-Reply-To: <87o7vqggez.fsf@HIDDEN> ("Ludovic =?utf-8?Q?Court=C3=A8s=22'?=
 =?utf-8?Q?s?= message of "Thu, 08 Sep 2022 15:11:00 +0200")
Message-ID: <87h6vwfx3w.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 57677
Cc: 57677 <at> debbugs.gnu.org
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: -1.0 (-)

Ludovic Court=C3=A8s <ludo@HIDDEN> writes:

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

I sent a patch to fix reference from 'gcc -v', but gcc is still here via
exiv2->gcc:

rg -a /gnu/store/069aq2v993kpc41yabp5b6vm4wb9jkhg-gcc-10.3.0 $(guix build e=
xiv2)

--8<---------------cut here---------------start------------->8---
bin/iptcprint:^@^@^@std::auto_ptr< <template-parameter-1-1> >::element_type=
* std::auto_ptr< <template-parameter-1-1> >::operator->() const [with _T
p =3D Exiv2::Image; std::auto_ptr< <template-parameter-1-1>>::element_type =
=3D
Exiv2::Image]^@^@^@^@^@^@^@^@/gnu/store/069aq2v993kpc41yabp5b6vm4wb9jkhg-gc=
c-10.3.0/include/c++/backward/auto_ptr.h^@^@%s:%d:
%s: Assertion '%s' failed.
[...]
--8<---------------cut here---------------end--------------->8---




Information forwarded to bug-guix@HIDDEN:
bug#57677; Package guix. Full text available.

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: Sat, 23 Mar 2024 11:30:02 UTC

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