unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#66849: correct hash but empty binaries
@ 2023-10-31 13:14 lgcoelho--- via Bug reports for GNU Guix
  2023-10-31 22:22 ` bug#66849: (no subject) lgcoelho
  0 siblings, 1 reply; 2+ messages in thread
From: lgcoelho--- via Bug reports for GNU Guix @ 2023-10-31 13:14 UTC (permalink / raw)
  To: 66849

[-- Attachment #1: Type: text/plain, Size: 1745 bytes --]

Some weeks ago, after running `guix pull` and `guix home reconfigure 
~/.config/guix/home.scm`, my telegram-desktop stopped working. It showed 
no error messages whatsoever, running it just didn't start a process. 
Given particular circumstances, I did no further investigation, and did 
not write a bug report, only switched the pull commit and reconfigured 
my home.

Some days later, I guix pulled and reconfigured my home again, this time 
to the latest commit, and telegram-desktop was fixed, but mpv was acting 
exactly the same, since I didn't investigate the first time, can't 
affirm it's the same problem, but seems plausible.

Relevant information:
```
+radio at buer in ~ > strace mpv --help
execve("/home/radio/.guix-home/profile/bin/mpv", ["mpv", "--help"], 
0x7ffd853ab2d8 /* 84 vars */) = -1 ENOEXEC (Exec format error)

strace: exec: Exec format error

+++ exited with 1 +++
```
```
+radio at buer in ~ > file $(which mpv)
/home/radio/.guix-home/profile/bin/mpv: symbolic link to 
/gnu/store/fqxxf5kdjf6d67szgh5rz64mzkxwm2yx-mpv-0.36.0/bin/mpv
```
```
+radio at buer in ~ > file 
/gnu/store/fqxxf5kdjf6d67szgh5rz64mzkxwm2yx-mpv-0.36.0/bin/mpv
/gnu/store/fqxxf5kdjf6d67szgh5rz64mzkxwm2yx-mpv-0.36.0/bin/mpv: empty
```

```
+radio at buer in ~ > guix describe
Generation 127  Oct 31 2023 08:36:59    (current)
   radix 58fe4d3
     repository URL: https://codeberg.org/anemofilia/radix
     branch: main
     commit: 58fe4d318f44103c30465da0af810b3f00aa0b9d
   guix c089537
     repository URL: https://git.savannah.gnu.org/git/guix.git
     branch: master
     commit: c0895371c5759c7d9edb330774e90f192cc4cf2c
```

A friend on the #guix IRC channel tried to reproduce the error, but got 
an working mpv, with the exact same hash.

[-- Attachment #2: Type: text/html, Size: 2324 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#66849: (no subject)
  2023-10-31 13:14 bug#66849: correct hash but empty binaries lgcoelho--- via Bug reports for GNU Guix
@ 2023-10-31 22:22 ` lgcoelho
  0 siblings, 0 replies; 2+ messages in thread
From: lgcoelho @ 2023-10-31 22:22 UTC (permalink / raw)
  To: 66849

[-- Attachment #1: Type: text/plain, Size: 748 bytes --]

Now it seems more plausible that telegram-desktop suffered from the same 
problem. I discovered my pavucontrol acting the same way as mpv, and 
after some investigation I got that:

```
+radio at buer in ~ > for file in ~/.guix-home/profile/bin/*
                           file -L $file
                       end | grep empty
/home/radio/.guix-home/profile/bin/mpv: empty
/home/radio/.guix-home/profile/bin/pamixer: empty
/home/radio/.guix-home/profile/bin/pavucontrol: empty
/home/radio/.guix-home/profile/bin/pinentry: empty
/home/radio/.guix-home/profile/bin/pinentry-gtk-2: empty
/home/radio/.guix-home/profile/bin/redshift: empty
/home/radio/.guix-home/profile/bin/yt-dlp: empty

```

I hope it can be useful to understand what is happening.

[-- Attachment #2: Type: text/html, Size: 1865 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-11-01  4:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-10-31 13:14 bug#66849: correct hash but empty binaries lgcoelho--- via Bug reports for GNU Guix
2023-10-31 22:22 ` bug#66849: (no subject) lgcoelho

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).