unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#57285: xdg-desktop-portal update executables no longer ELF binaries
@ 2022-08-18 19:36 Jack Hill
  2022-08-18 20:03 ` Liliana Marie Prikler
  0 siblings, 1 reply; 3+ messages in thread
From: Jack Hill @ 2022-08-18 19:36 UTC (permalink / raw)
  To: 57285; +Cc: othacehe

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




^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#57285: xdg-desktop-portal update executables no longer ELF binaries
  2022-08-18 19:36 bug#57285: xdg-desktop-portal update executables no longer ELF binaries Jack Hill
@ 2022-08-18 20:03 ` Liliana Marie Prikler
  2022-08-18 20:26   ` Jack Hill
  0 siblings, 1 reply; 3+ messages in thread
From: Liliana Marie Prikler @ 2022-08-18 20:03 UTC (permalink / raw)
  To: Jack Hill, 57285

Am Donnerstag, dem 18.08.2022 um 15:36 -0400 schrieb Jack Hill:
> 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




^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#57285: xdg-desktop-portal update executables no longer ELF binaries
  2022-08-18 20:03 ` Liliana Marie Prikler
@ 2022-08-18 20:26   ` Jack Hill
  0 siblings, 0 replies; 3+ messages in thread
From: Jack Hill @ 2022-08-18 20:26 UTC (permalink / raw)
  To: 57285

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




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-08-18 20:28 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-18 19:36 bug#57285: xdg-desktop-portal update executables no longer ELF binaries Jack Hill
2022-08-18 20:03 ` Liliana Marie Prikler
2022-08-18 20:26   ` Jack Hill

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).