Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 646192 - [gnome-overlay] dev-libs/atk-2.26.1 failed in configure phase: meson.build error: gobject-introspection not found for abi_x86_32
Summary: [gnome-overlay] dev-libs/atk-2.26.1 failed in configure phase: meson.build er...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Overlays (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: gnome-3.26
  Show dependency tree
 
Reported: 2018-01-31 08:27 UTC by Tom-Steve Watzke
Modified: 2018-05-29 22:07 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
full log meson-log.txt (meson-log.txt,4.65 KB, text/plain)
2018-01-31 08:27 UTC, Tom-Steve Watzke
Details
atk-2.26.1.ebuild-fix-disable_introspection.patch (atk-2.26.1.ebuild-fix-disable_introspection.patch,462 bytes, patch)
2018-03-14 22:19 UTC, Dennis Schridde
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Tom-Steve Watzke 2018-01-31 08:27:36 UTC
Created attachment 517224 [details]
full log meson-log.txt

I encountered the following error while emerging the newest atk:

>>> Emerging (1 of 1) dev-libs/atk-2.26.1::gnome
 * atk-2.26.1.tar.xz BLAKE2B SHA512 size ;-) ...                                                                                                      [ ok ]
>>> Unpacking source...
>>> Unpacking atk-2.26.1.tar.xz to /var/tmp/portage/dev-libs/atk-2.26.1/work
>>> Source unpacked in /var/tmp/portage/dev-libs/atk-2.26.1/work
>>> Preparing source in /var/tmp/portage/dev-libs/atk-2.26.1/work/atk-2.26.1 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-libs/atk-2.26.1/work/atk-2.26.1 ...
 * abi_x86_32.x86: running multilib-minimal_abi_src_configure
meson --buildtype plain --libdir lib32 --localstatedir /var/lib --prefix /usr --sysconfdir /etc --wrap-mode nodownload -Denable_docs=true -Ddisable-introspection=true /var/tmp/portage/dev-libs/atk-2.26.1/work/atk-2.26.1 /var/tmp/portage/dev-libs/atk-2.26.1/work/atk-2.26.1-abi_x86_32.x86
The Meson build system
Version: 0.44.0
Source dir: /var/tmp/portage/dev-libs/atk-2.26.1/work/atk-2.26.1
Build dir: /var/tmp/portage/dev-libs/atk-2.26.1/work/atk-2.26.1-abi_x86_32.x86
Build type: native build
Project name: atk
Native C compiler: x86_64-pc-linux-gnu-gcc -m32 (gcc 7.2.0)
Appending CFLAGS from environment: '-march=corei7 -O2 -mno-avx'
Appending LDFLAGS from environment: '-Wl,-O1 -Wl,--as-needed'
Build machine cpu family: x86
Build machine cpu: i686
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
Checking for function "bind_textdomain_codeset": YES
Found pkg-config: /usr/bin/i686-pc-linux-gnu-pkg-config (0.29.2)
Native dependency gobject-2.0 found: YES 2.54.3
Configuring atk.pc using configuration
Configuring config.h using configuration
Configuring atkversion.h using configuration
Native dependency glib-2.0 found: YES 2.54.3
Program glib-genmarshal found: YES (/usr/bin/glib-genmarshal)
Program glib-mkenums found: YES (/usr/bin/glib-mkenums)
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 atk/meson.build, line 143, column 8:
gobject-introspection dependency was not found, gir cannot be generated.

A full log can be found at /var/tmp/portage/dev-libs/atk-2.26.1/work/atk-2.26.1-abi_x86_32.x86/meson-logs/meson-log.txt
 * ERROR: dev-libs/atk-2.26.1::gnome failed (configure phase):
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line  124:  Called src_configure
 *   environment, line 3917:  Called multilib-minimal_src_configure
 *   environment, line 2489:  Called multilib_foreach_abi 'multilib-minimal_abi_src_configure'
 *   environment, line 2703:  Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
 *   environment, line 2419:  Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
 *   environment, line 2417:  Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_configure'
 *   environment, line  405:  Called multilib-minimal_abi_src_configure
 *   environment, line 2483:  Called multilib_src_configure
 *   environment, line 2919:  Called gnome-meson_src_configure '-Denable_docs=true' '-Ddisable-introspection=true'
 *   environment, line 1673:  Called meson_src_configure
 *   environment, line 2356:  Called die
 * The specific snippet of code:
 *       "$@" || die
 * 
 * If you need support, post the output of `emerge --info '=dev-libs/atk-2.26.1::gnome'`,
 * the complete build log and the output of `emerge -pqv '=dev-libs/atk-2.26.1::gnome'`.
 * The complete build log is located at '/var/tmp/portage/dev-libs/atk-2.26.1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-libs/atk-2.26.1/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-libs/atk-2.26.1/work/atk-2.26.1-abi_x86_32.x86'
 * S: '/var/tmp/portage/dev-libs/atk-2.26.1/work/atk-2.26.1'


The full log is attached.

I found out, that the 32bit pkg-config does not return the dependency for gobject-introspection-1.0, while the 64bit version does:


# /usr/bin/i686-pc-linux-gnu-pkg-config --list-all | grep intro

# /usr/bin/x86_64-pc-linux-gnu-pkg-config --list-all | grep intro
gobject-introspection-no-export-1.0 gobject-introspection - GObject Introspection
gobject-introspection-1.0           gobject-introspection - GObject Introspection


But there is no multilib version of the package gobject-introspection.
Comment 1 Mart Raudsepp gentoo-dev 2018-01-31 08:37:03 UTC
Bug in meson conversion; introspection must only be built on the native build, not all multilib builds. That's for all packages being converted to meson as well - for autotools this is done via $(multilib_native_use_enable introspection)
Comment 2 Dennis Schridde 2018-03-14 22:19:15 UTC
Created attachment 523964 [details, diff]
atk-2.26.1.ebuild-fix-disable_introspection.patch

The problem is a typo in the ebuild.  Attached patch fixes it.
Comment 3 Peter Asplund 2018-05-04 20:55:25 UTC
Any chance the patch will make it in, if it works?
Comment 4 Sobhan Mohammadpour (RETIRED) gentoo-dev 2018-05-29 22:06:03 UTC
(In reply to Dennis Schridde from comment #2)
> Created attachment 523964 [details, diff] [details, diff]
> atk-2.26.1.ebuild-fix-disable_introspection.patch
> 
> The problem is a typo in the ebuild.  Attached patch fixes it.

thank you for pointing this out
Comment 5 Larry the Git Cow gentoo-dev 2018-05-29 22:07:25 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/proj/gnome.git/commit/?id=b5b2d2cf89fb0d7bca2ed625b17b6a43ac974ca0

commit b5b2d2cf89fb0d7bca2ed625b17b6a43ac974ca0
Author:     Sobhan Mohammadpour <sobhan@gentoo.org>
AuthorDate: 2018-05-29 22:07:16 +0000
Commit:     Sobhan Mohammadpour <sobhan@gentoo.org>
CommitDate: 2018-05-29 22:07:16 +0000

    dev-libs/atk: fix typo
    
    Reported-by:  Dennis Schridde <devurandom@gmx.net>
    Closes: https://bugs.gentoo.org/646192
    Package-Manager: Portage-2.3.36, Repoman-2.3.9
    Manifest-Sign-Key: 0x7DF238CF0AA182E1

 dev-libs/atk/{atk-2.26.1.ebuild => atk-2.26.1-r1.ebuild} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)