From debbugs-submit-bounces@debbugs.gnu.org Fri Mar 17 13:49:57 2023 Received: (at 62217) by debbugs.gnu.org; 17 Mar 2023 17:49:57 +0000 Received: from localhost ([127.0.0.1]:45567 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pdEDF-0001fi-B5 for submit@debbugs.gnu.org; Fri, 17 Mar 2023 13:49:57 -0400 Received: from mail-qt1-f178.google.com ([209.85.160.178]:33389) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pdEDD-0001fT-GT for 62217@debbugs.gnu.org; Fri, 17 Mar 2023 13:49:55 -0400 Received: by mail-qt1-f178.google.com with SMTP id n2so6517330qtp.0 for <62217@debbugs.gnu.org>; Fri, 17 Mar 2023 10:49:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1679075389; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=K7CkOf8T+/9eilPZlG9l0SSViW2BZ9Ytl+A0q1IfIug=; b=eOoSx65ZTxOznsxRHZTOlq+BEQONyMCtrZlrxx4l4XG6AQUMw4Pi+sha1g13IcwL5V HccyaGB1wFRocrQrLp9fRpJaRa5VSnRxWh3B3X4aM2WFTWJ+1CpWe21ongvwJUP+Ash+ G99tT111yroV0av0bK5P6BCtoVeIQ+NzQ6Gm5vu+N0kA4E+k7Bx2Y4B202MdZbDPT4Pr Waq+gUAb/qjqo//d2ROu9deyMs9PAYFyHrWkkpT0Q9O26sPQ3b0bXfO5kaKcEmpdoOW8 HAbtQ15h0DHSIJrHYRubZPlrlejKPwaNJ7mgdAlcr9BYBY+DeRUaMeFDQF+UF80AwZQI bSwA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679075389; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=K7CkOf8T+/9eilPZlG9l0SSViW2BZ9Ytl+A0q1IfIug=; b=ygoGJkWPG3sRtQydKKzn3ZsD42g3lvCje/JQdqbugViSRXH9hjuinIl2nA9Y2DVUb6 pJhHc+Lt+O9itpCyQXkNESglOobLM0eVuRSQDw5gObOudnmFTEw9ZaC3nCEnK6RQ8pX2 3KnAVk+XXaUOohUj93TqaFRye/RYnAq+mttwMqNHz9EOcaOtq+p04Xy0KBDyG8h9axyA YGG40hETYeKSKYidBuNC1adtY/bmmp7WDsqzkGu75kWxLBIljJrB+5bpfNpiWeTw2Hd0 +PRA3Bk1ueZO2GBAZP0/qyyZMvmxYXniE0kwOaC1GRA+uF4dMCGBvMB3Qa28cFnthuqy bBBQ== X-Gm-Message-State: AO0yUKVWUoVNw2gfvZxW6IcYHW7GfV34weXNnHKm/NCno/gY0h8IDquX yuxfug4ZURig8wcQcX+XdoLMfd0AhKg= X-Google-Smtp-Source: AK7set/SufeZsH0gaGCdbCmj//6vp/b2awA2NYlAOItcfWPxI8Aa3Ae31aNkK6taJG7uy0VX/ay92A== X-Received: by 2002:ac8:5dd4:0:b0:3b8:6b3c:a37 with SMTP id e20-20020ac85dd4000000b003b86b3c0a37mr15039221qtx.6.1679075388888; Fri, 17 Mar 2023 10:49:48 -0700 (PDT) Received: from hurd (dsl-158-22.b2b2c.ca. [66.158.158.22]) by smtp.gmail.com with ESMTPSA id 18-20020a05620a041200b0074235745fdasm2071965qkp.58.2023.03.17.10.49.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Mar 2023 10:49:48 -0700 (PDT) From: Maxim Cournoyer To: Jack Hill Subject: Re: bug#62217: Ungoogled-chromium doesn't launch with linux 6.2 References: <87mt4ddspl.fsf@ngraves.fr> Date: Fri, 17 Mar 2023 13:49:46 -0400 In-Reply-To: (Jack Hill's message of "Thu, 16 Mar 2023 10:58:44 -0400 (EDT)") Message-ID: <87y1nv469x.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 62217 Cc: Nicolas Graves , 62217@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi, Jack Hill 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