Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 537228 - app-i18n/fcitx-libpinyin-0.3.1 - CMake Error at /usr/share/cmake/Modules/FindQt4.cmake:1386 (message): Found unsuitable Qt version "" from NOTFOUND, this code requires Qt 4.x
Summary: app-i18n/fcitx-libpinyin-0.3.1 - CMake Error at /usr/share/cmake/Modules/Find...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: CJK Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-01-21 12:02 UTC by stieizc.33
Modified: 2015-02-03 07:16 UTC (History)
0 users

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


Attachments
build.log (build.log,4.52 KB, text/plain)
2015-01-24 09:09 UTC, stieizc.33
Details

Note You need to log in before you can comment on or make changes to this bug.
Description stieizc.33 2015-01-21 12:02:01 UTC
Here's the error report:
--------------------------------------------------------
CMake Error at /usr/share/cmake/Modules/FindQt4.cmake:1386 (message):
  Found unsuitable Qt version "" from NOTFOUND, this code requires Qt 4.x
Call Stack (most recent call first):
  dictmanager/CMakeLists.txt:15 (find_package)


-- Configuring incomplete, errors occurred!
See also "/var/tmp/portage/app-i18n/fcitx-libpinyin-0.3.1/work/fcitx-libpinyin-0.3.1_build/CMakeFiles/CMakeOutput.log".
 * ERROR: app-i18n/fcitx-libpinyin-0.3.1::gentoo failed (configure phase):
 *   cmake failed
 * 
 * Call stack:
 *     ebuild.sh, line   93:  Called src_configure
 *   environment, line 2905:  Called cmake-utils_src_configure
 *   environment, line  662:  Called _execute_optionally 'src_configure'
 *   environment, line  225:  Called enable_cmake-utils_src_configure
 *   environment, line  979:  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 '=app-i18n/fcitx-libpinyin-0.3.1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=app-i18n/fcitx-libpinyin-0.3.1::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/app-i18n/fcitx-libpinyin-0.3.1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-i18n/fcitx-libpinyin-0.3.1/temp/environment'.
 * Working directory: '/var/tmp/portage/app-i18n/fcitx-libpinyin-0.3.1/work/fcitx-libpinyin-0.3.1_build'
 * S: '/var/tmp/portage/app-i18n/fcitx-libpinyin-0.3.1/work/fcitx-libpinyin-0.3.1'
--------------------------------------------------------
It seems that qt is not explicitly stated as dependancy.

--------------------------------------------------------
$ FEATURES='-distcc' emerge --info '=app-i18n/fcitx-libpinyin-0.3.1::gentoo' # Distcc also disabled when building
Portage 2.2.14 (python 2.7.9-final-0, default/linux/amd64/13.0/desktop, gcc-4.8.3, glibc-2.19-r1, 3.16.0-4-amd64 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.16.0-4-amd64-x86_64-Intel-R-_Core-TM-_i5-2450M_CPU_@_2.50GHz-with-gentoo-2.2
KiB Mem:     3964332 total,    415728 free
KiB Swap:    6143996 total,   6120432 free
Timestamp of tree: Wed, 21 Jan 2015 08:30:01 +0000
ld GNU ld (Gentoo 2.24 p1.4) 2.24
distcc 3.1 x86_64-pc-linux-gnu [disabled]
app-shells/bash:          4.2_p53
dev-java/java-config:     2.2.0
dev-lang/perl:            5.18.2-r2
dev-lang/python:          2.7.9-r1, 3.3.5-r1
dev-util/cmake:           2.8.12.2-r1
dev-util/pkgconfig:       0.28-r1
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.13.8
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.69
sys-devel/automake:       1.13.4
sys-devel/binutils:       2.24-r3
sys-devel/gcc:            4.8.3
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2-r1
sys-devel/make:           4.0-r1
sys-kernel/linux-headers: 3.16 (virtual/os-headers)
sys-libs/glibc:           2.19-r1
Repositories: gentoo
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-linux-gnu"
CFLAGS="-march=core2 -mcx16 -msahf -maes -mpclmul -mpopcnt -mavx --param l1-cache-size=32 --param l1-cache-line-size=64 --p
aram l2-cache-size=256 -mtune=core2 -O2 -pipe"
CHOST="x86_64-linux-gnu"
CONFIG_PROTECT="/etc"
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/terminfo"
CXXFLAGS="-march=core2 -mcx16 -msahf -maes -mpclmul -mpopcnt -mavx --param l1-cache-size=32 --param l1-cache-line-size=64 -
-param l2-cache-size=256 -mtune=core2 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs 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 userp
riv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://mirrors.tuna.tsinghua.edu.cn/gentoo"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j10"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --del
ete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="http://mirrors.tuna.tsinghua.edu.cn/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 berkdb bluetooth branding bzip2 cairo cdda cdr clang cli cracklib crypt cups cxx dbus dr
i dts dvd dvdr emboss encode exif fam firefox flac fortran gdbm gif glamor gtk iconv ipv6 jpeg lcms libnotify mad mmx mng m
odules mp3 mp4 mpeg multilib ncurses nls nptl ogg opengl openmp pam pango pcre pdf png policykit ppds qt3support readline s
dl session spell sse sse2 ssl startup-notification svg systemd tcpd tiff truetype udev udisks unicode upower usb vorbis wxw
idgets x264 xcb xml xv xvid 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 d
av_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_ca
che mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES=
"kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq 
load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpscl
ock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tn
t ublox ubx" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 
mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP
_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby20" USERLA
ND="GNU" VIDEO_CARDS="intel" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy cond
ition 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_CO
MPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2015-01-21 14:26:03 UTC
Please attach the entire build log to this bug report.
Comment 2 stieizc.33 2015-01-24 09:09:34 UTC
Created attachment 394750 [details]
build.log

Sorry for the long delay.
Comment 3 Ben de Groot (RETIRED) gentoo-dev 2015-02-03 07:16:38 UTC
+  03 Feb 2015; Ben de Groot <yngwin@gentoo.org> fcitx-libpinyin-0.3.1.ebuild,
+  metadata.xml:
+  Fix build failure when Qt4 is not installed (bug 537228). This is made
+  optional by toggling the dictmanager USE flag, which requires dev-
+  qt/qtwebkit:4.