From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id iNimDHq4omZldgEA62LTzQ:P1 (envelope-from ) for ; Thu, 25 Jul 2024 20:41:30 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id iNimDHq4omZldgEA62LTzQ (envelope-from ) for ; Thu, 25 Jul 2024 22:41:30 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=soeren-tempel.net header.s=opensmtpd header.b=LrmW3Puv; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=soeren-tempel.net (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1721940090; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: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:dkim-signature; bh=QzDsyC3P5loJyDY1sF9vqHeTQlz3AyHgbunbLRUyylY=; b=LpcEJ6PTyJ7ZVrz4klbvFuhinuRPXwsz4ntENlKq14mc7lmD0uE6eMRC0mwXzbIzeXjmxa uKkjfx3APYuUbz7Gm0JkKjox53VryRYq+DPcL+ZtTlePPOFvFUAHH9bdt1cLUWApxY4HBV NoMf2yi9RnQ+UJ++voa6KwPoteo+7gG0w3Eh5Mgfs4JYYJbJL+5UirUL6s+qa6h2Ms+7L6 sIe7fagRAjfV5St4VzY21Ryiu12bTUY+DhPphF9oi40Z90GaX9c5Y4X/D+0OtQKda8R1f/ mu4Ng94f0jymbpqPcYJ3lhXS1JhzlYDRnRbO4cM2Wl32lYDnlmHt9mDnb+YmDQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=soeren-tempel.net header.s=opensmtpd header.b=LrmW3Puv; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=soeren-tempel.net (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1721940090; a=rsa-sha256; cv=none; b=AqJzkMyboHGU83M0Vu4dMZyrc81aergSR5qM4GR8Os8vmDhew2ILvfQHYglX+seNe8GzPC dPYDRb0y4CdiW/tHzEggzcI2b8Qy+eQZaUMpk/1DYjmS5vDdi0xPsA+O/a9cxjV64XZ0JI MXaEv0aZl/uU41cIeaFCSNv3HK8LZ3x6e1gL0yJvOsHevfAyfpqFajgkowljAoYEpXq/MH 1tYBDDTPKtEd7J0MK29TCaZpq1u5+bIksHYNpkTAjB92ojtRzpQY/3npcE029XHnv0S98f Q+z802+o7GDyJ6jIPoaDdfu6waFg9HY+tgrLsWXJv8go2V6B0RNrFa692HovTw== 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 B43DD64C44 for ; Thu, 25 Jul 2024 22:41:29 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sX5Gi-0003kF-5l; Thu, 25 Jul 2024 16:40:56 -0400 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 ) id 1sX5Gg-0003jf-BU for guix-patches@gnu.org; Thu, 25 Jul 2024 16:40:54 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sX5Gg-0007w5-3q for guix-patches@gnu.org; Thu, 25 Jul 2024 16:40:54 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sX5Gn-0001RQ-JD for guix-patches@gnu.org; Thu, 25 Jul 2024 16:41:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#72106] [PATCH v3 1/5] gnu: klee: Wrap klee-stats for Python dependencies. References: In-Reply-To: Resent-From: soeren@soeren-tempel.net Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 25 Jul 2024 20:41:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 72106 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 72106@debbugs.gnu.org Cc: ludo@gnu.org, liliana.prikler@gmail.com Received: via spool by 72106-submit@debbugs.gnu.org id=B72106.17219400305444 (code B ref 72106); Thu, 25 Jul 2024 20:41:01 +0000 Received: (at 72106) by debbugs.gnu.org; 25 Jul 2024 20:40:30 +0000 Received: from localhost ([127.0.0.1]:37867 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sX5GI-0001Pk-1Z for submit@debbugs.gnu.org; Thu, 25 Jul 2024 16:40:30 -0400 Received: from magnesium.8pit.net ([45.76.88.171]:27883) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sX5GE-0001PT-UU; Thu, 25 Jul 2024 16:40:28 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; s=opensmtpd; bh=QzDsyC3P 5loJyDY1sF9vqHeTQlz3AyHgbunbLRUyylY=; h=date:subject:cc:to:from; d=soeren-tempel.net; b=LrmW3Puv8jhxabfnrCkxHvYh9Ubm1HJVFm9+yDBjTwph1dy yers9RQymCbomXxtQySTeZeo7hkoIUKppwiwyBHzIsP+sDGPp5JYMzGKgWs9g10RzpjavF Gy23Xs7w6+M991Oz8LXhHuwALAQVjIUshhNz2xnOqqJzv3bmRRZnnw= Received: from localhost (dynamic-176-005-150-084.176.5.pool.telefonica.de [176.5.150.84]) by magnesium.8pit.net (OpenSMTPD) with ESMTPSA id 39b35f2d (TLSv1.3:TLS_AES_256_GCM_SHA384:256:YES); Thu, 25 Jul 2024 22:40:14 +0200 (CEST) From: soeren@soeren-tempel.net Date: Thu, 25 Jul 2024 22:39:59 +0200 Message-ID: X-Mailer: git-send-email 2.45.2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Queue-Id: B43DD64C44 X-Migadu-Scanner: mx13.migadu.com X-Migadu-Spam-Score: -4.32 X-Spam-Score: -4.32 X-TUID: UrOeNbJnG2GD From: Sören Tempel * gnu/packages/check.scm (klee): Wrap klee-stats. --- gnu/packages/check.scm | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm index 412b94569c..3c5ed7a3c3 100644 --- a/gnu/packages/check.scm +++ b/gnu/packages/check.scm @@ -1070,7 +1070,15 @@ (define-public klee (substitute* "CMakeLists.txt" (("\\$\\{KLEE_UCLIBC_PATH\\}/lib/libc\\.a") "${KLEE_UCLIBC_PATH}")))) - (add-after 'install 'wrap-hooks + (add-after 'install 'wrap-klee-stats + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (bin (string-append out "/bin"))) + (wrap-program (string-append bin "/klee-stats") + `("GUIX_PYTHONPATH" ":" prefix + ,(search-path-as-string->list + (getenv "GUIX_PYTHONPATH"))))))) + (add-after 'install 'wrap-klee (lambda* (#:key inputs outputs #:allow-other-keys) (let* ((out (assoc-ref outputs "out")) (bin (string-append out "/bin")) @@ -1088,7 +1096,7 @@ (define-public klee (search-input-file %build-inputs "/lib/klee/libc.a")) "-DENABLE_POSIX_RUNTIME=ON"))) (native-inputs (list clang-13 llvm-13 python-lit)) - (inputs (list bash-minimal klee-uclibc gperftools sqlite z3)) + (inputs (list bash-minimal klee-uclibc gperftools sqlite z3 python python-tabulate)) (build-system cmake-build-system) (home-page "https://klee-se.org/") (synopsis "Symbolic execution engine") base-commit: 03062c7a9fd74d625639e1a325e9cb58d1cd74e3