Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 336839 - net-print/cups-1.4.4-r2 do not emerge
Summary: net-print/cups-1.4.4-r2 do not emerge
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Printing (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2010-09-11 15:27 UTC by Mario Bachmann
Modified: 2010-09-12 17:19 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 Mario Bachmann 2010-09-11 15:27:03 UTC
net-print/cups-1.4.4-r2 do not emerge

Reproducible: Always

Steps to Reproduce:
1. emerge -v1D net-print/cups
2. error

Actual Results:  
 * Using ExtUtils::MakeMaker
 * perl Makefile.PL PREFIX=/usr INSTALLDIRS=vendor INSTALLMAN3DIR=none DESTDIR=/var/tmp/portage/net-print/cups-1.4.4-r2/image/
Note (probably harmless): No library found for -lcups
Writing Makefile for CUPS
make -j6 'OTHERLDFLAGS=-Wl,-O1 -Wl,--as-needed' 
/usr/bin/perl5.12.2 /usr/lib64/perl5/vendor_perl/5.12.2/ExtUtils/xsubpp  -typemap /usr/lib64/perl5/5.12.2/ExtUtils/typemap  CUPS.xs > CUPS.xsc && mv CUPS.xsc CUPS.c
Running Mkbootstrap for CUPS ()
chmod 644 CUPS.bs
cp CUPS.pm blib/lib/CUPS.pm
AutoSplitting blib/lib/CUPS.pm (blib/lib/auto/CUPS)
cp CUPS.bs blib/arch/auto/CUPS/CUPS.bs
chmod 644 blib/arch/auto/CUPS/CUPS.bs
Please specify prototyping behavior for CUPS.xs (see perlxs manual)
x86_64-pc-linux-gnu-gcc -c   -fno-strict-aliasing -pipe -fstack-protector -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -march=athlon64 -O2 -pipe -m3dnow -mmmx -msse -msse2 -msse3   -DVERSION=\"1.2\" -DXS_VERSION=\"1.2\" -fPIC "-I/usr/lib64/perl5/5.12.2/x86_64-linux/CORE"   CUPS.c
CUPS.xs:5:23: error: cups/cups.h: No such file or directory
CUPS.xs:6:23: error: cups/http.h: No such file or directory
CUPS.xs:7:22: error: cups/ipp.h: No such file or directory
CUPS.xs:8:27: error: cups/language.h: No such file or directory
CUPS.xs:9:22: error: cups/ppd.h: No such file or directory
make: *** [CUPS.o] Error 1
emake failed
 * ERROR: net-print/cups-1.4.4-r2 failed:
 *   compilation failed
 * 
 * Call stack:
 *     ebuild.sh, line   56:  Called src_compile
 *   environment, line 7620:  Called perl-module_src_compile
 *   environment, line 5588:  Called die
 * The specific snippet of code:
 *               emake OTHERLDFLAGS="${LDFLAGS}" ${mymake} || die "compilation failed";
 * 
 * If you need support, post the output of 'emerge --info =net-print/cups-1.4.4-r2',
 * the complete build log and the output of 'emerge -pqv =net-print/cups-1.4.4-r2'.
!!! When you file a bug report, please include the following information:
GENTOO_VM=  CLASSPATH="" JAVA_HOME="/etc/java-config-2/current-system-vm"
JAVACFLAGS="" COMPILER=""
and of course, the output of emerge --info
 * The complete build log is located at '/var/tmp/portage/net-print/cups-1.4.4-r2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-print/cups-1.4.4-r2/temp/environment'.
 * S: '/var/tmp/portage/net-print/cups-1.4.4-r2/work/cups-1.4.4'


Expected Results:  
cups should emerge

emerge --info
Portage 2.1.9.3 (default/linux/amd64/10.0, gcc-4.4.4, glibc-2.12.1-r1, 2.6.34.4 x86_64)
=================================================================
System uname: Linux-2.6.34.4-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_5600+-with-gentoo-2.0.1
Timestamp of tree: Sat, 11 Sep 2010 14:15:01 +0000
distcc 3.1 x86_64-pc-linux-gnu [disabled]
app-shells/bash:     4.1_p7
dev-java/java-config: 2.1.11
dev-lang/python:     2.6.5-r3, 3.1.2-r4
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.3
sys-apps/sandbox:    2.3-r1
sys-devel/autoconf:  2.13, 2.67
sys-devel/automake:  1.7.9-r2, 1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.4-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
sys-devel/make:      3.81-r2
virtual/os-headers:  2.6.34 (sys-kernel/linux-headers)
ACCEPT_KEYWORDS="amd64 ~amd64 ~x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe -m3dnow -mmmx -msse -msse2 -msse3"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /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="-march=athlon64 -O2 -pipe -m3dnow -mmmx -msse -msse2 -msse3"
DISTDIR="/mnt/data/gentoo/distfiles"
FEATURES="assume-digests distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans"
GENTOO_MIRRORS="rsync://server/distfiles rsync://amd2000/distfiles ftp://mirror.qubenet.net/mirror/gentoo/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://mirror.muntinternet.net/pub/gentoo/ ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://gentoo.imj.fr/pub/gentoo/ ftp://mirror.netcologne.de/gentoo/ ftp://mirror.cambrium.nl/pub/os/linux/gentoo/ ftp://ftp.free.fr/mirrors/ftp.gentoo.org/ ftp://de-mirror.org/distro/gentoo/ ftp://gentoo.tiscali.nl/pub/mirror/gentoo/ http://mirror.switch.ch/ftp/mirror/gentoo/ http://de-mirror.org/distro/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://ftp.spline.inf.fu-berlin.de/mirrors/gentoo/ http://mirror.cambrium.nl/pub/os/linux/gentoo/ http://mirror.muntinternet.net/pub/gentoo/ http://gentoo.tiscali.nl/ http://mirror.qubenet.net/mirror/gentoo/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://mirror.netcologne.de/gentoo/"
LANG="de_DE.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="de"
MAKEOPTS="-j6"
PKGDIR="/mnt/data/gentoo/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"
PORTDIR_OVERLAY="/usr/portage_overlay"
SYNC="rsync://rsync8.de.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext 7zip X a52 aac acl acpi alsa amd64 berkdb bzip2 cairo cdparanoia cli cracklib crypt cups custom-cflags custom-cpuopts custom-cxxflags custom-optimization cxx dbus dri dvb dvd dvdr encode exif fam flac fortran gdbm glitz gnutls gpm hal iconv ilbc imagemagick imlib ipv6 jpeg kpathsea lame lcms libsamplerate lm_sensors lzo mad mmx mmxext modules mp3 mudflap multilib ncurses nls nptl nptlonly ogg openal opengl openmp pam pcre pdf perl png pppd python qt3support qt4 readline reflection sdl semantic-desktop session smp speex spell sse sse2 sse3 ssl svg sysfs tcpd theora threads tiff truetype unicode usb v4l v4l2 vorbis wmf x264 xcb xcomposite xine xinerama xml xorg xulrunner xv xvid zlib" ALSA_CARDS="hda-intel intel8x0" 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="alias auth_basic authn_file authz_groupfile authz_host authz_user autoindex deflate dir filter ident log_config logio mime status" DVB_CARDS="dibusb-usb1" ELIBC="glibc" INPUT_DEVICES="joystick keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia nv vesa" 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, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jory A. Pratt gentoo-dev 2010-09-11 15:43:07 UTC
Please run perl-cleaner reallyall then test your emerge again.
Comment 2 Mario Bachmann 2010-09-11 17:17:07 UTC
when i run it, net-libs/openslp-1.2.1-r1 do not emerge. see bug #329039
Comment 3 Mario Bachmann 2010-09-11 19:57:07 UTC
USE="-perl" emerge cups 
works...

so it is really a perl and/or cups problem...

which functionality gives the perl-USE-Flag to cups?
Comment 4 Dark Foo 2010-09-12 06:53:58 UTC
i can confirm this issue as i get the same thing, ran perl-cleaner reallyall, and it still errors, only way to stop it erroring was to add -perl to cups as Mario said
Comment 5 Tomáš Chvátal (RETIRED) gentoo-dev 2010-09-12 17:19:15 UTC
Fixed without revbump. Thanks for report.