Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 405469 - kde-base/marble-4.8.0-r1 - CMake Error at CMakeLists.txt:42 (macro_optional_find_package): Unknown CMake command "macro_optional_find_package".
Summary: kde-base/marble-4.8.0-r1 - CMake Error at CMakeLists.txt:42 (macro_optional_f...
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: kde-4.8.1-stable
  Show dependency tree
 
Reported: 2012-02-23 18:28 UTC by Vladimir
Modified: 2012-03-23 09:54 UTC (History)
0 users

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


Attachments
build.log (build.log,4.01 KB, text/plain)
2012-02-24 10:15 UTC, Vladimir
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir 2012-02-23 18:28:01 UTC
kde-base/marble-4.8.0-r1 fails to build on my system with this error message:

    CMake Error at CMakeLists.txt:42 (macro_optional_find_package):
      Unknown CMake command "macro_optional_find_package"

Reproducible: Always
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2012-02-24 05:09:39 UTC
1) Please post your `emerge --info =kde-base/marble-4.8.0-r1' in a comment.
2) Please attach the entire build log to this bug report.
Comment 2 Vladimir 2012-02-24 10:15:56 UTC
Created attachment 303043 [details]
build.log

 emerge --info =kde-base/marble-4.8.0-r1

Portage 2.2.0_alpha89 (default/linux/amd64/10.0, gcc-4.5.3, glibc-2.14.1-r2, 3.2.6-gentoo x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-3.2.6-gentoo-x86_64-Mobile_AMD_Sempron-tm-_Processor_3800+-with-gentoo-2.1
Timestamp of tree: Thu, 23 Feb 2012 15:30:01 +0000
distcc 3.1 x86_64-pc-linux-gnu [enabled]
app-shells/bash:          4.2_p20
dev-lang/python:          2.7.2-r3::sage-on-gentoo, 3.2.2
dev-util/cmake:           2.8.7-r3
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.1
sys-apps/openrc:          0.9.8.4
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.9.6-r3, 1.11.3
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.5.3-r2
sys-devel/gcc-config:     1.5-r2
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 3.2 (virtual/os-headers)
sys-libs/glibc:           2.14.1-r2
Repositories: gentoo sage-on-gentoo local
Installed sets: 
ACCEPT_KEYWORDS="amd64 x86 ~amd64 ~x86"
ACCEPT_LICENSE="* -@EULA PUEL skype-eula"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
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/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=k8 -O2 -pipe"
DISTDIR="/home/Install/GNU-Linux/distfiles/"
FEATURES="assume-digests binpkg-logs distcc distlocks ebuild-locks fixlafiles news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch xattr"
FFLAGS=""
GENTOO_MIRRORS="http://portage.org.ua/ ftp://portage.org.ua/                 http://gentoo.iteam.net.ua/                 ftp://gentoo.kiev.ua/ http://gentoo.kiev.ua/ftp/"
LANG="C"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="ru uk"
MAKEOPTS="-j2"
PKGDIR="/home/Install/GNU-Linux/binpkg/"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --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/sage-on-gentoo /usr/local/overlays"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext 64bit 7zip X a52 aac aalib acpi alsa amd64 amrnb amrwb apm ass bash-completion bzip2 cairo cli consolekit cracklib crypt ctype curl cxx dbus dga djvu dri dts dvd encode exif expat faad fbcon fbcondecor festival ffmpeg fftw flac freetds fuse gd gdbm geoip gif git glut gmp gnuplot gnutls gsl gstreamer gtk gtk3 hddtemp iconv idn imagemagick imlib irc jabber jack jbig jpeg lame laptop latex libcaca libnotify libsamplerate lm_sensors lua lzo mad matroska mmap mmx mmxext mng modplug modules mudflap multilib nas ncurses nforce2 nls nptl nptlonly nvidia ogg openal opencore-amr opengl openmp pam pdf plotutils pmu png policykit pppd profile python qt3support qt4 readline rtc samba sasl sdl session shorten skins slang sndfile sockets speex spell sse sse2 ssl startup-notification svg sysfs syslog systray taglib tcl tcpd theora threads timidity truetype udev unicode usb vorbis wavpack webkit wmf x264 xattr xcb xcomposite xinerama xml xorg xosd xpm xvid zlib" 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" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="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 stage tables krita karbon braindump" CAMERAS="ptp2" 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 ubx" INPUT_DEVICES="keyboard mouse evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru uk" PHP_TARGETS="php5-3" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="vesa nouveau" 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, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


As for the build.log, of course I tride to attach it yesterday, but couldn't make it. Perhaps, there had been some error.
Comment 3 Michael Palimaka (kensington) gentoo-dev 2012-03-03 10:24:31 UTC
For python support, the build system depends on cmake macros provided by kde:

if( NOT QTONLY )
macro_log_feature(EXPERIMENTAL_PYTHON_BINDINGS "Experimental Python binding support for the Marble library" "Experimental Python binding support for the Marble library"
  "http://techbase.kde.org/Development/Languages/Python" FALSE ""
  "Experimental Python binding support for the Marble library. To activate it pass -DEXPERIMENTAL_PYTHON_BINDINGS=TRUE to cmake.")
endif()

Workaround: merge with USE="-python" or USE="kde python"
Comment 4 Ian Delaney (RETIRED) gentoo-dev 2012-03-10 08:06:42 UTC
Yes; It pulled up with USE="python -kde"
The fix is to extende REQUIRED_USE

REQUIRED_USE="plasma? ( kde )
        python? ( kde )"
Comment 5 Johannes Huber (RETIRED) gentoo-dev 2012-03-23 09:54:45 UTC
Thanks Ian, added your changes =kde-base/marble-4.8.1.