Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 493266 - kde-base/korundum-4.11.4 fails cmake check: Could not find SmokePhonon
Summary: kde-base/korundum-4.11.4 fails cmake check: Could not find SmokePhonon
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-12-03 21:41 UTC by Guy
Modified: 2014-05-03 12:44 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Guy 2013-12-03 21:41:41 UTC
korundum fails during CMake check (configure phase):


CMake Error at /usr/share/smoke/cmake/SmokeConfig.cmake:30 (message):
  Could not find SmokePhonon
Call Stack (most recent call first):
  /usr/share/smoke/cmake/SmokeConfig.cmake:57 (_print)
  /usr/share/smoke/cmake/SmokeConfig.cmake:98 (find_smoke_component)
  CMakeLists.txt:8 (find_package)


emerge --info '=kde-base/korundum-4.11.3::gentoo

Portage 2.2.7 (default/linux/amd64/13.0/desktop, gcc-4.8.2, glibc-2.17, 3.11.8 x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-3.11.8-x86_64-AMD_Phenom-tm-_9600_Quad-Core_Processor-with-gentoo-2.2
KiB Mem:     7650520 total,   2020628 free
KiB Swap:    2047996 total,   2046844 free
Timestamp of tree: Sun, 01 Dec 2013 12:00:01 +0000
ld GNU ld (GNU Binutils) 2.23.2
ccache version 3.1.9 [disabled]
app-shells/bash:          4.2_p45
dev-java/java-config:     2.2.0
dev-lang/python:          2.7.5-r4, 3.2.5-r3, 3.3.3
dev-util/ccache:          3.1.9-r3
dev-util/cmake:           2.8.12.1-r1
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.4_p6-r1, 1.8.5-r4, 1.10.3, 1.11.6, 1.12.6, 1.13.4, 1.14
sys-devel/binutils:       2.23.2
sys-devel/gcc:            4.8.2
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           4.0
sys-kernel/linux-headers: 3.12 (virtual/os-headers)
sys-libs/glibc:           2.17
Repositories: gentoo zugaina x11 sping multimedia local
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA dlj-1.1 PUEL AdobeFlash-10.3 AdobeFlash-11.x Oracle-BCLA-JavaSE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=opteron -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /var/lib/hsqldb"
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 /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=opteron -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--quiet-build"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs buildpkg config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-O1"
MAKEOPTS="-j5"
PKGDIR="/usr/local/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"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/zugaina /var/lib/layman/x11 /var/lib/layman/sping /var/lib/layman/multimedia /usr/local/portage"
SYNC="rsync://192.168.1.11/gentoo-portage"
USE="10bit 3dnow 3dnowext X a52 aac aalib accessibility acl acpi aio alsa amd64 amr anthy ao apache2 audiofile avahi bash-completion berkdb bluetooth bonjour boost branding bzip2 cairo cdda cdio cdr chm cjk cli consolekit cracklib crypt css cups curl curlwrappers cxx dbus dga dia directfb dri dts dv dvd dvdr dynamic emboss encode exif expat fam fat fbcon ffmpeg fftw firefox flac flash fontconfig foomaticdb fortran ftp gcj gd gdbm gif gimp glib gmp gnutls gpac gphoto2 gpm graphviz gs gstreamer gtk hddtemp hdri html ibus iconv icu id3tag idea imagemagick imap imlib immqt-bc inkjar inotify ipfilter ipv6 irc jabber java javascript jbig jpeg jpeg2k kde kerberos kipi lame lcms libcaca libnotify libsamplerate libvisual linphone live lm_sensors lzo m17n-lib mad matroska midi mikmod mjpeg mmap mmx mmxext mng modules mono mp3 mp4 mpeg mpi mplayer msn msql mudflap multilib multiuser musepack mysql mysqli nas ncurses network nfs nls nptl nsplugin ntfs odbc offensive ogg ogm openexr opengl openmp oscar pam pango pcre pda pdf perl php plotutils plugins png policykit posix postscript ppds pppd private-headers ps pulseaudio python q32 qt3support qt4 quicktime rar raster raw rdesktop readline recode regex reiser4 reiserfs restrict-javascript rle rss rtc ruby samba sasl scanner schroedinger scim sdk sdl semantic-desktop sensord session sftp sharedmem sift simplexml sndfile snmp soap sockets sox speex spell sqlite sse sse2 ssl startup-notification subversion svg swat sysfs syslog t1lib taglib tcl tcpd tga theora threads tidy tiff timidity tk toolbar tools transcode truetype udev udisks unicode upower usb utils vala vcd vdr video vorbis wav wavpack webkit winbind wmf wxwidgets x264 xanim xcb xcomposite xft xine xinerama xml xmlrpc xorg xosd xpm xscreensaver xv xvid xvmc yaepg yahoo zeroconf zip zlib" ABI_X86="32 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="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="canon minolta konica" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev wacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en ja" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby18 ruby20" USERLAND="GNU" VIDEO_CARDS="radeon" 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, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON



emerge log:

>>> Verifying ebuild manifests
>>> Emerging (1 of 1) kde-base/korundum-4.11.3
>>> Failed to emerge kde-base/korundum-4.11.3, Log file:
>>>  '/var/tmp/portage/kde-base/korundum-4.11.3/temp/build.log'
>>> Jobs: 0 of 1 complete, 1 failed                 Load avg: 2.46, 1.76, 1.55
 * Package:    kde-base/korundum-4.11.3
 * Repository: gentoo
 * Maintainer: kde@gentoo.org
 * USE:        amd64 elibc_glibc kernel_linux ruby_targets_ruby19 userland_GNU
 * FEATURES:   preserve-libs sandbox userpriv usersandbox
>>> Unpacking source...
>>> Unpacking korundum-4.11.3.tar.xz to /var/tmp/portage/kde-base/korundum-4.11.3/work
>>> Source unpacked in /var/tmp/portage/kde-base/korundum-4.11.3/work
>>> Preparing source in /var/tmp/portage/kde-base/korundum-4.11.3/work ...
 * Running prepare phase for all ...
 * Running source copy phase for ruby19 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/kde-base/korundum-4.11.3/work ...
 * Running configure phase for ruby19 ...
>>> Working in BUILD_DIR: "/var/tmp/portage/kde-base/korundum-4.11.3/work/korundum-4.11.3_build"
cmake --no-warn-unused-cli -C /var/tmp/portage/kde-base/korundum-4.11.3/work/korundum-4.11.3_build/gentoo_common_config.cmake -G Unix Makefiles -DCMAKE_INSTALL_PREFIX=/usr -DKDE4_BUILD_TESTS=OFF -DCMAKE_INSTALL_PREFIX=/usr -DSYSCONF_INSTALL_DIR=/etc -DRUBY_LIBRARY=/usr/lib64/libruby19.so.1.9.1 -DRUBY_INCLUDE_PATH=/usr/include/ruby-1.9.1 -DRUBY_EXECUTABLE=/usr/bin/ruby19 -DWITH_akonadi=OFF -DWITH_AKONADI=OFF -DWITH_Akonadi=OFF -DWITH_KdepimLibs=OFF -DDISABLE_kate=ON -DDISABLE_KATE=ON -DDISABLE_Kate=ON -DWITH_okular=OFF -DWITH_OKULAR=OFF -DWITH_Okular=OFF -DCMAKE_BUILD_TYPE=Gentoo -DCMAKE_INSTALL_DO_STRIP=OFF -DCMAKE_USER_MAKE_RULES_OVERRIDE=/var/tmp/portage/kde-base/korundum-4.11.3/work/korundum-4.11.3_build/gentoo_rules.cmake  /var/tmp/portage/kde-base/korundum-4.11.3/work/ruby19/korundum-4.11.3
Not searching for unused variables given on the command line.
loading initial cache file /var/tmp/portage/kde-base/korundum-4.11.3/work/korundum-4.11.3_build/gentoo_common_config.cmake
-- The C compiler identification is GNU 4.8.2
-- The CXX compiler identification is GNU 4.8.2
-- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc
-- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/x86_64-pc-linux-gnu-g++
-- Check for working CXX compiler: /usr/bin/x86_64-pc-linux-gnu-g++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Found Ruby: /usr/bin/ruby19 (found version "1.9.1") 
-- Looking for Q_WS_X11
-- Looking for Q_WS_X11 - found
-- Looking for Q_WS_WIN
-- Looking for Q_WS_WIN - not found
-- Looking for Q_WS_QWS
-- Looking for Q_WS_QWS - not found
-- Looking for Q_WS_MAC
-- Looking for Q_WS_MAC - not found
-- Found Qt-Version 4.8.5 (using /usr/bin/qmake)
-- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so;/usr/lib64/libXft.so;/usr/lib64/libXau.so;/usr/lib64/libXdmcp.so;/usr/lib64/libXpm.so
-- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so;/usr/lib64/libXft.so;/usr/lib64/libXau.so;/usr/lib64/libXdmcp.so;/usr/lib64/libXpm.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Found X11: /usr/lib64/libX11.so
-- Looking for include file pthread.h
-- Looking for include file pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE  
-- Found OpenSSL: /usr/lib64/libssl.so;/usr/lib64/libcrypto.so (found version "1.0.1e") 
-- Looking for _POSIX_TIMERS
-- Looking for _POSIX_TIMERS - found
-- Found Automoc4: /usr/bin/automoc4  
-- Found Perl: /usr/bin/perl (found version "5.16.3") 
-- Found Phonon: /usr/include (Required is at least version "4.3.80") 
-- Performing Test _OFFT_IS_64BIT
-- Performing Test _OFFT_IS_64BIT - Success
-- Performing Test HAVE_FPIE_SUPPORT
-- Performing Test HAVE_FPIE_SUPPORT - Success
-- Performing Test __KDE_HAVE_W_OVERLOADED_VIRTUAL
-- Performing Test __KDE_HAVE_W_OVERLOADED_VIRTUAL - Success
-- Performing Test __KDE_HAVE_GCC_VISIBILITY
-- Performing Test __KDE_HAVE_GCC_VISIBILITY - Success
-- Found KDE 4.11 include dir: /usr/include
-- Found KDE 4.11 library dir: /usr/lib64
-- Found the KDE4 kconfig_compiler preprocessor: /usr/bin/kconfig_compiler
-- Found automoc4: /usr/bin/automoc4
-- Found SmokeKdeCore: /usr/lib64/libsmokekdecore.so
-- Found SmokeKdeUi: /usr/lib64/libsmokekdeui.so
-- Found SmokeKFile: /usr/lib64/libsmokekfile.so
-- Found SmokeKHtml: /usr/lib64/libsmokekhtml.so
-- Found SmokeKio: /usr/lib64/libsmokekio.so
-- Found SmokeKNewStuff2: /usr/lib64/libsmokeknewstuff2.so
-- Found SmokeKNewStuff3: /usr/lib64/libsmokeknewstuff3.so
-- Found SmokeKParts: /usr/lib64/libsmokekparts.so
-- Found SmokeKTextEditor: /usr/lib64/libsmokektexteditor.so
-- Found SmokeKUtils: /usr/lib64/libsmokekutils.so
CMake Error at /usr/share/smoke/cmake/SmokeConfig.cmake:30 (message):
  Could not find SmokePhonon
Call Stack (most recent call first):
  /usr/share/smoke/cmake/SmokeConfig.cmake:57 (_print)
  /usr/share/smoke/cmake/SmokeConfig.cmake:98 (find_smoke_component)
  CMakeLists.txt:8 (find_package)


-- Configuring incomplete, errors occurred!
See also "/var/tmp/portage/kde-base/korundum-4.11.3/work/korundum-4.11.3_build/CMakeFiles/CMakeOutput.log".
See also "/var/tmp/portage/kde-base/korundum-4.11.3/work/korundum-4.11.3_build/CMakeFiles/CMakeError.log".
 * ERROR: kde-base/korundum-4.11.3::gentoo failed (configure phase):
 *   cmake failed
 * 
 * Call stack:
 *     ebuild.sh, line   93:  Called src_configure
 *   environment, line 5985:  Called ruby-ng_src_configure
 *   environment, line 5731:  Called _ruby_each_implementation 'each_ruby_configure'
 *   environment, line  752:  Called _ruby_invoke_environment 'ruby19' 'each_ruby_configure'
 *   environment, line  804:  Called each_ruby_configure
 *   environment, line 1342:  Called kde4-base_src_configure
 *   environment, line 4799:  Called cmake-utils_src_configure
 *   environment, line 1219:  Called _execute_optionaly 'src_configure'
 *   environment, line  513:  Called enable_cmake-utils_src_configure
 *   environment, line 1765:  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-base/korundum-4.11.3::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=kde-base/korundum-4.11.3::gentoo'`.
!!! When you file a bug report, please include the following information:
GENTOO_VM=  CLASSPATH="" JAVA_HOME="/etc/java-config-2/current-system-vm"
JAVACFLAGS="" COMPILER=""
and of course, the output of emerge --info =korundum-4.11.3
 * The complete build log is located at '/var/tmp/portage/kde-base/korundum-4.11.3/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/kde-base/korundum-4.11.3/temp/environment'.
 * Working directory: '/var/tmp/portage/kde-base/korundum-4.11.3/work/korundum-4.11.3_build'
 * S: '/var/tmp/portage/kde-base/korundum-4.11.3/work/ruby19/korundum-4.11.3'

 * Messages for package kde-base/korundum-4.11.3:

 * ERROR: kde-base/korundum-4.11.3::gentoo failed (configure phase):
 *   cmake failed
Comment 1 Guy 2013-12-07 02:41:08 UTC
I'm having the same problem with version 4.11.4.

CMake Error at /usr/share/smoke/cmake/SmokeConfig.cmake:30 (message):
  Could not find SmokePhonon
Call Stack (most recent call first):
  /usr/share/smoke/cmake/SmokeConfig.cmake:57 (_print)
  /usr/share/smoke/cmake/SmokeConfig.cmake:98 (find_smoke_component)
  CMakeLists.txt:8 (find_package)


-- Configuring incomplete, errors occurred!
See also "/var/tmp/portage/kde-base/korundum-4.11.4/work/korundum-4.11.4_build/CMakeFiles/CMakeOutput.log".
See also "/var/tmp/portage/kde-base/korundum-4.11.4/work/korundum-4.11.4_build/CMakeFiles/CMakeError.log".
 * ERROR: kde-base/korundum-4.11.4::gentoo failed (configure phase):
 *   cmake failed
Comment 2 Johannes Huber (RETIRED) gentoo-dev 2013-12-09 20:28:49 UTC
Can not reproduce here. Whats your phonon version?
Comment 3 Johannes Huber (RETIRED) gentoo-dev 2013-12-19 17:32:39 UTC
(In reply to Johannes Huber from comment #2)
> Can not reproduce here. Whats your phonon version?
Comment 4 Guy 2014-05-03 12:43:27 UTC
I was finally able to track this issue down and resolved my problem.

The circumstances were a combination of historical artifacts and events dating back to pre 2009. i.e. This is a system which has been running Gentoo a long time.

The resulting problem scenario decomposes to the following:

1) At some point, I ended up with package media-libs/phonon listed in my "/var/lib/portage/world" file due to a re-emerge event without using the "--oneshot" option. This means that phonon itself was installed and available.

2) Due to attempting to resolve sound issues as some point in the past, I ended up with USE="-phonon" in my /etc/portage/make.conf" file.

Apparently, this wasn't a problem until sometime after KDE 4.9.x when I finally made the jump from 4.9.x to 4.11.0.

The "fix" is to change the 'phonon' USE flag back.

The error message provided by the CMake check is correct as far as it goes but .. umm .. isn't terribly clear. "SmokePhonon" is the title of the module that is missing. There is no indication of a file name that is missing. 

If you look at the preceeding related CMake success messages, the indicated found files are all generated as part of package "kde-base/smokekde".

example:

# equery b /usr/lib64/libsmokekutils.so
 * Searching for /usr/lib64/libsmokekutils.so ... 
kde-base/smokekde-4.13.0 (/usr/lib64/libsmokekutils.so -> libsmokekutils.so.3)
kde-base/smokekde-4.13.0 (/usr/lib64/libsmokekutils.so.3.0.0)

So even if the CMake error message indicated desired file it's looking for, this wouldn't be helpful because the problem is further back.

I ended up finding the problem by comparing files and directories with a system which didn't have a problem. What I eventually discovered was that directory /usr/share/sip/phonon didn't exist on my problem system. This provided my first clue that I had a USE flag issue.

The problem was specifically fixed with:

USE="phonon" emerge -1 kde-base/smokeqt

I've reset the 'phonon' USE flag properly in /etc/portage/make.conf and confirmed that USE="-phonon" is not set anywhere in my /etc/portage/package.use/ files.

"Problem Between Seat And Keyboard"