GNU bug report logs - #76848
TLP 1.8 package misses perl

Previous Next

Package: guix;

Reported by: glab <glab <at> disroot.org>

Date: Fri, 7 Mar 2025 23:58:02 UTC

Severity: normal

Done: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#76848: closed (TLP 1.8 package misses perl)
Date: Tue, 11 Mar 2025 15:59:07 +0000
[Message part 1 (text/plain, inline)]
Your message dated Tue, 11 Mar 2025 16:57:57 +0100
with message-id <87h63z5zlm.fsf <at> nicolasgoaziou.fr>
and subject line Re: bug#76848: TLP 1.8 package misses perl
has caused the debbugs.gnu.org bug report #76848,
regarding TLP 1.8 package misses perl
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
76848: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=76848
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: glab <glab <at> disroot.org>
To: bug-guix <at> gnu.org
Subject: TLP 1.8 package misses perl
Date: Fri, 07 Mar 2025 23:57:05 +0000
I get an error when executing the command

  $ sudo tlp setcharge 40 60
  
/gnu/store/ypdi8gxswgnshhmxxdj66cb51krx1d63-tlp-1.8.0/share/tlp/bat.d/05-thinkpad: 
line 651: perl: command not found
  
/gnu/store/ypdi8gxswgnshhmxxdj66cb51krx1d63-tlp-1.8.0/share/tlp/bat.d/05-thinkpad: 
line 1231: : : integer expression expected

It seems the TLP shell script is employing the wrong perl PATH, and if 
perl is not installed in the current prefix, it fails.

-- 
Gustavo


[Message part 3 (message/rfc822, inline)]
From: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
To: glab via Bug reports for GNU Guix <bug-guix <at> gnu.org>
Cc: glab <glab <at> disroot.org>, 76848-done <at> debbugs.gnu.org
Subject: Re: bug#76848: TLP 1.8 package misses perl
Date: Tue, 11 Mar 2025 16:57:57 +0100
Hello,

glab via Bug reports for GNU Guix <bug-guix <at> gnu.org> writes:

>>> I get an error when executing the command
>>>   $ sudo tlp setcharge 40 60
>>>   /gnu/store/ypdi8gxswgnshhmxxdj66cb51krx1d63-tlp-1.8.0/share/tlp/bat.d/05-thinkpad:
>>>   line 651: perl: command not found
>>>   /gnu/store/ypdi8gxswgnshhmxxdj66cb51krx1d63-tlp-1.8.0/share/tlp/bat.d/05-thinkpad:
>>>   line 1231: : : integer expression expected
>>> It seems the TLP shell script is employing the wrong perl PATH, and
>>> if
>>> perl is not installed in the current prefix, it fails.
>> Thank you for the report. I committed a fix on master branch. Could
>> you
>> confirm it solves your issue?
>
> Thank you. I can confirm you solved this issue.
> I can now happily use the new TLP 1.8 without problems.
> Have a good day.

Thanks for the feedback. I’m closing this issue.

Regards,
-- 
Nicolas Goaziou




This bug report was last modified 131 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.