From: Nicolas Graves via Bug reports for GNU Guix <bug-guix@gnu.org>
To: Maxim Cournoyer <maxim.cournoyer@gmail.com>,
Jack Hill <jackhill@jackhill.us>
Cc: 62217@debbugs.gnu.org
Subject: bug#62217: Ungoogled-chromium doesn't launch with linux 6.2
Date: Fri, 10 May 2024 11:45:54 +0200 [thread overview]
Message-ID: <87pltuf19p.fsf@ngraves.fr> (raw)
In-Reply-To: <87y1nv469x.fsf@gmail.com>
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
prev parent reply other threads:[~2024-05-10 9:47 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87pltuf19p.fsf@ngraves.fr \
--to=bug-guix@gnu.org \
--cc=62217@debbugs.gnu.org \
--cc=jackhill@jackhill.us \
--cc=maxim.cournoyer@gmail.com \
--cc=ngraves@ngraves.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.