Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 24873 - gimpprint fails to compile because of missing CUPS headers, also useflag -cups is given
Summary: gimpprint fails to compile because of missing CUPS headers, also useflag -cup...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Printing Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-07-20 04:52 UTC by jochen
Modified: 2003-07-22 15:52 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 jochen 2003-07-20 04:52:37 UTC
I cannot emerge -u gimpprint, since it tries to compile against cups, also i
don't have cups installed (and i also don't want to install it)

Reproducible: Always
Steps to Reproduce:
1. emerge -u gimpprint
2.
3.
Actual Results:  
if gcc -I. -I. -I../..  -DGENPPD_PPD_PREFIX=\"/usr/share/cups/model/gimp-print/g
imp-print\" -DGIMP_PRINT_VERSION=\"4.3.18\"  -DHAVE_CONFIG_H  -I. -I. -I../..  -
I../../include -I../../include -Wall -Wcast-align -Wstrict-prototypes -Wmissing-
prototypes -Wmissing-declarations -Wnested-externs -Wwrite-strings -pedantic -We
rror-implicit-function-declaration -Winline    -march=pentium3 -O3 -pipe -mcpu=p
entium3 -mmmx -msse -fforce-addr -fomit-frame-pointer -funroll-loops -frerun-cse
-after-loop -frerun-loop-opt -falign-functions=4 -MT gimp-print-cups.o -MD -MP -
MF ".deps/gimp-print-cups.Tpo" \
  -c -o gimp-print-cups.o `test -f 'gimp-print-cups.c' || echo './'`gimp-print-c
ups.c; \
then mv -f ".deps/gimp-print-cups.Tpo" ".deps/gimp-print-cups.Po"; \
else rm -f ".deps/gimp-print-cups.Tpo"; exit 1; \
fi
genppd.c:67:23: cups/cups.h: No such file or directory
genppd.c:68:25: cups/raster.h: No such file or directory
genppd.c: In function `main':
genppd.c:294: warning: string length `789' is greater than the length `509' ISO 
C89 compilers are required to support
genppd.c: In function `help':
genppd.c:483: warning: string length `711' is greater than the length `509' ISO 
C89 compilers are required to support
genppd.c: In function `write_ppd':
genppd.c:965: `CUPS_CSPACE_W' undeclared (first use in this function)
genppd.c:965: (Each undeclared identifier is reported only once
genppd.c:965: for each function it appears in.)
genppd.c:965: `CUPS_ORDER_CHUNKED' undeclared (first use in this function)
genppd.c:970: `CUPS_CSPACE_K' undeclared (first use in this function)
genppd.c:978: `CUPS_CSPACE_RGB' undeclared (first use in this function)
genppd.c:983: `CUPS_CSPACE_CMYK' undeclared (first use in this function)
make[3]: *** [genppd.o] Error 1
make[3]: Leaving directory `/var/tmp/portage/gimp-print-4.3.18/work/gimp-print-4
.3.18/src/cups'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/gimp-print-4.3.18/work/gimp-print-4
.3.18/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gimp-print-4.3.18/work/gimp-print-4
.3.18'
make: *** [all] Error 2

!!! ERROR: media-gfx/gimp-print-4.3.18 failed.
!!! Function src_compile, Line 71, Exitcode 2
!!! compile problem

Expected Results:  
media-gfx/gimp-print-4.3.18 successfully merged.

Portage 2.0.48-r5 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1)
=================================================================
System uname: 2.4.20-xfs-r3 i686 Celeron (Coppermine)
GENTOO_MIRRORS="ftp://sunsite.cnlab-switch.ch/mirror/gentoo/
http://gentoo.inode.at/"
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config
/usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY="/usr/local/portage"
USE="avi foomaticdb gif jpeg libg++ mad mmx mpeg nls pdflib png spell xml2 xmms
xv zlib gdbm slang X sdl tcpd pam libwww perl python esd imlib oggvorbis gtk
motif opengl xfs berkdb -3dnow -arts -qt -kde acl apm crypt dga doc dvd gphoto2
gpm imap ipv6 java jikes kerberos mbox oss pcmcia ncurses readline sse tetex
truetype x86 -gnome -qtmt -quicktime -svga -mikmod tcltk mldonkeypango -afs ssl
clamav gtkhtml xface -cups encode"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=pentium3 -O3 -pipe -mcpu=pentium3 -mmmx -msse -fforce-addr
-fomit-frame-pointer -funroll-loops -frerun-cse-after-loop -frerun-loop-opt
-falign-functions=4"
CXXFLAGS="-march=pentium3 -O3 -pipe -mcpu=pentium3 -mmmx -msse -fforce-addr
-fomit-frame-pointer -funroll-loops -frerun-cse-after-loop -frerun-loop-opt
-falign-functions=4"
ACCEPT_KEYWORDS="x86 ~x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
FEATURES="sandbox strict userpriv ccache distcc"
Comment 1 Heinrich Wendel (RETIRED) gentoo-dev 2003-07-20 11:42:18 UTC
can you please provide a complete emerge log
Comment 2 Heinrich Wendel (RETIRED) gentoo-dev 2003-07-20 11:48:44 UTC
ah, i think i see the error, please rsync and try again
Comment 3 jochen 2003-07-20 21:45:14 UTC
Still doesn't compile. I've attached the complete build-log.

I also had a look at the whole thing and it appears that it passes --enable-cups-ppds to configure despite of the fact that i don't have cups (USE contains -cups)

hum, actually i would like to attach the file, but this nice bugzilla insists that i didn't specify one.

Well, I guess you got the point anyway, the --enable-cups-ppds (or pdds?) breaks it.
Comment 4 Heinrich Wendel (RETIRED) gentoo-dev 2003-07-21 05:23:52 UTC
ok it should be finally fixed, please try again ;) 
Comment 5 Heinrich Wendel (RETIRED) gentoo-dev 2003-07-22 10:36:20 UTC
no answer = good answer -> close
Comment 6 jochen 2003-07-22 15:52:04 UTC
Hey!

I'm pretending to work during daytime.

But it works indeed now.

thanks