kde-base/print-manager will not build with GCC 4.8.3. I cannot tell if this is a CUPS issue , meaning CUPS may need a version bump, or if this is caused by the stricter standards of the new GCC. Reproducible: Always Steps to Reproduce: Do the following after you emerge GCC 4.8.3 1. emerge net-print/cups (no testing) 2. emerge kde-base/print-manager (no testing) Actual Results: ^ In file included from /usr/include/cups/cups.h:34:0, from /var/tmp/portage/kde-base/print-manager-4.12.5/work/print-manager-4.12.5/libkcups/KCupsConnection.h:34, from /var/tmp/portage/kde-base/print-manager-4.12.5/work/print-manager-4.12.5/libkcups/KCupsConnection.cpp:22: /usr/include/cups/ipp.h:673:16: error: forward declaration of ‘ipp_t {aka struct _ipp_s}’ typedef struct _ipp_s ipp_t; /**** IPP request/response data ****/ ^ /var/tmp/portage/kde-base/print-manager-4.12.5/work/print-manager-4.12.5/libkcups/KCupsConnection.cpp:403:23: error: invalid use of incomplete type ‘ipp_attribute_t {aka struct _ipp_attribute_s}’ ret = attr->values[0].integer; ... snip ... and about 30 others... libkcups/CMakeFiles/kcupslib.dir/build.make:131: recipe for target 'libkcups/CMakeFiles/kcupslib.dir/KCupsConnection.o' failed Expected Results: kde-base/print-manager should emerge normally. ortage 2.2.8-r2 (default/linux/amd64/13.0/desktop/kde/systemd, gcc-4.8.3, glibc-2.19-r1, 3.12.21-gentoo-r1 x86_64) ================================================================= System uname: Linux-3.12.21-gentoo-r1-x86_64-AMD_Athlon-tm-_II_X2_255_Processor-with-gentoo-2.2 KiB Mem: 4052948 total, 682364 free KiB Swap: 8195064 total, 7888260 free Timestamp of tree: Sat, 15 Nov 2014 18:45:01 +0000 ld GNU ld (Gentoo 2.24 p1.4) 2.24 app-shells/bash: 4.2_p53 dev-java/java-config: 2.2.0 dev-lang/perl: 5.20.1-r2 dev-lang/python: 2.7.8, 3.2.5-r6, 3.3.5-r1, 3.4.2 dev-util/cmake: 2.8.12.2-r1 dev-util/pkgconfig: 0.28-r2 sys-apps/baselayout: 2.2 sys-apps/openrc: 0.13.4 sys-apps/sandbox: 2.6-r1 sys-devel/autoconf: 2.13, 2.69 sys-devel/automake: 1.10.3, 1.11.6, 1.12.6, 1.14.1 sys-devel/binutils: 2.24-r3 sys-devel/gcc: 4.7.3-r1, 4.8.3 sys-devel/gcc-config: 1.7.3 sys-devel/libtool: 2.4.3-r2 sys-devel/make: 4.0-r1 sys-kernel/linux-headers: 3.16 (virtual/os-headers) sys-libs/glibc: 2.19-r1 Repositories: gentoo sunrise mistafunk mv psix-overlay qt java ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=amdfam10 -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.5/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cli-php5.5/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="-march=amdfam10 -O2 -pipe" DISTDIR="/var/cache/distfiles" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="ftp://gentoo.cites.uiuc.edu/pub/gentoo/" LANG="en_US.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-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="/var/lib/layman/sunrise /var/lib/layman/mistafunk /var/lib/layman/mv /var/lib/layman/psix /var/lib/layman/qt /var/lib/layman/java" SYNC="rsync://rsync.us.gentoo.org/gentoo-portage" USE="64bit X a52 aac aalib acl acpi aim alsa amd64 apache2 apm audiofile bash-completion bazaar bcmath berkdb bidi binfilter bluetooth branding bzip2 c++0x cairo calendar cdda cddb cdr cgi cli client cracklib crypt css ctype cups curl curlwrappers cvs cxx datahub dbus dconf declarative dga djvu downloads-monitor dri dts dvd dvdr emboss encode exif expat extra-cardsets fam fbcondecor ffmpeg firefox flac fontconfig foomaticdb fortran freetds ftp g15 gd gdbm gdm geoip gif gimp glamor gles2 glut gnome-screensaver gnome-shell gphoto2 gpm gps graphite graphviz gsm gtk gtk3 gtkspell gtkstyle gudev guile hwdb i18n iconv icq icu idn ieee1394 imap imlib introspection ipod ipv6 jabber jack java java6 javascript jbig jingle joystick jpeg jpeg2k kde kerberos kipi ladspa lame lash latex lcms ldap libcaca libgda libnotify lirc lm_sensors lock lua lzma lzo mad mbox mime minizip mmap mmx mng mod modplug modules mozilla mp3 mp4 mpeg mplayer msn multilib musepack mysql nas ncurses networkmanager nis nls nntp nptl nsplugin nvidia odbc offensive ogg openal openexr opengl openmp openntpd openrc oscar pam pango pch pcre pda pdf phonon php plasma plotutils plugin-fishlim plymouth png policykit posix postgres ppds pulseaudio python qt3support qt4 raw rdesktop readline rss ruby scanner sdl semantic-desktop server session sharedext sharedmem shorten slp smp sndfile snmp soap sockets speex spell sqlite sse sse2 ssl startup-notification subversion svg syslog systemd taglib tcl tcpd theora threads thumbnail thunar tidy tiff tk truetype udev udisks unicode upower usb vala vhosts video vlc vorbis webkit wmf wxwidgets x264 xcb xcomposite xft xine xinerama xml xmlreader xmlrpc xmlwriter xpm xscreensaver xv xvid yahoo zip zlib" ABI_X86="32 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" APACHE2_MODULES="alias auth_basic auth_digest rewrite authz_host dir mime cgid php dav mono status include mime_magic log_config setenvif" APACHE2_MPMS="worker" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" DRACUT_MODULES="plymouth caps" ELIBC="glibc" FFTOOLS="aviocat cws2fws ffeval ffescape fourcc2pixfmt ismindex pktdumper qt-faststart trasher" 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 ublox ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="nlpsolver pdfimport presenter-console presenter-minimizer scripting-javascript" LINGUAS="en en_US" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5_5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby20 ruby21" USERLAND="GNU" VIDEO_CARDS="nvidia" 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" USE_PYTHON="2.7 3.3" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, MAKEOPTS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Which version of cups?
(In reply to Michael Palimaka (kensington) from comment #1) > Which version of cups? http://packages.gentoo.org/package/net-print/cups 1.7.5. I apologize if no testing did not make that clear. CUPS and KDE are something I'd like to keep away from ~testing
CCing printing in case this sort of CUPS build failure looks familiar.
No clue, but you should really try cups-2.0.1, that is pretty safe. I offhand dont know of any regressions right now.
I cannot reproduce with kde-base/print-manager-4.12.5 build with gcc 4.8.3 against net-print/cups-2.0.1-r1
(In reply to Matthias Maier from comment #5) > I cannot reproduce with kde-base/print-manager-4.12.5 build with gcc 4.8.3 > against net-print/cups-2.0.1-r1 I'll attempt rebuilding this tonight, and if it fails I'll attach my build.log. I did double check my package.accept_keywords and I was mistaken in Comment 0 and Comment 2, as I am using cups-2.01-r1. IIRC the build fails when CMake starts at 13%
(In reply to Carter Young from comment #7) > (In reply to Matthias Maier from comment #5) > > I cannot reproduce with kde-base/print-manager-4.12.5 build with gcc 4.8.3 > > against net-print/cups-2.0.1-r1 > > I'll attempt rebuilding this tonight, and if it fails I'll attach my > build.log. I did double check my package.accept_keywords and I was mistaken > in Comment 0 and Comment 2, as I am using cups-2.01-r1. IIRC the build > fails when CMake starts at 13% So did it work?
(In reply to Manuel Rüger from comment #8) > (In reply to Carter Young from comment #7) > > (In reply to Matthias Maier from comment #5) > > > I cannot reproduce with kde-base/print-manager-4.12.5 build with gcc 4.8.3 > > > against net-print/cups-2.0.1-r1 > > > > I'll attempt rebuilding this tonight, and if it fails I'll attach my > > build.log. I did double check my package.accept_keywords and I was mistaken > > in Comment 0 and Comment 2, as I am using cups-2.01-r1. IIRC the build > > fails when CMake starts at 13% > > So did it work? I'm closing this bug, as the stabilization of 4.13 fixed the bug...