From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 6CpsIastU2ATBQAA0tVLHw (envelope-from ) for ; Thu, 18 Mar 2021 10:38:35 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id IJgWHastU2D6EQAAbx9fmQ (envelope-from ) for ; Thu, 18 Mar 2021 10:38:35 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id D9FA522801 for ; Thu, 18 Mar 2021 11:38:34 +0100 (CET) Received: from localhost ([::1]:34212 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lMq2z-0005CI-63 for larch@yhetil.org; Thu, 18 Mar 2021 06:38:33 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59186) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lMq2U-00058n-WB for bug-guix@gnu.org; Thu, 18 Mar 2021 06:38:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:33635) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lMq2U-0001AW-Mw for bug-guix@gnu.org; Thu, 18 Mar 2021 06:38:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lMq2U-0007m0-K3 for bug-guix@gnu.org; Thu, 18 Mar 2021 06:38:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#47228: Check binary consistency after grafting with e.g. ldd Resent-From: =?UTF-8?Q?L=C3=A9o?= Le Bouter Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 18 Mar 2021 10:38:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 47228 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 47228@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.161606382929818 (code B ref -1); Thu, 18 Mar 2021 10:38:02 +0000 Received: (at submit) by debbugs.gnu.org; 18 Mar 2021 10:37:09 +0000 Received: from localhost ([127.0.0.1]:45181 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lMq1c-0007kr-Tv for submit@debbugs.gnu.org; Thu, 18 Mar 2021 06:37:09 -0400 Received: from lists.gnu.org ([209.51.188.17]:34520) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lMq1b-0007kj-U2 for submit@debbugs.gnu.org; Thu, 18 Mar 2021 06:37:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59008) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lMq1b-0004cH-MW for bug-guix@gnu.org; Thu, 18 Mar 2021 06:37:07 -0400 Received: from mail.zaclys.net ([178.33.93.72]:54355) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lMq1Z-0000bh-Fd for bug-guix@gnu.org; Thu, 18 Mar 2021 06:37:07 -0400 Received: from [192.168.0.27] (82-64-145-38.subs.proxad.net [82.64.145.38]) (authenticated bits=0) by mail.zaclys.net (8.14.7/8.14.7) with ESMTP id 12IAb1i9022433 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Thu, 18 Mar 2021 11:37:02 +0100 DMARC-Filter: OpenDMARC Filter v1.3.2 mail.zaclys.net 12IAb1i9022433 Authentication-Results: mail.zaclys.net; spf=fail smtp.mailfrom=lle-bout@zaclys.net DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zaclys.net; s=default; t=1616063822; bh=j6JcH1wi6N04VXmLvCXPJzDbubvvFsbD5Y3DYDd4AC0=; h=Subject:From:To:Date:From; b=lMZatqNRetEcovEtXD9x6ycrBsbpHTGfyMZFd/F4qRW5oMgSKgncI1YNDV6OfpA2L sclleQUtt22gbQOUKszarpOPFr1EVR76sBVaxyjoaDQM7lNlfZHNTEmC+XqY4FvGJR jU67uHB4VNdTchWWxWm2GZwQz2fhd8mC6UD6AZBw= Message-ID: <22d6fde28a4646254061f56c342fb75d2a2846d9.camel@zaclys.net> Date: Thu, 18 Mar 2021 11:37:01 +0100 Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-hXQN/CqgR0njEMbkFqNK" User-Agent: Evolution 3.34.2 MIME-Version: 1.0 Received-SPF: pass client-ip=178.33.93.72; envelope-from=lle-bout@zaclys.net; helo=mail.zaclys.net 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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" Reply-to: =?UTF-8?Q?L=C3=A9o?= Le Bouter From: =?UTF-8?Q?L=C3=A9o?= Le Bouter via Bug reports for GNU Guix X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1616063915; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:list-id:list-help:list-unsubscribe:list-subscribe: list-post:dkim-signature; bh=j6JcH1wi6N04VXmLvCXPJzDbubvvFsbD5Y3DYDd4AC0=; b=ObiQ01RapPLSyM0MgEym7RudlRlTBRhf3tKvXVBPbLhwZilR3Yv2T5kWnuC3vHOzkEfhIT CF4yuutKkBYkcvrr3Tl3UAvVMggwhUkt4L3T0JEcm9w409J6FAvlBfGqach33n/zNyVD2m pySBuOwwyVMkAxU9mcrqtGxu0TvIUk/1K6tMrrLu4aBwQsrT729dmFrC+OtN9hYMS5+D0r Tl2JhdeQ9q5gvalun89zHK8DTJH1HQZSr1RaWazfce0ER5AvvsgSIekGEl1T/ujrL3YIRv fPADd53LB5lDoeO9vhy9rXQw0gZezRyc3G8JRjNtrJLFZ8yrI1c2b4Hog6G7gg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1616063915; a=rsa-sha256; cv=none; b=PIsIskn3/bolzM6RlnY9UM+Vq68zdlD1vMIpPxrLB/YN0QTIv65nknTuXqUVAX0LPXrhNV aIiJEEBbli8V3AnkwMtPsGEzxyD0BDT7fZTnFVMhybCqNdCq3xQd29BWTDlt4ueDQK91Yd PlPFR9a4wCl8AHw7C+kkY86rXERG/br58PpXFzmy1T2Yg5XVCTRI4/n57elLUE5/Un+i+S P3HFiIAWDOOfwgVGd/20ZU8bqShBcQNN80FCOfgRwqHm7YES9PfI+Ckx+UxgAGpnI4PkKo mp5rBiohfKa1GiRgElOOJsU2G+sZWxt/B2GiwBmRVDul57q8RumJxTOJ8DAwEA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=zaclys.net header.s=default header.b=lMZatqNR; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Spam-Score: -5.00 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=zaclys.net header.s=default header.b=lMZatqNR; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Queue-Id: D9FA522801 X-Spam-Score: -5.00 X-Migadu-Scanner: scn0.migadu.com X-TUID: 54yy63UR4hdY --=-hXQN/CqgR0njEMbkFqNK Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hello! We had an issue after grafting ImageMagick fixed by < https://git.savannah.gnu.org/cgit/guix.git/commit/?id=3D2e0ff59f0cd836b156f= 1ef2e78791d864ce3cfcd >. Basically Inkscape did not work because ImageMagick's soname had been bumped (probably for forward compat?): /gnu/store/g75q5v1gqi4x08qcf1ydfl9xhp4slmxy-inkscape- 1.0.2/bin/.inkscape-real: error while loading shared libraries: libMagickCore-6.Q16.so.6: cannot open shared object file: No such file or directory It seems technically possible to automatically check for this kind of breakage, therefore I suggest we run ldd (might actually run code from the binary) or objdump -x (pure static analysis), so after grafting we could check that every binary can load all it's dependents declared in the ELF headers successfully and report errors if not? What do you think? L=C3=A9o --=-hXQN/CqgR0njEMbkFqNK Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEFIvLi9gL+xax3g6RRaix6GvNEKYFAmBTLU0ACgkQRaix6GvN EKZJrg//Wdostj078M1GrVVw5Zi0WBgqQp2GEk10TE0a3gwmbcqOEjwzR1kk7lRc ic4UqVVkhT/gu+89B3d+MXc1c9I/etHqZfAZmrBzNso26zi5qsmL2V/HA82KdQRE fAO7ijsgavQoZ+8m/+k8oE7frlEkUqeTx57ZL++XQByOMGVK+Q+VRmPTt0Uej3MA Um1GqmOaA44W/Bbec6rf0lNKQ08v1kCGDbDRRqDrzkT4apiA/wYgYgCkS9JWKL0I tQaAbgSJj3AygHQwgZX/SGjFk3ZjdwnX0YHOfwg6VTLLT1KYdxJPy4EkYE+cVQ5M v1mdMN9t0hJIgb3nWLs3Jha46WpTBPf2U7v2/kbH/HbD0FaZdrFV82k7gm8eh1l0 neOyiEi19dtZr2OqCuobl6DhsQZndA7RD4+UtenMbVu5wQfX3bZiO+RuHIijPTs3 jBd39RIfPfzJQ+80A+x7QxBX1bIy8yKCvWIOBtC/YQ5uo25XX/QhA9x2tHQvTbPF frtLwRGXtmS6hR824fL1oBQnWwm8JCvodU80PqSnCEhBqR6dX1OeNZPx7ucGgJ7m LKFg7GgkziEYgv1RhV/uqF2bonXdgSQEV6ZDsqCOQledxB/DxQB+z6uw8DKiLldy gPhZ+ZgiDoRTmLXCmMqkTrI8IigpN0ARkkUcTdhp21bnfUWQ1oM= =Getz -----END PGP SIGNATURE----- --=-hXQN/CqgR0njEMbkFqNK--