Created attachment 522080 [details] build.log of dev-libs/json-glib-1.4.2 I am in stuck to build json-glib to continue building my system, with below message. The Meson build system Version: 0.44.1 Source dir: /var/tmp/portage/dev-libs/json-glib-1.4.2/work/json-glib-1.4.2 Build dir: /var/tmp/portage/dev-libs/json-glib-1.4.2/work/json-glib-1.4.2-abi_x86_32.x86 Build type: native build Project name: json-glib Native C compiler: x86_64-pc-linux-gnu-gcc -m32 (gcc 6.3.0) Appending CFLAGS from environment: '-O2 -pipe' Appending LDFLAGS from environment: '-Wl,-O1 -Wl,--as-needed' Build machine cpu family: x86 Build machine cpu: i686 Found pkg-config: /usr/bin/i686-pc-linux-gnu-pkg-config (0.29.2) Native dependency gobject-2.0 found: YES 2.54.3 Native dependency gio-2.0 found: YES 2.54.3 Has header "unistd.h": YES Compiler for C supports argument -Wcast-align: YES Compiler for C supports argument -Wlogical-op: YES Compiler for C supports argument -Wmissing-declarations: YES Compiler for C supports argument -Wmissing-format-attribute: YES Compiler for C supports argument -Wmissing-prototypes: YES Compiler for C supports argument -Wmissing-noreturn: YES Compiler for C supports argument -Wold-style-definition: YES Compiler for C supports argument -Wpointer-arith: YES Compiler for C supports argument -Wshadow: YES Compiler for C supports argument -Wstrict-prototypes: YES Compiler for C supports argument -Wunused: YES Compiler for C supports argument -Wno-discarded-qualifiers: YES Compiler for C supports argument -Wno-int-conversion: YES Compiler for C supports argument -fno-strict-aliasing: YES Compiler for C supports argument -Wno-uninitialized: YES Compiler for C supports argument -Werror=address: YES Compiler for C supports argument -Werror=array-bounds: YES Compiler for C supports argument -Werror=empty-body: YES Compiler for C supports argument -Werror=format=2: YES Compiler for C supports argument -Werror=implicit: YES Compiler for C supports argument -Werror=init-self: YES Compiler for C supports argument -Werror=int-to-pointer-cast: YES Compiler for C supports argument -Werror=main: YES Compiler for C supports argument -Werror=missing-braces: YES Compiler for C supports argument -Werror=nested-externs: YES Compiler for C supports argument -Werror=nonnull: YES Compiler for C supports argument -Werror=pointer-to-int-cast: YES Compiler for C supports argument -Werror=return-type: YES Compiler for C supports argument -Werror=sequence-point: YES Compiler for C supports argument -Werror=trigraphs: YES Compiler for C supports argument -Werror=undef: YES Compiler for C supports argument -Werror=write-strings: YES Compiler for C supports argument -fvisibility=hidden: YES Compiler for C supports argument -Wl,-Bsymbolic: YES Compiler for C supports argument -Wl,-z,relro: YES Compiler for C supports argument -Wl,-z,now: YES Configuring config.h using configuration Program glib-mkenums found: YES (/usr/bin/glib-mkenums) Configuring json-version.h using configuration Program g-ir-scanner found: YES (/usr/bin/g-ir-scanner) Program g-ir-scanner found: YES (/usr/bin/g-ir-scanner) Program g-ir-compiler found: YES (/usr/bin/g-ir-compiler) Meson encountered an error in file json-glib/meson.build, line 96, column 8: gobject-introspection dependency was not found, gir cannot be generated. * ERROR: dev-libs/json-glib-1.4.2::gnome failed (configure phase): * (no error message) ---------------------------- in file json-glib/meson.build, line 96, column 8, gnome.generate_gir() function has called, but i don't know whether 'gnome' object has really created in runtime, and, furthermore, whether 'gnome' imported from.
Created attachment 522082 [details] emerge --info log
try installing gobject-introspection or disabling USE=introspection (if it had that); or let us know if you already had that installed and something else is going on. Either way, some dependencies to fix I guess.
gobject-introspection has already installed, and I cannot remove 'introspection' use-flag from =dev-libs/json-glib-1.4.2 because 'introspection' specified as IUSE flag, and emerge says this flag should be on to compile json-glib.
currently, gobject-introspection's version is 1.52.1 and meson's one is 0.44.1
Created attachment 523966 [details, diff] json-glib-1.4.2.ebuild-fix-introspection.patch The issue is that introspection is not supported for non-native ABIs. Attached patch fixes it.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/proj/gnome.git/commit/?id=566966cccc926f5ac76710f9fb936183f79387bb commit 566966cccc926f5ac76710f9fb936183f79387bb Author: Sobhan Mohammadpour <sobhan@gentoo.org> AuthorDate: 2018-05-29 22:01:30 +0000 Commit: Sobhan Mohammadpour <sobhan@gentoo.org> CommitDate: 2018-05-29 22:02:47 +0000 dev-libs/json-glib: fix multilib instrospection dependency Patch-By: Dennis Schridde devurandom@gmx.net Closes: https://bugs.gentoo.org/649466 Package-Manager: Portage-2.3.36, Repoman-2.3.9 Manifest-Sign-Key: 0x7DF238CF0AA182E1 .../json-glib/{json-glib-1.4.2.ebuild => json-glib-1.4.2-r1.ebuild} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)