GNU bug report logs - #61359
mozjs captures perl reference in its binary

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: Maxim Cournoyer <maxim.cournoyer@HIDDEN>; dated Wed, 8 Feb 2023 02:44:02 UTC; Maintainer for guix is bug-guix@HIDDEN.
Changed bug title to 'mozjs captures perl reference in its binary' from 'mozjs captures perl reference in it binary' Request was from Maxim Cournoyer <maxim.cournoyer@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

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


Received: (at submit) by debbugs.gnu.org; 8 Feb 2023 02:43:38 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Feb 07 21:43:38 2023
Received: from localhost ([127.0.0.1]:54397 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1pPaQs-0005nT-Fi
	for submit <at> debbugs.gnu.org; Tue, 07 Feb 2023 21:43:38 -0500
Received: from lists.gnu.org ([209.51.188.17]:49956)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <maxim.cournoyer@HIDDEN>) id 1pPaQq-0005nI-Jv
 for submit <at> debbugs.gnu.org; Tue, 07 Feb 2023 21:43:36 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <maxim.cournoyer@HIDDEN>)
 id 1pPaQq-0004FF-8z
 for bug-guix@HIDDEN; Tue, 07 Feb 2023 21:43:36 -0500
Received: from mail-qt1-x829.google.com ([2607:f8b0:4864:20::829])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <maxim.cournoyer@HIDDEN>)
 id 1pPaQo-0000F6-Mq
 for bug-guix@HIDDEN; Tue, 07 Feb 2023 21:43:36 -0500
Received: by mail-qt1-x829.google.com with SMTP id z5so19393352qtn.8
 for <bug-guix@HIDDEN>; Tue, 07 Feb 2023 18:43:33 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
 h=mime-version:message-id:date:subject:to:from:from:to:cc:subject
 :date:message-id:reply-to;
 bh=Wu2acSwJT/U4/D4DfIOLp17vYr23VrLbJA+Wwnzyq6I=;
 b=qNAxS2ztRd1j2D7QFxlBhzYqkvBKM8oNdvPkMm379rmlTVf39uscX5lB/jgiL2wLlV
 9yLkHWUoYjMsGi+XmaQPmA1NyZ52Znxh4Tol5+dcmjxQktgUGDnYE4AFLNGXTNmdJrPw
 0W2TQGJuY/DaHhcJvOM7qPomsweFJSLX9F1Qc3KgutmXgu4wjVtAC13JFt75lwVsSg1X
 Nj7f/r15KfZeQ5vtDoL17K1aKvUv4PyGnSTT7V63gLuqq0aL1bwaAVj4HMbe1rWScz0R
 s7xrwfkD5z51GJqXzNALJvo821T/oZ+ZQeJnTlGffE9cV+rXFvcNDAZz2/SwiWe2hvGf
 QG/A==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=mime-version:message-id:date:subject:to:from:x-gm-message-state
 :from:to:cc:subject:date:message-id:reply-to;
 bh=Wu2acSwJT/U4/D4DfIOLp17vYr23VrLbJA+Wwnzyq6I=;
 b=ma/QHOy9xlRE9HiJFR0GRyL5bEflWLkVopoT0MZunqjhTzfK/dwwrYlyRUrr7qBWyG
 N6cvqkaH2J8qWPNrOmS9mYEP2Vm58XBwHr4y2OygbUMXnok0os90ZS55CdSvxsO7DOst
 cEwGF3siqm+1DzMYESCOTAYeTa8Z8p6xVawCerAyUg+1vZpM9RPDAZ1VaBFmE+b8aoIg
 0xYc07aLcC8rox3paDK3UUV/Lt6P7G/GBktdC1r4m/PQg7yj5yj+TE0x4hkcUsCP/Dg7
 FoKReNrtx7bmBhPDR2dVQAMekmpwF9RtYZEASV0sU+VRYWXiCrlgj07mHxGjoBpuPg3w
 T4Fg==
X-Gm-Message-State: AO0yUKVtGDfa3IJe+7ZiW9owlmekBAwUnxgzmu8sHbrFOuTRv3fdDLcK
 GkKSA8gLAuj5dyeKhpfYApsSrH5+asFvuA==
X-Google-Smtp-Source: AK7set+DTnjv3Z6jKsnWkEwe2VunlDaild2YkX2bv2n5PYQoKJsTPpHV3+efFKokZPdiDcjopsIkiA==
X-Received: by 2002:ac8:7d08:0:b0:3ba:3409:4860 with SMTP id
 g8-20020ac87d08000000b003ba34094860mr8969106qtb.4.1675824212816; 
 Tue, 07 Feb 2023 18:43:32 -0800 (PST)
Received: from hurd (dsl-10-128-129.b2b2c.ca. [72.10.128.129])
 by smtp.gmail.com with ESMTPSA id
 b13-20020ac85bcd000000b003b68d445654sm10653378qtb.91.2023.02.07.18.43.32
 for <bug-guix@HIDDEN>
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Tue, 07 Feb 2023 18:43:32 -0800 (PST)
From: Maxim Cournoyer <maxim.cournoyer@HIDDEN>
To: bug-guix <bug-guix@HIDDEN>
Subject: mozjs captures perl reference in it binary
Date: Tue, 07 Feb 2023 21:43:31 -0500
Message-ID: <875ycclvvw.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
Received-SPF: pass client-ip=2607:f8b0:4864:20::829;
 envelope-from=maxim.cournoyer@HIDDEN; helo=mail-qt1-x829.google.com
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001,
 RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.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: -2.3 (--)

Hello Guix,

Mozjs appears to keep a refrence to perl (a build input) in its output:

--8<---------------cut here---------------start------------->8---
grep: /gnu/store/c4j4a6qc256dvgnzwjzvzwca0ffgic5x-mozjs-102.2.0/lib/libmozjs-102.so: binary file matches
grep: /gnu/store/c4j4a6qc256dvgnzwjzvzwca0ffgic5x-mozjs-102.2.0/lib/libjs_static.ajs: binary file matches
--8<---------------cut here---------------end--------------->8---

And:

--8<---------------cut here---------------start------------->8---
$ ./pre-inst-env guix size mozjs
store item                                                       total    self
/gnu/store/cbyf9yv9zkqzqb8arflnigccj10h9r12-mozjs-102.2.0          264.8    67.2  25.4%
/gnu/store/hy6abswwv4d89zp464fw52z65fkzr7h5-perl-5.34.0            147.7    58.6  22.1%
/gnu/store/b0xl3iqgc7fs68f2kfdyydsdxs77jqph-icu4c-71.1             112.5    39.8  15.0%
/gnu/store/5h2w4qi9hk1qzzgi1w83220ydslinr4s-glibc-2.33              38.3    36.6  13.8%
/gnu/store/094bbaq6glba86h1d4cj16xhdi6fk2jl-gcc-10.3.0-lib          71.7    33.4  12.6%
/gnu/store/vqdsrvs9jbn0ix2a58s99jwkh74124y5-coreutils-minimal-8.32    88.0    16.4   6.2%
/gnu/store/9rrnm5hdjw7cy96a2a9rfgh6y08wsbmf-ncurses-6.2.20210619    77.6     5.9   2.2%
/gnu/store/720rj90bch716isd8z7lcwrnvz28ap4y-bash-static-5.1.8        1.7     1.7   0.6%
/gnu/store/rrid5nx9cbrq0flkhc1rv4b5hk4w70ib-nspr-4.34              150.3     1.6   0.6%
/gnu/store/wcwls45278gzpjvwlvrrs1y7h30g44xh-readline-8.1.1          79.0     1.4   0.5%
/gnu/store/chfwin3a4qp1znnpsjbmydr2jbzk0d6y-bash-minimal-5.1.8      72.7     1.0   0.4%
/gnu/store/4y5m9lb8k3qkb1y9m02sw9w9a6hacd16-bash-minimal-5.1.8      39.3     1.0   0.4%
/gnu/store/8qv5kb2fgm4c3bf70zcg9l6hkf3qzpw9-zlib-1.2.11             71.9     0.2   0.1%
total: 264.8 MiB
--8<---------------cut here---------------end--------------->8---

It'd be nice to understand how to prevent this from happening.

-- 
Thanks,
Maxim




Acknowledgement sent to Maxim Cournoyer <maxim.cournoyer@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guix@HIDDEN. Full text available.
Report forwarded to bug-guix@HIDDEN:
bug#61359; 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, 9 Feb 2023 17:00:02 UTC

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