This bug is very similar to 455292 but in a different package. The ./configure script, be default, is looking for the XML catalog at its default location /etc/xml/catalog independent of the --prefix flag. This can be fixed by supplying --with-xml-catalog="{$EPREFIX}/etc/xml/catalog", but the current ebuild is not doing that. Reproducible: Always Steps to Reproduce: emerge -1 dev-libs/json-glib Actual Results: Here are last several lines of the emerge output: checking for xsltproc... /Users/anton/Gentoo/usr/bin/xsltproc checking for XML catalog (/etc/xml/catalog)... not found checking for xmlcatalog... /Users/anton/Gentoo/usr/bin/xmlcatalog checking for DocBook XML DTD V4.1.2 in XML catalog... not found configure: error: DocBook DTD is required for --enable-man !!! Please attach the following file when seeking support: !!! /Users/anton/Gentoo/var/tmp/portage/dev-libs/json-glib-1.2.2/work/json-glib-1.2.2-abi_x86_64.amd64/config.log * ERROR: dev-libs/json-glib-1.2.2::gentoo_prefix failed (configure phase): * econf failed * * Call stack: * ebuild.sh, line 115: Called __call-ebuildshell 'src_configure' * ebuild.sh, line 529: Called src_configure * environment, line 3580: Called multilib-minimal_src_configure * environment, line 2801: Called multilib_foreach_abi 'multilib-minimal_abi_src_configure' * environment, line 3015: Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure' * environment, line 2731: Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure' * environment, line 2729: Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_configure' * environment, line 400: Called multilib-minimal_abi_src_configure * environment, line 2795: Called multilib_src_configure * environment, line 3231: Called gnome2_src_configure '--enable-man' '--disable-gcov' '--enable-debug=minimum' '--disable-introspection' * environment, line 2233: Called econf '--disable-gtk-doc' '--enable-man' '--disable-gcov' '--enable-debug=minimum' '--disable-introspection' * phase-helpers.sh, line 665: Called __helpers_die 'econf failed' * isolated-functions.sh, line 117: Called die * The specific snippet of code: * die "$@" * * If you need support, post the output of `emerge --info '=dev-libs/json-glib-1.2.2::gentoo_prefix'`, * the complete build log and the output of `emerge -pqv '=dev-libs/json-glib-1.2.2::gentoo_prefix'`. * The complete build log is located at '/Users/anton/Gentoo/var/tmp/portage/dev-libs/json-glib-1.2.2/temp/build.log'. * The ebuild environment file is located at '/Users/anton/Gentoo/var/tmp/portage/dev-libs/json-glib-1.2.2/temp/environment'. * Working directory: '/Users/anton/Gentoo/var/tmp/portage/dev-libs/json-glib-1.2.2/work/json-glib-1.2.2-abi_x86_64.amd64' * S: '/Users/anton/Gentoo/var/tmp/portage/dev-libs/json-glib-1.2.2/work/json-glib-1.2.2' Expected Results: Successful emerge Portage 2.3.5-prefix (python 3.5.2-final-0, prefix/darwin/macos/10.12/x64, clang-3.9.1, unavailable, 16.4.0 x86_64) ================================================================= System uname: Darwin-16.4.0-x86_64-i386-64bit Timestamp of repository gentoo_prefix: Tue, 21 Mar 2017 21:57:55 +0000 sh bash 4.3_p48 app-shells/bash: 4.3_p48::gentoo_prefix dev-lang/perl: 5.24.1-r1::gentoo_prefix dev-lang/python: 2.7.12::gentoo_prefix, 3.4.5::gentoo_prefix, 3.5.2::gentoo_prefix dev-util/cmake: 3.7.2::gentoo_prefix dev-util/pkgconfig: 0.29.1::gentoo_prefix sys-devel/autoconf: 2.69::gentoo_prefix sys-devel/automake: 1.14.1::gentoo_prefix, 1.15::gentoo_prefix sys-devel/libtool: 2.4.6-r1::gentoo_prefix sys-devel/make: 4.2.1::gentoo_prefix Repositories: gentoo_prefix location: /Users/anton/Gentoo/usr/portage sync-type: rsync sync-uri: rsync://rsync.prefix.bitzolder.nl/gentoo-portage-prefix priority: -1000 ACCEPT_KEYWORDS="~x64-macos" ACCEPT_LICENSE="* -@EULA" CBUILD="x86_64-apple-darwin16" CC="x86_64-apple-darwin16-clang" CFLAGS="-march=native -O2 -pipe" CHOST="x86_64-apple-darwin16" CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/terminfo" CXX="x86_64-apple-darwin16-clang++" CXXFLAGS="-march=native -O2 -pipe" DISTDIR="/Users/anton/Gentoo/usr/portage/distfiles" FCFLAGS="" FEATURES="assume-digests binpkg-logs case-insensitive-fs collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles force-prefix merge-sync news nostrip parallel-fetch preserve-libs protect-owned sfperms strict unknown-features-warn unmerge-logs unmerge-orphans unprivileged" FFLAGS="" GENTOO_MIRRORS="http://distfiles.gentoo.org" LDFLAGS="-Wl,-dead_strip_dylibs" MAKEOPTS="-j3" PKGDIR="/Users/anton/Gentoo/usr/portage/packages" PORTAGE_CONFIGROOT="/Users/anton/Gentoo/" 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="/Users/anton/Gentoo/var/tmp" USE="aqua coreaudio cracklib cxx ipv6 jpeg modules ncurses nls objc objc++ png prefix prefix-guest readline ssl unicode x64-macos zlib" ABI_X86="64" 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 mmxext sse sse2" ELIBC="Darwin" 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="keyboard mouse" KERNEL="Darwin" 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" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4 python3_5" RUBY_TARGETS="ruby21" USERLAND="GNU" 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: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Created attachment 468240 [details] build log
Created attachment 468242 [details] config log
Created attachment 468250 [details, diff] proposed patch Adds --with-xml-catalog="${EPREFIX}"/etc/xml/catalog to the list of ./configure switches. Works for me, for what it's worth
Fixed in 1.2.8, being stabilized soon in bug 611134, thanks commit a471439f24d6abad2c3adad4002dda0cc827fc84 Author: Mart Raudsepp <leio@gentoo.org> Date: Sat Mar 25 20:56:01 2017 +0200 dev-libs/json-glib: fix build for prefix users Gentoo-bug: 613822
Next time please include maintainers in CC or assignee for these kind of things too, happened to see this via IRC bot only :)
(In reply to Mart Raudsepp from comment #5) > Next time please include maintainers in CC or assignee for these kind of > things too, happened to see this via IRC bot only :) Ah, nice, thanks a lot! I will look up maintainers in the metadata.xml next time and add them to the CC list.