Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 435300 - net-misc/tigervnc USE=internal-fltk - "CMake Error at CMakeLists.txt:300 (message): FLTK not found and not using included FLTK (needed by vncviewer.)"
Summary: net-misc/tigervnc USE=internal-fltk - "CMake Error at CMakeLists.txt:300 (mes...
Status: RESOLVED DUPLICATE of bug 435272
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: Raúl Porcel (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-17 07:00 UTC by Johan Myreen
Modified: 2012-09-17 14:18 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 Johan Myreen 2012-09-17 07:00:33 UTC
emerge tigervnc fails with "CMake Error at CMakeLists.txt:300 (message):
  FLTK not found and not using included FLTK (needed by vncviewer.)"

I don't know why it does not use the included FLTK. Use flags are as follows:

$ emerge -vp tigervnc
[ebuild     U  ] net-misc/tigervnc-1.2.0 [1.1.0-r7] USE="internal-fltk%* java%* nptl opengl pam%* xorgmodule -gnutls% -server" 0 kB


Reproducible: Always

Steps to Reproduce:
1. emerge =net-misc/tigervnc-1.2.0
2.
3.
Actual Results:  
Emerge fails because fltk isn't installed and the ebuild does not pull it in.


emerge --info '=net-misc/tigervnc-1.2.0'
Portage 2.1.11.17 (default/linux/amd64/10.0, gcc-4.6.3, glibc-2.15-r2, 3.5.3-gentoo x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-3.5.3-gentoo-x86_64-AMD_Phenom-tm-_9550_Quad-Core_Processor-with-gentoo-2.2
Timestamp of tree: Mon, 17 Sep 2012 05:30:01 +0000
app-shells/bash:          4.2_p37
dev-java/java-config:     2.1.12
dev-lang/python:          2.7.3-r2, 3.2.3-r1
dev-util/cmake:           2.8.9
dev-util/pkgconfig:       0.27.1
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.10.5
sys-apps/sandbox:         2.6
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.9.6-r3, 1.11.6, 1.12.3
sys-devel/binutils:       2.22.90
sys-devel/gcc:            4.5.3-r2, 4.6.3
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 3.5 (virtual/os-headers)
sys-libs/glibc:           2.15-r2
Repositories: gentoo seden opensc_debug x11
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native -ggdb"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /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/php/apache2-php5.4/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cli-php5.4/ext-active/ /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="-O2 -pipe -march=native -ggdb"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles installsources news parallel-fetch protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://trumpetti.atm.tut.fi/gentoo/ "
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
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/seden /usr/local/portage /var/lib/layman/x11"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aac accessibility acl acpi alsa amd64 bash-completion berkdb bluetooth bzip2 cli cracklib crypt cups cxx dbus doc dri evdev ffmpeg flac fortran gdbm gif gnome gpm hal iconv icu ipv6 java jpeg jpeg2k kde kerberos ldap libvirtd macvtap melt mmx modules mp3 mudflap multilib mysql ncurses nls nptl objc ogg opengl openmp pam pcre pkcs11 png policykit ppds pppd python qemu qt3 qt3support qt4 raw readline sasl sdl semantic-desktop session smartcard sql sse sse2 ssl svg syslog tcpd tiff tk tls truetype unicode vorbis xml 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 sheets stage tables krita karbon braindump" CAMERAS="canon topfield" 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" GRUB_PLATFORMS="pc" INPUT_DEVICES="keyboard evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" PHP_TARGETS="php5-3" PYTHON_TARGETS="python3_2 python2_7" QEMU_SOFTMMU_TARGETS="x86_64" QEMU_USER_TARGETS="x86_64" RUBY_TARGETS="ruby18 ruby19" 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, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2012-09-17 11:56:35 UTC
Could you attach the entire build log, please?
Comment 2 Johan Myreen 2012-09-17 13:02:59 UTC
 * Package:    net-misc/tigervnc-1.2.0
 * Repository: gentoo
 * Maintainer: armin76@gentoo.org
 * USE:        amd64 elibc_glibc internal-fltk java kernel_linux multilib nptl opengl pam userland_GNU xorgmodule
 * FEATURES:   installsources sandbox splitdebug

 * The 'server' USE flag will build tigervnc's server.
 * If '-server' is chosen only the client is built to save space.
 * Stop the build now if you need to add 'server' to USE flags.
 * 
 * QA Notice: ebeep is not defined in EAPI=4, please file a bug at http://bugs.gentoo.org
 * QA Notice: epause is not defined in EAPI=4, please file a bug at http://bugs.gentoo.org
 * Applying various patches (bugfixes/updates) ...
 *   001_fontconfig_link.patch ...
 [ ok ]
 *   005_gnutls.patch ...
 [ ok ]
 *   010_install_paths.patch ...
 [ ok ]
 *   015_java7.patch ...
 [ ok ]
 *   020_no_force_fltk.patch ...
 [ ok ]
 * Done with patching
>>> Working in BUILD_DIR: "/var/tmp/portage/net-misc/tigervnc-1.2.0/work/tigervnc-1.2.0"
cmake --no-warn-unused-cli -C /var/tmp/portage/net-misc/tigervnc-1.2.0/work/tigervnc-1.2.0/gentoo_common_config.cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Gentoo -DCMAKE_INSTALL_DO_STRIP=OFF -DCMAKE_USER_MAKE_RULES_OVERRIDE=/var/tmp/portage/net-misc/tigervnc-1.2.0/work/tigervnc-1.2.0/gentoo_rules.cmake  /var/tmp/portage/net-misc/tigervnc-1.2.0/work/tigervnc-1.2.0
Not searching for unused variables given on the command line.
loading initial cache file /var/tmp/portage/net-misc/tigervnc-1.2.0/work/tigervnc-1.2.0/gentoo_common_config.cmake
-- The C compiler identification is GNU 4.6.3
-- The CXX compiler identification is GNU 4.6.3
-- 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
-- CMAKE_BUILD_TYPE = Gentoo
-- VERSION = 1.2.0, BUILD = 20120917
-- 64-bit build
-- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so
-- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.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
-- Found ZLIB: /usr/lib64/libz.so (found version "1.2.7") 
-- Found Gettext: /usr/bin/msgmerge (found version "0.18.1") 
-- Performing Test ICONV_HAVE_WERROR
-- Performing Test ICONV_HAVE_WERROR - Success
-- Performing Test ICONV_SECOND_ARGUMENT_IS_CONST
-- Performing Test ICONV_SECOND_ARGUMENT_IS_CONST - Failed
-- Found Iconv: /usr/lib64/libc.so
-- Looking for dgettext
-- Looking for dgettext - found
-- Found JPEG: /usr/lib64/libjpeg.so  
-- Performing Test FOUND_LIBJPEG_TURBO
-- Performing Test FOUND_LIBJPEG_TURBO - Success
-- Could NOT find FLTK (missing:  FLTK_LIBRARIES FLTK_INCLUDE_DIR) 
CMake Error at CMakeLists.txt:300 (message):
  FLTK not found and not using included FLTK (needed by vncviewer.)


-- Configuring incomplete, errors occurred!
 * ERROR: net-misc/tigervnc-1.2.0 failed (configure phase):
 *   cmake failed
 * 
 * Call stack:
 *     ebuild.sh, line   85:  Called src_configure
 *   environment, line 5250:  Called cmake-utils_src_configure
 *   environment, line 1072:  Called _execute_optionaly 'src_configure'
 *   environment, line  481:  Called enable_cmake-utils_src_configure
 *   environment, line 1960:  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 '=net-misc/tigervnc-1.2.0'`,
 * the complete build log and the output of `emerge -pqv '=net-misc/tigervnc-1.2.0'`.
!!! When you file a bug report, please include the following information:
GENTOO_VM=  CLASSPATH="" JAVA_HOME=""
JAVACFLAGS="" COMPILER=""
and of course, the output of emerge --info
 * The complete build log is located at '/var/tmp/portage/net-misc/tigervnc-1.2.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-misc/tigervnc-1.2.0/temp/environment'.
 * Working directory: '/var/tmp/portage/net-misc/tigervnc-1.2.0/work/tigervnc-1.2.0'
 * S: '/var/tmp/portage/net-misc/tigervnc-1.2.0/work/tigervnc-1.2.0'
Comment 3 Raúl Porcel (RETIRED) gentoo-dev 2012-09-17 14:18:52 UTC

*** This bug has been marked as a duplicate of bug 435272 ***