# emerge --info Portage 2.0.54 (default-linux/x86/no-nptl/2.4, gcc-3.3.6, glibc-2.3.5-r2, 2.4.32-it4linux i686) ================================================================= System uname: 2.4.32-it4linux i686 AMD Duron(tm) Gentoo Base System version 1.6.14 dev-lang/python: 2.3.5-r2, 2.4.2 sys-apps/sandbox: 1.2.10 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.16.1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.4.30-r1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O3 -mcpu=athlon-tbird -march=athlon -fomit-frame-pointer -ffast-math -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /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/lib/mozilla/defaults/pref /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="-O3 -mcpu=athlon-tbird -march=athlon -fomit-frame-pointer -ffast-math -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://funtaskic.informatik.uni-bremen.de/ftp/gentoo/" LANG="de_DE@euro" LC_ALL="de_DE@euro" MAKEOPTS="-j1" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/etc/portage/overlay" SYNC="rsync://rsync.linux-net.dnsalias.net/gentoo-portage/" USE="3dnowex 3dnowext 3dnox X acl acpi alsa apm arts audiofile avi berkdb bitmap-fonts bzip2 bzlib cdr crypt curl dri dts eds emboss encode esd exif expat fam ffmpeg flac foomaticdb fortran gd gdbm gif glut gmp gnome gstreamer gtk gtk2 gtkhtml guile idn imagemagick imlib jack java jpeg kde lcms ldap libg++ libwww mad mhash mikmod ming mmx mmx2 mmxext mng motif mozilla mp3 mpeg mysql ncurses nls ogg opengl oss pam pcre pda pdflib perl png python qt quicktime readline ruby samba scanner sdl spell sqlite ssl tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts udev usb vorbis wmf x86 xml xml2 xmms xv xvid zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LDFLAGS, LINGUAS
when emerging hplip the configure process fails when checking for cups-devel as defined by the USE-Flags it should not check for cups, becaus it is NOT installed output from emerge/configure: [...] checking for i686-pc-linux-gnu-install_initd... no checking for install_initd... no checking for pthread_create in -lpthread... yes checking for CRYPTO_free in -lcrypto... yes checking for snmp_timeout in -lnetsnmp... no checking for ANSI C header files... (cached) yes checking cups/cups.h usability... no checking cups/cups.h presence... no checking for cups/cups.h... no configure: error: cannot find cups-devel support !!! Please attach the config.log to your bug report: !!! /var/tmp/portage/hplip-0.9.7-r3/work/hplip-0.9.7/config.log !!! ERROR: net-print/hplip-0.9.7-r3 failed. !!! Function econf, Line 495, Exitcode 0 !!! econf failed !!! If you need support, post the topmost build error, NOT this status message.
this bug also affects hplip-0.9.8-r2 install of hpijs works fine
bug-wranglers@gentoo.org
Indeed so. This affects all versions of hplip in the tree. My proposed solution is to make hplip hard depend on cups. Objections?
If you can find no other way to build it w/o cups that is ok. I would make cups harddep now and if somone comes up with a solution it can still be changed. hplip deps are broken currently and need to be fixed asap.
Done, cups is now a hard dependency. If anyone has a better fix, please make sure to let us know. Thanks for reporting!