Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 464588 - kde-base/print-manager-4.10.1 fails to build with <cups-1.5
Summary: kde-base/print-manager-4.10.1 fails to build with <cups-1.5
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo KDE team
URL: https://bugs.kde.org/show_bug.cgi?id=...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-04-04 12:31 UTC by Denis
Modified: 2013-04-09 07:11 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Full build log (build.log,225.96 KB, text/plain)
2013-04-04 12:33 UTC, Denis
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Denis 2013-04-04 12:31:24 UTC
Trying to emerge printer-manager results with the following error:

#emerge -av1 print-manager
.....

Linking CXX executable add-printer
cd /var/tmp/portage/kde-base/print-manager-4.10.1/work/print-manager-4.10.1_build/add-printer && /usr/bin/cmake -E cmake_link_script CMakeFiles/add-printer.dir/link.txt --verbose=1
/usr/bin/x86_64-pc-linux-gnu-g++   -march=core2 -mtune=generic -O2 -pipe  -Wnon-virtual-dtor -Wno-long-long -Wundef -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -Wformat-security -fno-exceptions -DQT_NO_EXCEPTIONS -fno-check-new -fno-common -Woverloaded-virtual -fno-threadsafe-statics -fvisibility=hidden -fvisibility-inlines-hidden  -Wl,--enable-new-dtags  -Wl,-O1 -Wl,--as-needed CMakeFiles/add-printer.dir/add-printer_automoc.o CMakeFiles/add-printer.dir/main.o CMakeFiles/add-printer.dir/AddPrinter.o CMakeFiles/add-printer.dir/DevicesModel.o CMakeFiles/add-printer.dir/AddPrinterInterface.o CMakeFiles/add-printer.dir/GenericPage.o CMakeFiles/add-printer.dir/PageDestinations.o CMakeFiles/add-printer.dir/ChooseLpd.o CMakeFiles/add-printer.dir/ChooseSamba.o CMakeFiles/add-printer.dir/ChooseSerial.o CMakeFiles/add-printer.dir/ChooseSocket.o CMakeFiles/add-printer.dir/ChooseUri.o CMakeFiles/add-printer.dir/PageChoosePrinters.o CMakeFiles/add-printer.dir/PageChoosePPD.o CMakeFiles/add-printer.dir/PageAddPrinter.o CMakeFiles/add-printer.dir/AddPrinterAssistant.o CMakeFiles/add-printer.dir/addprinteradaptor.o  -o add-printer -rdynamic -L/usr/lib64/qt4 -L/var/tmp/portage/kde-base/print-manager-4.10.1/work/print-manager-4.10.1_build/lib /usr/lib64/libkdeui.so.5.10.1 /usr/lib64/qt4/libQtNetwork.so /usr/lib64/libkio.so.5.10.1 ../lib/libkcupslib.so /usr/lib64/libkio.so.5.10.1 /usr/lib64/qt4/libQtNetwork.so /usr/lib64/qt4/libQtXml.so /usr/lib64/libkdeui.so.5.10.1 /usr/lib64/qt4/libQtGui.so /usr/lib64/qt4/libQtSvg.so /usr/lib64/libkdecore.so.5.10.1 /usr/lib64/qt4/libQtDBus.so /usr/lib64/qt4/libQtCore.so -lpthread -Wl,-rpath,/usr/lib64/qt4:/var/tmp/portage/kde-base/print-manager-4.10.1/work/print-manager-4.10.1_build/lib:
cd /var/tmp/portage/kde-base/print-manager-4.10.1/work/print-manager-4.10.1_build/add-printer && /usr/bin/cmake -D_filename=/var/tmp/portage/kde-base/print-manager-4.10.1/work/print-manager-4.10.1_build/add-printer/add-printer.shell -D_library_path_variable=LD_LIBRARY_PATH -D_ld_library_path="/var/tmp/portage/kde-base/print-manager-4.10.1/work/print-manager-4.10.1_build/lib/./:/usr/lib64:/usr/lib64:/usr/lib64/qt4" -D_executable=/var/tmp/portage/kde-base/print-manager-4.10.1/work/print-manager-4.10.1_build/add-printer/add-printer -P /usr/share/apps/cmake/modules/kde4_exec_via_sh.cmake
make[2]: Leaving directory `/var/tmp/portage/kde-base/print-manager-4.10.1/work/print-manager-4.10.1_build'
/usr/bin/cmake -E cmake_progress_report /var/tmp/portage/kde-base/print-manager-4.10.1/work/print-manager-4.10.1_build/CMakeFiles  1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
[ 71%] Built target add-printer
make[1]: Leaving directory `/var/tmp/portage/kde-base/print-manager-4.10.1/work/print-manager-4.10.1_build'
make: *** [all] Error 2
 * ERROR: kde-base/print-manager-4.10.1 failed (compile phase):
 *   emake failed


Reproducible: Always




 # emerge --info '=kde-base/print-manager-4.10.1'
Portage 2.1.11.55 (default/linux/amd64/13.0/desktop/kde, gcc-4.6.3, glibc-2.12.2, 3.0.6-gentoo x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-3.0.6-gentoo-x86_64-Intel-R-_Core-TM-_i3_CPU_540_@_3.07GHz-with-gentoo-2.1
KiB Mem:     1987524 total,    497052 free
KiB Swap:    2097148 total,   1518108 free
Timestamp of tree: Wed, 03 Apr 2013 06:15:01 +0000
ld GNU ld (GNU Binutils) 2.22
app-shells/bash:          4.2_p37
dev-java/java-config:     2.1.12-r1
dev-lang/python:          2.7.3-r3, 3.1.5-r1, 3.2.3-r2
dev-util/cmake:           2.8.9
dev-util/pkgconfig:       0.27.1
sys-apps/baselayout:      2.1-r1
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.4
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.4.5, 4.5.4, 4.6.3
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.7 (virtual/os-headers)
sys-libs/glibc:           2.12.2
Repositories: gentoo
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -mtune=generic -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/polkit-1/actions /usr/share/themes/oxygen-gtk/gtk-2.0 /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=core2 -mtune=generic -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://gentoo.tups.lv/source/ http://ftp.ds.karen.hj.se/gentoo/ ftp://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/ http://mirror.elen.ktu.lt/gentoo/"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j3"
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=""
SYNC="rsync://rsync.lv.gentoo.org/gentoo-portage"
USE="X a52 aac acpi alsa amd64 bash-completion berkdb bluetooth branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups cxx dbus declarative dri dts dvd dvdr emboss encode exif fam firefox flac fortran gdbm gif gpm iconv ipv6 jpeg jpeg2k kde kipi lcms libnotify mad mmx mng modules mp3 mp4 mpeg mudflap multilib ncurses nls nptl nsplugin ogg opengl openmp pam pango pcre pdf phonon plasma png policykit ppds qt3support qt4 readline scanner sdl semantic-desktop session spell sse sse2 ssl startup-notification svg tcpd threads tiff truetype udev udisks unicode upower usb vim-syntax vorbis wxwidgets x264 xcb xcomposite xinerama xml xscreensaver xv xvid zlib" ABI_X86="64" 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="authn_core authz_core socache_shmcb unixd 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="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="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_1 python3_2" RUBY_TARGETS="ruby18 ruby19" SANE_BACKENDS="pixma" USERLAND="GNU" VIDEO_CARDS="nvidia fbdev intel 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, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 Denis 2013-04-04 12:33:51 UTC
Created attachment 344368 [details]
Full build log
Comment 2 Chí-Thanh Christopher Nguyễn gentoo-dev 2013-04-04 12:38:32 UTC
/var/tmp/portage/kde-base/print-manager-4.10.1/work/print-manager-4.10.1/printer-manager-kcm/PrintKCM.cpp: In member function ‘void PrintKCM::updateServerFinished()’:
/var/tmp/portage/kde-base/print-manager-4.10.1/work/print-manager-4.10.1/printer-manager-kcm/PrintKCM.cpp:362:33: error: ‘IPP_AUTHENTICATION_CANCELED’ was not declared in this scope
Comment 3 Maciej Mrozowski gentoo-dev 2013-04-04 22:43:53 UTC
What is your cups version?
IPP_AUTHENTICATION_CANCELED is available since cups-1.5
Comment 4 Denis 2013-04-05 11:16:32 UTC
Yes, it turns out that I have net-print/cups-1.4.8-r1. I tried to update it, but  cups-1.5.2 requires the USB_PRINTER support disabled, and I have CONFIG_USB_PRINTER build into my kernel. Will try to rebuild the kernel and update CUPS.
I will let you know about the results.
Comment 5 Michael Palimaka (kensington) gentoo-dev 2013-04-06 07:41:45 UTC
I also sent a bug upstream because the CMake version check only specifies cups-1.4
Comment 6 Andreas K. Hüttel archtester gentoo-dev 2013-04-06 18:03:36 UTC
(In reply to comment #4)
> Yes, it turns out that I have net-print/cups-1.4.8-r1. I tried to update it,
> but  cups-1.5.2 requires the USB_PRINTER support disabled

No it does not.
Unset usb use flag on cups.

cups-1.4 is unsupported and a security risk.

Anyway, print-manager now depends on cups-1.5.
Comment 7 Denis 2013-04-09 07:10:35 UTC
Sorry for the late response. Just want to confirm that everything went fine after cups upgrade.
Thanks!