<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>17050</bug_id>
          
          <creation_ts>2003-03-07 18:22 0000</creation_ts>
          <short_desc>ghostscript 7.05.6 failes to compile</short_desc>
          <delta_ts>2003-07-16 07:05:45 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Printing</component>
          <version>1.4_rc2</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>Future</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>chrishornbaker@earthlink.net</reporter>
          <assigned_to>printing@gentoo.org</assigned_to>
          <cc>troy@tkdack.com</cc>

      

      
          <long_desc isprivate="0">
            <who>chrishornbaker@earthlink.net</who>
            <bug_when>2003-03-07 18:22:41 0000</bug_when>
            <thetext>Using gcc 3.2.2-r4 and CFLAGS=&quot;-march=athlon -mcpu=athlon -O3 -pipe&quot;

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&apos;:
src/gdevstp.c:149: warning: implicit declaration of function `stp_get_cyan&apos;
src/gdevstp.c:149: warning: implicit declaration of function `stp_get_magenta&apos;
src/gdevstp.c:150: warning: implicit declaration of function `stp_get_yellow&apos;
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&apos;
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&apos;
src/gdevstp.c:154: warning: implicit declaration of function `stp_get_contrast&apos;
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&apos;
src/gdevstp.c:157: warning: implicit declaration of function `stp_get_saturation&apos;
src/gdevstp.c:158: warning: implicit declaration of function `stp_get_density&apos;
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&apos;
src/gdevstp.c:164: warning: implicit declaration of function `stp_get_resolution&apos;
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&apos;
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&apos;
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&apos;
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&apos;
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&apos;
src/gdevstp.c:175: warning: format argument is not a pointer (arg 3)
src/gdevstp.c: In function `stp_init_vars&apos;:
src/gdevstp.c:208: warning: implicit declaration of function `stp_allocate_vars&apos;
src/gdevstp.c:208: warning: assignment makes pointer from integer without a cast
src/gdevstp.c: In function `stp_print_page&apos;:
src/gdevstp.c:249: warning: implicit declaration of function
`stp_printer_get_printvars&apos;
src/gdevstp.c:249: warning: passing arg 2 of `stp_merge_printvars&apos; makes pointer
from integer without a cast
src/gdevstp.c:257: warning: passing arg 1 of `strlen&apos; makes pointer from integer
without a cast
src/gdevstp.c:258: warning: implicit declaration of function `stp_set_resolution&apos;
src/gdevstp.c:259: warning: implicit declaration of function
`stp_printer_get_printfuncs&apos;
src/gdevstp.c:259: invalid type argument of `-&gt;&apos;
src/gdevstp.c:261: warning: passing arg 1 of `strlen&apos; makes pointer from integer
without a cast
src/gdevstp.c:262: warning: implicit declaration of function
`stp_set_dither_algorithm&apos;
src/gdevstp.c:262: warning: implicit declaration of function
`stp_default_dither_algorithm&apos;
src/gdevstp.c:264: warning: implicit declaration of function `stp_set_scaling&apos;
src/gdevstp.c:267: warning: implicit declaration of function `stp_set_app_gamma&apos;
src/gdevstp.c:270: warning: implicit declaration of function `stp_set_cmap&apos;
src/gdevstp.c:276: warning: implicit declaration of function `stp_set_media_size&apos;
src/gdevstp.c:286: invalid type argument of `-&gt;&apos;
src/gdevstp.c:287: invalid type argument of `-&gt;&apos;
src/gdevstp.c: In function `stp_get_params&apos;:
src/gdevstp.c:384: warning: passing arg 1 of `c_strdup&apos; makes pointer from
integer without a cast
src/gdevstp.c:385: warning: passing arg 1 of `c_strdup&apos; makes pointer from
integer without a cast
src/gdevstp.c:386: warning: passing arg 1 of `c_strdup&apos; makes pointer from
integer without a cast
src/gdevstp.c:387: warning: passing arg 1 of `c_strdup&apos; makes pointer from
integer without a cast
src/gdevstp.c:388: warning: passing arg 1 of `c_strdup&apos; makes pointer from
integer without a cast
src/gdevstp.c: In function `stp_put_params&apos;:
src/gdevstp.c:461: warning: implicit declaration of function `stp_minimum_settings&apos;
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&apos;
src/gdevstp.c:462: warning: initialization makes pointer from integer without a cast
src/gdevstp.c:482: warning: passing arg 1 of `c_strdup&apos; makes pointer from
integer without a cast
src/gdevstp.c:483: warning: passing arg 1 of `c_strdup&apos; makes pointer from
integer without a cast
src/gdevstp.c:484: warning: passing arg 1 of `c_strdup&apos; makes pointer from
integer without a cast
src/gdevstp.c:485: warning: passing arg 1 of `c_strdup&apos; makes pointer from
integer without a cast
src/gdevstp.c:486: warning: passing arg 1 of `c_strdup&apos; makes pointer from
integer without a cast
src/gdevstp.c:495: warning: implicit declaration of function `stp_set_cyan&apos;
src/gdevstp.c:496: warning: implicit declaration of function `stp_set_magenta&apos;
src/gdevstp.c:497: warning: implicit declaration of function `stp_set_yellow&apos;
src/gdevstp.c:498: warning: implicit declaration of function `stp_set_brightness&apos;
src/gdevstp.c:499: warning: implicit declaration of function `stp_set_contrast&apos;
src/gdevstp.c:501: warning: implicit declaration of function `stp_set_image_type&apos;
src/gdevstp.c:502: warning: implicit declaration of function `stp_set_gamma&apos;
src/gdevstp.c:503: warning: implicit declaration of function `stp_set_saturation&apos;
src/gdevstp.c:504: warning: implicit declaration of function `stp_set_density&apos;
src/gdevstp.c:541: too many arguments to function `stp_set_printer_defaults&apos;
src/gdevstp.c:544: warning: implicit declaration of function `stp_set_media_type_n&apos;
src/gdevstp.c:546: warning: implicit declaration of function
`stp_set_media_source_n&apos;
src/gdevstp.c:548: warning: implicit declaration of function `stp_set_ink_type_n&apos;
src/gdevstp.c:550: warning: implicit declaration of function
`stp_set_dither_algorithm_n&apos;
src/gdevstp.c:552: warning: implicit declaration of function `stp_set_resolution_n&apos;
src/gdevstp.c: In function `stp_open&apos;:
src/gdevstp.c:590: invalid type argument of `-&gt;&apos;
src/gdevstp.c:593: invalid type argument of `-&gt;&apos;
src/gdevstp.c:603: warning: implicit declaration of function `stp_set_orientation&apos;
src/gdevstp.c:603: `ORIENT_PORTRAIT&apos; 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&apos;:
src/gdevstp.c:648: `STP_IMAGE_OK&apos; undeclared (first use in this function)
make: *** [obj/gdevstp.o] Error 1</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>troy@tkdack.com</who>
            <bug_when>2003-03-08 03:21:54 0000</bug_when>
            <thetext>I&apos;ll add a &quot;me too&quot; on this one. </thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>gentoo-bugzilla@404not-found.de</who>
            <bug_when>2003-03-08 10:56:52 0000</bug_when>
            <thetext>This seems to happen with all the older 7.05.5-ebuilds too. I can&apos;t compile 
ghostscript since I changed to ~x86 from x86 recently. </thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>gentoo-bugzilla@404not-found.de</who>
            <bug_when>2003-03-08 17:39:31 0000</bug_when>
            <thetext>Seems to be gimp-print-related. After unmerging gimp-print, everything 
went smoothly. </thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>karma911@pacbell.net</who>
            <bug_when>2003-03-09 09:35:38 0000</bug_when>
            <thetext>gimp-print wants to compile ghostscript first.
Chicken-egg problem.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>karma911@pacbell.net</who>
            <bug_when>2003-03-09 15:58:34 0000</bug_when>
            <thetext>I unmerged gimp-print but still get the same error
in ghostscript-7.05.6.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>karma911@pacbell.net</who>
            <bug_when>2003-03-09 16:43:23 0000</bug_when>
            <thetext>missing man patch


&gt;&gt;&gt; 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
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>karma911@pacbell.net</who>
            <bug_when>2003-03-09 17:30:27 0000</bug_when>
            <thetext>ghostscript compiles after unmerging gimp-print
and gimp-print-cups.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>int.teo@gmail.com</who>
            <bug_when>2003-03-11 19:53:39 0000</bug_when>
            <thetext>Ghostscript doesn&apos;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.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>salze@amessage.de</who>
            <bug_when>2003-03-12 02:58:23 0000</bug_when>
            <thetext>Unmerging gimp-print and gimp-print-cups helped for me.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>sebgarden@yahoo.fr</who>
            <bug_when>2003-03-17 21:00:48 0000</bug_when>
            <thetext>For me too. </thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>robert.cole@support4linux.com</who>
            <bug_when>2003-03-19 23:42:26 0000</bug_when>
            <thetext>unmerging gimp-print and gimp-print-cups worked for me as well
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>pete@SiliconMetrics.com</who>
            <bug_when>2003-03-26 00:28:23 0000</bug_when>
            <thetext>See if this works:

http://bugs.gentoo.org/show_bug.cgi?id=18198</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>ronny@l61.de</who>
            <bug_when>2003-04-06 06:28:45 0000</bug_when>
            <thetext>The proble4m is gimp-print related. 
I have installed gimp-print-cups-4.3.8-r1 (with USE=&quot;-gtk -nls realdine&quot;) 
emerge ghostscript-7.05.6-r1 (USE=&quot;-gtk cups -cjk&quot;) 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. </thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>chrishornbaker@earthlink.net</who>
            <bug_when>2003-06-12 10:41:17 0000</bug_when>
            <thetext>This thing is 3 months old! Anyone know it&apos;s status? Shall I give it a go and see what happens?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>lordvan@gentoo.org</who>
            <bug_when>2003-06-20 04:34:16 0000</bug_when>
            <thetext>8.0 out .. will commit soon ..</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>lanius@gentoo.org</who>
            <bug_when>2003-06-28 14:12:08 0000</bug_when>
            <thetext>fixed in next version, a result of the --with-gimp-print flag and gimp-print 4.3  series</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>terjekv@math.uio.no</who>
            <bug_when>2003-07-01 13:33:36 0000</bug_when>
            <thetext>well, I get the same error with app-text/ghostscript-7.05.6-r2, removing gimp-print-cups didn&apos;t help, the solution was to do

USE=&quot;-cups&quot; emerge ghostscript

:-/</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>lanius@gentoo.org</who>
            <bug_when>2003-07-01 13:38:09 0000</bug_when>
            <thetext>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 :) </thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>lanius@gentoo.org</who>
            <bug_when>2003-07-16 07:05:45 0000</bug_when>
            <thetext>ghostscript-7.05.6-r3 now in portage ...</thetext>
          </long_desc>
      
    </bug>

</bugzilla>