Summary: | =media-libs/gexiv2-0.10.6 fails to build without 'introspection' USE flag | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Nicolas Bock <nicolasbock> |
Component: | Current packages | Assignee: | Gentoo Graphics Project <graphics+disabled> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | leio |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 641984 | ||
Attachments: |
build.log
environment |
Description
Nicolas Bock
![]() Created attachment 501402 [details]
environment
# cat /var/tmp/portage/media-libs/gexiv2-0.10.6/temp/automake.out ***** automake ***** ***** PWD: /var/tmp/portage/media-libs/gexiv2-0.10.6/work/gexiv2-0.10.6 ***** automake --add-missing --copy --foreign --force-missing configure.ac:18: installing 'build-aux/compile' configure.ac:12: installing 'build-aux/missing' Makefile.am:38: error: HAVE_INTROSPECTION does not appear in AM_CONDITIONAL Makefile.am:135: error: HAVE_INTROSPECTION does not appear in AM_CONDITIONAL Makefile.am: installing 'build-aux/depcomp' Opened upstream bug: https://bugzilla.gnome.org/show_bug.cgi?id=789758 I can't reproduce that problem, configures fine with USE=-introspection. Andreas, can you check whether you have `dev-libs/gobject-introspection` installed? Yes, it's the same with or without it installed... I find that I need `dev-libs/gobject-introspection-common-1.50.0`, otherwise the automake step fails for gexiv2. So it's not `gobject-introspection`, but the common package. Indeed. Unfortunately, 0.10.5-r1 is affected as well. If the tarball doesn't include gobject-introspection-common provided .m4 files on its own in some build aux dir, as is clearly the case from it failing, then such an ebuild that calls eautoreconf AND has a call to GOBJECT_INTROSPECTION_CHECK or GOBJECT_INTROSPECTION_REQUIRE in a used configure.ac file MUST always buildtime depend on gobject-introspection-common for such an eautoreconf regeneration to have a possibility to succeed. if (GOBJECT_INTROSPECTION in configure.ac && ebuild calls eautoreconf && package doesn't ship the m4macro in the dir pointed at with AC_CONFIG_MACRO_DIR in configure.ac); then DEPEND must have unconditional dev-libs/gobject-introspection dependency Lets just fix that and move on with stabilization of newer gexiv2 please. (In reply to Mart Raudsepp from comment #9) > DEPEND must have unconditional dev-libs/gobject-introspection dependency Here I of course meant dev-libs/gobject-introspection-common, which just ships a Makefile helper and the needed m4 file - copy-pasted from wrong eshowkw output. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=811e64445c4c55cc76aac97bd1e52d060608a5eb commit 811e64445c4c55cc76aac97bd1e52d060608a5eb Author: Nicolas Bock <nicolasbock@gentoo.org> AuthorDate: 2018-02-11 19:21:45 +0000 Commit: Nicolas Bock <nicolasbock@gentoo.org> CommitDate: 2018-02-11 19:34:30 +0000 media-libs/gexiv2: Add dependency We are using autoreconf which requires gobject-introspection-common as an additional dependency. This change adds this missing DEPEND. Closes: https://bugs.gentoo.org/636088 Package-Manager: Portage-2.3.19, Repoman-2.3.6 media-libs/gexiv2/gexiv2-0.10.3-r1.ebuild | 53 +++++++++++++++++++++++++++++++ media-libs/gexiv2/gexiv2-0.10.6.ebuild | 3 +- media-libs/gexiv2/gexiv2-0.10.8.ebuild | 1 + 3 files changed, 56 insertions(+), 1 deletion(-) Thanks Mart! |