xdg-desktop-portal update executables no longer ELF binaries

  • Done
  • quality assurance status badge
Details
2 participants
  • Jack Hill
  • Liliana Marie Prikler
Owner
unassigned
Submitted by
Jack Hill
Severity
normal
J
J
Jack Hill wrote on 18 Aug 2022 21:36
(address . bug-guix@gnu.org)
7820c565-1517-12dc-d026-648a4a692bf1@jackhill.us
X-Debbugs-CC: othacehe@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@leyden ~/repos/guix [env]$ git log HEAD^..HEAD
commit ceacf8e32f3671ab598c71e691b580a72af4e16e (HEAD -> master, origin/master, origin/HEAD)
Author: Jan (janneke) Nieuwenhuizen <janneke@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@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@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@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@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
L
L
Liliana Marie Prikler wrote on 18 Aug 2022 22:03
9f3c2e9020d46ead13ecd77f04614e213f66a5e8.camel@gmail.com
Am Donnerstag, dem 18.08.2022 um 15:36 -0400 schrieb Jack Hill:
Toggle quote (12 lines)
> X-Debbugs-CC: othacehe@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
J
J
Jack Hill wrote on 18 Aug 2022 22:26
(address . 57285@debbugs.gnu.org)
81e32306-ca27-5773-433a-800a3cf728fe@jackhill.us
On Thu, 18 Aug 2022, Liliana Marie Prikler wrote:

Toggle quote (19 lines)
> 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
J
J
Jack Hill wrote on 18 Aug 2022 22:28
corrupted store items not a bug in package
(address . control@debbugs.gnu.org)
c6a0ebae-2173-09e5-35e5-b434b8ab307f@jackhill.us
tags 57285 notabug
close 57285
?
Your comment

This issue is archived.

To comment on this conversation send an email to 57285@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 57285
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch