From patchwork Sun May 11 15:14:27 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Leo Famulari X-Patchwork-Id: 42526 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 21AD927BC4B; Sun, 11 May 2025 16:15:25 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-6.4 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED, RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE, SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham 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 DB2BB27BC49 for ; Sun, 11 May 2025 16:15:23 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1uE8OS-0003Hv-Gi; Sun, 11 May 2025 11:15:08 -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 1uE8OP-0003Hj-K8 for guix-patches@gnu.org; Sun, 11 May 2025 11:15:05 -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 1uE8OP-0002PD-9w for guix-patches@gnu.org; Sun, 11 May 2025 11:15:05 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=In-Reply-To:MIME-Version:References:From:Date:To:Subject; bh=Bzgw2mw8rG1E090VpN4SNt7LkTWw7uM4Xm6uh1nXYa8=; b=IcYCkFwN6EH1S/LlAMydMVs3/bOp8j+ye/S7tsuRAgwhXblXofOSch/HdePx8g8fqI5eJFIVBpShJOlbms58cNqwSRPsl41TdOSrJC5pfQUDaXgiNQJfvMUManxCQ/uJgae2RNwTbeM1BJ3m7OMza4owdCT0G5tjzqulcdFOqCllhwvWMsi5KLidajXj9M35rmbfv1ATEA0jPfB1ldAPB164cXZUVyObqNj1XoUG9yvoo0GT+oRWOCL+GYbcXknTjzrfGgMqiml8RBtqOQQ3ekrhf4FyR1mcd/SVNLDOKBlL2avTCmgMmDBVVgGl4WVxeyGY2zbE59iiHUXhlJCJjg==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1uE8OO-0005Q6-Lf for guix-patches@gnu.org; Sun, 11 May 2025 11:15:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#74597] [PATCH] gnu: bluez: Update to 5.79. Resent-From: Leo Famulari Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 11 May 2025 15:15:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74597 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Julian Flake Cc: 74597@debbugs.gnu.org, Z572 , Wilko Meyer Received: via spool by 74597-submit@debbugs.gnu.org id=B74597.174697648520713 (code B ref 74597); Sun, 11 May 2025 15:15:04 +0000 Received: (at 74597) by debbugs.gnu.org; 11 May 2025 15:14:45 +0000 Received: from localhost ([127.0.0.1]:37307 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1uE8O2-0005No-Sn for submit@debbugs.gnu.org; Sun, 11 May 2025 11:14:44 -0400 Received: from fout-a4-smtp.messagingengine.com ([103.168.172.147]:44113) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1uE8Nw-0005MZ-60 for 74597@debbugs.gnu.org; Sun, 11 May 2025 11:14:38 -0400 Received: from phl-compute-01.internal (phl-compute-01.phl.internal [10.202.2.41]) by mailfout.phl.internal (Postfix) with ESMTP id 960451380105; Sun, 11 May 2025 11:14:30 -0400 (EDT) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-01.internal (MEProxy); Sun, 11 May 2025 11:14:30 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=famulari.name; h=cc:cc:content-transfer-encoding:content-type:content-type :date:date:from:from:in-reply-to:in-reply-to:message-id :mime-version:references:reply-to:subject:subject:to:to; s= mesmtp; t=1746976470; x=1747062870; bh=Bzgw2mw8rG1E090VpN4SNt7Lk TWw7uM4Xm6uh1nXYa8=; b=PrAgdIAHj6XJF4otjVTYkdBLiTDqcqY6qeCjtBeTm YQ9Z4tXCTR2lUN+RA5Fdqg9Bhli6YgjKq4TGMMDHS+rCvXsssx5ZBmD2znsOC8Xb OED3HbP/XRnvUpxV97QLSD+gSAD/fld3kjpGeC7pp4wloVxBRKgyfpzc0Y1/CPp1 j4= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t=1746976470; x= 1747062870; bh=Bzgw2mw8rG1E090VpN4SNt7LkTWw7uM4Xm6uh1nXYa8=; b=h sewMhAMrVmupBXuhkUTmgEpnpVIPTDMegCJ/G6SQmJOLVsJTCE4/xmOcOJoatXFq 5A2248TyNXPTtP7WJAMNcM1gqrRYTAFp8lN5sEi7fHZICq6MlSvY+/gxjoICZ23I HNGGdfPchEbs5400rsEhmdKS/dTB38xSW7iRzYKm+xddshwhBrjlzNWPpkq1xJ4y 8bxNVhsQSpQCs7RmleEwdRF7I62Gucj6vbTZOUNnpS0Dho6hUPYFzB0TwqSoxreB qzedzxZdjL+K2l6+QG2cXwOgTeeLyqLOSRuiE9fxoYm+Xq1/E61IsMPrAtswYUGR zWAdcwDq2wBf3sSUtDrBA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgddvleekjeduucetufdoteggodetrf dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggv pdfurfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpih gvnhhtshculddquddttddmnecujfgurhepfffhvfevuffkfhggtggugfgjsehtkeertddt tdejnecuhfhrohhmpefnvghoucfhrghmuhhlrghrihcuoehlvghosehfrghmuhhlrghrih drnhgrmhgvqeenucggtffrrghtthgvrhhnpeektdeigeehteefheekgeffhedtveeugfek ieekjeeukedvvdfhteevkeevgeeuieenucffohhmrghinhepghhnuhdrohhrghenucevlh hushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehlvghosehfrghm uhhlrghrihdrnhgrmhgvpdhnsggprhgtphhtthhopeegpdhmohguvgepshhmthhpohhuth dprhgtphhtthhopehflhgrkhgvsehunhhiqdhkohgslhgvnhiirdguvgdprhgtphhtthho peejgeehleejseguvggssghughhsrdhgnhhurdhorhhgpdhrtghpthhtohepfiesfihmvg ihvghrrdgvuhdprhgtphhtthhopeiiheejvdesiiehjedvrdhonhhlihhnvg X-ME-Proxy: Feedback-ID: i819c4023:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun, 11 May 2025 11:14:29 -0400 (EDT) Date: Sun, 11 May 2025 11:14:27 -0400 From: Leo Famulari Message-ID: References: <1a0c0cfb41a0f7421e2e70d73ee6803c2a33c923.1732828088.git.flake@uni-koblenz.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1a0c0cfb41a0f7421e2e70d73ee6803c2a33c923.1732828088.git.flake@uni-koblenz.de> 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 On Thu, Nov 28, 2024 at 10:11:51PM +0100, Julian Flake wrote: > * gnu/packages/linux.scm (bluez): Update to 5.79. Thanks for this patch! I added it to the 'kernel-team' Git branch where it is being built now on the build farm: https://qa.guix.gnu.org/branch/kernel-team However, with this patch, the bluez package fails to build, because the installation procedure tries to write to /etc/bluetooth and fails: ------ [...] /gnu/store/7h0mnlwalw23j9jmvz5n1i5mqkgb4d06-coreutils-9.1/bin/mkdir -p '/etc/bluetooth' /gnu/store/7h0mnlwalw23j9jmvz5n1i5mqkgb4d06-coreutils-9.1/bin/mkdir: cannot create directory ‘/etc/bluetooth’: Permission denied make[2]: *** [Makefile:11515: install-confDATA] Error 1 make[1]: *** [Makefile:12389: install-am] Error 2 make: *** [Makefile:12382: install] Error 2 error: in phase 'install': uncaught exception: %exception #<&invoke-error program: "make" arguments: ("install") exit-status: 2 term-signal: #f stop-signal: #f> phase `install' failed after 0.6 seconds ------ I worked around this by changing the value of sysconfdir: ------ ------ ... would that work correctly, or will bluez then look for run-time configuration in the wrong location? I think that bluez should look for configuration files in the well-known location /etc/bluetooth. Do you agree? Also, with that change, the installation procedure then fails to write to /var: ------ [...] install -dm555 /gnu/store/q084wf1nvq0zjs9bym5wj3l5f11nw41h-bluez-5.79/etc/bluetooth install -dm700 /var/lib/bluetooth install: cannot create directory ‘/var’: Permission denied make[3]: *** [Makefile:13927: bluetoothd-fix-permissions] Error 1 make[2]: *** [Makefile:13172: install-data-am] Error 2 make[1]: *** [Makefile:12389: install-am] Error 2 make: *** [Makefile:12382: install] Error 2 error: in phase 'install': uncaught exception: %exception #<&invoke-error program: "make" arguments: ("install") exit-status: 2 term-signal: #f stop-signal: #f> phase `install' failed after 0.9 seconds ------ What do you think? Do you remember if you saw these problems when you made this patch, and they are caused by a changed in the build tools, or is this the first test of the patch? diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index eff6f7978a9..7d8eba34c66 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -6633,7 +6633,7 @@ (define-public bluez (arguments (list #:configure-flags - #~(list "--sysconfdir=/etc" + #~(list (string-append "--sysconfdir=" #$output "/etc") "--localstatedir=/var" "--enable-library" "--enable-wiimote"