Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 636088 - =media-libs/gexiv2-0.10.6 fails to build without 'introspection' USE flag
Summary: =media-libs/gexiv2-0.10.6 fails to build without 'introspection' USE flag
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Graphics Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 641984
  Show dependency tree
 
Reported: 2017-10-31 17:36 UTC by Nicolas Bock
Modified: 2018-02-11 19:35 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,2.06 KB, text/x-log)
2017-10-31 17:36 UTC, Nicolas Bock
Details
environment (environment,139.93 KB, text/plain)
2017-10-31 17:36 UTC, Nicolas Bock
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nicolas Bock gentoo-dev 2017-10-31 17:36:25 UTC
Created attachment 501400 [details]
build.log

# emerge --info '=media-libs/gexiv2-0.10.6::gentoo'
Portage 2.3.8 (python 3.4.5-final-0, default/linux/amd64/13.0, gcc-5.4.0, glibc-2.23-r4, 4.13.9 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.13.9-x86_64-Intel-R-_Core-TM-_i7-6820HQ_CPU_@_2.70GHz-with-gentoo-2.4.1
KiB Mem:    32591380 total,    277408 free
KiB Swap:   67108860 total,  66807896 free
sh bash 4.3_p48-r1
ld GNU ld (Gentoo 2.28.1 p1.0) 2.28.1
app-shells/bash:          4.3_p48-r1::gentoo
dev-lang/perl:            5.24.3::gentoo
dev-lang/python:          2.7.12::gentoo, 3.4.5::gentoo
dev-util/cmake:           3.8.2::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.4.1-r2::gentoo
sys-apps/openrc:          0.32.1::gentoo
sys-apps/sandbox:         2.10-r3::gentoo
sys-devel/autoconf:       2.69::gentoo
sys-devel/automake:       1.15-r2::gentoo
sys-devel/binutils:       2.28.1::gentoo
sys-devel/gcc:            5.4.0-r3::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1::gentoo
sys-kernel/linux-headers: 4.4::gentoo (virtual/os-headers)
sys-libs/glibc:           2.23-r4::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="acl amd64 berkdb bindist bzip2 cli cracklib crypt cxx dri fortran gdbm iconv ipv6 modules multilib ncurses nls nptl openmp pam pcre readline seccomp session ssl tcpd unicode xattr zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx sse sse2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_4" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby22" USERLAND="GNU" VIDEO_CARDS="amdgpu fbdev intel nouveau radeon radeonsi vesa dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Nicolas Bock gentoo-dev 2017-10-31 17:36:52 UTC
Created attachment 501402 [details]
environment
Comment 2 Nicolas Bock gentoo-dev 2017-10-31 17:38:27 UTC
# 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'
Comment 3 Nicolas Bock gentoo-dev 2017-11-01 11:05:59 UTC
Opened upstream bug: https://bugzilla.gnome.org/show_bug.cgi?id=789758
Comment 4 Andreas Sturmlechner gentoo-dev 2017-11-06 16:53:35 UTC
I can't reproduce that problem, configures fine with USE=-introspection.
Comment 5 Nicolas Bock gentoo-dev 2017-11-06 16:58:48 UTC
Andreas, can you check whether you have `dev-libs/gobject-introspection` installed?
Comment 6 Andreas Sturmlechner gentoo-dev 2017-11-06 17:28:03 UTC
Yes, it's the same with or without it installed...
Comment 7 Nicolas Bock gentoo-dev 2017-11-06 18:43:25 UTC
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.
Comment 8 Andreas Sturmlechner gentoo-dev 2017-11-06 21:18:46 UTC
Indeed. Unfortunately, 0.10.5-r1 is affected as well.
Comment 9 Mart Raudsepp gentoo-dev 2018-02-11 18:59:39 UTC
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.
Comment 10 Mart Raudsepp gentoo-dev 2018-02-11 19:06:41 UTC
(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.
Comment 11 Larry the Git Cow gentoo-dev 2018-02-11 19:34:42 UTC
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(-)
Comment 12 Nicolas Bock gentoo-dev 2018-02-11 19:35:04 UTC
Thanks Mart!