> On Oct 2, 2020, at 1:13 PM, Pascal <p....@orange.fr> wrote:
> 
> Hello,
> 
> After upgrading to Xcode 12 which brings Python 3.8, I fell again into 
> libxml2 issue, see:
> https://mail.gnome.org/archives/gtk-osx-users-list/2020-January/msg00037.html
> 
> Now it's with glade:
> *** Checking out libxml2 *** [1/3]
> *** Skipping libxml2 (package and dependencies not updated) *** [1/3]
> *** Checking out itstool *** [2/3]
> *** Skipping itstool (package and dependencies not updated) *** [2/3]
> *** Checking out glade *** [3/3]
> ...
> Making all in help
> make[2]: Entering directory 
> '/usr/local/src-2020/cache/jhbuild/build/glade-3.22.1/help'
>  GEN      bg/bg.mo
>  GEN      ca/ca.mo
> ...
>  GEN    el/
> Traceback (most recent call last):
> Traceback (most recent call last):
> Traceback (most recent call last):
> Traceback (most recent call last):
>  File "/usr/local/xnadalib-2020/bin/itstool", line 27, in <module>
>  File "/usr/local/xnadalib-2020/bin/itstool", line 27, in <module>
>  File "/usr/local/xnadalib-2020/bin/itstool", line 27, in <module>
>  File "/usr/local/xnadalib-2020/bin/itstool", line 27, in <module>
>    import libxml2
> ModuleNotFoundError: No module named 'libxml2'
>    import libxml2
> ModuleNotFoundError: No module named 'libxml2'
>    import libxml2
> ModuleNotFoundError: No module named 'libxml2'
>    import libxml2
> ModuleNotFoundError: No module named 'libxml2'
> make[2]: *** [Makefile:597: cs/cs.stamp] Error 1
> make[2]: *** Waiting for unfinished jobs....
> make[2]: *** [Makefile:597: ca/ca.stamp] Error 1
> make[2]: *** [Makefile:597: bg/bg.stamp] Error 1
> Traceback (most recent call last):
>  File "/usr/local/xnadalib-2020/bin/itstool", line 27, in <module>
>    import libxml2
> ModuleNotFoundError: No module named 'libxml2'
> make[2]: *** [Makefile:597: el/el.stamp] Error 1
> make[2]: *** [Makefile:597: de/de.stamp] Error 1
> make[2]: Leaving directory 
> '/usr/local/src-2020/cache/jhbuild/build/glade-3.22.1/help'
> make[1]: *** [Makefile:506: all-recursive] Error 1
> make[1]: Leaving directory 
> '/usr/local/src-2020/cache/jhbuild/build/glade-3.22.1'
> make: *** [Makefile:436: all] Error 2
> *** Error during phase build of glade: ########## Error running make -j 5  
> *** [3/3]
> 
> I try with success my last hack:
> % PYTHON=/usr/local/xnadalib-2020/bin jhbuild build glade  
> Loading .env environment variables…
> in jhbuildrc-custom
> *** Checking out libxml2 *** [1/3]
> *** Configuring libxml2 *** [1/3]
> ...
> *** Checking out itstool *** [2/3]
> *** Configuring itstool *** [2/3]
> ...
> *** Checking out glade *** [3/3]
> *** Configuring glade *** [3/3]
> ...
> *** success *** [3/3]
> 
> Is there an other way to do it?

I think I fixed that with 
https://gitlab.gnome.org/GNOME/gtk-osx/-/commit/eb7a8c32274dd4a91f3a79bbebf470900c7b2156.
 You'll need to update jhbuildrc and rebuild libxml2 and itstool.

Regards,
John Ralls

_______________________________________________
gtk-osx-users-list mailing list
gtk-osx-users-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-osx-users-list

Reply via email to