GNU bug report logs

#76848 TLP 1.8 package misses perl

PackageSource(s)Maintainer(s)
guix PTS Buildd Popcon
Reply or subscribe to this bug. View this bug as an mbox, status mbox, or maintainer mbox

Report forwarded to bug-guix@gnu.org:
bug#76848; Package guix. (Fri, 07 Mar 2025 23:58:02 GMT) (full text, mbox, link).


Acknowledgement sent to glab <glab@disroot.org>:
New bug report received and forwarded. Copy sent to bug-guix@gnu.org. (Fri, 07 Mar 2025 23:58:02 GMT) (full text, mbox, link).


Message #5 received at submit@debbugs.gnu.org (full text, mbox, reply):

From: glab <glab@disroot.org>
To: bug-guix@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




Information forwarded to bug-guix@gnu.org:
bug#76848; Package guix. (Sat, 08 Mar 2025 19:02:02 GMT) (full text, mbox, link).


Message #8 received at submit@debbugs.gnu.org (full text, mbox, reply):

From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: glab via Bug reports for GNU Guix <bug-guix@gnu.org>
Cc: glab <glab@disroot.org>, 76848@debbugs.gnu.org
Subject: Re: bug#76848: TLP 1.8 package misses perl
Date: Sat, 08 Mar 2025 20:00:46 +0100
Hello,

glab via Bug reports for GNU Guix <bug-guix@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?

Regards,
-- 
Nicolas Goaziou






Information forwarded to bug-guix@gnu.org:
bug#76848; Package guix. (Sat, 08 Mar 2025 19:02:02 GMT) (full text, mbox, link).


Information forwarded to bug-guix@gnu.org:
bug#76848; Package guix. (Tue, 11 Mar 2025 13:07:01 GMT) (full text, mbox, link).


Message #14 received at 76848@debbugs.gnu.org (full text, mbox, reply):

From: glab <glab@disroot.org>
To: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Cc: 76848@debbugs.gnu.org
Subject: Re: bug#76848: TLP 1.8 package misses perl
Date: Tue, 11 Mar 2025 13:05:58 +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.
> 
> 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.
-- 
Gustavo




Information forwarded to bug-guix@gnu.org:
bug#76848; Package guix. (Tue, 11 Mar 2025 15:59:03 GMT) (full text, mbox, link).


Message #17 received at submit@debbugs.gnu.org (full text, mbox, reply):

From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: glab via Bug reports for GNU Guix <bug-guix@gnu.org>
Cc: glab <glab@disroot.org>, 76848-done@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@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






Reply sent to Nicolas Goaziou <mail@nicolasgoaziou.fr>:
You have taken responsibility. (Tue, 11 Mar 2025 15:59:07 GMT) (full text, mbox, link).


Notification sent to glab <glab@disroot.org>:
bug acknowledged by developer. (Tue, 11 Mar 2025 15:59:07 GMT) (full text, mbox, link).


bug archived. Request was from Debbugs Internal Request <help-debbugs@gnu.org> to internal_control@debbugs.gnu.org. (Wed, 09 Apr 2025 11:24:13 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


debbugs.gnu.org maintainers <help-debbugs@gnu.org>. Last modified: Wed Apr 16 03:22:56 2025; Machine Name: wallace-server

GNU bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.