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
I'll add a "me too" on this one.
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.
Seems to be gimp-print-related. After unmerging gimp-print, everything went smoothly.
gimp-print wants to compile ghostscript first. Chicken-egg problem.
I unmerged gimp-print but still get the same error in ghostscript-7.05.6.
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
ghostscript compiles after unmerging gimp-print and gimp-print-cups.
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.
Unmerging gimp-print and gimp-print-cups helped for me.
For me too.
unmerging gimp-print and gimp-print-cups worked for me as well
See if this works: http://bugs.gentoo.org/show_bug.cgi?id=18198
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.
This thing is 3 months old! Anyone know it's status? Shall I give it a go and see what happens?
8.0 out .. will commit soon ..
fixed in next version, a result of the --with-gimp-print flag and gimp-print 4.3 series
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 :-/
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 :)
ghostscript-7.05.6-r3 now in portage ...