> Le 22 août 2020 à 05:38, John Ralls <jra...@ceridwen.us> a écrit : > >> On Aug 21, 2020, at 1:14 PM, Pascal <p....@orange.fr> wrote: >> >> Hello, >> >> I've just run a fresh new jhbuild environment. >> I've got this error: >> % jhbuild bootstrap-gtk-osx >> Loading .env environment variables… >> ### in jhbuildrc-custom >> ### /opt/xnadalib-2020 38 >> Traceback (most recent call last): >> File "/opt/src-2020/Source/jhbuild/jhbuild/config.py", line 194, in load >> execfile(filename, config) >> File "/opt/src-2020/Source/jhbuild/jhbuild/utils/compat.py", line 67, in >> execfile >> exec(code, globals, locals) >> File "/opt/src-2020/config/jhbuildrc", line 609, in <module> >> _python_install_path = os.path.join(prefix, 'lib', _python_ver, >> 'site-packages') >> File >> "/opt/src-2020/.new_local/share/pyenv/versions/3.8.5/lib/python3.8/posixpath.py", >> line 90, in join >> genericpath._check_arg_types('join', a, *p) >> File >> "/opt/src-2020/.new_local/share/pyenv/versions/3.8.5/lib/python3.8/genericpath.py", >> line 152, in _check_arg_types >> raise TypeError(f'{funcname}() argument must be str, bytes, or ' >> TypeError: join() argument must be str, bytes, or os.PathLike object, not >> 'int' >> jhbuild: could not load config file >> >> Before the line 609 in jhbuildrc: >> https://github.com/jralls/gtk-osx-build/blob/master/jhbuildrc-gtk-osx#L608 >> I've added debug prints, see above lines with ### prefix. >> print (prefix, _python_ver) >> >> It seems that the issue is that _python_ver is a number not a string. >> It is ok if I changed the line to: >> _python_install_path = os.path.join(prefix, 'lib', str(_python_ver), >> 'site-packages') >> >> What is your feedback? > > Pascal, > > Makes sense. I've made the change and pushed it. Thanks.
Thanks John for the quick update. Then, I've got the following logs with "failed": % jhbuild bootstrap-gtk-osx ... E: ['pkg-config', '--list-all'] failed E: ['pkg-config', '--list-all'] failed *** Checking out xz *** [1/14] ... What are they? Thanks, Pascal. https://blady.pagesperso-orange.fr _______________________________________________ gtk-osx-users-list mailing list gtk-osx-users-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-osx-users-list