kde-base/kpdf-3.5.0 already fails doing configure: [...] checking for unsetenv... yes checking if unsetenv needs custom prototype... no checking for usleep... yes checking if usleep needs custom prototype... no checking for mkstemps... no checking if mkstemps needs custom prototype... yes - in libkdefakes checking whether time.h and sys/time.h may both be included... yes checking for Qt docs... NO checking for dot... not found checking for doxygen... not found checking for pkg-config... /usr/bin/pkg-config checking for poppler-qt >= 0.3.1... configure: error: --with-poppler was given, but test for poppler failed !!! Please attach the config.log to your bug report: !!! /var/tmp/portage/kpdf-3.5.0/work/kpdf-3.5.0/config.log !!! ERROR: kde-base/kpdf-3.5.0 failed. !!! Function econf, Line 485, Exitcode 0 !!! econf failed !!! If you need support, post the topmost build error, NOT this status message. app-text/poppler-0.4.2 is installed on my system and has been compiled with the following USE flags: -cairo +gtk +jpeg -qt +zlib Output of "emerge info": Portage 2.0.51.22-r3 (default-linux/amd64/2005.1, gcc-3.4.4, glibc-2.3.5-r2, 2. 6.13-gentoo-r5 x86_64) ================================================================= System uname: 2.6.13-gentoo-r5 x86_64 AMD Athlon(tm) 64 Processor 3000+ Gentoo Base System version 1.6.13 dev-lang/python: 2.4.2 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.5.20 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe -march=athlon64 -frename-registers -ftracer -fweb" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/ share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config / usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/ texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/ xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -pipe -march=athlon64 -frename-registers -ftracer -fweb" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks fixpackages sandbox sfperms strict" GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ ftp:/ /sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo http://gentoo.oregonstate. edu http://www.ibiblio.org/pub/Linux/distributions/gentoo" LANG="en_US.ISO-8859-1" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X a52 aac aalib acpi alsa amd64 apache2 apm artswrappersuid audiofile avi berkdb bitmap-fonts bzip2 cdr codecs crypt cups curl divx4linux dvd dvdr dvdread eds emboss encode exif expat fam fbcon ffmpeg firefox flac foomaticdb fortran gdbm gif glut gmp gstreamer gtk gtk2 icq idn imagemagick imlib java joystick jpeg junit kde lcms libwww logitech-mouse lzw lzw-tiff mad maildir matroska mbox mhash mjpeg mng motif moznomail mp3 mpeg mysql ncurses nls nntp nptl nvidia offensive ogg oggvorbis opengl pam pcre pdflib perl png ppds python quicktime readline recode sdl slang spell ssl tcltk tcpd tetex theora tiff truetype truetype-fonts type1-fonts udev unicode usb userlocales uudeview vcd vim-with-x vorbis xface xine xml2 xpm xv xvid zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS /var/tmp/portage/kpdf-3.5.0/work/kpdf-3.5.0/config.log has been attached as requested.
Created attachment 73822 [details] /var/tmp/portage/kpdf-3.5.0/work/kpdf-3.5.0/config.log
Should work if you recompile poppler with USE="qt". if you sync now and try again the ebuild should exit with a meaningful error, can you try?
I should've figured that out by myself, but it was already late. :) Anyhow, your fix works fine: root@uranus:/home/tittel# emerge kpdf >>> emerge (1 of 1) kde-base/kpdf-3.5.0 to / [...] * This package requires app-text/poppler compiled with Qt support. Afer recompiling poppler with Qt support, kpdf merges fine. Thank you for fixing, I think we can close this now.
*** This bug has been marked as a duplicate of 112848 ***
(In reply to comment #2) > Should work if you recompile poppler with USE="qt". > > if you sync now and try again the ebuild should exit with a meaningful error, > can you try? > When i try "emerge -av poppler", I see this: [ebuild N ] app-text/poppler-0.10.4 USE="-doc" USE-flag "qt" is already have, but ebuild have a hardcoded "--disable-poppler-qt" configure option. When I fixing ebuild and run ebuild digest, it merge clean. Please fix this in newest portage tree.