From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id mDw/Lb91YGEtJQAAgWs5BA (envelope-from ) for ; Fri, 08 Oct 2021 18:45:51 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id IOTrKL91YGEpXQAA1q6Kng (envelope-from ) for ; Fri, 08 Oct 2021 16:45:51 +0000 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 05FE82687F for ; Fri, 8 Oct 2021 18:45:51 +0200 (CEST) Received: from localhost ([::1]:38032 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mYt0H-0002F3-Bc for larch@yhetil.org; Fri, 08 Oct 2021 12:45:49 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53370) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mYszX-0002Em-1V for bug-guix@gnu.org; Fri, 08 Oct 2021 12:45:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:40267) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mYszW-0001za-QX for bug-guix@gnu.org; Fri, 08 Oct 2021 12:45:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mYszW-0002wD-K3 for bug-guix@gnu.org; Fri, 08 Oct 2021 12:45:02 -0400 Subject: bug#51086: tlp error in tlp-func-base Resent-From: Nicolas Goaziou Original-Sender: "Debbugs-submit" Resent-To: bug-guix@gnu.org Resent-Date: Fri, 08 Oct 2021 16:45:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 51086 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Alex Devaure Mail-Followup-To: 51086@debbugs.gnu.org, mail@nicolasgoaziou.fr, ajadevaure@gmail.com Received: via spool by 51086-done@debbugs.gnu.org id=D51086.163371149211257 (code D ref 51086); Fri, 08 Oct 2021 16:45:02 +0000 Received: (at 51086-done) by debbugs.gnu.org; 8 Oct 2021 16:44:52 +0000 Received: from localhost ([127.0.0.1]:51813 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mYszM-0002vV-5e for submit@debbugs.gnu.org; Fri, 08 Oct 2021 12:44:52 -0400 Received: from relay1-d.mail.gandi.net ([217.70.183.193]:27633) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mYszJ-0002vG-2k for 51086-done@debbugs.gnu.org; Fri, 08 Oct 2021 12:44:49 -0400 Received: (Authenticated sender: admin@nicolasgoaziou.fr) by relay1-d.mail.gandi.net (Postfix) with ESMTPSA id 2EE9F240007; Fri, 8 Oct 2021 16:44:41 +0000 (UTC) From: Nicolas Goaziou References: <87r1cwepmd.fsf@gmail.com> Date: Fri, 08 Oct 2021 18:44:41 +0200 In-Reply-To: <87r1cwepmd.fsf@gmail.com> (Alex Devaure's message of "Thu, 07 Oct 2021 17:53:23 +0100") Message-ID: <87lf33ihza.fsf@nicolasgoaziou.fr> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain 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: , Cc: 51086-done@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1633711551; 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:resent-to: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=5nIF+yiXIQYFVRLj5zPyjACZENI4eY4C+FJPKE3hZMA=; b=X8KoaAO7V+PWaB+MdHTewHVpDJGe3bNWEEl79xmMIlgFT7JMHISX0J1Kae5Wsr1hqE4QGO FxZBQOkbUd5alVgGM3/HBUZ6ieyXGagR8rcTYNfwyAK9cJxJ2GY4/1o3RAXtWurzOorpmp 7mpn+9cSYKaJckt0Q9uw5q+U7WJ0SPUbubb8lA87wlAhmwPnG0Uumm7KbJem7weA6I3NGc r6LGynACpp02LIC8Ey6M1pE7qDKVb9/2D0cyjE/jnW4p8w5hXBLbKcj5ul8c5hK8e2fzzD zOuTefTgLD9Xla0UaZ2BVg1GhsoWOrfcpEscW/ads+u2DVVRWA2Kv0He0+siiQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1633711551; a=rsa-sha256; cv=none; b=SCtYNCBZUDC000PZyFyPAuCQPpt6Q1AJFbf6iX36TMmIx2KamJsdxQYrVSbbSRxiC5grk/ RCC/aSW5fOwM7d9PIvarSna0RYJMc3AbgTC0eQHb4IJsNzAjzAu6km0ri/xPhWXjnYtRSl tnXwBBqPvs7b0oYTCWaPvS9gmKKDSiOZFMAbOOfV38qY23ZxNP2iFLPIeLasdZzcNoz19O uVnrf9psRzPDZHljv9XzY90PisRQr6+q/Pz5+gZsBOaSuiNt2b69B3kk2J625IQPDHX425 4dPpkx352hiFRFcJ0+J3oXx7GYdS5+Jo7whzNVQWG1BNRyXX9NfO7zJFpc3I+Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Spam-Score: -0.91 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Queue-Id: 05FE82687F X-Spam-Score: -0.91 X-Migadu-Scanner: scn0.migadu.com X-TUID: 5TlL/8v/wy0J Hello, Alex Devaure writes: > During the system boot, tlp generates an error: > /gnu/store/68mpiffl51mcrss7zy26dnqfx3d5v2vv-tlp-1.4.0/share/tlp/tlp-func-base: > line 528 /usr/share/tlp/bat.d/[0-9][0-9]*[a-z]: No such file or > directory. > > It looks that the path to the bat.d directory is not modified during the > package creation. I think that the following patch should fix the > problem: > diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm > index 34aba8377f..d673a4f281 100644 > --- a/gnu/packages/linux.scm > +++ b/gnu/packages/linux.scm > @@ -6773,6 +6773,7 @@ interface in sysfs, which can be accomplished with the included udev rules.") > (setenv "TLP_BIN" (string-append out "/bin")) > (setenv "TLP_TLIB" (string-append out "/share/tlp")) > (setenv "TLP_FLIB" (string-append out "/share/tlp/func.d")) > + (setenv "TLP_BATD" (string-append out "/share/tlp/bat.d")) > (setenv "TLP_ULIB" (string-append out "/lib/udev")) > (setenv "TLP_CONFDEF" > (string-append out "/share/tlp/defaults.conf")) Indeed! I created a patch with a proper commit message and applied it in your name. Thank you. Regards, -- Nicolas Goaziou