* bug#62217: Ungoogled-chromium doesn't launch with linux 6.2
@ 2023-03-16 8:08 Nicolas Graves via Bug reports for GNU Guix
2023-03-16 9:36 ` Josselin Poiret via Bug reports for GNU Guix
2023-03-16 14:58 ` Jack Hill
0 siblings, 2 replies; 5+ messages in thread
From: Nicolas Graves via Bug reports for GNU Guix @ 2023-03-16 8:08 UTC (permalink / raw)
To: 62217
Hi!
I've updated linux to version 6.2.2 (the nonfree version), and since
then I can't launch ungoogled-chromium-wayland.
Nyxt or Firefox-like browsers work fine.
Here's what I tried :
guix shell gdb -- gdb /gnu/store/1jmlqw987ifnb3abr0s2hvihcg1n2xmx-ungoogled-chromium-wayland-109.0.5414.119-1/bin/chromium
yields
"/gnu/store/1jmlqw987ifnb3abr0s2hvihcg1n2xmx-ungoogled-chromium-wayland-109.0.5414.119-1/bin/chromium": not in executable format: file format not recognized
Thanks if you can fix this quickly.
--
Best regards,
Nicolas Graves
^ permalink raw reply [flat|nested] 5+ messages in thread
* bug#62217: Ungoogled-chromium doesn't launch with linux 6.2
2023-03-16 8:08 bug#62217: Ungoogled-chromium doesn't launch with linux 6.2 Nicolas Graves via Bug reports for GNU Guix
@ 2023-03-16 9:36 ` Josselin Poiret via Bug reports for GNU Guix
2023-03-16 14:58 ` Jack Hill
1 sibling, 0 replies; 5+ messages in thread
From: Josselin Poiret via Bug reports for GNU Guix @ 2023-03-16 9:36 UTC (permalink / raw)
To: Nicolas Graves, 62217
[-- Attachment #1: Type: text/plain, Size: 342 bytes --]
Hi Nicolas,
Nicolas Graves via Bug reports for GNU Guix <bug-guix@gnu.org> writes:
> Hi!
>
> I've updated linux to version 6.2.2 (the nonfree version), and since
> then I can't launch ungoogled-chromium-wayland.
Can you reproduce in linux-libre? A `guix system vm` should be enough
to test this.
Best,
--
Josselin Poiret
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 682 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* bug#62217: Ungoogled-chromium doesn't launch with linux 6.2
2023-03-16 8:08 bug#62217: Ungoogled-chromium doesn't launch with linux 6.2 Nicolas Graves via Bug reports for GNU Guix
2023-03-16 9:36 ` Josselin Poiret via Bug reports for GNU Guix
@ 2023-03-16 14:58 ` Jack Hill
2023-03-17 17:49 ` Maxim Cournoyer
1 sibling, 1 reply; 5+ messages in thread
From: Jack Hill @ 2023-03-16 14:58 UTC (permalink / raw)
To: Nicolas Graves; +Cc: 62217
On Thu, 16 Mar 2023, Nicolas Graves via Bug reports for GNU Guix wrote:
> "/gnu/store/1jmlqw987ifnb3abr0s2hvihcg1n2xmx-ungoogled-chromium-wayland-109.0.5414.119-1/bin/chromium": not in executable format: file format not recognized
I've run into this message in the past when my store got corrupted (in my
case it was a full disk on a computer that has other evil spirits living
in it as well). Can you check with `guix gc --verify=contents`? If it
reports anything, you might be able to repair it with `sudo guix gc
--verify=contents,repair`.
For what it's worth ungoogled-chromium works for me with Guix commit
5312d798ac36a72d8a977325a7c6ff7647be670a.
Best,
Jack
^ permalink raw reply [flat|nested] 5+ messages in thread
* bug#62217: Ungoogled-chromium doesn't launch with linux 6.2
2023-03-16 14:58 ` Jack Hill
@ 2023-03-17 17:49 ` Maxim Cournoyer
2024-05-10 9:45 ` Nicolas Graves via Bug reports for GNU Guix
0 siblings, 1 reply; 5+ messages in thread
From: Maxim Cournoyer @ 2023-03-17 17:49 UTC (permalink / raw)
To: Jack Hill; +Cc: Nicolas Graves, 62217
Hi,
Jack Hill <jackhill@jackhill.us> writes:
> On Thu, 16 Mar 2023, Nicolas Graves via Bug reports for GNU Guix wrote:
>
>> "/gnu/store/1jmlqw987ifnb3abr0s2hvihcg1n2xmx-ungoogled-chromium-wayland-109.0.5414.119-1/bin/chromium":
>> not in executable format: file format not recognized
>
> I've run into this message in the past when my store got corrupted (in
> my case it was a full disk on a computer that has other evil spirits
> living in it as well). Can you check with `guix gc --verify=contents`?
> If it reports anything, you might be able to repair it with `sudo guix
> gc --verify=contents,repair`.
I believe the error is because chromium is a shell script wrapper and
not an ELF binary.
I used the following script for those:
--8<---------------cut here---------------start------------->8---
$ cat ~/.local/bin/run-gdb
#!/usr/bin/env bash
(
wrapper=$(cat $(which $1))
shift
. <(echo "$wrapper" | grep ^export)
binary=$(echo "$wrapper" | grep ^exec | grep -o -E '/gnu/store[^"]*')
gdb --args "$binary" "$@"
)
--8<---------------cut here---------------end--------------->8---
Then you can do:
--8<---------------cut here---------------start------------->8---
run-gdb chromium
--8<---------------cut here---------------end--------------->8---
Hope that helps,
--
Thanks,
Maxim
^ permalink raw reply [flat|nested] 5+ messages in thread
* bug#62217: Ungoogled-chromium doesn't launch with linux 6.2
2023-03-17 17:49 ` Maxim Cournoyer
@ 2024-05-10 9:45 ` Nicolas Graves via Bug reports for GNU Guix
0 siblings, 0 replies; 5+ messages in thread
From: Nicolas Graves via Bug reports for GNU Guix @ 2024-05-10 9:45 UTC (permalink / raw)
To: Maxim Cournoyer, Jack Hill; +Cc: 62217
I don't experience the issue anymore, closing it.
On 2023-03-17 13:49, Maxim Cournoyer wrote:
> Hi,
>
> Jack Hill <jackhill@jackhill.us> writes:
>
>> On Thu, 16 Mar 2023, Nicolas Graves via Bug reports for GNU Guix wrote:
>>
>>> "/gnu/store/1jmlqw987ifnb3abr0s2hvihcg1n2xmx-ungoogled-chromium-wayland-109.0.5414.119-1/bin/chromium":
>>> not in executable format: file format not recognized
>>
>> I've run into this message in the past when my store got corrupted (in
>> my case it was a full disk on a computer that has other evil spirits
>> living in it as well). Can you check with `guix gc --verify=contents`?
>> If it reports anything, you might be able to repair it with `sudo guix
>> gc --verify=contents,repair`.
>
> I believe the error is because chromium is a shell script wrapper and
> not an ELF binary.
>
> I used the following script for those:
>
> --8<---------------cut here---------------start------------->8---
> $ cat ~/.local/bin/run-gdb
> #!/usr/bin/env bash
>
> (
> wrapper=$(cat $(which $1))
> shift
> . <(echo "$wrapper" | grep ^export)
> binary=$(echo "$wrapper" | grep ^exec | grep -o -E '/gnu/store[^"]*')
> gdb --args "$binary" "$@"
> )
> --8<---------------cut here---------------end--------------->8---
>
> Then you can do:
>
> --8<---------------cut here---------------start------------->8---
> run-gdb chromium
> --8<---------------cut here---------------end--------------->8---
>
> Hope that helps,
--
Best regards,
Nicolas Graves
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2024-05-10 9:47 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-03-16 8:08 bug#62217: Ungoogled-chromium doesn't launch with linux 6.2 Nicolas Graves via Bug reports for GNU Guix
2023-03-16 9:36 ` Josselin Poiret via Bug reports for GNU Guix
2023-03-16 14:58 ` Jack Hill
2023-03-17 17:49 ` Maxim Cournoyer
2024-05-10 9:45 ` Nicolas Graves via Bug reports for GNU Guix
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.