Re: [gtk-osx-users] No dependency for gobject-introspection when building pygobject3.




On Dec 24, 2021, at 6:43 AM, Pascal <p p14 orange fr> wrote:

Hello,

gobject-introspection seems not in pygobject3 dependency list:

% jhbuild build pygobject3       
Loading .env environment variables...
in jhbuildrc-custom
*** Checking out zlib *** [1/20]
*** Skipping zlib (package and dependencies not updated) *** [1/20]
*** Checking out libpng *** [2/20]
*** Skipping libpng (package and dependencies not updated) *** [2/20]
*** Checking out libjpeg *** [3/20]
*** Skipping libjpeg (package and dependencies not updated) *** [3/20]
*** Checking out libtiff *** [4/20]
*** Skipping libtiff (package and dependencies not updated) *** [4/20]
*** Checking out libxml2 *** [5/20]
*** Skipping libxml2 (package and dependencies not updated) *** [5/20]
*** Checking out libxslt *** [6/20]
*** Skipping libxslt (package and dependencies not updated) *** [6/20]
*** Checking out itstool *** [7/20]
*** Skipping itstool (package and dependencies not updated) *** [7/20]
*** Checking out gtk-doc *** [8/20]
*** Skipping gtk-doc (package and dependencies not updated) *** [8/20]
*** Checking out pixman *** [10/20]
*** Skipping pixman (package and dependencies not updated) *** [10/20]
*** Checking out libffi *** [11/20]
*** Skipping libffi (package and dependencies not updated) *** [11/20]
*** Checking out glib *** [12/20]
*** Skipping glib (package and dependencies not updated) *** [12/20]
*** Checking out freetype-no-harfbuzz *** [13/20]
*** Skipping freetype-no-harfbuzz (package and dependencies not updated) *** [13/20]
*** Checking out icu *** [14/20]
*** Skipping icu (package and dependencies not updated) *** [14/20]
*** Checking out harfbuzz-no-cairo *** [15/20]
*** Skipping harfbuzz-no-cairo (package and dependencies not updated) *** [15/20]
*** Checking out freetype *** [16/20]
*** Skipping freetype (package and dependencies not updated) *** [16/20]
*** Checking out fontconfig *** [17/20]
*** Skipping fontconfig (package and dependencies not updated) *** [17/20]
*** Checking out cairo *** [18/20]
*** Skipping cairo (package and dependencies not updated) *** [18/20]
*** Checking out pycairo *** [19/20]
*** Skipping pycairo (package and dependencies not updated) *** [19/20]
*** Checking out pygobject3 *** [20/20]
*** Configuring pygobject3 *** [20/20]
meson --prefix /usr/local/xnadalib-2021 --libdir lib  --wrap-mode=nofallback 
/usr/local/src-2021/pygobject-3.40.1
The Meson build system
Version: 0.59.0
Source dir: /usr/local/src-2021/pygobject-3.40.1
Build dir: /usr/local/src-2021/cache/jhbuild/build/pygobject-3.40.1
Build type: native build
Project name: pygobject
Project version: 3.40.1
C compiler for the host machine: /Applications/Xcode.app/Contents/Developer/usr/bin/gcc (clang 13.0.0 
"Apple clang version 13.0.0 (clang-1300.0.29.3)")
C linker for the host machine: /Applications/Xcode.app/Contents/Developer/usr/bin/gcc ld64 711
Host machine cpu family: x86_64
Host machine cpu: x86_64
Program python3 found: YES (/usr/local/xnadalib-2021/bin/python3)
Found pkg-config: /usr/local/xnadalib-2021/bin/pkg-config (0.29.2)
Dependency python found: YES (pkgconfig)
Found CMake: /usr/local/xnadalib-2021/bin/cmake (3.20.0)
Run-time dependency gobject-introspection-1.0 found: NO (tried pkgconfig, framework and cmake)
Not looking for a fallback subproject for the dependency gobject-introspection-1.0 because:
Use of fallback dependencies is disabled.

../../../../pygobject-3.40.1/meson.build:29:0: ERROR: Dependency 'gobject-introspection-1.0' is required 
but not found.

A full log can be found at /usr/local/src-2021/cache/jhbuild/build/pygobject-3.40.1/meson-logs/meson-log.txt
*** Error during phase configure of pygobject3: ########## Error running meson --prefix 
/usr/local/xnadalib-2021 --libdir lib  --wrap-mode=nofallback /usr/local/src-2021/pygobject-3.40.1 *** 
[20/20]

 [1] Rerun phase configure
 [2] Ignore error and continue to build
 [3] Give up on module
 [4] Start shell
 [5] Reload configuration
 [6] Go to phase "wipe directory and start over"
choice: 3

Is it worth adding it in gtk-osx-python.modules?

Pascal,

No, because pygobject has soft dependencies on meta-gtk-osx-gtk2 or meta-gtk-osx-gtk3. You're supposed to 
include one or the other in your module list.

Regards,
John Ralls




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]