GNU bug report logs - #62217
Ungoogled-chromium doesn't launch with linux 6.2

Previous Next

Package: guix;

Reported by: Nicolas Graves <ngraves <at> ngraves.fr>

Date: Thu, 16 Mar 2023 08:09:01 UTC

Severity: normal

To reply to this bug, email your comments to 62217 AT debbugs.gnu.org.

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#62217; Package guix. (Thu, 16 Mar 2023 08:09:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Nicolas Graves <ngraves <at> ngraves.fr>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Thu, 16 Mar 2023 08:09:02 GMT) Full text and rfc822 format available.

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

From: Nicolas Graves <ngraves <at> ngraves.fr>
To: bug-guix <at> gnu.org
Subject: Ungoogled-chromium doesn't launch with linux 6.2
Date: Thu, 16 Mar 2023 09:08:06 +0100
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




Information forwarded to bug-guix <at> gnu.org:
bug#62217; Package guix. (Thu, 16 Mar 2023 09:37:01 GMT) Full text and rfc822 format available.

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

From: Josselin Poiret <dev <at> jpoiret.xyz>
To: Nicolas Graves <ngraves <at> ngraves.fr>, 62217 <at> debbugs.gnu.org
Subject: Re: bug#62217: Ungoogled-chromium doesn't launch with linux 6.2
Date: Thu, 16 Mar 2023 10:36:17 +0100
[Message part 1 (text/plain, inline)]
Hi Nicolas,

Nicolas Graves via Bug reports for GNU Guix <bug-guix <at> 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
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#62217; Package guix. (Thu, 16 Mar 2023 14:59:01 GMT) Full text and rfc822 format available.

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

From: Jack Hill <jackhill <at> jackhill.us>
To: Nicolas Graves <ngraves <at> ngraves.fr>
Cc: 62217 <at> debbugs.gnu.org
Subject: Re: bug#62217: Ungoogled-chromium doesn't launch with linux 6.2
Date: Thu, 16 Mar 2023 10:58:44 -0400 (EDT)
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




Information forwarded to bug-guix <at> gnu.org:
bug#62217; Package guix. (Fri, 17 Mar 2023 17:50:01 GMT) Full text and rfc822 format available.

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

From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: Jack Hill <jackhill <at> jackhill.us>
Cc: Nicolas Graves <ngraves <at> ngraves.fr>, 62217 <at> debbugs.gnu.org
Subject: Re: bug#62217: Ungoogled-chromium doesn't launch with linux 6.2
Date: Fri, 17 Mar 2023 13:49:46 -0400
Hi,

Jack Hill <jackhill <at> 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




This bug report was last modified 1 year and 39 days ago.

Previous Next


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