bug#76848: TLP 1.8 package misses perl

2025-03-08 Thread glab via Bug reports for GNU Guix

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





bug#76849: wine 10.0 linker error

2025-03-08 Thread glab via Bug reports for GNU Guix

Running 32-bit wine results in the following error:

  bash: /gnu/store/sxbn4yi12jna12c4s8ab8wrb1n51hfhy-wine-10.0/bin/wine: 
No such file or directory


That file actually does exist. Calling file on it provides this output:
  /gnu/store/sxbn4yi12jna12c4s8ab8wrb1n51hfhy-wine-10.0/bin/wine: ELF 
32-bit LSB pie executable, Intel 80386, version 1 (SYSV), dynamically 
linked, interpreter 
/gnu/store/hw6g2kjayxnqi8rwpnmpraalxi0djkxc-glibc-2.39/lib/ld-linux.so.2, 
for GNU/Linux 3.2.0, stripped


However, the linked interpreter does not exist.

Rutherther kindly provided the following insight on IRC:
"wine(32) seems to work like this: "guix shell --system=i686-linux 
wine", which is counterintuitive imo, x86_64 should either be 
unsupported platform, or it should be made sure that it points to them 
on x86_64 as well"


--
Gustavo





bug#76848: TLP 1.8 package misses perl

2025-03-11 Thread glab via Bug reports for GNU Guix

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