Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 672866 - kde-frameworks/knotifyconfig-5.53.0:5/5.53 USE=-phonon - CMake Error at src/CMakeLists.txt:18 (add_library): Target "KF5NotifyConfig" links to target "Phonon::phonon4qt5" but the target was not found. Perhaps a find_package() call is missing for an
Summary: kde-frameworks/knotifyconfig-5.53.0:5/5.53 USE=-phonon - CMake Error at src/C...
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: 2018-12-10 10:05 UTC by Anton Gubarkov
Modified: 2018-12-10 19:46 UTC (History)
0 users

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


Attachments
build log (logs.tgz,37.40 KB, application/x-compressed-tar)
2018-12-10 10:08 UTC, Anton Gubarkov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Anton Gubarkov 2018-12-10 10:05:21 UTC
-- The following OPTIONAL packages have not been found:

 * Phonon4Qt5 (required version >= 4.6.60)

-- <<< Gentoo configuration >>>
Build type      Gentoo
Install path    /usr
Compiler flags:
C               -O2 -pipe -mtune=native -std=iso9899:1990 -fno-common -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wmissing-format-attribute -Wwrite-strings -Werror=implicit-function-declaration
C++             -O2 -pipe -mtune=native -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 -pedantic -Wsuggest-override -Wlogical-op -Wzero-as-null-pointer-constant
Linker flags:
Executable      -Wl,--enable-new-dtags -Wl,-O1 -Wl,--as-needed
Module          -Wl,--no-undefined -Wl,--enable-new-dtags -Wl,-O1 -Wl,--as-needed
Shared          -Wl,--no-undefined -Wl,--enable-new-dtags -Wl,-O1 -Wl,--as-needed

-- Configuring done
CMake Error at src/CMakeLists.txt:18 (add_library):
  Target "KF5NotifyConfig" links to target "Phonon::phonon4qt5" but the
  target was not found.  Perhaps a find_package() call is missing for an
  IMPORTED target, or an ALIAS target is missing?


CMake Error at src/CMakeLists.txt:18 (add_library):
  Target "KF5NotifyConfig" links to target "Phonon::phonon4qt5" but the
  target was not found.  Perhaps a find_package() call is missing for an
  IMPORTED target, or an ALIAS target is missing?


-- Generating done
-- Build files have been written to: /var/tmp/portage/kde-frameworks/knotifyconfig-5.53.0/work/knotifyconfig-5.53.0_build
 * ERROR: kde-frameworks/knotifyconfig-5.53.0::gentoo failed (configure phase):
 *   cmake failed
 * 
 * Call stack:
 *     ebuild.sh, line  124:  Called src_configure
 *   environment, line 3718:  Called kde5_src_configure
 *   environment, line 2753:  Called cmake-utils_src_configure
 *   environment, line 1205:  Called die
 * The specific snippet of code:
 *       "${CMAKE_BINARY}" "${cmakeargs[@]}" "${CMAKE_USE_DIR}" || die "cmake failed";
 * 
 * If you need support, post the output of `emerge --info '=kde-frameworks/knotifyconfig-5.53.0::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=kde-frameworks/knotifyconfig-5.53.0::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/kde-frameworks/knotifyconfig-5.53.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/kde-frameworks/knotifyconfig-5.53.0/temp/environment'.
 * Working directory: '/var/tmp/portage/kde-frameworks/knotifyconfig-5.53.0/work/knotifyconfig-5.53.0_build'
 * S: '/var/tmp/portage/kde-frameworks/knotifyconfig-5.53.0/work/knotifyconfig-5.53.0'

>>> Failed to emerge kde-frameworks/knotifyconfig-5.53.0, Log file:

>>>  '/var/tmp/portage/kde-frameworks/knotifyconfig-5.53.0/temp/build.log'
Comment 1 Anton Gubarkov 2018-12-10 10:06:07 UTC
Phonon is not installed indeed

PF16W6Y2 ~ # equery y phonon
Keywords for media-libs/phonon:
       |                           a     |       |  
       |                           m     |       |  
       |                           d   x |       |  
       |                           6   8 |       |  
       |                           4   6 |   u   |  
       | a a   a     p           s |   | |   n   |  
       | l m   r i   p   h m s   p f m f | e u s | r
       | p d a m a p c x p 6 3   a b i b | a s l | e
       | h 6 r 6 6 p 6 8 p 8 9 s r s p s | p e o | p
       | a 4 m 4 4 c 4 6 a k 0 h c d s d | i d t | o
-------+---------------------------------+-------+-------
4.10.1 | o + ~ ~ o ~ ~ + o o o o o ~ o o | 6 o 0 | gentoo
  9999 | o o o o o o o o o o o o o o o o | 6 o   | gentoo
Comment 2 Anton Gubarkov 2018-12-10 10:08:00 UTC
Created attachment 557502 [details]
build log
Comment 3 Anton Gubarkov 2018-12-10 10:08:47 UTC
PF16W6Y2 ~ # emerge --info =kde-frameworks/knotifyconfig-5.53.0
Portage 2.3.52 (python 3.6.6-final-0, default/linux/amd64/17.0/desktop/gnome/systemd, gcc-8.2.0, glibc-2.28-r2, 4.19.8-gentoo-zfs x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.19.8-gentoo-zfs-x86_64-Intel-R-_Core-TM-_i7-8850H_CPU_@_2.60GHz-with-gentoo-2.6
KiB Mem:    32662988 total,   3365688 free
KiB Swap:   33554428 total,  33554428 free
Timestamp of repository gentoo: Mon, 10 Dec 2018 05:04:26 +0000
Head commit of repository gentoo: fa21d678b59e7600f7e076d4b1f5b2b5d661a8b8

sh bash 4.4_p23
ld GNU ld (Gentoo 2.31.1 p4) 2.31.1
app-shells/bash:          4.4_p23::gentoo
dev-java/java-config:     2.2.0-r4::gentoo
dev-lang/perl:            5.26.2::gentoo
dev-lang/python:          2.7.15::gentoo, 3.6.6::gentoo
dev-util/cmake:           3.13.1::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.6-r1::gentoo
sys-apps/sandbox:         2.14::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.11.6-r3::gentoo, 1.16.1-r1::gentoo
sys-devel/binutils:       2.31.1-r2::gentoo
sys-devel/gcc:            7.3.0-r6::gentoo, 7.4.0::gentoo, 8.2.0-r5::gentoo
sys-devel/gcc-config:     2.0::gentoo
sys-devel/libtool:        2.4.6-r5::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 4.19::gentoo (virtual/os-headers)
sys-libs/glibc:           2.28-r2::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: git
    sync-uri: git://github.com/gentoo-mirror/gentoo.git
    priority: -1000

dlang
    location: /var/lib/layman/dlang
    masters: gentoo
    priority: 50

gentoo-zh
    location: /var/lib/layman/gentoo-zh
    masters: gentoo
    priority: 50

steam-overlay
    location: /var/lib/layman/steam-overlay
    masters: gentoo
    priority: 50

tlp
    location: /var/lib/layman/tlp
    masters: gentoo
    priority: 50

rugubara
    location: /var/lib/layman/rugubara
    masters: gentoo
    priority: 100

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -mtune=native"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /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/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -mtune=native"
DISTDIR="/usr/portage/distfiles"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN 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 -mtune=native"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe -mtune=native"
GENTOO_MIRRORS="http://mirror.netcologne.de/gentoo/ http://mirror.yandex.ru/gentoo-distfiles/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j8"
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="X a52 aac acl acpi alsa amd64 berkdb bluetooth branding bzip2 cacert cairo cdda cdr cli client colord crypt cups cxx dbus djvu dri dri3 dts dvd dvdr eds emboss encode evo exif fam fat ffmpeg flac fortran gdbm gif glamor gnome gnome-keyring gnome-online-accounts gpm gstreamer gtk iconv introspection ipv6 jack jpeg jpeg2k lcms ldap libnotify libsecret libtirpc libzfs lm_sensors lv2 mad mng mp3 mp4 mpeg multilib native-headset nautilus ncat ncurses networkmanager nls nptl nvenc nvme ogg opengl openmp opus pam pango pcre pdf png policykit ppds pulseaudio qt5 raw readline sdl sdl2 seccomp smp sna sound spell spice ssl startup-notification svg systemd tcpd thunderbolt tiff tracker truetype udev udisks uefi unicode upower usb usbredir vaapi vala vdpau virgl vorbis wayland wxwidgets x264 x265 xattr xcb xml xv xvid zeroconf zfs 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="karbon plan sheets stage words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul 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="libinput wacom" KERNEL="linux" L10N="en ru" 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 php7-1" POSTGRES_TARGETS="postgres9_5 postgres10" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6" RUBY_TARGETS="ruby23 ruby24" USERLAND="GNU" VIDEO_CARDS="intel i965 nvidia" 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
Comment 4 Larry the Git Cow gentoo-dev 2018-12-10 19:46:38 UTC
The bug has been closed via the following commit(s):

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

commit d945698d38bd79ea0737872b8507f506341f1d2b
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2018-12-10 19:45:26 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2018-12-10 19:45:26 +0000

    kde-frameworks/knotifyconfig: Fix build with USE -phonon
    
    Closes: https://bugs.gentoo.org/672866
    Package-Manager: Portage-2.3.52, Repoman-2.3.12
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 .../knotifyconfig-5.53.0-phonon-optional.patch     | 48 ++++++++++++++++++++++
 .../knotifyconfig/knotifyconfig-5.53.0.ebuild      |  2 +
 2 files changed, 50 insertions(+)