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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 76848 in the body.
You can then email your comments to 76848 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#76848; Package guix. (Fri, 07 Mar 2025 23:58:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to glab <glab <at> disroot.org>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Fri, 07 Mar 2025 23:58:02 GMT) Full text and rfc822 format available.

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

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




Information forwarded to bug-guix <at> gnu.org:
bug#76848; Package guix. (Sat, 08 Mar 2025 19:02:02 GMT) Full text and rfc822 format available.

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

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 <at> 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 <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?

Regards,
-- 
Nicolas Goaziou






Information forwarded to bug-guix <at> gnu.org:
bug#76848; Package guix. (Sat, 08 Mar 2025 19:02:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-guix <at> gnu.org:
bug#76848; Package guix. (Tue, 11 Mar 2025 13:07:01 GMT) Full text and rfc822 format available.

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

From: glab <glab <at> disroot.org>
To: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
Cc: 76848 <at> 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 <at> gnu.org:
bug#76848; Package guix. (Tue, 11 Mar 2025 15:59:03 GMT) Full text and rfc822 format available.

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

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






Reply sent to Nicolas Goaziou <mail <at> nicolasgoaziou.fr>:
You have taken responsibility. (Tue, 11 Mar 2025 15:59:07 GMT) Full text and rfc822 format available.

Notification sent to glab <glab <at> disroot.org>:
bug acknowledged by developer. (Tue, 11 Mar 2025 15:59:07 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 09 Apr 2025 11:24:13 GMT) Full text and rfc822 format available.

This bug report was last modified 30 days ago.

Previous Next


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