GNU bug report logs - #57285
xdg-desktop-portal update executables no longer ELF binaries

Previous Next

Package: guix;

Reported by: Jack Hill <jackhill <at> jackhill.us>

Date: Thu, 18 Aug 2022 19:37:02 UTC

Severity: normal

Tags: notabug

Done: Jack Hill <jackhill <at> jackhill.us>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 57285 in the body.
You can then email your comments to 57285 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to othacehe <at> gnu.org, bug-guix <at> gnu.org:
bug#57285; Package guix. (Thu, 18 Aug 2022 19:37:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Jack Hill <jackhill <at> jackhill.us>:
New bug report received and forwarded. Copy sent to othacehe <at> gnu.org, bug-guix <at> gnu.org. (Thu, 18 Aug 2022 19:37:02 GMT) Full text and rfc822 format available.

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

From: Jack Hill <jackhill <at> jackhill.us>
To: bug-guix <at> gnu.org
Subject: xdg-desktop-portal update executables no longer ELF binaries
Date: Thu, 18 Aug 2022 15:36:52 -0400 (EDT)
X-Debbugs-CC: othacehe <at> gnu.org

Hi Guix,

After the recent update to xdg-desktop-portal (commit 
38d7e6d6b7467839c2f577783b6c97194ff5026b), I find that the 
xdg-desktop-portal executalbe is no longer an ELF binary. This causes 
portal using applications (I noticed with obs) to not be able to launch 
the portal, and print messages like "[portals] Error retrieving D-Bus 
proxy: Error calling StartServiceByName for 
org.freedesktop.portal.Desktop: Failed to execute program 
org.freedesktop.portal.Desktop: Exec format error"

"""
jackhill <at> leyden ~/repos/guix [env]$ git log HEAD^..HEAD
commit ceacf8e32f3671ab598c71e691b580a72af4e16e (HEAD -> master, origin/master, origin/HEAD)
Author: Jan (janneke) Nieuwenhuizen <janneke <at> gnu.org>
Date:   Thu Aug 18 16:10:22 2022 +0200

    gnu: dezyne: Update to 2.16.0.

    * gnu/packages/dezyne.scm (dezyne): Update to 2.16.0.
jackhill <at> leyden ~/repos/guix [env]$ file $(./pre-inst-env guix build xdg-desktop-portal)/libexec/xdg-desktop-portal
/gnu/store/bp9j67p8ynif5p2vbjl7lg294f5aihxk-xdg-desktop-portal-1.14.4/libexec/xdg-desktop-portal: data
jackhill <at> leyden ~/repos/guix [env]$ git revert 38d7e6d6b7467839c2f577783b6c97194ff5026b
Auto-merging gnu/packages/freedesktop.scm
[master 51f81ad19a] Revert "gnu: xdg-desktop-portal: Update to 1.14.4."
 1 file changed, 7 insertions(+), 11 deletions(-)
jackhill <at> leyden ~/repos/guix [env]$ make
make  all-recursive
make[1]: Entering directory '/home/jackhill/repos/guix'
Making all in po/guix
make[2]: Entering directory '/home/jackhill/repos/guix/po/guix'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/jackhill/repos/guix/po/guix'
Making all in po/packages
make[2]: Entering directory '/home/jackhill/repos/guix/po/packages'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/jackhill/repos/guix/po/packages'
make[2]: Entering directory '/home/jackhill/repos/guix'
Compiling Scheme modules...
Compiling Scheme modules...
[ 78%] LOAD     gnu/packages/freedesktop.scm
;;; note: source file ./gnu/packages/freedesktop.scm
;;;       newer than compiled /home/jackhill/repos/guix/gnu/packages/freedesktop.go
;;; note: source file ./gnu/packages/freedesktop.scm
;;;       newer than compiled /home/jackhill/repos/guix/gnu/packages/freedesktop.go
[ 78%] GUILEC   gnu/packages/freedesktop.go
Compiling Scheme modules...
Compiling Scheme modules...
make[2]: Leaving directory '/home/jackhill/repos/guix'
make[1]: Leaving directory '/home/jackhill/repos/guix'
jackhill <at> leyden ~/repos/guix [env]$ file $(./pre-inst-env guix build xdg-desktop-portal)/libexec/xdg-desktop-portal
/gnu/store/0hab3g3r058yvm9902xg71y94xr6bwb8-xdg-desktop-portal-1.10.1/libexec/xdg-desktop-portal: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /gnu/store/5h2w4qi9hk1qzzgi1w83220ydslinr4s-glibc-2.33/lib/ld-linux-x86-64.so.2, for GNU/Linux 2.6.32, stripped
"""

Best,
Jack




Information forwarded to bug-guix <at> gnu.org:
bug#57285; Package guix. (Thu, 18 Aug 2022 20:05:01 GMT) Full text and rfc822 format available.

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

From: Liliana Marie Prikler <liliana.prikler <at> gmail.com>
To: Jack Hill <jackhill <at> jackhill.us>, 57285 <at> debbugs.gnu.org
Subject: Re: xdg-desktop-portal update executables no longer ELF binaries
Date: Thu, 18 Aug 2022 22:03:56 +0200
Am Donnerstag, dem 18.08.2022 um 15:36 -0400 schrieb Jack Hill:
> X-Debbugs-CC: othacehe <at> gnu.org
> 
> Hi Guix,
> 
> After the recent update to xdg-desktop-portal (commit 
> 38d7e6d6b7467839c2f577783b6c97194ff5026b), I find that the 
> xdg-desktop-portal executalbe is no longer an ELF binary. This causes
> portal using applications (I noticed with obs) to not be able to launch
> the portal, and print messages like "[portals] Error retrieving D-Bus
> proxy: Error calling StartServiceByName for 
> org.freedesktop.portal.Desktop: Failed to execute program 
> org.freedesktop.portal.Desktop: Exec format error"
Could it be that you have a corrupt (possibly empty) file?  On my
machine I have

$ file /gnu/store/dfp9xsk36wkanaan6zcylc2b86bfj2y7-xdg-desktop-portal-
1.14.4/libexec/xdg-desktop-portal
/gnu/store/dfp9xsk36wkanaan6zcylc2b86bfj2y7-xdg-desktop-portal-
1.14.4/libexec/xdg-desktop-portal: ELF 64-bit LSB executable, x86-64,
version 1 (SYSV), dynamically linked, interpreter
/gnu/store/5h2w4qi9hk1qzzgi1w83220ydslinr4s-glibc-2.33/lib/ld-linux-
x86-64.so.2, for GNU/Linux 2.6.32, stripped

$ file /gnu/store/bp9j67p8ynif5p2vbjl7lg294f5aihxk-xdg-desktop-portal-
1.14.4/libexec/xdg-desktop-portal
/gnu/store/bp9j67p8ynif5p2vbjl7lg294f5aihxk-xdg-desktop-portal-
1.14.4/libexec/xdg-desktop-portal: ELF 64-bit LSB executable, x86-64,
version 1 (SYSV), dynamically linked, interpreter
/gnu/store/5h2w4qi9hk1qzzgi1w83220ydslinr4s-glibc-2.33/lib/ld-linux-
x86-64.so.2, for GNU/Linux 2.6.32, stripped

Cheers




Information forwarded to bug-guix <at> gnu.org:
bug#57285; Package guix. (Thu, 18 Aug 2022 20:27:02 GMT) Full text and rfc822 format available.

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

From: Jack Hill <jackhill <at> jackhill.us>
To: 57285 <at> debbugs.gnu.org
Subject: Re: xdg-desktop-portal update executables no longer ELF binaries
Date: Thu, 18 Aug 2022 16:26:18 -0400 (EDT)
On Thu, 18 Aug 2022, Liliana Marie Prikler wrote:

> Could it be that you have a corrupt (possibly empty) file?  On my
> machine I have
>
> $ file /gnu/store/dfp9xsk36wkanaan6zcylc2b86bfj2y7-xdg-desktop-portal-
> 1.14.4/libexec/xdg-desktop-portal
> /gnu/store/dfp9xsk36wkanaan6zcylc2b86bfj2y7-xdg-desktop-portal-
> 1.14.4/libexec/xdg-desktop-portal: ELF 64-bit LSB executable, x86-64,
> version 1 (SYSV), dynamically linked, interpreter
> /gnu/store/5h2w4qi9hk1qzzgi1w83220ydslinr4s-glibc-2.33/lib/ld-linux-
> x86-64.so.2, for GNU/Linux 2.6.32, stripped
>
> $ file /gnu/store/bp9j67p8ynif5p2vbjl7lg294f5aihxk-xdg-desktop-portal-
> 1.14.4/libexec/xdg-desktop-portal
> /gnu/store/bp9j67p8ynif5p2vbjl7lg294f5aihxk-xdg-desktop-portal-
> 1.14.4/libexec/xdg-desktop-portal: ELF 64-bit LSB executable, x86-64,
> version 1 (SYSV), dynamically linked, interpreter
> /gnu/store/5h2w4qi9hk1qzzgi1w83220ydslinr4s-glibc-2.33/lib/ld-linux-
> x86-64.so.2, for GNU/Linux 2.6.32, stripped

Indeed, it was corrupt. After collecting the affected items, and 
re-fetching substitutes, everything looks good.

Thanks!
Jack




Added tag(s) notabug. Request was from Jack Hill <jackhill <at> jackhill.us> to control <at> debbugs.gnu.org. (Thu, 18 Aug 2022 20:29:01 GMT) Full text and rfc822 format available.

bug closed, send any further explanations to 57285 <at> debbugs.gnu.org and Jack Hill <jackhill <at> jackhill.us> Request was from Jack Hill <jackhill <at> jackhill.us> to control <at> debbugs.gnu.org. (Thu, 18 Aug 2022 20:29:01 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 16 Sep 2022 11:24:10 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 279 days ago.

Previous Next


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