Trying to install KDE 4.6.1 - stuck at kdelibs that claims giflib doesn't exist - although it does. Even tried manual install from tarball. FEATURES="-sandbox" emerge =kde-base/kdelibs-4.6.1-r1 doesn't help. # emerge --info Portage 2.2_rc67 (default/linux/amd64/10.0, gcc-4.1.2, glibc-2.9_p20081201-r2, 2.6.31-gentoo-r10 x86_64) ================================================================= System uname: Linux-2.6.31-gentoo-r10-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_6000+-with-gentoo-2.0.1 Timestamp of tree: Mon, 07 Mar 2011 14:30:01 +0000 app-shells/bash: 4.0_p28 dev-java/java-config: 2.1.9-r1 dev-lang/python: 2.4.6, 2.5.4-r3, 2.6.2-r1 dev-util/cmake: 2.8.3-r1 sys-apps/baselayout: 2.0.1 sys-apps/openrc: 0.5.2-r1 sys-apps/sandbox: 2.2 sys-devel/autoconf: 2.13, 2.63-r1 sys-devel/automake: 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2, 1.11.1 sys-devel/binutils: 2.20.1-r1 sys-devel/gcc: 4.1.2, 4.3.2-r3, 4.4.3-r2 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 9999 sys-devel/make: 3.81 virtual/os-headers: 2.6.30-r1 ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="* -@EULA @EULA" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=k8 -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/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" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests distlocks fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch" GENTOO_MIRRORS="http://mirror.isoc.org.il/pub/gentoo" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="en_US he" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X acl alsa amd64 berkdb bzip2 cdr cli cracklib crypt cups cxx dbus dri dvd dvdread exif fortran gdbm gif gpm gtk iconv ipv6 jpeg kde mmx modules mp3 mudflap multilib ncurses nls nptl nptlonly openmp pam pcre pdf perl png pppd python qt3 qt3support qt4 readline session sse sse2 ssl svg sysfs tcpd tiff unicode xorg 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" 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" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_US he" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nouveau nv r128 radeon savage sis tdfx trident vesa via vmware voodoo" 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, FFLAGS, INSTALL_MASK, LANG, LC_ALL, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY Reproducible: Always Steps to Reproduce: 1. emerge =kde-base/kdelibs-4.6.1-r1 Actual Results: ----------------------------------------------------------------------------- -- The following REQUIRED packages could NOT be located on your system. -- You must install these packages before continuing. ----------------------------------------------------------------------------- * giflib <http://sourceforge.net/projects/giflib> GIF image format support Required by khtml. ----------------------------------------------------------------------------- CMake Error at cmake/modules/MacroLogFeature.cmake:152 (MESSAGE): Exiting: Missing Requirements Call Stack (most recent call first): CMakeLists.txt:361 (macro_display_feature_log) -- Configuring incomplete, errors occurred! * ERROR: kde-base/kdelibs-4.6.1-r1 failed: * cmake failed * * Call stack: * ebuild.sh, line 48: Called src_configure * environment, line 4185: Called kde4-base_src_configure * environment, line 3228: Called cmake-utils_src_configure * environment, line 1382: Called _execute_optionaly 'src_configure' * environment, line 752: Called enable_cmake-utils_src_configure * environment, line 1816: 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/kdelibs-4.6.1-r1', * the complete build log and the output of 'emerge -pqv =kde-base/kdelibs-4.6.1-r1'. * The complete build log is located at '/var/tmp/portage/kde-base/kdelibs-4.6.1-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/kde-base/kdelibs-4.6.1-r1/temp/environment'. * S: '/var/tmp/portage/kde-base/kdelibs-4.6.1-r1/work/kdelibs-4.6.1' >>> Failed to emerge kde-base/kdelibs-4.6.1-r1, Log file: >>> '/var/tmp/portage/kde-base/kdelibs-4.6.1-r1/temp/build.log' * Messages for package kde-base/kdelibs-4.6.1-r1: * ERROR: kde-base/kdelibs-4.6.1-r1 failed: * cmake failed * * Call stack: * ebuild.sh, line 48: Called src_configure * environment, line 4185: Called kde4-base_src_configure * environment, line 3228: Called cmake-utils_src_configure * environment, line 1382: Called _execute_optionaly 'src_configure' * environment, line 752: Called enable_cmake-utils_src_configure * environment, line 1816: 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/kdelibs-4.6.1-r1', * the complete build log and the output of 'emerge -pqv =kde-base/kdelibs-4.6.1-r1'. * The complete build log is located at '/var/tmp/portage/kde-base/kdelibs-4.6.1-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/kde-base/kdelibs-4.6.1-r1/temp/environment'. * S: '/var/tmp/portage/kde-base/kdelibs-4.6.1-r1/work/kdelibs-4.6.1' # equery f giflib | grep so /usr/lib64/libgif.so /usr/lib64/libgif.so.4 /usr/lib64/libgif.so.4.1.6
Please run: "equery uses giflib"
shimi@tux ~ $ equery uses giflib [ Searching for packages matching giflib... ] [ Colour Code : set unset ] [ Legend : Left column (U) - USE flags from make.conf ] [ : Right column (I) - USE flags packages was installed with ] [ Found these USE variables for media-libs/giflib-4.1.6-r1 ] U I + + X : Adds support for X11 - - rle : Build converters for RLE format (utah raster toolkit)
Could you attach full build log ? Check also build dir for cmake log files.
Created attachment 265091 [details] Full build log /var/tmp/portage/kde-base/kdelibs-4.6.1-r1/temp/build.log
Created attachment 265093 [details] /var/tmp/portage/kde-base/kdelibs-4.6.1-r1/work/kdelibs-4.6.1_build/CMakeFiles/CMakeError.log
Created attachment 265095 [details] /var/tmp/portage/kde-base/kdelibs-4.6.1-r1/work/kdelibs-4.6.1_build/CMakeFiles/CMakeOutput.log
Well,as one of the errors is: cc1plus: error: unrecognized command line option "-Werror=return-type" and this doesn't seem to come from your C(XX)FLAGS, you probably need to switch to a more recent gcc than 4.1.2. I hope you're aware what this will mean for C++ apps ? And on that note: your glibc is quite old too, is this one of "I didn't update for awhile" bugs ? 9999 for libtool is an odd choice too.
Actually I did have a newer gcc already installed... I was just not switched to it, it seems. # gcc-config 3 * Switching native-compiler to x86_64-pc-linux-gnu-4.4.3... Yes, I guess this is "another case" of using an old software. I guess they wouldn't be happening if the configure script (or better yet, Portage itself) - would check for the required version of one of its dependencies prior to the compile stage, and warn if it's not adequate... Granted, this may require another variable in ebuild files (i.e. MINIMAL_GCC_VERSION) or a patch to configure (or CMake equivalent...), but I think it's worth it. Anyways, it continued past the outlined problem, now that I've switched gcc. Leaving it open should you decide to have the ebuild check for active gcc version to help others in situations like that... Thanks!
(In reply to comment #8) > Actually I did have a newer gcc already installed... I was just not switched to > it, it seems. > > # gcc-config 3 > * Switching native-compiler to x86_64-pc-linux-gnu-4.4.3... > > Yes, I guess this is "another case" of using an old software. I guess they > wouldn't be happening if the configure script (or better yet, Portage itself) - > would check for the required version of one of its dependencies prior to the > compile stage, and warn if it's not adequate... > > Granted, this may require another variable in ebuild files (i.e. > MINIMAL_GCC_VERSION) or a patch to configure (or CMake equivalent...), but I > think it's worth it. That's not quite how we do things around here. You really need to keep the system "moderately" recent to avoid building problems. At this point, I think we've concluded on another bug that we don't support anything older than GCC-4.3*. > Anyways, it continued past the outlined problem, now that I've switched gcc. Before you return reporting issues, you should know you need to build Qt and KDE using the same GCC version. So rebuild all of Qt and KDE. As you have such an old GCC, be warned that you may need to rebuild your kernel with the new GCC and reboot to it or things may start to fail in strange ways. > Leaving it open should you decide to have the ebuild check for active gcc > version to help others in situations like that... > > Thanks!
The eclass now prohibits building >=kde-4.6 with gcc <=4.3.