Xpra-org / xpra

Persistent remote applications for X11; screen sharing for X11, MacOS and MSWindows.
https://xpra.org/
GNU General Public License v2.0
1.98k stars 169 forks source link

Mac M1, run jhbuild update, got "No such file or directory: 'xpra-gtk3.modules'" #4203

Closed lpf6 closed 6 months ago

lpf6 commented 6 months ago

Describe the bug Run jhbuild update got error when I try to build from source on MacOS M1 Pro:

jhbuild update: failed to parse xpra-gtk3.modules: [Errno 2] No such file or directory: 'xpra-gtk3.modules'.

How can I aviod the error?

To Reproduce I follow the doc docs/Build/MacOS.md to install from source in Mac M1.

  1. Setup gtk-osx And set PATH
  2. Configure jhbuild to use our modules
  3. when I run jhbuild update got error: "No such file or directory: 'xpra-gtk3.modules'".

System Information (please complete the following information):

Additional context I has uninstall brew in my MAC to build source, their is all logs of jhbuild update when I run again:

/Users/lu/.new_local/lib/python3.11/site-packages/pipenv/vendor/attr/_make.py:778: RuntimeWarning: Running interpreter doesn't sufficiently support code object introspection.  Some features like bare super() or accessing __class__ will not work with slotted classes.
  set_closure_cell(cell, cls)
/Users/lu/.new_local/lib/python3.11/site-packages/pipenv/vendor/attr/_make.py:778: RuntimeWarning: Running interpreter doesn't sufficiently support code object introspection.  Some features like bare super() or accessing __class__ will not work with slotted classes.
  set_closure_cell(cell, cls)
Loading .env environment variables...
Setting $PYTHON to module-built python3 because python3;.
Modules python3;meta-osx-xpra-deps
jhbuild update: failed to parse xpra-gtk3.modules: [Errno 2] No such file or directory: 'xpra-gtk3.modules'
lpf6 commented 6 months ago

I found where 'xpra-gtk3.modules', it is in another repo, I fix by:

git clone https://github.com/Xpra-org/gtk-osx-build.git
cd gtk-osx-build
jhbuild update

Maybe better to add this step to doc.

cpatulea commented 6 months ago

Sorry about that, https://github.com/Xpra-org/xpra/pull/4212