Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 728730 - x11-misc/shared-mime-info-2.0 : build fails -- validity error : Could not load the external subset "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd"
Summary: x11-misc/shared-mime-info-2.0 : build fails -- validity error : Could not loa...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Freedesktop bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-06-19 08:23 UTC by Enne Eziarc
Modified: 2021-02-09 19:19 UTC (History)
1 user (show)

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


Attachments
build log (build.log,9.32 KB, text/plain)
2020-06-19 08:23 UTC, Enne Eziarc
Details
build.log with docbook-xml-dtd:4.1.2 installed (build.log,8.72 KB, text/plain)
2021-02-08 08:32 UTC, Blakawk
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Enne Eziarc 2020-06-19 08:23:06 UTC
Created attachment 645200 [details]
build log

x11-misc/shared-mime-info-1.15 reinstalls fine.

emerge --info:

Portage 2.3.101 (python 3.8.3-final-0, default/linux/amd64/17.1/no-multilib, gcc-10.1.0, glibc-2.31-r5, 5.6.14-zen-01473-g5112f6728 x86_64)
=================================================================
System uname: Linux-5.6.14-zen-01473-g5112f6728-x86_64-AMD_E-350_Processor-with-glibc2.2.5
KiB Mem:     7747352 total,    691992 free
KiB Swap:    3873672 total,   3841160 free
Timestamp of repository gentoo: Fri, 19 Jun 2020 04:00:01 +0000
Head commit of repository gentoo: b4885d8684dc6dc72707abb17ef0e415acab4007
Head commit of repository arduino-overlay: 21fb53086dfe006e14f22ccd098b4d117faeea89

Head commit of repository flussence: 345e84af4c92410725c4791c9022bc17beef2443

Head commit of repository libressl: fee91ddd7b946e76bc5b59cac50e830c2379bea9

Head commit of repository steam-overlay: ae3e928b83b722ae6197fc1bc78859b592b819e5

sh bash 5.0_p17
ld GNU ld (Gentoo 2.34 p4) 2.34.0
distcc 3.3.3 x86_64-pc-linux-gnu [enabled]
ccache version 3.7.9 [disabled]
app-shells/bash:          5.0_p17::gentoo
dev-java/java-config:     2.3::gentoo
dev-lang/perl:            5.30.3-r1::gentoo
dev-lang/python:          3.8.3::gentoo, 3.9.0_beta3::gentoo
dev-util/ccache:          3.7.9::gentoo
dev-util/cmake:           3.17.3::gentoo
sys-apps/baselayout:      2.7::gentoo
sys-apps/openrc:          0.42.1::gentoo
sys-apps/sandbox:         2.20::gentoo
sys-devel/autoconf:       2.69-r5::gentoo
sys-devel/automake:       1.16.2::gentoo
sys-devel/binutils:       2.34-r1::gentoo
sys-devel/gcc:            10.1.0-r1::gentoo
sys-devel/gcc-config:     2.3::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.3::gentoo
sys-kernel/linux-headers: 5.7::gentoo (virtual/os-headers)
sys-libs/glibc:           2.31-r5::gentoo
Repositories:

gentoo
    location: /srv/portage/repositories/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-max-age: 24
    sync-rsync-extra-opts: 
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-jobs: 1

arduino-overlay
    location: /srv/portage/repositories/arduino-overlay
    sync-type: git
    sync-uri: https://github.com/mapmot/arduino-overlay.git
    masters: gentoo

crossdev
    location: /srv/portage/repositories/crossdev
    masters: gentoo flussence

flussence
    location: /srv/portage/repositories/flussence
    sync-type: git
    sync-uri: /home/ant/public/git/flussence-overlay/
    masters: gentoo

libressl
    location: /srv/portage/repositories/libressl
    sync-type: git
    sync-uri: https://github.com/gentoo/libressl.git
    masters: gentoo

steam-overlay
    location: /srv/portage/repositories/steam-overlay
    sync-type: git
    sync-uri: https://github.com/anyc/steam-overlay.git
    masters: gentoo

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=btver1 -mtune=btver1     --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=512 -floop-interchange -floop-nest-optimize -ftree-vectorize -fno-common"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php7.4/ext-active/ /etc/php/cgi-php7.4/ext-active/ /etc/php/cli-php7.4/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=btver1 -mtune=btver1     --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=512 -floop-interchange -floop-nest-optimize -ftree-vectorize -fno-common"
DISTDIR="/srv/portage/cache/distfiles"
EMERGE_DEFAULT_OPTS="--unordered-display --with-bdeps=y --alert --jobs=2 --load=1"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance cgroup compressdebug config-protect-if-modified distcc distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch parallel-install pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
INSTALL_MASK=" /usr/share/locale -/usr/share/locale/en_GB /usr/share/man/* -/usr/share/man/man* /usr/share/wine-*/man -/usr/share/wine-*/man/man* /usr/share/gcc-data/*/*/locale /usr/share/binutils-data/*/*/locale /var/db/repos/ /etc/avahi/services/* /usr/share/git-core/templates/*"
LANG="en_GB.utf8"
LDFLAGS="-Wl,-O1,--sort-common,--hash-style=gnu,--as-needed,-z,combreloc,-z,relro,-z,now"
MAKEOPTS="-j8 -l2"
PKGDIR="/srv/portage/pkgdir/x86_64-pc-linux-gnu"
PORTAGE_COMPRESS=""
PORTAGE_COMPRESS_FLAGS=""
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="amd64 bzip2 caps cli crypt dri iconv ipv6 libressl libtirpc linguas_en_GB ncurses nls nptl openmp pcre readline seccomp split-usr ssl unicode xattr zlib" ABI_X86="64" ADA_TARGET="gnat_2018" 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="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext popcnt pni sse sse2 sse3 ssse3 sse4a" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput" KERNEL="linux" L10N="en en-GB" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2" POSTGRES_TARGETS="postgres10 postgres11" RUBY_TARGETS="ruby25" USERLAND="GNU" VIDEO_CARDS="radeon r600" 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, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Larry the Git Cow gentoo-dev 2020-06-19 08:35:32 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9542309ff8a0a9a64bd3e6659abb2a0f711f3484

commit 9542309ff8a0a9a64bd3e6659abb2a0f711f3484
Author:     Lars Wendler <polynomial-c@gentoo.org>
AuthorDate: 2020-06-19 08:35:09 +0000
Commit:     Lars Wendler <polynomial-c@gentoo.org>
CommitDate: 2020-06-19 08:35:28 +0000

    x11-misc/shared-mime-info: Added app-text/docbook-xml-dtd:4.1.2 to BDEPEND
    
    Thanks-to: Anthony Parsons <ant+gentoo.bugs@flussence.eu>
    Closes: https://bugs.gentoo.org/728730
    Package-Manager: Portage-2.3.101, Repoman-2.3.22
    Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>

 x11-misc/shared-mime-info/shared-mime-info-2.0-r2.ebuild | 1 +
 1 file changed, 1 insertion(+)
Comment 2 Blakawk 2021-02-08 08:32:02 UTC
Created attachment 686007 [details]
build.log with docbook-xml-dtd:4.1.2 installed
Comment 3 Blakawk 2021-02-08 08:35:26 UTC
Issue still exists even with docbook-xml-dtd:4.1.2 installed on my system and with most recent portage tree, emerge --info follows and build.log attached:

~ # emerge --info xmlto docbook-xml-dtd:4.1.2 ninja shared-mime-info
Portage 3.0.13 (python 3.8.7-final-0, default/linux/amd64/17.1/no-multilib/hardened, gcc-9.3.0, glibc-2.32-r6, 4.19.164-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.19.164-gentoo-x86_64-AMD_Opteron-tm-_Processor_4334-with-glibc2.2.5
KiB Mem:    32945336 total,    241944 free
KiB Swap:   33521660 total,  32862204 free
Timestamp of repository gentoo: Mon, 08 Feb 2021 07:15:01 +0000
Head commit of repository gentoo: 9446447a8a44b4c81cbba5d3a5173426ad1136fe
sh bash 5.0_p18
ld GNU ld (Gentoo 2.35.1 p2) 2.35.1
app-shells/bash:          5.0_p18::gentoo
dev-lang/perl:            5.30.3::gentoo
dev-lang/python:          3.7.9::gentoo, 3.8.7-r1::gentoo
dev-util/cmake:           3.18.5::gentoo
sys-apps/baselayout:      2.7::gentoo
sys-apps/openrc:          0.42.1-r1::gentoo
sys-apps/sandbox:         2.20::gentoo
sys-devel/autoconf:       2.69-r5::gentoo
sys-devel/automake:       1.16.2-r1::gentoo
sys-devel/binutils:       2.34-r2::gentoo, 2.35.1-r1::gentoo
sys-devel/gcc:            9.3.0-r2::gentoo
sys-devel/gcc-config:     2.3.2-r1::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.3::gentoo
sys-kernel/linux-headers: 5.4-r1::gentoo (virtual/os-headers)
sys-libs/glibc:           2.32-r6::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync1.fr.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-max-age: 24
    sync-rsync-verify-jobs: 1
    sync-rsync-extra-opts: 

soeasyto
    location: /etc/portage/overlay
    masters: gentoo

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE DCC"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=native -mtune=native -fomit-frame-pointer -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/easy-rsa /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/php/apache2-php7.4/ext-active/ /etc/php/cgi-php7.4/ext-active/ /etc/php/cli-php7.4/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=native -mtune=native -fomit-frame-pointer -pipe"
DISTDIR="/var/cache/distfiles"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-O2 -march=native -mtune=native -fomit-frame-pointer -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -march=native -mtune=native -fomit-frame-pointer -pipe"
GENTOO_MIRRORS="http://mirrors.soeasyto.com/distfiles.gentoo.org"
LANG="en_US.utf8"
LDFLAGS="-Wl,--as-needed"
MAKEOPTS="-j9"
PKGDIR="/var/cache/binpkgs"
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 bzip2 crypt hardened iconv ipv6 libglvnd libtirpc ncurses nls nptl openmp pam pcre pie readline seccomp split-usr ssl ssp unicode vim-syntax xattr xtpax zlib" ABI_X86="64" ADA_TARGET="gnat_2018" 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="actions alias auth_basic auth_digest authn_alias authn_anon authn_default authn_file authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache 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 imagemap proxy proxy_connect proxy_ftp proxy_http proxy_fcgi proxy_wstunnel http2 authn_core authz_core unixd socache_shmcb cache_socache" APACHE2_MPMS="event" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="pc" INPUT_DEVICES="libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-4" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_8" PYTHON_TARGETS="python3_8" RUBY_TARGETS="ruby26" 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, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

=================================================================
                        Package Settings
=================================================================

app-text/xmlto-0.0.28-r3::gentoo was built with the following:
USE="-latex -text"


app-text/docbook-xml-dtd-4.1.2-r7::gentoo was built with the following:
USE=""


dev-util/ninja-1.10.1::gentoo was built with the following:
USE="vim-syntax -doc -emacs -test"
CFLAGS=""
FEATURES="binpkg-dostrip config-protect-if-modified multilib-strict strict network-sandbox ipc-sandbox qa-unresolved-soname-deps fixlafiles userfetch unmerge-orphans pid-sandbox protect-owned unmerge-logs binpkg-docompress unknown-features-warn news sfperms usersandbox usersync assume-digests sandbox userpriv ebuild-locks parallel-fetch preserve-libs merge-sync binpkg-logs xattr distlocks"


x11-misc/shared-mime-info-2.0-r2::gentoo was built with the following:
USE=""
Comment 4 Blakawk 2021-02-09 19:19:00 UTC
(In reply to Blakawk from comment #3)
> Issue still exists even with docbook-xml-dtd:4.1.2 installed on my system
> and with most recent portage tree, emerge --info follows and build.log
> attached:
> 
> ~ # emerge --info xmlto docbook-xml-dtd:4.1.2 ninja shared-mime-info
> Portage 3.0.13 (python 3.8.7-final-0,
> default/linux/amd64/17.1/no-multilib/hardened, gcc-9.3.0, glibc-2.32-r6,
> 4.19.164-gentoo x86_64)
> =================================================================
>                          System Settings
> =================================================================
> System uname:
> Linux-4.19.164-gentoo-x86_64-AMD_Opteron-tm-_Processor_4334-with-glibc2.2.5
> KiB Mem:    32945336 total,    241944 free
> KiB Swap:   33521660 total,  32862204 free
> Timestamp of repository gentoo: Mon, 08 Feb 2021 07:15:01 +0000
> Head commit of repository gentoo: 9446447a8a44b4c81cbba5d3a5173426ad1136fe
> sh bash 5.0_p18
> ld GNU ld (Gentoo 2.35.1 p2) 2.35.1
> app-shells/bash:          5.0_p18::gentoo
> dev-lang/perl:            5.30.3::gentoo
> dev-lang/python:          3.7.9::gentoo, 3.8.7-r1::gentoo
> dev-util/cmake:           3.18.5::gentoo
> sys-apps/baselayout:      2.7::gentoo
> sys-apps/openrc:          0.42.1-r1::gentoo
> sys-apps/sandbox:         2.20::gentoo
> sys-devel/autoconf:       2.69-r5::gentoo
> sys-devel/automake:       1.16.2-r1::gentoo
> sys-devel/binutils:       2.34-r2::gentoo, 2.35.1-r1::gentoo
> sys-devel/gcc:            9.3.0-r2::gentoo
> sys-devel/gcc-config:     2.3.2-r1::gentoo
> sys-devel/libtool:        2.4.6-r6::gentoo
> sys-devel/make:           4.3::gentoo
> sys-kernel/linux-headers: 5.4-r1::gentoo (virtual/os-headers)
> sys-libs/glibc:           2.32-r6::gentoo
> Repositories:
> 
> gentoo
>     location: /var/db/repos/gentoo
>     sync-type: rsync
>     sync-uri: rsync://rsync1.fr.gentoo.org/gentoo-portage
>     priority: -1000
>     sync-rsync-verify-metamanifest: yes
>     sync-rsync-verify-max-age: 24
>     sync-rsync-verify-jobs: 1
>     sync-rsync-extra-opts: 
> 
> soeasyto
>     location: /etc/portage/overlay
>     masters: gentoo
> 
> ACCEPT_KEYWORDS="amd64"
> ACCEPT_LICENSE="@FREE DCC"
> CBUILD="x86_64-pc-linux-gnu"
> CFLAGS="-O2 -march=native -mtune=native -fomit-frame-pointer -pipe"
> CHOST="x86_64-pc-linux-gnu"
> CONFIG_PROTECT="/etc /usr/share/easy-rsa /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/php/apache2-php7.4/ext-active/ /etc/php/cgi-php7.4/ext-active/
> /etc/php/cli-php7.4/ext-active/ /etc/revdep-rebuild /etc/sandbox.d
> /etc/terminfo"
> CXXFLAGS="-O2 -march=native -mtune=native -fomit-frame-pointer -pipe"
> DISTDIR="/var/cache/distfiles"
> ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB
> PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY
> XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
> FCFLAGS="-O2 -march=native -mtune=native -fomit-frame-pointer -pipe"
> FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs
> config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox
> merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox
> preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict
> unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv
> usersandbox usersync xattr"
> FFLAGS="-O2 -march=native -mtune=native -fomit-frame-pointer -pipe"
> GENTOO_MIRRORS="http://mirrors.soeasyto.com/distfiles.gentoo.org"
> LANG="en_US.utf8"
> LDFLAGS="-Wl,--as-needed"
> MAKEOPTS="-j9"
> PKGDIR="/var/cache/binpkgs"
> 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 bzip2 crypt hardened iconv ipv6 libglvnd libtirpc ncurses nls
> nptl openmp pam pcre pie readline seccomp split-usr ssl ssp unicode
> vim-syntax xattr xtpax zlib" ABI_X86="64" ADA_TARGET="gnat_2018"
> 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="actions
> alias auth_basic auth_digest authn_alias authn_anon authn_default authn_file
> authz_default authz_groupfile authz_host authz_owner authz_user autoindex
> cache 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
> imagemap proxy proxy_connect proxy_ftp proxy_http proxy_fcgi proxy_wstunnel
> http2 authn_core authz_core unixd socache_shmcb cache_socache"
> APACHE2_MPMS="event" CALLIGRA_FEATURES="karbon sheets words"
> COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog"
> CPU_FLAGS_X86="mmx mmxext sse sse2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech
> aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax
> mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3
> sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx"
> GRUB_PLATFORMS="pc" INPUT_DEVICES="libinput" KERNEL="linux"
> LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb
> ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer"
> LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1"
> OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-4"
> POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_8"
> PYTHON_TARGETS="python3_8" RUBY_TARGETS="ruby26" 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,
> LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS,
> PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
> 
> =================================================================
>                         Package Settings
> =================================================================
> 
> app-text/xmlto-0.0.28-r3::gentoo was built with the following:
> USE="-latex -text"
> 
> 
> app-text/docbook-xml-dtd-4.1.2-r7::gentoo was built with the following:
> USE=""
> 
> 
> dev-util/ninja-1.10.1::gentoo was built with the following:
> USE="vim-syntax -doc -emacs -test"
> CFLAGS=""
> FEATURES="binpkg-dostrip config-protect-if-modified multilib-strict strict
> network-sandbox ipc-sandbox qa-unresolved-soname-deps fixlafiles userfetch
> unmerge-orphans pid-sandbox protect-owned unmerge-logs binpkg-docompress
> unknown-features-warn news sfperms usersandbox usersync assume-digests
> sandbox userpriv ebuild-locks parallel-fetch preserve-libs merge-sync
> binpkg-logs xattr distlocks"
> 
> 
> x11-misc/shared-mime-info-2.0-r2::gentoo was built with the following:
> USE=""

Okay so I pinpointed the root issue was coming from wrong access rights on /etc/xml/docbook for which read permission was denied to others. Fixing the access right allowed me to merge the package with no issue.

Sorry for the noise.