Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 24625 - gimp-print-cups fails to emerge in "~x86". Missing ijs.h, ijs_server.h
Summary: gimp-print-cups fails to emerge in "~x86". Missing ijs.h, ijs_server.h
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Printing (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Printing Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-07-16 16:17 UTC by Georgios E. Kylafas
Modified: 2003-07-16 22:09 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 Georgios E. Kylafas 2003-07-16 16:17:05 UTC
Heinrich Wenkel asked in gentoo-dev for people to test some new printing related 
ebuilds, and so I did :) 
I am afraid that gimp-print-cups fails during compilation, though. 
Maybe it does not like the new hpijs version (just guessing). 

Reproducible: Always
Steps to Reproduce:
1. ACCEPT_KEYWORDS="~x86" emerge foomatic hpijs cups ghostscript gimp-print-cups 
2. 
3. 
Actual Results:  
gcc -DHAVE_CONFIG_H -I. -I. -I../..    -Wall -Wcast-align -Wstrict-prototypes 
-Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wwrite-strings 
-pedantic -Werror-implicit-function-declaration -Winline 
-I/var/tmp/portage/ghostscript-7.05.6-r3/image//usr/include/ijs -I../../include 
-I../../include -I../../intl -march=athlon-tbird -mcpu=athlon-tbird -O3 -pipe 
-fomit-frame-pointer -c `test -f 'ijsgimpprint.c' || echo './'`ijsgimpprint.c 
ijsgimpprint.c:40:17: ijs.h: No such file or directory 
ijsgimpprint.c:41:24: ijs_server.h: No such file or directory 
ijsgimpprint.c:60: parse error before "IjsServerCtx" 
ijsgimpprint.c:60: warning: no semicolon at end of struct or union 
ijsgimpprint.c:78: parse error before '}' token 
ijsgimpprint.c:78: warning: type defaults to `int' in declaration of `IMAGE' 
ijsgimpprint.c:78: ISO C forbids data definition with no type or storage class 
ijsgimpprint.c:93: parse error before '*' token 
ijsgimpprint.c:94: warning: function declaration isn't a prototype 
ijsgimpprint.c: In function `image_init': 
ijsgimpprint.c:95: `img' undeclared (first use in this function) 
ijsgimpprint.c:95: (Each undeclared identifier is reported only once 
ijsgimpprint.c:95: for each function it appears in.) 
ijsgimpprint.c:95: `ph' undeclared (first use in this function) 
ijsgimpprint.c: At top level: 
ijsgimpprint.c:166: parse error before '*' token 
ijsgimpprint.c:167: warning: function declaration isn't a prototype 
ijsgimpprint.c: In function `image_finish': 
ijsgimpprint.c:168: `img' undeclared (first use in this function) 
ijsgimpprint.c: In function `gimp_parse_wxh': 
ijsgimpprint.c:231: `IJS_ESYNTAX' undeclared (first use in this function) 
ijsgimpprint.c:234: `IJS_EBUF' undeclared (first use in this function) 
ijsgimpprint.c: At top level: 
ijsgimpprint.c:284: parse error before "IjsServerCtx" 
ijsgimpprint.c:286: warning: function declaration isn't a prototype 
ijsgimpprint.c:292: parse error before "IjsServerCtx" 
ijsgimpprint.c:296: warning: function declaration isn't a prototype 
ijsgimpprint.c: In function `gimp_list_cb': 
ijsgimpprint.c:300: `val_size' undeclared (first use in this function) 
ijsgimpprint.c:301: `IJS_EBUF' undeclared (first use in this function) 
ijsgimpprint.c:303: `val_buf' undeclared (first use in this function) 
ijsgimpprint.c: At top level: 
ijsgimpprint.c:309: parse error before "IjsServerCtx" 
ijsgimpprint.c:314: warning: function declaration isn't a prototype 
ijsgimpprint.c: In function `gimp_enum_cb': 
ijsgimpprint.c:316: `key' undeclared (first use in this function) 
ijsgimpprint.c:326: `IJS_EUNKPARAM' undeclared (first use in this function) 
ijsgimpprint.c:331: `val_size' undeclared (first use in this function) 
ijsgimpprint.c:332: `IJS_EBUF' undeclared (first use in this function) 
ijsgimpprint.c:333: `val_buf' undeclared (first use in this function) 
ijsgimpprint.c: At top level: 
ijsgimpprint.c:340: parse error before "IjsServerCtx" 
ijsgimpprint.c:345: warning: function declaration isn't a prototype 
ijsgimpprint.c: In function `gimp_get_cb': 
ijsgimpprint.c:346: `img' undeclared (first use in this function) 
ijsgimpprint.c:346: parse error before ')' token 
ijsgimpprint.c:354: `key' undeclared (first use in this function) 
ijsgimpprint.c:362: `IJS_EUNKPARAM' undeclared (first use in this function) 
ijsgimpprint.c:367: `val_size' undeclared (first use in this function) 
ijsgimpprint.c:368: `IJS_EBUF' undeclared (first use in this function) 
ijsgimpprint.c:369: `val_buf' undeclared (first use in this function) 
ijsgimpprint.c: At top level: 
ijsgimpprint.c:435: parse error before "IjsServerCtx" 
ijsgimpprint.c:437: warning: function declaration isn't a prototype 
ijsgimpprint.c: In function `gimp_set_cb': 
ijsgimpprint.c:442: `img' undeclared (first use in this function) 
ijsgimpprint.c:442: parse error before ')' token 
ijsgimpprint.c:443: `key' undeclared (first use in this function) 
ijsgimpprint.c:444: `value' undeclared (first use in this function) 
ijsgimpprint.c:444: `value_size' undeclared (first use in this function) 
ijsgimpprint.c:474: `IJS_ERANGE' undeclared (first use in this function) 
ijsgimpprint.c: In function `gimp_image_bpp': 
ijsgimpprint.c:614: `img' undeclared (first use in this function) 
ijsgimpprint.c:614: parse error before ')' token 
ijsgimpprint.c: In function `gimp_image_width': 
ijsgimpprint.c:623: `img' undeclared (first use in this function) 
ijsgimpprint.c:623: parse error before ')' token 
ijsgimpprint.c: In function `gimp_image_height': 
ijsgimpprint.c:630: `img' undeclared (first use in this function) 
ijsgimpprint.c:630: parse error before ')' token 
ijsgimpprint.c: At top level: 
ijsgimpprint.c:635: parse error before '*' token 
ijsgimpprint.c:636: warning: function declaration isn't a prototype 
ijsgimpprint.c: In function `image_next_row': 
ijsgimpprint.c:638: `img' undeclared (first use in this function) 
ijsgimpprint.c:648: implicit declaration of function `ijs_server_get_data' 
ijsgimpprint.c: In function `gimp_image_get_row': 
ijsgimpprint.c:668: `img' undeclared (first use in this function) 
ijsgimpprint.c:668: parse error before ')' token 
ijsgimpprint.c:669: warning: ISO C89 forbids mixed declarations and code 
ijsgimpprint.c: In function `main': 
ijsgimpprint.c:783: `IjsPageHeader' undeclared (first use in this function) 
ijsgimpprint.c:783: parse error before "ph" 
ijsgimpprint.c:786: parse error before "img" 
ijsgimpprint.c:793: `img' undeclared (first use in this function) 
ijsgimpprint.c:795: implicit declaration of function `ijs_server_init' 
ijsgimpprint.c:803: implicit declaration of function `ijs_server_done' 
ijsgimpprint.c:826: implicit declaration of function `ijs_server_install_status_cb' 
ijsgimpprint.c:827: implicit declaration of function `ijs_server_install_list_cb' 
ijsgimpprint.c:828: implicit declaration of function `ijs_server_install_enum_cb' 
ijsgimpprint.c:829: implicit declaration of function `ijs_server_install_get_cb' 
ijsgimpprint.c:830: implicit declaration of function `ijs_server_install_set_cb' 
ijsgimpprint.c:837: implicit declaration of function `ijs_server_get_page_header' 
ijsgimpprint.c:837: `ph' undeclared (first use in this function) 
make[3]: *** [ijsgimpprint.o] Error 1 
make[3]: Leaving directory 
`/var/tmp/portage/gimp-print-cups-4.3.8-r1/work/gimp-print-4.3.8/src/ghost' 
make[2]: *** [all-recursive] Error 1 
make[2]: Leaving directory 
`/var/tmp/portage/gimp-print-cups-4.3.8-r1/work/gimp-print-4.3.8/src' 
make[1]: *** [all-recursive] Error 1 
make[1]: Leaving directory 
`/var/tmp/portage/gimp-print-cups-4.3.8-r1/work/gimp-print-4.3.8' 
make: *** [all] Error 2 
 
!!! ERROR: net-print/gimp-print-cups-4.3.8-r1 failed. 
!!! Function src_compile, Line 59, Exitcode 2 
!!! compile problem 
 

Expected Results:  
Emerge successfully 

Portage 2.0.48-r1 (default-x86-1.4, gcc-3.2.2, glibc-2.3.1-r4) 
================================================================= 
System uname: 2.4.20-gentoo-r2 i686 AMD Athlon(tm) Processor 
GENTOO_MIRRORS="ftp://ftp.ntua.gr/pub/linux/gentoo http://gentoo.oregonstate.edu 
http://www.ibiblio.org/pub/Linux/distributions/gentoo" 
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config 
/usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config 
/usr/share/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="x86 oss 3dnow apm avi crypt cups encode foomaticdb gif java jpeg libg++ mad 
mikmod mmx mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib 
gdbm berkdb slang readline arts svga X sdl tcpd pam libwww ssl python esd imlib 
oggvorbis gtk qt kde motif opengl -alsa cdr dga doc dvd fbcon -gnome -gpm imap 
maildir mysql perl samba -scanner sse tcltk tetex tiff wmf" 
COMPILER="gcc3" 
CHOST="i686-pc-linux-gnu" 
CFLAGS="-march=athlon-tbird -mcpu=athlon-tbird -O3 -pipe -fomit-frame-pointer" 
CXXFLAGS="-march=athlon-tbird -mcpu=athlon-tbird -O3 -pipe -fomit-frame-pointer" 
ACCEPT_KEYWORDS="x86" 
MAKEOPTS="-j2" 
AUTOCLEAN="yes" 
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" 
FEATURES="sandbox buildpkg ccache userpriv usersandbox strict fixpackages"
Comment 1 Heinrich Wendel (RETIRED) gentoo-dev 2003-07-16 22:08:09 UTC
please use gimp-print instead of gimp-print-cups (will be deleted soon)
Comment 2 Heinrich Wendel (RETIRED) gentoo-dev 2003-07-16 22:09:29 UTC
version gimp-print-4.3.18 needs testing ;)