From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 8MddF7c3YGGqIgEAgWs5BA (envelope-from ) for ; Fri, 08 Oct 2021 14:21:11 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id iJskErc3YGGeWQAAbx9fmQ (envelope-from ) for ; Fri, 08 Oct 2021 12:21:11 +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 E6081295FA for ; Fri, 8 Oct 2021 14:21:10 +0200 (CEST) Received: from localhost ([::1]:44306 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mYosA-00026a-2K for larch@yhetil.org; Fri, 08 Oct 2021 08:21:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:57076) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mYWnO-0000FZ-OQ for bug-guix@gnu.org; Thu, 07 Oct 2021 13:03:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:36798) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mYWnO-0006eL-H1 for bug-guix@gnu.org; Thu, 07 Oct 2021 13:03:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mYWnO-0001jJ-EI for bug-guix@gnu.org; Thu, 07 Oct 2021 13:03:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#51086: tlp error in tlp-func-base Resent-From: Alex Devaure Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 07 Oct 2021 17:03:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 51086 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 51086@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16336261405713 (code B ref -1); Thu, 07 Oct 2021 17:03:02 +0000 Received: (at submit) by debbugs.gnu.org; 7 Oct 2021 17:02:20 +0000 Received: from localhost ([127.0.0.1]:48344 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mYWmi-0001Tq-4s for submit@debbugs.gnu.org; Thu, 07 Oct 2021 13:02:20 -0400 Received: from lists.gnu.org ([209.51.188.17]:45838) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mYWla-0000bG-Ll for submit@debbugs.gnu.org; Thu, 07 Oct 2021 13:01:13 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56838) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mYWlY-0007hu-Er for bug-guix@gnu.org; Thu, 07 Oct 2021 13:01:10 -0400 Received: from mail-wr1-x436.google.com ([2a00:1450:4864:20::436]:35580) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mYWlW-00056V-7Y for bug-guix@gnu.org; Thu, 07 Oct 2021 13:01:07 -0400 Received: by mail-wr1-x436.google.com with SMTP id v25so21073810wra.2 for ; Thu, 07 Oct 2021 10:01:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=user-agent:from:to:subject:date:message-id:mime-version; bh=yB3J34nLeUBUQLgoTtQ/WR78rsl2eVhhf8pp3xVfF1E=; b=PPjaZ3Utkz/5stEdAi2mUNJ8xl4L4EgXadvEpbd+7T5AUnlxzjm7Hect9+t2dRIblH K0kPe2QfUTYHG8IkbOjOgeaf2naNg6m5l5vonh8QtH0JSwGadzMqvy/kc/CfF8nAhRd8 PDaDTC5IlxOyfcF403NdfrMvGZccZqJ3+Db0R8o536t5lUalOfAD5wYpKUogtPs6N8cg u05RsbjmsJTyAvVc+/kV5YDY4KUkrqy2zXd41bNLGpTEQmPdhrSso5j2QGWYFmdBjC3B rpV/h1wCb67+0USwj++yrjjNkNXUbikVgLVE2y9ltQQV7YmYBrlYued39q/vQETBYa65 qR+A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:user-agent:from:to:subject:date:message-id :mime-version; bh=yB3J34nLeUBUQLgoTtQ/WR78rsl2eVhhf8pp3xVfF1E=; b=n0e0CTwC37iKbrxBnTqi5QDPXk/AMKFpgC+v6BpNTdZyy5PNFl1DzqjuHJs9p4CWzH ajzqOcFjqxX6Zh+h8lyewVsRFjquZvXEXu1fS/YiRHG0b30gxNJXJ2FYcaT2VJzJAffN jtfuCY1TJVMdSgL3rTUECLmN/95+pct8B0xOiM7xRUMq6mldmUo0+IuiRwVgkNT43X37 bsfF3htjBpGDzVbvq2n0pbw6rnURpAGXr4xg+Oe/Q5NJkWWHlC+Oex4Xb1J5fn17iUwK 9lVqInri0gNSXsGnwJBiaiYOoMp7HhHOb6U90AdS5/F9ptiYEWDgoDHnR4CTBozeCa0o H3Ew== X-Gm-Message-State: AOAM530O5W0N41PTbB8fn6pg2/9aAfxIXO8attujkwWR7s4ahjy84vVi 45oAaA/MQ++55Icih8hnKYnvXhBufcQ= X-Google-Smtp-Source: ABdhPJyVqGJZNJlbj5seEXjOC3O3hegWsEYHaCwhOr2AJwu+wYVBET82VtAhhQCqNQafzx0QN+AYFg== X-Received: by 2002:adf:bb09:: with SMTP id r9mr6941737wrg.238.1633626060514; Thu, 07 Oct 2021 10:01:00 -0700 (PDT) Received: from guixbox ([2a02:c7e:1d62:c300:bcea:534c:4d58:d50]) by smtp.gmail.com with ESMTPSA id a17sm179367wrx.33.2021.10.07.10.00.59 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Oct 2021 10:01:00 -0700 (PDT) User-agent: mu4e 1.6.6; emacs 27.2 From: Alex Devaure Date: Thu, 07 Oct 2021 17:53:23 +0100 Message-ID: <87r1cwepmd.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2a00:1450:4864:20::436; envelope-from=ajadevaure@gmail.com; helo=mail-wr1-x436.google.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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Thu, 07 Oct 2021 13:02:19 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Mailman-Approved-At: Fri, 08 Oct 2021 08:20:25 -0400 X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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=1633695670; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:list-id:list-help:list-unsubscribe:list-subscribe: list-post:dkim-signature; bh=yB3J34nLeUBUQLgoTtQ/WR78rsl2eVhhf8pp3xVfF1E=; b=iMD7+A0zouv+0Yw5vimZj1Gkq5dsGzDZrOXag6vS+6bvbx7xrEhXot6I5b7Rcvgc9IhT3o 7rG1awPrf7Jx+qUw0RyCQBG9iGj3mGzmlKwYYx7EwU3Bzrlj+KX3HyRH6fRgXtF6r5Wg7i RpluvHp4t6EsfjgFCx154/M9U0Tzljw14oy2oLWJNK8yQEvzH2U4HzLsENY7n5ldEUdwB/ sboLhtVSW4PNZcgK4VvqlnFaSfcLcmUO9zHyBY5Sf7VP3uttzecyrC9Fo/pisV1qegmf7X eVNtf2LUodPFMzYoDn2jPRnt1fM7lQYsTF8BifoZ5IOw+3B5tYbrmyHK2Kb/iA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1633695670; a=rsa-sha256; cv=none; b=fCjz4iGMSr2TY2XEnTNaY7001i8BnBKjIWZCzLziAuX8tODQhzSlGuy5qEYGX9ioiE7dFN epj1pd2PLdzcL5T+Bt15s4RHvOQ1Ewpjt0O7KVRLhIzqSW64KtJtnD2MbRLPk174xNXsHB 3QpE4r87J5XJeYf9Grxfrf9SkwLxvIYSAfOHYN3LVcTHWl2qcxiZEFPRySTa1bR442Lo/W MVyjCvYyCfqwAPHYcgHDTWn8jDwdqnC3nzP2pf02bZtxpzD+LkOhov04xtXbcrqo7mdN+A Af9rA+Yi7lC14ks+E6lh2cbTd73kgoH037lIg/+mgRQV8FliDSMpJsmc8jbZAQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=PPjaZ3Ut; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=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.19 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=PPjaZ3Ut; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=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: E6081295FA X-Spam-Score: 0.19 X-Migadu-Scanner: scn0.migadu.com X-TUID: sxIKTxDkcTl+ Hi, 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")) Regards, Alex