From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id IMNmCx10aGKXwAAAbAwnHQ (envelope-from ) for ; Wed, 27 Apr 2022 00:37:17 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id 4NJ5Ch10aGJnXwAAG6o9tA (envelope-from ) for ; Wed, 27 Apr 2022 00:37:17 +0200 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 B07CF15F6E for ; Wed, 27 Apr 2022 00:37:16 +0200 (CEST) Received: from localhost ([::1]:53362 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1njTo3-0001UH-1P for larch@yhetil.org; Tue, 26 Apr 2022 18:37:15 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40084) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1njTnr-0001Tr-3n for bug-guix@gnu.org; Tue, 26 Apr 2022 18:37:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:46830) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1njTnq-00049E-Gn for bug-guix@gnu.org; Tue, 26 Apr 2022 18:37:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1njTnq-0003B7-EU for bug-guix@gnu.org; Tue, 26 Apr 2022 18:37:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#54728: [PATCH v2 2/2] gnu: valgrind: fix ld.so symbols not found Resent-From: Denis 'GNUtoo' Carikli Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 26 Apr 2022 22:37:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54728 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 54728@debbugs.gnu.org, ludo@gnu.org, maximedevos@telenet.be Received: via spool by 54728-submit@debbugs.gnu.org id=B54728.165101257212140 (code B ref 54728); Tue, 26 Apr 2022 22:37:02 +0000 Received: (at 54728) by debbugs.gnu.org; 26 Apr 2022 22:36:12 +0000 Received: from localhost ([127.0.0.1]:40718 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1njTn2-00039k-CU for submit@debbugs.gnu.org; Tue, 26 Apr 2022 18:36:12 -0400 Received: from cyberdimension.org ([80.67.179.20]:60816 helo=gnutoo.cyberdimension.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1njTmv-00039K-0H for 54728@debbugs.gnu.org; Tue, 26 Apr 2022 18:36:10 -0400 Received: from gnutoo.cyberdimension.org (localhost [127.0.0.1]) by cyberdimension.org (OpenSMTPD) with ESMTP id 7135eefe; Tue, 26 Apr 2022 22:29:49 +0000 (UTC) Received: from primary_laptop (localhost [::1]) by gnutoo.cyberdimension.org (OpenSMTPD) with ESMTP id f53ef4f2; Tue, 26 Apr 2022 22:29:49 +0000 (UTC) Date: Wed, 27 Apr 2022 00:37:17 +0200 From: Denis 'GNUtoo' Carikli Message-ID: <20220427003717.7106b97a@primary_laptop> In-Reply-To: <20220426013913.20117-3-GNUtoo@cyberdimension.org> References: <2d69d3b032cea71f038fad9bacd7d060d323c110.camel@telenet.be> <20220426013913.20117-1-GNUtoo@cyberdimension.org> <20220426013913.20117-3-GNUtoo@cyberdimension.org> X-Mailer: Claws Mail 4.0.0 (GTK+ 3.24.30; i686-pc-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/Y+ckcCOqyLwr6e5ba7j+kIg"; protocol="application/pgp-signature"; micalg=pgp-sha256 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" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1651012636; h=from:from:sender:sender: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:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post; bh=Z7DVipp0mQCFH1Yl/ZtcvtCKVA0QZar/Sces0RQWGKo=; b=KuPUwGd/dCWpszxCb4EzhDbOo2/mGyBqcT2X3qn6iqKMRP85kbZInvKoVkaPltr4IIlClL iF7YfLGM55BUPqIkDT1u8p1g0rNrbxwBAnmVB4aATbnZn37TOrp6++vjxXXFgKNOv1++7V Ojb4sZGAUkcecPVPgoFlM/My/oFam2YgeG7TWGNbon2/UZ76YBzV64nMhlsXHpoyNu8QIM 4rljkLVo3OThfIq/jnAZw7rGUM6xt0BRwxi5Hb6ypDkosSNXTPGMDU91WTO9w61pN8eYPy j9LRY3xOLBWCnA+AUlL+nlWAXzkJP+yyEUq4yXtef2+KWVHjkt2YQkXtjp5UiQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1651012636; a=rsa-sha256; cv=none; b=HtOSYhTXLqw6zzvtSrxl0y99gnLlBAgC1Z7XE2e2zz2UmiW8ogOEBOOOb4KZTzxMaNBmmU wC0RAx5wFcQH1pf5bQpkGjNxX9Bn4z97tqwN4qWWaClvHhevcJ7UlIBeiKsyStXyXlsIDY UOCVDQrQfOU2Tmw9SPuR44ORyTdXrjTNBNu0Q4BoDOTtjRsLOjiAxrRw0UMqm0q9+2t16e W7FqllRFaQSp4l5VJuASKEKIvmB2zFGOnmC9S/Kq2ng/3rsjptWf9cBLp5Vmi/GmZEHcUW ZHnKQNVGr8u3Cxmp5vLXjUHjhSTMzFF18E/ki4OYeBfPr6ohmrarigq17p+RDg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -4.60 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: B07CF15F6E X-Spam-Score: -4.60 X-Migadu-Scanner: scn1.migadu.com X-TUID: kHshIix9M12m --Sig_/Y+ckcCOqyLwr6e5ba7j+kIg Content-Type: multipart/mixed; boundary="MP_/ialc+p5Qr/Lb=tZ8Ukkz.P0" --MP_/ialc+p5Qr/Lb=tZ8Ukkz.P0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Content-Disposition: inline For some reasons I didn't receive a copy of the cover letter patch I sent with git-send-email yet, so I can't reply to the cover letter, so I'm replying to the patch instead. In any case the patches and the cover letter are in the bug[1] report and so as promised here's the libsamsung-ipc.scm I used for the tests. References: ----------- [1]https://issues.guix.gnu.org/54728#8 Denis. --MP_/ialc+p5Qr/Lb=tZ8Ukkz.P0 Content-Type: text/x-scheme Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename=libsamsung-ipc.scm ;;; Copyright =C2=A9 2022 Denis Carikli ;;; ;;; This file is free software; you can redistribute it and/or modify it ;;; under the terms of the GNU General Public License as published by ;;; the Free Software Foundation; either version 3 of the License, or (at ;;; your option) any later version. ;;; ;;; This file is distributed in the hope that it will be useful, but ;;; WITHOUT ANY WARRANTY; without even the implied warranty of ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ;;; GNU General Public License for more details. ;;; ;;; You should have received a copy of the GNU General Public License. ;;; If not, see . ;;; ;;; This file is meant to test valgrind support in Guix. ;;; ;;; The libsamsung-ipc library is not ready to be packaged in general ;;; purpose distributions as right now as it requires either a vendor ;;; kernel or the compbinaison of a recent upstream kernel with on top ;;; work in progress out of tree modem drivers, out of tree ;;; libsamsung-ipc code to support theses drivers and kernel patches ;;; to support the nonfree bootloader of the Galaxy SIII ;;; (GT-I9300). Beside the library, the tools are of very limited use ;;; beside testing or reverse engineering. (use-modules (ice-9 popen) (ice-9 rdelim) (sxml ssax input-parse) ((guix licenses) #:prefix license:) (guix build-system android-ndk) (guix build-system gnu) (guix gexp) (guix git-download) (guix packages) (gnu packages android) (gnu packages autotools) (gnu packages curl) (gnu packages disk) (gnu packages linux) (gnu packages llvm) (gnu packages pkg-config) (gnu packages python) (gnu packages python-xyz) (gnu packages tls) (gnu packages valgrind)) (define-public libsamsung-ipc (package (name "libsamsung-ipc") ;; we use a work in progress version that has support for --with-valgri= nd-tests (version (git-version "0.0" "HEAD" "92de58c3ecd3f6a40323161dd28f2c9ad07= 5ca62")) (source (origin (method git-fetch) (uri (git-reference (url "https://git.replicant.us/replicant-next/hardware_replicant_l= ibsamsung-ipc") (commit "92de58c3ecd3f6a40323161dd28f2c9ad075ca62"))) (sha256 (base32 "0glm8hvb46iq1dhhbhymckxi6lcxn5k30lywcppbs7s8r4bnkwvy")) (file-name (git-file-name name version)))) (build-system gnu-build-system) (native-inputs (list autoconf automake curl ddrescue libtool pkg-config python python-sh valgrind/interactive)) (inputs (list openssl)) (arguments `(#:phases (modify-phases %standard-phases (add-before 'build 'patch-python (lambda _ (substitute* (find-files "." ".*\\.py$") (("/usr/bin/env python") (which "python3"))) #t))) #:tests? #t #:configure-flags (list "--enable-debug" "--enable-valgrind-tests"))) (synopsis "libsamsung-ipc is a free software implementation of the Sams= ung IPC modem protocol") (description "libsamsung-ipc is a free software implementation of the Samsung IPC m= odem protocol, found in many Samsung smartphones and tablets.") (home-page "https://www.replicant.us") (license license:gpl2+))) (list libsamsung-ipc) --MP_/ialc+p5Qr/Lb=tZ8Ukkz.P0-- --Sig_/Y+ckcCOqyLwr6e5ba7j+kIg Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEeC+d2+Nrp/PU3kkGX138wUF34mMFAmJodB0ACgkQX138wUF3 4mPzNBAAjWEARL0tkLOED8Yn08ldPf3P75iZytUkwFh85+qP7hYC29dgSV9iH7LD MsqQEqRGS1wfpfABeuP2ySkBj18clMhuR3aLSpYBjgSu4ZAmrSh1Y04JwDkLJjsd JCTQuuv8PoS3lP3zf2VujhG562jw8EcSEpAYtFkazESH1TP/KylxUPLvXFF7r03l ZaT48R4+WTbZIV+y3XnpNF4Rd/25PWSmEHcOf22jAHqnqgbBuwXU89iIXk0AuPbF cP+32fjMyp12yC6+w4V8YHaQIFTrDOTW7U7Sm7IAYFgaefx2ELaxIGQ6xAAVfU7i iu8zBmkOutgS1ZaF650QBO+aSxiz2AftY27b+JDG9YtgP1aokgtLneTSnIJRuhKt 2wIckloMd5OBsj+o3hjOto6QUvEUZ3uH6YonQctvUvtqrGrD1MJ7DTxoZGv7eTWg Mb2/fNsdv0Klj2lTxOkyUVxIkozBCaeMPkafRZFyFh5ZVkX0/G6cKE8xpcJfKxbX Kb6THRS8Rde5tYQdgcdnGo8htJaCZ7Xz0XYvg+SZKLgXjk8CD9gKWfLLlQFyOxe+ X1D5AXUA3TEWADV+3yCp7eeHUpcxkW2P4g+sL10lBM1CT9ClbjEMYDmkXdhk6T3f l/xpn5Y3qMCf9dA+rotJn/nkDz2sZsc4ASJjWTC5UpzQV9XXIJI= =c/ld -----END PGP SIGNATURE----- --Sig_/Y+ckcCOqyLwr6e5ba7j+kIg--