Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 17050 - ghostscript 7.05.6 failes to compile
Summary: ghostscript 7.05.6 failes to compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Printing (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Printing Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-03-07 18:22 UTC by Chris Hornbaker
Modified: 2003-07-16 07:05 UTC (History)
1 user (show)

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 Chris Hornbaker 2003-03-07 18:22:41 UTC
Using gcc 3.2.2-r4 and CFLAGS="-march=athlon -mcpu=athlon -O3 -pipe"

src/gdevstp.c:125: warning: initialization from incompatible pointer type
src/gdevstp.c:127: warning: initialization from incompatible pointer type
src/gdevstp.c:128: warning: initialization from incompatible pointer type
src/gdevstp.c:130: warning: initialization from incompatible pointer type
src/gdevstp.c:131: warning: initialization from incompatible pointer type
src/gdevstp.c:132: warning: initialization from incompatible pointer type
src/gdevstp.c:134: warning: initialization from incompatible pointer type
src/gdevstp.c: In function `stp_dbg':
src/gdevstp.c:149: warning: implicit declaration of function `stp_get_cyan'
src/gdevstp.c:149: warning: implicit declaration of function `stp_get_magenta'
src/gdevstp.c:150: warning: implicit declaration of function `stp_get_yellow'
src/gdevstp.c:150: warning: double format, different type arg (arg 4)
src/gdevstp.c:150: warning: double format, different type arg (arg 5)
src/gdevstp.c:150: warning: double format, different type arg (arg 6)
src/gdevstp.c:151: warning: implicit declaration of function `stp_get_ink_type'
src/gdevstp.c:151: warning: format argument is not a pointer (arg 3)
src/gdevstp.c:154: warning: implicit declaration of function `stp_get_brightness'
src/gdevstp.c:154: warning: implicit declaration of function `stp_get_contrast'
src/gdevstp.c:154: warning: double format, different type arg (arg 3)
src/gdevstp.c:154: warning: double format, different type arg (arg 4)
src/gdevstp.c:157: warning: implicit declaration of function `stp_get_gamma'
src/gdevstp.c:157: warning: implicit declaration of function `stp_get_saturation'
src/gdevstp.c:158: warning: implicit declaration of function `stp_get_density'
src/gdevstp.c:158: warning: double format, different type arg (arg 3)
src/gdevstp.c:158: warning: double format, different type arg (arg 4)
src/gdevstp.c:158: warning: double format, different type arg (arg 5)
src/gdevstp.c:162: warning: implicit declaration of function `stp_get_image_type'
src/gdevstp.c:164: warning: implicit declaration of function `stp_get_resolution'
src/gdevstp.c:164: warning: format argument is not a pointer (arg 3)
src/gdevstp.c:166: warning: implicit declaration of function
`stp_get_dither_algorithm'
src/gdevstp.c:166: warning: format argument is not a pointer (arg 3)
src/gdevstp.c:168: warning: implicit declaration of function `stp_get_media_source'
src/gdevstp.c:168: warning: format argument is not a pointer (arg 3)
src/gdevstp.c:170: warning: implicit declaration of function `stp_get_media_type'
src/gdevstp.c:170: warning: format argument is not a pointer (arg 3)
src/gdevstp.c:172: too few arguments to function `stp_get_media_size'
src/gdevstp.c:172: invalid use of void expression
src/gdevstp.c:174: warning: format argument is not a pointer (arg 3)
src/gdevstp.c:175: warning: implicit declaration of function `stp_get_output_to'
src/gdevstp.c:175: warning: format argument is not a pointer (arg 3)
src/gdevstp.c: In function `stp_init_vars':
src/gdevstp.c:208: warning: implicit declaration of function `stp_allocate_vars'
src/gdevstp.c:208: warning: assignment makes pointer from integer without a cast
src/gdevstp.c: In function `stp_print_page':
src/gdevstp.c:249: warning: implicit declaration of function
`stp_printer_get_printvars'
src/gdevstp.c:249: warning: passing arg 2 of `stp_merge_printvars' makes pointer
from integer without a cast
src/gdevstp.c:257: warning: passing arg 1 of `strlen' makes pointer from integer
without a cast
src/gdevstp.c:258: warning: implicit declaration of function `stp_set_resolution'
src/gdevstp.c:259: warning: implicit declaration of function
`stp_printer_get_printfuncs'
src/gdevstp.c:259: invalid type argument of `->'
src/gdevstp.c:261: warning: passing arg 1 of `strlen' makes pointer from integer
without a cast
src/gdevstp.c:262: warning: implicit declaration of function
`stp_set_dither_algorithm'
src/gdevstp.c:262: warning: implicit declaration of function
`stp_default_dither_algorithm'
src/gdevstp.c:264: warning: implicit declaration of function `stp_set_scaling'
src/gdevstp.c:267: warning: implicit declaration of function `stp_set_app_gamma'
src/gdevstp.c:270: warning: implicit declaration of function `stp_set_cmap'
src/gdevstp.c:276: warning: implicit declaration of function `stp_set_media_size'
src/gdevstp.c:286: invalid type argument of `->'
src/gdevstp.c:287: invalid type argument of `->'
src/gdevstp.c: In function `stp_get_params':
src/gdevstp.c:384: warning: passing arg 1 of `c_strdup' makes pointer from
integer without a cast
src/gdevstp.c:385: warning: passing arg 1 of `c_strdup' makes pointer from
integer without a cast
src/gdevstp.c:386: warning: passing arg 1 of `c_strdup' makes pointer from
integer without a cast
src/gdevstp.c:387: warning: passing arg 1 of `c_strdup' makes pointer from
integer without a cast
src/gdevstp.c:388: warning: passing arg 1 of `c_strdup' makes pointer from
integer without a cast
src/gdevstp.c: In function `stp_put_params':
src/gdevstp.c:461: warning: implicit declaration of function `stp_minimum_settings'
src/gdevstp.c:461: warning: initialization makes pointer from integer without a cast
src/gdevstp.c:462: warning: implicit declaration of function `stp_maximum_settings'
src/gdevstp.c:462: warning: initialization makes pointer from integer without a cast
src/gdevstp.c:482: warning: passing arg 1 of `c_strdup' makes pointer from
integer without a cast
src/gdevstp.c:483: warning: passing arg 1 of `c_strdup' makes pointer from
integer without a cast
src/gdevstp.c:484: warning: passing arg 1 of `c_strdup' makes pointer from
integer without a cast
src/gdevstp.c:485: warning: passing arg 1 of `c_strdup' makes pointer from
integer without a cast
src/gdevstp.c:486: warning: passing arg 1 of `c_strdup' makes pointer from
integer without a cast
src/gdevstp.c:495: warning: implicit declaration of function `stp_set_cyan'
src/gdevstp.c:496: warning: implicit declaration of function `stp_set_magenta'
src/gdevstp.c:497: warning: implicit declaration of function `stp_set_yellow'
src/gdevstp.c:498: warning: implicit declaration of function `stp_set_brightness'
src/gdevstp.c:499: warning: implicit declaration of function `stp_set_contrast'
src/gdevstp.c:501: warning: implicit declaration of function `stp_set_image_type'
src/gdevstp.c:502: warning: implicit declaration of function `stp_set_gamma'
src/gdevstp.c:503: warning: implicit declaration of function `stp_set_saturation'
src/gdevstp.c:504: warning: implicit declaration of function `stp_set_density'
src/gdevstp.c:541: too many arguments to function `stp_set_printer_defaults'
src/gdevstp.c:544: warning: implicit declaration of function `stp_set_media_type_n'
src/gdevstp.c:546: warning: implicit declaration of function
`stp_set_media_source_n'
src/gdevstp.c:548: warning: implicit declaration of function `stp_set_ink_type_n'
src/gdevstp.c:550: warning: implicit declaration of function
`stp_set_dither_algorithm_n'
src/gdevstp.c:552: warning: implicit declaration of function `stp_set_resolution_n'
src/gdevstp.c: In function `stp_open':
src/gdevstp.c:590: invalid type argument of `->'
src/gdevstp.c:593: invalid type argument of `->'
src/gdevstp.c:603: warning: implicit declaration of function `stp_set_orientation'
src/gdevstp.c:603: `ORIENT_PORTRAIT' undeclared (first use in this function)
src/gdevstp.c:603: (Each undeclared identifier is reported only once
src/gdevstp.c:603: for each function it appears in.)
src/gdevstp.c: In function `Image_get_row':
src/gdevstp.c:648: `STP_IMAGE_OK' undeclared (first use in this function)
make: *** [obj/gdevstp.o] Error 1
Comment 1 Troy Dack 2003-03-08 03:21:54 UTC
I'll add a "me too" on this one. 
Comment 2 Raimar Sandner 2003-03-08 10:56:52 UTC
This seems to happen with all the older 7.05.5-ebuilds too. I can't compile 
ghostscript since I changed to ~x86 from x86 recently. 
Comment 3 Raimar Sandner 2003-03-08 17:39:31 UTC
Seems to be gimp-print-related. After unmerging gimp-print, everything 
went smoothly. 
Comment 4 Roger Hawley 2003-03-09 09:35:38 UTC
gimp-print wants to compile ghostscript first.
Chicken-egg problem.
Comment 5 Roger Hawley 2003-03-09 15:58:34 UTC
I unmerged gimp-print but still get the same error
in ghostscript-7.05.6.
Comment 6 Roger Hawley 2003-03-09 16:43:23 UTC
missing man patch


>>> Unpacking gnu-gs-fonts-other-6.0.tar.gz to /home/tmp/portage/ghostscript-7.05.6/work
/usr/sbin/ebuild.sh: line 46: /usr/portage/app-text/ghostscript/files/ghostscript-7.05.6.man.patch: No such file or directory
Comment 7 Roger Hawley 2003-03-09 17:30:27 UTC
ghostscript compiles after unmerging gimp-print
and gimp-print-cups.
Comment 8 Theofilos Intzoglou 2003-03-11 19:53:39 UTC
Ghostscript doesn't compile here either. And I have no gimp packages installed! The last ghostscript version installed on my system is 7.05.5-r2 and it is working perfectly.
Comment 9 Stefan Sarzio 2003-03-12 02:58:23 UTC
Unmerging gimp-print and gimp-print-cups helped for me.
Comment 10 Sébastien Champigny 2003-03-17 21:00:48 UTC
For me too. 
Comment 11 Robert Cole 2003-03-19 23:42:26 UTC
unmerging gimp-print and gimp-print-cups worked for me as well
Comment 12 Turambar 2003-03-26 00:28:23 UTC
See if this works:

http://bugs.gentoo.org/show_bug.cgi?id=18198
Comment 13 Ronny Schoebel 2003-04-06 06:28:45 UTC
The proble4m is gimp-print related. 
I have installed gimp-print-cups-4.3.8-r1 (with USE="-gtk -nls realdine") 
emerge ghostscript-7.05.6-r1 (USE="-gtk cups -cjk") fails with the same 
error. BTW. I use ~x86. 
I think the real bug is in gimp-print-cups. The ghostscript configure script 
tries to locate gimp-print-config which fails since it is not installed by 
gimp-print-cups. 
Also, the dependency tests are quite curious, though I have installed 
gimp-print-cups, an emerge -pDu world wants to add gimp and gimp-print 
amongst other things. 
Comment 14 Chris Hornbaker 2003-06-12 10:41:17 UTC
This thing is 3 months old! Anyone know it's status? Shall I give it a go and see what happens?
Comment 15 Thomas Raschbacher gentoo-dev 2003-06-20 04:34:16 UTC
8.0 out .. will commit soon ..
Comment 16 Heinrich Wendel (RETIRED) gentoo-dev 2003-06-28 14:12:08 UTC
fixed in next version, a result of the --with-gimp-print flag and gimp-print 4.3  series
Comment 17 Terje Kvernes 2003-07-01 13:33:36 UTC
well, I get the same error with app-text/ghostscript-7.05.6-r2, removing gimp-print-cups didn't help, the solution was to do

USE="-cups" emerge ghostscript

:-/
Comment 18 Heinrich Wendel (RETIRED) gentoo-dev 2003-07-01 13:38:09 UTC
yes, this is the problem, it will install a new gimp-print if you have the cups useflag and then it will 
fail again, but it will be fixed in the next release :) 
Comment 19 Heinrich Wendel (RETIRED) gentoo-dev 2003-07-16 07:05:45 UTC
ghostscript-7.05.6-r3 now in portage ...