xpra 4.3 appears to be broken

  • Done
  • quality assurance status badge
Details
2 participants
  • Lars-Dominik Braun
  • t
Owner
unassigned
Submitted by
t
Severity
normal
T
(address . bug-guix@gnu.org)
87bl0zenlc.fsf@fastmail.com
Hello guix.

Relatively fresh guix, pulled 2 days ago.

--------
$ guix describe
Generation 10 Dec 27 2021 15:36:01 (current)
guix 9e9489f
branch: master
commit: 9e9489fb11ac73e51abe293235738d70365affa9
--------

Installing xpra 4.3 package as described in xorg.scm. Looks like
it pulls a substitute with upstream log at
where I don't really see anything pop as suspicious

Attempting to start a session however fails:
--------
$ guix environment --ad-hoc xpra --pure -- xpra start :100
2021-12-29 09:44:20,712 Warning: cannot load cython bencode
module: No module named 'xpra.net.bencode.cython_bencode'
Warning: using '/run/user/1000' as XDG_RUNTIME_DIR
xpra initialization error:
start is not supported by this local installation
--------

I reported this to xpra maintainer first thinking the problem was
there https://github.com/Xpra-org/xpra/issues/3403but they confirmed that our build was likely incomplete. As per
above you can already tell that cython_bencode is in fact missing
and indeed I don't see it in the built artefact in the store,
though it is present in the source repo. "start not supported"
above indicates we have bigger issues, as per maintainer we
probably don't have access to the server component. Briefly
grepping for that warning origin, looks like we're likely failing
the supports_server test in xpra/scripts/parsing.py:

if supports_server:
try:
from xpra.x11.bindings.wait_for_x_server import
wait_for_x_server #@UnresolvedImport @UnusedImport
except ImportError:
supports_server = False


I am way out of my depth to debug this on my own, but happy to try
and assist.

I believe the previous build of 4.2.smth worked for me, so must be
something new. Is there an easy way to downgrade this package
without rolling entire guix? Do I use inferior guix for that
somehow?

Happy to follow this up with guix xpra package maintainer if only
I could figure who that courageous soul was.

Thanks
L
L
Lars-Dominik Braun wrote on 3 Jan 2022 09:20
(address . t@fullmeta.me)
YdKxy9MzCMhXorIT@noor.fritz.box
Hi,


Toggle quote (6 lines)
> $ guix environment --ad-hoc xpra --pure -- xpra start :100
> 2021-12-29 09:44:20,712 Warning: cannot load cython bencode
> module: No module named 'xpra.net.bencode.cython_bencode'
> Warning: using '/run/user/1000' as XDG_RUNTIME_DIR
> xpra initialization error:
> start is not supported by this local installation
it’s also broken for me and I couldn’t come up with an easy fix,
so I reverted the upgrade to 4.3 for now. If you `guix pull` it should
be back to 4.2.2.

You definitely can use inferiors to work around something like this. You
could also run a known-good version via `guix shell --commit=xxx`.

Cheers,
Lars
L
L
Lars-Dominik Braun wrote on 7 Jan 2022 09:02
(address . t@fullmeta.me)(address . 52869-done@debbugs.gnu.org)
YdfziSYM7rXIWZm3@noor.fritz.box
Hi again,

Toggle quote (3 lines)
> it’s also broken for me and I couldn’t come up with an easy fix,
> so I reverted the upgrade to 4.3 for now. If you `guix pull` it should
> be back to 4.2.2.
it looks like this was not sufficient. I pushed
927c58925667eabdcd07a9dc68e283ef0f6b6b0e to fix it and upgraded xpra
again in b3b6373cd6a759896b2c5ea4f84b7f0fa9df9e8d.

Cheers,
Lars
Closed
?
Your comment

This issue is archived.

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

To respond to this issue using the mumi CLI, first switch to it
mumi current 52869
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