Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 64945 - cups fails to compile
Summary: cups fails to compile
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Printing (show other bugs)
Hardware: x86 Linux
: High blocker
Assignee: Printing Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-22 02:33 UTC by Sandino Araico Sanchez
Modified: 2004-12-24 05:39 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 Sandino Araico Sanchez 2004-09-22 02:33:20 UTC
Making all in cups...
Compiling auth.c...
`-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.
{standard input}: Assembler messages:
{standard input}:60: Error: invalid character ';' in operand 2
make[1]: *** [auth.o] Error 1
make: *** [all] Error 1

!!! ERROR: net-print/cups-1.1.21 failed.
!!! Function src_compile, Line 55, Exitcode 2
!!! compile problem
!!! If you need support, post the topmost build error, NOT this status message.


Reproducible: Always
Steps to Reproduce:
1.
2.
3.




Portage 2.0.51_rc1 (hardened/x86, gcc-3.4.1, glibc-2.3.3.20040420-r1,
2.4.26_pre6-gentoo i686)
=================================================================
System uname: 2.4.26_pre6-gentoo i686 AMD Athlon(tm) XP 2400+
Gentoo Base System version 1.5.3
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.90.0.1.1-r3
Headers:  sys-kernel/linux-headers-2.4.22,sys-kernel/linux-headers-2.4.19-r1
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -m3dnow -msse -mfpmath=sse -mmmx -O3 -pipe -fforce-addr
-fomit-frame-pointer -funroll-loops -frerun-cse-after-loop -frerun-loop-opt
-falign-functions=4 -maccumulate-outgoing-args -ffast-math -fprefetch-loop-arrays"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.2/share/config
/usr/kde/3.3/share/config:/usr/kde/3.3/env:/usr/kde/3.3/shutdown
/usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config
/usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -m3dnow -msse -mfpmath=sse -mmmx -O3 -pipe
-fforce-addr -fomit-frame-pointer -funroll-loops -frerun-cse-after-loop
-frerun-loop-opt -falign-functions=4 -maccumulate-outgoing-args -ffast-math
-fprefetch-loop-arrays"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs buildpkg ccache cvs fixpackages keepwork nostrip sandbox
userpriv usersandbox"
GENTOO_MIRRORS="http://gentoo.osuosl.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/mnt/u06/src"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="3dnow X Xaw3d aalib acpi adns apache2 apm arts atlas audiofile avi bcmath
berkdb bidi bonobo bzlib calendar caps cdb cddb cdparanoia cdr chroot cjk
cpdflib crypt cscope ctype cups curl curlwrappers dba dbase dbm dbx debug
dedicated dga dio directfb divx4linux doc dv dvb dvd encode erandom esd evo exif
extensions f77 faac faad fam fbcon fdftk filepro flac flash flatfile foomaticdb
ftp gb gcj gd gd-external gdbm ggi gif gimpprint gmp gnome gnutls gphoto2 gpm
graphviz gstreamer gtk gtk2 gtkhtml guile hardened hardenedphp html iconv
imagemagick imap imlib inifile innodb ipv6 jabber java javamail javascript jbig
jikes jpeg junit justify kde lcms ldap libg++ libgda libwww live lzo mad
mailwrapper mbox mcal mcve memlimit mhash mikmod mime ming mmx mng motif
mozaccess mozcalendar mozilla mozp3p mozsvg mozxmlterm mpeg mysql nagios-dns
nagios-ntp nagios-ping nagios-ssh nas ncurses network nls nptl oav objc
offensive oggvorbis ooo-kde opengl oss pam parse-clocks pcntl pcre pda pdflib
perl pg-hier pg-intdatetime pg-vacuumdelay physfs pic pie plotutils png posix
postgres ppds prelude pthreads python qt quicktime readline ruby samba sasl
scanner sdk sdl session sftplogging shared sharedmem silc simplexml slang slp
snmp soap sockets socks5 speex spell spl sqlite sse ssl svg svga sysvipc tcltk
tcpd tetex theora threads tidy tiff tokenizer truetype unicode usb v4l v4l2
vim-with-x virus-scan wXwindows wddx wmf x86 xine xinerama xml xml2 xmlrpc xmms
xpm xprint xsl xv xvid yv12 zlib"
Comment 1 Sandino Araico Sanchez 2004-09-22 03:16:56 UTC
net-print/cups-1.1.20-r2 the same error happens
Comment 2 Sandino Araico Sanchez 2004-09-22 03:20:18 UTC
net-print/cups-1.1.20-r1 the same arror
Comment 3 Sandino Araico Sanchez 2004-09-22 04:10:35 UTC
Changed severity to blocker since CUPS has too many dependencies that can not be updated until this bug is fixed.
Comment 4 Heinrich Wendel (RETIRED) gentoo-dev 2004-09-22 04:56:37 UTC
seems to be a gcc-3.4 bug?
Comment 5 Karol Wojtaszek (RETIRED) gentoo-dev 2004-09-23 13:19:44 UTC
Please lower your CFLAGS and reemerge cups one more time.
Comment 6 Sandino Araico Sanchez 2004-09-23 14:06:05 UTC
CFLAGS="-march=athlon-xp -O3 -pipe"

Compiling fails in the same place.

CFLAGS="-mtune=athlon-xp -O3 -pipe"

Compiles OK.

Compiling fails in other place.

Compiling serial.c...
Linking serial...
Compiling socket.c...
{standard input}: Assembler messages:
{standard input}:438: Error: invalid character ';' in mnemonic
{standard input}:592: Error: invalid character ';' in mnemonic
make[1]: *** [socket.o] Error 1
make: *** [all] Error 1

Comment 7 Sandino Araico Sanchez 2004-09-23 14:23:07 UTC
CFLAGS=""

Compiling fails in a different place

Making all in scheduler...
Compiling auth.c...
/mnt/u06/src/portage/cups-1.1.21/temp/ccgh0rI2.s: Assembler messages:
/mnt/u06/src/portage/cups-1.1.21/temp/ccgh0rI2.s:524: Error: invalid character ';' in operand 2
/mnt/u06/src/portage/cups-1.1.21/temp/ccgh0rI2.s:2139: Error: invalid character ';' in operand 2
make[1]: *** [auth.o] Error 1
make: *** [all] Error 1
Comment 8 Sandino Araico Sanchez 2004-09-23 19:10:13 UTC
The compiler seems to be the problem, I haven't been able to compile anything in the whole day, everything breaks with assembler errors.

gcc --version
gcc (GCC) 3.4.1 20040803 (Gentoo Hardened Linux 3.4.1-r2, ssp-3.4-2, pie-8.7.6.5)
Copyright (C) 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Comment 9 Gregg Casillo 2004-09-27 15:34:23 UTC
I got this one:

Compiling FontFile.cxx...
distcc[18041] ERROR: compile /root/.ccache/FontFile.tmp.dostoevsky.18037.ii on ketenc failed
In file included from /usr/include/math.h:382,
                 from FontFile.cxx:15:
/usr/include/bits/mathinline.h: In function `long double __atan2l(long double,
   long double)':
/usr/include/bits/mathinline.h:433: error: `__builtin_atan2l' undeclared (first
   use this function)
/usr/include/bits/mathinline.h:433: error: (Each undeclared identifier is
   reported only once for each function it appears in.)
make[1]: *** [FontFile.o] Error 1
make: *** [all] Error 1

!!! ERROR: net-print/cups-1.1.21 failed.
!!! Function src_compile, Line 55, Exitcode 2
!!! compile problem


I disabled distcc and ccache FWIW.

Portage 2.0.50-r11 (default-x86-1.4, gcc-3.4.2, glibc-2.3.4.20040808-r0, 2.6.7-gentoo-r13)
=================================================================
System uname: 2.6.7-gentoo-r13 i686 Intel(R) Pentium(R) 4 Mobile CPU 1.60GHz
Gentoo Base System version 1.5.3
distcc 2.17 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/share/config:/usr/kde/3.3/env:/usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distcc sandbox"
GENTOO_MIRRORS="http://gentoo.mirrors.pair.com/ http://mirror.datapipe.net/gentoo"
MAKEOPTS="-j10"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://192.168.0.179/portage"
USE="X acpi alsa arts avi berkdb bitmap-fonts cdr crypt cups dvd encode foomaticdb freetds gdbm gif gpm imlib innodb java jpeg jpg kde libg++ libwww live mad mikmod mmx motif mpeg mysql ncurses network nls nptl odbc oggvorbis opengl oss pam pcmcia pdflib perl png python qt quicktime readline samba sdl sse ssl svg svga tcltk tcpd tetex tiff truetype usb video_cards_radeon x86 xml2 xprint xv zlib"
Comment 10 Gregg Casillo 2004-10-01 12:49:33 UTC
Hello? I can't update world since cups' failure stops the whole process. I have manually update individual packages. Any word on this would be welcome.
Comment 11 Karol Wojtaszek (RETIRED) gentoo-dev 2004-10-02 02:00:36 UTC
Witch version of gcc have you on second computer? 
Comment 12 Heinrich Wendel (RETIRED) gentoo-dev 2004-12-24 05:39:18 UTC
what's your gcc version?