Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 628510 - kde-apps/khelpcenter-17.08.0 fatal error: docbookxslt.h: No such file or directory
Summary: kde-apps/khelpcenter-17.08.0 fatal error: docbookxslt.h: No such file or dire...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-08-21 15:31 UTC by Francesco Riosa
Modified: 2017-08-23 19:31 UTC (History)
3 users (show)

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


Attachments
khelpcenter-17.08.0:20170821-154159.log.gz (khelpcenter-17.08.0:20170821-154159.log.gz,6.77 KB, application/gzip)
2017-08-21 15:43 UTC, Francesco Riosa
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Francesco Riosa 2017-08-21 15:31:09 UTC
kde-apps/khelpcenter fail to build because it's missing an header "docbookxslt.h"

the header exists on the filesystem as "/usr/include/KF5/KDocTools/docbookxslt.h" and is installed from "kde-frameworks/kdoctools"

so probably the ebuild need an addition to depends:

DEPEND+="
$(add_frameworks_dep kdoctools)
"

and the build system need to add "/usr/include/KF5/KDocTools/" to the included directories


[ 43%] Linking CXX executable khc_xapiansearch
cd /var/tmp/portage/kde-apps/khelpcenter-17.08.0/work/khelpcenter-17.08.0_build/searchhandlers && /usr/bin/cmake -E cmake_link_script CMakeFiles/khc_xapiansearch.dir/link.txt --verbose=1
/usr/bin/x86_64-pc-linux-gnu-g++  -O3 -march=corei7 -pipe -flto=8 -fuse-linker-plugin -fno-fat-lto-objects -floop-nest-optimize -fgraphite-identity -floop-interchange -floop-strip-mine -floop-block -grecord-gcc-switches -std=c++0x -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time  -Wl,--enable-new-dtags -Wl,-O1,--sort-common,--hash-style=gnu,--as-needed,-z,now -O3 -march=corei7 -pipe -flto=8 -fuse-linker-plugin -fno-fat-lto-objects -floop-nest-optimize -fgraphite-identity -floop-interchange -floop-strip-mine -floop-block -grecord-gcc-switches -rdynamic CMakeFiles/khc_xapiansearch.dir/xapiancommon.cpp.o CMakeFiles/khc_xapiansearch.dir/xapiansearch.cpp.o CMakeFiles/khc_xapiansearch.dir/khc_xapiansearch_autogen/mocs_compilation.cpp.o  -o khc_xapiansearch /usr/lib64/libQt5Core.so.5.7.1 -lxapian
/var/tmp/portage/kde-apps/khelpcenter-17.08.0/work/khelpcenter-17.08.0/view.cpp:19:10: fatal error: docbookxslt.h: No such file or directory
 #include <docbookxslt.h>
          ^~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [CMakeFiles/kdeinit_khelpcenter.dir/build.make:191: CMakeFiles/kdeinit_khelpcenter.dir/view.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory '/var/tmp/portage/kde-apps/khelpcenter-17.08.0/work/khelpcenter-17.08.0_build'
[ 43%] Built target khc_xapiansearch
make[2]: Leaving directory '/var/tmp/portage/kde-apps/khelpcenter-17.08.0/work/khelpcenter-17.08.0_build'
make[1]: *** [CMakeFiles/Makefile2:196: CMakeFiles/kdeinit_khelpcenter.dir/all] Error 2
make[1]: Leaving directory '/var/tmp/portage/kde-apps/khelpcenter-17.08.0/work/khelpcenter-17.08.0_build'
make: *** [Makefile:130: all] Error 2
 * ERROR: kde-apps/khelpcenter-17.08.0::gentoo failed (compile phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info '=kde-apps/khelpcenter-17.08.0::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=kde-apps/khelpcenter-17.08.0::gentoo'`.
 * The complete build log is located at '/var/log/portage/build/kde-apps/khelpcenter-17.08.0:20170821-152027.log.gz'.
 * The ebuild environment file is located at '/var/tmp/portage/kde-apps/khelpcenter-17.08.0/temp/environment'.
 * Working directory: '/var/tmp/portage/kde-apps/khelpcenter-17.08.0/work/khelpcenter-17.08.0_build'
 * S: '/var/tmp/portage/kde-apps/khelpcenter-17.08.0/work/khelpcenter-17.08.0'
Comment 1 Francesco Riosa 2017-08-21 15:43:40 UTC
Created attachment 489900 [details]
khelpcenter-17.08.0:20170821-154159.log.gz
Comment 2 Francesco Riosa 2017-08-21 15:44:21 UTC
gentoo-gcc7 ~ # emerge --info =kde-apps/khelpcenter-17.08.0                                                   
Portage 2.3.8 (python 3.6.1-final-0, default/linux/amd64/13.0/desktop/plasma/systemd, gcc-7.1.0, glibc-2.24-r4, 4.9.43 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.9.43-x86_64-Intel-R-_Core-TM-_i7-3770_CPU_@_3.40GHz-with-gentoo-2.4.1
KiB Mem:    32632344 total,  10545456 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Mon, 21 Aug 2017 06:00:01 +0000
Head commit of repository gentoo: 2044bd10c756ab0addf93a5704cefa1e09e2dbb8
Head commit of repository vivovl: 3322db4551f6fc68f70af9188a97e5aa0474e5d8

sh bash 4.4_p12
ld GNU ld (Gentoo 2.28.1 p1.0) 2.28.1
distcc 3.2rc1 x86_64-pc-linux-gnu [disabled]
app-shells/bash:          4.4_p12::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.24.2::gentoo
dev-lang/python:          2.7.13::gentoo, 3.5.3::gentoo, 3.6.1-r1::vivovl
dev-util/cmake:           3.9.1::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.4.1-r1::gentoo
sys-apps/openrc:          0.29::gentoo
sys-apps/sandbox:         2.10-r4::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.13.4-r1::gentoo, 1.15.1-r1::gentoo
sys-devel/binutils:       2.28.1::gentoo
sys-devel/gcc:            7.1.0-r1::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r4::gentoo
sys-devel/make:           4.2.1-r1::gentoo
sys-kernel/linux-headers: 4.10::gentoo (virtual/os-headers)
sys-libs/glibc:           2.24-r4::gentoo
Repositories:

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

vivovl
    location: /var/portage/repos/vivovl
    sync-type: git
    sync-uri: git@github.com:vivo75/vivovl.git
    masters: gentoo

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O3 -march=corei7 -pipe -flto=8 -fuse-linker-plugin -fno-fat-lto-objects -floop-nest-optimize -fgraphite-identity -floop-interchange -floop-strip-mine -floop-block -grecord-gcc-switches"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/easy-rsa /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php7.1/ext-active/ /etc/php/cgi-php7.1/ext-active/ /etc/php/cli-php7.1/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O3 -march=corei7 -pipe -flto=8 -fuse-linker-plugin -fno-fat-lto-objects -floop-nest-optimize -fgraphite-identity -floop-interchange -floop-strip-mine -floop-block -grecord-gcc-switches"
DISTDIR="/var/portage/distfiles"
EMERGE_DEFAULT_OPTS="--autounmask=y --ask-enter-invalid --usepkg=n --load-average=8 --jobs=2"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs buildpkg compress-build-logs compressdebug config-protect-if-modified distlocks ebuild-locks fail-clean fixlafiles merge-sync multilib-strict news noinfo parallel-fetch preserve-libs protect-owned sandbox sfperms split-elog split-log splitdebug strict test unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1,--sort-common,--hash-style=gnu,--as-needed,-z,now -O3 -march=corei7 -pipe -flto=8 -fuse-linker-plugin -fno-fat-lto-objects -floop-nest-optimize -fgraphite-identity -floop-interchange -floop-strip-mine -floop-block -grecord-gcc-switches"
MAKEOPTS="-j8 --load-average=8"
PKGDIR="/var/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="X a52 aac acl acpi activities alsa amd64 berkdb bluetooth branding bzip2 cairo cdda cdr clang cli cpudetection cracklib crypt cups cxx dbus declarative dri dts dvd dvdr egl emboss encode exif fam ffmpeg firefox flac fortran gdbm gif glamor gles2 gpm gpu gtk iconv ipv6 jpeg kde kipi kwallet lcms ldap libnotify mad mmx mng modules mp3 mp4 mpeg multilib ncurses nls nptl ogg opengl openmp pam pango pcre pdf pgo phonon plasma png policykit ppds pulseaudio qml qt3support qt4 qt5 readline sdl seccomp semantic-desktop session spell sse sse2 ssl startup-notification svg systemd tcpd threads tiff truetype udev udisks unicode upower usb vaapi vorbis vulkan wayland widgets wxwidgets x264 xattr xcb xcomposite xinerama xml xscreensaver xv xvid zlib" ABI_X86="64 32" 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="krita" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes f16c mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" 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="evdev wacom libinput synaptics" KERNEL="linux" L10N="en" 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_6" PYTHON_TARGETS="python3_6" QEMU_SOFTMMU_TARGETS="x86_64 aarch64 arm" RUBY_TARGETS="ruby24" SANE_BACKENDS="hp hp3500 hp3900 hp4200 hp5400 hp5590 hpljm1005" USERLAND="GNU" VIDEO_CARDS="intel i965 nouveau radeon radeonsi amdgpu qxl modesetting" 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, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 3 Francesco Riosa 2017-08-21 21:14:02 UTC
by the way simple workaround:
USE="handbook" emerge -1 kde-apps/khelpcenter
Comment 4 Andreas Sturmlechner gentoo-dev 2017-08-22 08:40:53 UTC
Wait; package fails to build, so the workaround is to build it?
Comment 5 Johannes Huber (RETIRED) gentoo-dev 2017-08-22 17:47:44 UTC
(In reply to Andreas Sturmlechner from comment #4)
> Wait; package fails to build, so the workaround is to build it?

forceoptional is to forcy ;)
Comment 6 Francesco Riosa 2017-08-23 11:19:19 UTC
(In reply to Andreas Sturmlechner from comment #4)
> Wait; package fails to build, so the workaround is to build it?

to clarify:

USE="-handbook" emerge -1 kde-apps/khelpcenter
FAIL

USE="handbook" emerge -1 kde-apps/khelpcenter
SUCCEED
Comment 7 Andreas Sturmlechner gentoo-dev 2017-08-23 19:31:43 UTC
Thanks for your report! Fixed in git commit 05fe12c81362c2374aa76f3ca89037617b5284de