GNU bug report logs -
#51086
tlp error in tlp-func-base
Previous Next
Reported by: Alex Devaure <ajadevaure <at> gmail.com>
Date: Thu, 7 Oct 2021 17:03:02 UTC
Severity: normal
Done: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 51086 in the body.
You can then email your comments to 51086 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-guix <at> gnu.org
:
bug#51086
; Package
guix
.
(Thu, 07 Oct 2021 17:03:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Alex Devaure <ajadevaure <at> gmail.com>
:
New bug report received and forwarded. Copy sent to
bug-guix <at> gnu.org
.
(Thu, 07 Oct 2021 17:03:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
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
Reply sent
to
Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
:
You have taken responsibility.
(Fri, 08 Oct 2021 16:45:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Alex Devaure <ajadevaure <at> gmail.com>
:
bug acknowledged by developer.
(Fri, 08 Oct 2021 16:45:02 GMT)
Full text and
rfc822 format available.
Message #10 received at 51086-done <at> debbugs.gnu.org (full text, mbox):
Hello,
Alex Devaure <ajadevaure <at> gmail.com> 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
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Sat, 06 Nov 2021 11:24:07 GMT)
Full text and
rfc822 format available.
This bug report was last modified 2 years and 169 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.