Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 401553

Summary: cups-1.50-r4 - thread-private.h:87:50: error: expected ')' before 'func'
Product: Gentoo Linux Reporter: Leeman Strout <me>
Component: [OLD] PrintingAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal CC: bkohler
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build log

Description Leeman Strout 2012-01-30 17:36:45 UTC
I am updating my system and am on cups-1.4.8-r23.  cups-1.5.0-r4 apparently requires USB printer support to build.  I don't need USB printer support and want the option of not having the options built in my kernel.

Reproducible: Always

Steps to Reproduce:
build cups-1.5.0-r4 w/o enabling USB printer support in the in-use kernel build tree.


Expected Results:  
cups should build clean without USB printer support or there should be a USE flag for that circumstance.
Comment 1 Leeman Strout 2012-01-30 17:38:28 UTC
 emerge --info =net-print/cups-1.5.0-r4
Portage 2.1.10.44 (default/linux/amd64/10.0, gcc-4.5.3, glibc-2.14.1-r2, 3.2.1-gentoo x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-3.2.1-gentoo-x86_64-Intel-R-_Core-TM-_i5_CPU_M_560_@_2.67GHz-with-gentoo-2.1
Timestamp of tree: Mon, 30 Jan 2012 16:30:01 +0000
app-shells/bash:          4.2_p20
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.2-r3, 3.2.2
dev-util/cmake:           2.8.7-r1
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.1
sys-apps/openrc:          0.9.8.2
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.11.2-r1
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.5.3-r2
sys-devel/gcc-config:     1.5-r2
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 3.2 (virtual/os-headers)
sys-libs/glibc:           2.14.1-r2
Repositories: gentoo vmware x-local
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA dlj-1.1 PUEL AdobeFlash-10.1 Oracle-BCLA-JavaSE google-chrome"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
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"
CXXFLAGS="-march=nocona -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://lug.mtu.edu/gentoo/ http://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://www.gtlib.gatech.edu/pub/gentoo"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en_US en"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/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/local/portage/layman/vmware /usr/local/portage/local"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X accessibility acpi alsa amd64 bash-completion bzip2 cddb cleartype cli cracklib crypt cups curl cxx dbus dell dri fam glib glx gtk hal iconv java6 jpeg laptop libnotify logrotate midi mmx multilib ncurses nls nptl nptlonly nsplugin ntp opengl pam pcf pcre perl pmu png python readline session sqlite sse sse2 ssl ssse3 startup-notification svg tcpd tiff truetype unicode vaapi xcomposite xinerama xorg xrender xscreensaver xulrunner zlib" 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LINGUAS="en_US en" USERLAND="GNU" VIDEO_CARDS="intel"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Leeman Strout 2012-01-30 17:38:57 UTC
 emerge -pqv =net-print/cups-1.5.0-r4
[ebuild     U ] net-print/cups-1.5.0-r4 [1.4.8-r23] USE="X dbus jpeg pam perl png python ssl tiff -acl -debug -filters -gnutls -java -kerberos -ldap -php -slp -static-libs -threads -usb -xinetd (-samba%)" LINGUAS="-da -de -es -eu -fi -fr -id -it -ja -ko -nl -no -pl -pt -pt_BR -ru -sv -zh -zh_TW"
Comment 3 Leeman Strout 2012-01-30 17:39:40 UTC
Created attachment 300431 [details]
build log
Comment 4 Ben Kohler gentoo-dev 2012-01-31 04:34:42 UTC
This looks like a problem with USE="-threads", not usb
Comment 5 Ben Kohler gentoo-dev 2012-01-31 04:35:35 UTC
Woops there it is, bug #401323
Comment 6 Jeroen Roovers (RETIRED) gentoo-dev 2012-01-31 22:27:25 UTC
It's nothing to do with USB printer support - even while that was the last message you may have read before the build failure, the build log you attached suggests otherwise.

*** This bug has been marked as a duplicate of bug 401323 ***