Message ID | aCC-05kXdcV4jUcI@jasmine.lan |
---|---|
State | New |
Headers |
Return-Path: <guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org> 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 <patchwork@mira.cbaines.net>; 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 <guix-patches-bounces@gnu.org>) 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 <Debian-debbugs@debbugs.gnu.org>) 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 <Debian-debbugs@debbugs.gnu.org>) 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 <Debian-debbugs@debbugs.gnu.org>) 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 <leo@famulari.name> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org> Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 11 May 2025 15:15:04 +0000 Resent-Message-ID: <handler.74597.B74597.174697648520713@debbugs.gnu.org> 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 <flake@uni-koblenz.de> Cc: 74597@debbugs.gnu.org, Z572 <z572@z572.online>, Wilko Meyer <w@wmeyer.eu> 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 <debbugs-submit-bounces@debbugs.gnu.org>) 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 <leo@famulari.name>) 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: <xms:1b4gaBbAOWaAG4Mh9pI8VrXSfGujX0BczhnI9DuFP1mXRilN4PUbew> <xme:1b4gaIapaNkUkGhZ-yAHTPSY0i0EW5UkNoyJP8eQzwVgLHsq3YGN_0JtERKfpy0UM BAT1H-JGINXiLaXWQ> X-ME-Received: <xmr:1b4gaD_qxgxrqv9QciwNv2CRGhgJpeoaSAD6jdOu6XqoQNxZAjjWab3XiBLmKReyfgRZ7V7WY0NqeXtX9FWst5rp> X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgddvleekjeduucetufdoteggodetrf dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggv pdfurfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpih gvnhhtshculddquddttddmnecujfgurhepfffhvfevuffkfhggtggugfgjsehtkeertddt tdejnecuhfhrohhmpefnvghoucfhrghmuhhlrghrihcuoehlvghosehfrghmuhhlrghrih drnhgrmhgvqeenucggtffrrghtthgvrhhnpeektdeigeehteefheekgeffhedtveeugfek ieekjeeukedvvdfhteevkeevgeeuieenucffohhmrghinhepghhnuhdrohhrghenucevlh hushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehlvghosehfrghm uhhlrghrihdrnhgrmhgvpdhnsggprhgtphhtthhopeegpdhmohguvgepshhmthhpohhuth dprhgtphhtthhopehflhgrkhgvsehunhhiqdhkohgslhgvnhiirdguvgdprhgtphhtthho peejgeehleejseguvggssghughhsrdhgnhhurdhorhhgpdhrtghpthhtohepfiesfihmvg ihvghrrdgvuhdprhgtphhtthhopeiiheejvdesiiehjedvrdhonhhlihhnvg X-ME-Proxy: <xmx:1b4gaPrCHQDQ-nBNM3_mX1FuzjdPSFtjV-UYlNFLqHrY-UF0lkNM2w> <xmx:1b4gaMpklJD22KCclA-YeQyuUCjL8RebtbutV_V0mRhJwN6kFmYP0A> <xmx:1b4gaFQC23jL4MGRISEDvC0n5R4SK118ekG7-SVXy-u5O6p0g8JfRQ> <xmx:1b4gaEoHZalTheXphV1f-Tu_pZ_C-yDoD123mtKXd8XIGiSbq0mbNg> <xmx:1r4gaHXdCQHN8a7U0tVhyi3eoADdVIzhofFUrg0GWYfPhkxQZvyxQE2M> 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 <leo@famulari.name> Message-ID: <aCC-05kXdcV4jUcI@jasmine.lan> References: <1a0c0cfb41a0f7421e2e70d73ee6803c2a33c923.1732828088.git.flake@uni-koblenz.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit 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: <guix-patches.gnu.org> List-Unsubscribe: <https://lists.gnu.org/mailman/options/guix-patches>, <mailto:guix-patches-request@gnu.org?subject=unsubscribe> List-Archive: <https://lists.gnu.org/archive/html/guix-patches> List-Post: <mailto:guix-patches@gnu.org> List-Help: <mailto:guix-patches-request@gnu.org?subject=help> List-Subscribe: <https://lists.gnu.org/mailman/listinfo/guix-patches>, <mailto:guix-patches-request@gnu.org?subject=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 |
Series |
[bug#74597] gnu: bluez: Update to 5.79.
|
|
Commit Message
Leo Famulari
May 11, 2025, 3:14 p.m. UTC
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?
Comments
Hi Leo, On Sun, May 11 2025, Leo Famulari wrote: > 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? no, actually I don't remember that, but I get the same now with 5.79, also if rebased on current master. I get another problem with a newer bluez version of 5.82. Best Regards, Julian Flake (nutcase)
On Sun, May 11, 2025 at 07:43:57PM +0200, Julian Flake wrote: > no, actually I don't remember that, but I get the same now with 5.79, also > if rebased on current master. I get another problem with a newer bluez > version of 5.82. Yeah, I saw that other problem with 5.82. If 5.79 addresses the bug that you originally set out to fix, I think it's okay to stay with 5.79 for now, assuming it works for you and any other Bluetooth testers. Given the ubiquity of Bluetooth, maybe there are enough users in Guix to create a Bluetooth team or something like that, since it is low enough in the package graph that we can't change it on the master branch. But it's okay in the kernel-team for now.
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"