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

Bug 275254

Summary: x11-drivers/linuxwacom-0.8.3_p2 / gcc-4.3.3 CFLAGS=-combine - cc1: error: too many filenames given.
Product: Gentoo Linux Reporter: Radu Benea <radub82>
Component: New packagesAssignee: Gentoo X packagers <x11>
Severity: normal CC: jer
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard: treecleaned
Package list:
Runtime testing required: ---
Attachments: complete build log

Description Radu Benea 2009-06-24 08:36:15 UTC
build fails with cc1 too many files given
all versions currently in portage affected - I tried them all

Reproducible: Always

Actual Results:  
make[2]: Entering directory `/var/tmp/portage/x11-drivers/linuxwacom-0.8.3_p2/work/linuxwacom-0.8.3-2/src/xdrv'
x86_64-pc-linux-gnu-gcc -MM -march=k8 -mtune=k8 -O2 -pipe -msse3 -combine -D__amd64__  -I../include -I/usr/include/xorg  ./xf86Wacom.c ./wcmSerial.c ./wcmUSB.c ./wcmISDV4.c ./wcmXCommand.c ./wcmCommon.c ./wcmCompat.c ./wcmConfig.c ./wcmFilter.c ./wcmTilt2Rotation.c > .depend
cc1: error: too many filenames given.  Type cc1 --help for usage
make[2]: *** No rule to make target `.depend', needed by `'.  Stop.
make[2]: Leaving directory `/var/tmp/portage/x11-drivers/linuxwacom-0.8.3_p2/work/linuxwacom-0.8.3-2/src/xdrv'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/x11-drivers/linuxwacom-0.8.3_p2/work/linuxwacom-0.8.3-2/src'
make: *** [all-recursive] Error 1

Expected Results:  
successful build

emerge --info
Portage (hardened/linux/amd64/2008.0/no-multilib, gcc-4.3.3, glibc-2.8_p20080602-r1, 2.6.28-gentoo-r5 x86_64)
System uname: Linux-2.6.28-gentoo-r5-x86_64-AMD_Athlon-tm-_X2_Dual_Core_Processor_BE-2300-with-gentoo-
Timestamp of tree: Wed, 24 Jun 2009 07:00:01 +0000
app-shells/bash:     3.2_p39
dev-lang/python:     2.6.2-r1
dev-util/cmake:      2.6.4
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.19.1-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.29
CFLAGS="-march=k8 -mtune=k8 -O2 -pipe -msse3 -combine"
CONFIG_PROTECT="/etc /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/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 /etc/udev/rules.d"
CXXFLAGS="-march=k8 -mtune=k8 -O2 -pipe -msse3 -combine"
EMERGE_DEFAULT_OPTS="--keep-going --jobs=3 --with-bdeps y --load-average=2.4"
FEATURES="distlocks fixpackages noinfo parallel-fetch protect-owned sandbox sfperms splitdebug strict unmerge-orphans userfetch userpriv usersandbox"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
USE="3dnow 3dnowext X a52 aac acl acpi akonadi alsa amd64 apache2 apm attr bash-completion bluetooth branding bzip2 caps cjk cli consolekit cracklib crypt cscope cups curl curlwrappers dbus disk-partition djvu dmx dri dv dvd encode esd exif expat faac faad flac fontconfig fontforge fuse gd gdbm gif glibc-omitfp gmp gnome gnutls gphoto2 gpm gs gstreamer gtk guile hal hardened hash hdri iconv idn ieee1394 imagemagick imlib inotify ipv6 isdnlog jbig jpeg jpeg2k justify kde kdehiddenvisibility latex ldap lm_sensors logitech-mouse lzo mcrypt md5sum mhash midi mmap mmx mmxext mng mp3 mp4 mpeg mtp mudflap musicbrainz mysql ncurses nepomuk network-cron nls nptl nptlonly nsplugin nss ogg openexr opengl openmp oss otr pam pcre pdf perl phonon php pic pie plasma plugins png posix povray pppd python q32 q8 qt3 qt4 rar rdesktop readline reflection rle rss rtc samba sasl scanner semantic-desktop session sms spell spl sse sse2 sse3 ssh ssl svg sysfs tcpd tetex tex theora threads tiff truetype ucs2 unicode urandom usb utempter utils v4l v4l2 vhosts vim-syntax vnc vorbis webkit x264 xattr xcb xcomposite xine xinerama xinetd xml xorg xpm xscreensaver xv xvid xvmc zip zlib" 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="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 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" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse wacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="radeon"
Comment 1 Radu Benea 2009-06-24 08:37:04 UTC
Created attachment 195639 [details]
complete build log
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2009-06-24 13:40:38 UTC
Looks like -combine isn't working in your compiler. It could hardly be a problem with x11-drivers/linuxwacom. Toolchain?
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2009-06-24 13:49:51 UTC
Does seem to be specific to x11-drivers/linuxwacom-0.8.3_p2. I can't reproduce it with other packages, but then maybe they don't do this:

i686-pc-linux-gnu-gcc -MM -O2 -pipe -march=athlon-xp -Wall -combine  -I../include -I/usr/inc
lude/xorg  ./xf86Wacom.c ./wcmSerial.c ./wcmUSB.c ./wcmISDV4.c ./wcmXCommand.c ./wcmCommon.c
 ./wcmCompat.c ./wcmConfig.c ./wcmFilter.c ./wcmTilt2Rotation.c > .depend
Comment 4 Radu Benea 2009-06-24 14:06:10 UTC
yup, seems like without combine it works, should I close this? open a new one for the compiler?
Comment 5 Jeroen Roovers (RETIRED) gentoo-dev 2009-06-24 15:35:02 UTC
(In reply to comment #4)
> yup, seems like without combine it works, should I close this? open a new one
> for the compiler?

No, it does seem like linuxwacom shouldn't be adding CFLAGS options in this case since it is only running the preprocessor. Not a compiler problem and I would think -combine is a valid CFLAGS option to use generally. Of course your workaround works, but I wouldn't want to conclude at this point that -combine should be filtered / marked an invalid CFLAGS option. Let's ask qa@
Comment 6 Jeroen Roovers (RETIRED) gentoo-dev 2009-07-28 14:22:22 UTC
@scarabeus: According to metadata.xml, this bug should be CC'd to
Comment 7 Jeroen Roovers (RETIRED) gentoo-dev 2009-07-28 14:34:58 UTC
Created attachment 199438 [details, diff]
Comment 8 Jeroen Roovers (RETIRED) gentoo-dev 2009-07-28 14:35:16 UTC
Never mind.
Comment 9 Jeroen Roovers (RETIRED) gentoo-dev 2009-07-28 14:39:04 UTC
Index: linuxwacom-0.8.3_p2.ebuild
RCS file: /var/cvsroot/gentoo-x86/x11-drivers/linuxwacom/linuxwacom-0.8.3_p2.ebuild,v
retrieving revision 1.4
diff -u -B -r1.4 linuxwacom-0.8.3_p2.ebuild
--- linuxwacom-0.8.3_p2.ebuild  21 Jul 2009 18:53:05 -0000      1.4
+++ linuxwacom-0.8.3_p2.ebuild  28 Jul 2009 14:38:32 -0000
@@ -74,6 +74,7 @@

        epatch "${FILESDIR}/${PN}-0.8.2-kernel-2.6.29.patch"
+       epatch "${FILESDIR}/${P}-cppflags.patch"

Comment 10 Jeroen Roovers (RETIRED) gentoo-dev 2009-07-30 16:52:17 UTC
Submitted for review.
Comment 11 Mike Auty (RETIRED) gentoo-dev 2010-08-18 21:10:20 UTC
Reassigning since I can't look after linuxwacom any more.
Comment 12 Tomáš Chvátal (RETIRED) gentoo-dev 2010-10-18 11:47:15 UTC
linuxwacom was removed from main tree.