From patchwork Wed Nov 1 20:30:22 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Olivier Dion X-Patchwork-Id: 55809 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id EAD3227BBE9; Wed, 1 Nov 2023 20:31:43 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id ED5C327BBE2 for ; Wed, 1 Nov 2023 20:31:42 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qyHs9-0000ZU-CZ; Wed, 01 Nov 2023 16:31:29 -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 1qyHs8-0000ZD-0E for guix-patches@gnu.org; Wed, 01 Nov 2023 16:31:28 -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 1qyHs7-0006zU-OU for guix-patches@gnu.org; Wed, 01 Nov 2023 16:31:27 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qyHsf-0004Br-R9 for guix-patches@gnu.org; Wed, 01 Nov 2023 16:32:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#66888] [PATCH 1/2] gnu: babeltrace: Do not install bindings as egg. Resent-From: odion@efficios.com Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 01 Nov 2023 20:32:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 66888 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 66888@debbugs.gnu.org Cc: Olivier Dion X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.169887068316052 (code B ref -1); Wed, 01 Nov 2023 20:32:01 +0000 Received: (at submit) by debbugs.gnu.org; 1 Nov 2023 20:31:23 +0000 Received: from localhost ([127.0.0.1]:52678 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qyHrz-0004Ak-Bu for submit@debbugs.gnu.org; Wed, 01 Nov 2023 16:31:23 -0400 Received: from lists.gnu.org ([2001:470:142::17]:47066) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qyHrt-00049o-VF for submit@debbugs.gnu.org; Wed, 01 Nov 2023 16:31:17 -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 1qyHrE-0000Uw-2U for guix-patches@gnu.org; Wed, 01 Nov 2023 16:30:32 -0400 Received: from smtpout.efficios.com ([167.114.26.122]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qyHrB-0006sP-SH for guix-patches@gnu.org; Wed, 01 Nov 2023 16:30:31 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=efficios.com; s=smtpout1; t=1698870625; bh=s5pveNj3WAg7EaelRr4E2NYeSo+CPsNRJ+I1DEBV7Wk=; h=From:To:Cc:Subject:Date:From; b=C3euArof5YMPZmtAByJMi0i752NP3UJ2bBUZHFtUAJXR+P4za4z7falmG5bIhF2hr jaFvR4cQmM4w0tO7id0pdnc627KV+ITM7XV5PKRLuof52LOAwYEfZaNGnEmoh9rWQH 4+j3LA8ntZwfhuYUR/Or8rW2A4LfVVGD0HrCLFhDgdYnbCg3qudR1r5xQVDssodpfb e+TanImi8Elo/4BYloQpcYWeB0rPLs1UOnTELTt5+OkgnRQCplXguz4VyUmD4UZYfn E8tzJ1RDQbTmClRZylZ7CvRUP9J8qsyVNfg9KcXEn/ZgEIBGdO8bI16FkzCZLJK5Cx p4voGkzgstKTA== Received: from localhost.localdomain (unknown [209.209.32.82]) by smtpout.efficios.com (Postfix) with ESMTPSA id 4SLJXx2dc4z1Zpl; Wed, 1 Nov 2023 16:30:25 -0400 (EDT) From: odion@efficios.com Date: Wed, 1 Nov 2023 16:30:22 -0400 Message-ID: <20231101203022.28546-1-odion@efficios.com> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Received-SPF: pass client-ip=167.114.26.122; envelope-from=odion@efficios.com; helo=smtpout.efficios.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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 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: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches From: Olivier Dion Oddly enough, bindings were now installed as an egg. Fix this by forcing setuptools to install individual files with `--single-version-externally-managed' * gnu/packages/instrumentation.scm (babeltrace)[arguments]<#:make-flags>: Pass it via DISTSETUPOPTS. Change-Id: I143dd16179e1e4728cb8e5d6b00b06359da83389 --- gnu/packages/instrumentation.scm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gnu/packages/instrumentation.scm b/gnu/packages/instrumentation.scm index 7fa7b2f7ba..0d6513aaca 100644 --- a/gnu/packages/instrumentation.scm +++ b/gnu/packages/instrumentation.scm @@ -85,7 +85,9 @@ (define-public babeltrace `(#:tests? #f ; FIXME - When Python's bindings are enabled, tests do not ; pass. #:make-flags - ,#~(list (string-append "LDFLAGS=-Wl,-rpath=" #$output "/lib")) + ,#~(list + (string-append "LDFLAGS=-Wl,-rpath=" #$output "/lib") + "DISTSETUPOPTS=--single-version-externally-managed") #:configure-flags '("--enable-debug-info" "--enable-man-pages"