<?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>19038</bug_id>
          
          <creation_ts>2003-04-09 11:04 0000</creation_ts>
          <short_desc>ghostscript-7.05.6-r1 wants to build X with -X in USE flags</short_desc>
          <delta_ts>2003-07-16 07:05:22 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>Ebuilds</component>
          <version>1.2</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>minor</bug_severity>
          <target_milestone>Future</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>deviantgeek@gmail.com</reporter>
          <assigned_to>printing@gentoo.org</assigned_to>
          <cc>max@gentoo.org</cc>
    
    <cc>mholzer@gentoo.org</cc>

      

      
          <long_desc isprivate="0">
            <who>deviantgeek@gmail.com</who>
            <bug_when>2003-04-09 11:04:43 0000</bug_when>
            <thetext>I&apos;m trying to update ghostscript (used with Cups) on a server. Since this is a
server, I prefer not to have X installed on it but the ebuild wants to install it.

Here is the output of emerge -info
[snip]
Portage 2.0.47-r10 (default-1.0, gcc-2.95.3, glibc-2.2.5-r2,2.2.5-r8)
=================================================================
System uname: 2.4.20-xfs-r2 i686 Pentium III (Coppermine)
GENTOO_MIRRORS=&quot; http://194.83.57.7/sites/www.ibiblio.org/gentoo/&quot;
CONFIG_PROTECT=&quot;/etc /var/qmail/control /usr/share/config
/usr/kde/2/share/config /usr/kde/3/share/config&quot;
CONFIG_PROTECT_MASK=&quot;/etc/gconf /etc/env.d&quot;
PORTDIR=&quot;/usr/portage&quot;
DISTDIR=&quot;/usr/portage/distfiles&quot;
PKGDIR=&quot;/usr/portage/packages&quot;
PORTAGE_TMPDIR=&quot;/var/tmp&quot;
PORTDIR_OVERLAY=&quot;&quot;
USE=&quot;x86 crypt cups encode gif jpeg libg++ mmx ncurses oggvorbis pdflib spell
truetype xml2 berkdb gdbm java libwww pam png python readline slang ssl tcpd
tiff -3dnow apache2 -apm -arts -avi curl gd -gpm -gtk imap -imlib -kde mbox
-mikmod -motif -mpeg mysql -nls oav oci8 -opengl -oss perl -qt -quicktime samba
sasl -sdl slp snmp sse -svga -X xml -xmms -xv -ldap zlib&quot;
COMPILER=&quot;&quot;
CHOST=&quot;i686-pc-linux-gnu&quot;
CFLAGS=&quot;-march=i686 -O3 -pipe -fomit-frame-pointer&quot;
CXXFLAGS=&quot;-march=i686 -O3 -pipe -fomit-frame-pointer&quot;
ACCEPT_KEYWORDS=&quot;x86 ~x86&quot;
MAKEOPTS=&quot;-j2&quot;
AUTOCLEAN=&quot;yes&quot;
SYNC=&quot;rsync://rsync.gentoo.org/gentoo-portage&quot;
FEATURES=&quot;ccache sandbox&quot;
[snip]

Gentoo Base System version 1.4.3.5

executing &apos;emerge -puv ghostscript&apos; results in the following:
[snip]
[ebuild  N   ] dev-perl/Parse-RecDescent-1.80-r3
[ebuild  N   ] x11-base/opengl-update-1.5
[ebuild    U ] media-libs/freetype-2.1.4 [2.1.3-r2] -doc +zlib
[ebuild  N   ] x11-misc/ttmkfdir-3.0.9
[ebuild  N   ] media-libs/fontconfig-2.1-r1
[ebuild  N   ] app-arch/cabextract-0.6
[ebuild  N   ] x11-base/xfree-4.3.0-r1  +sse -nls +mmx +truetype -3dnow -3dfx
[ebuild  N   ] x11-libs/gtk+-1.2.10-r10  -nls
[ebuild  N   ] x11-libs/xft-2.0.1-r2
[ebuild  N   ] dev-perl/XML-Writer-0.4-r2
[ebuild  N   ] media-libs/audiofile-0.2.3-r1
[ebuild  N   ] media-sound/esound-0.2.29  +tcpd -alsa
[ebuild  N   ] gnome-base/ORBit-0.5.17  -nls
[ebuild  N   ] media-libs/giflib-4.1.0-r3  -X +gif
[ebuild  N   ] media-libs/imlib-1.9.14-r1
[ebuild  N   ] gnome-base/gnome-libs-1.4.2  -doc -nls -kde
[ebuild  N   ] media-libs/gdk-pixbuf-0.22.0  -doc
[ebuild  N   ] dev-perl/gtk-perl-0.7008-r9
[ebuild  N   ] dev-perl/ExtUtils-F77-1.14-r1
[ebuild  N   ] dev-perl/PDL-2.3.2-r2  -opengl
[ebuild  N   ] media-libs/mpeg-lib-1.3.1-r1
[ebuild  N   ] media-gfx/gimp-1.2.3-r3  +python -nls -gnome -aalib +perl
[ebuild  N   ] media-gfx/gimp-print-4.2.5-r1  +cups -doc -nls
[ebuild    U ] app-text/ghostscript-7.05.6-r1 [7.05.6] -X +cups -cjk
[snip]

It shows &apos;-X&apos; So why is it wanting X windows?
-P</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>mholzer@gentoo.org</who>
            <bug_when>2003-04-09 13:01:31 0000</bug_when>
            <thetext>USE=&quot;-X -gnome -gtk -kde -avi -doc -dga -gif -sdl -qt -tcl -tk -tcltk&quot; emerge -epv ghostscript

this flags solves it.
try -qt -truetype</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>deviantgeek@gmail.com</who>
            <bug_when>2003-04-09 16:22:35 0000</bug_when>
            <thetext>No, niether of those cut it here.

Why is this line included?
[snip]
cups? ( || ( gimp-print gimp-print-cups ) )&quot;
[snip]

For non X systems, this will cause grief. Removing this line builds the package without the X hassle or USE flag tango.

I would recommend removing this line or making a modification to the logic.
-P</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>f.fracassi@gmx.net</who>
            <bug_when>2003-04-10 06:46:26 0000</bug_when>
            <thetext>I think the problem is even wider: the same thing happens with gnome, I have -gnome 
in my USE flags, and still it wants to install gnome gimp and gimp-print. I have 
gimp-print-cups installed and like to keep it that way (ie. without gnome etc) 
 
I think this bug is related to Bug#18731 
(http://bugs.gentoo.org/show_bug.cgi?id=18731) 
 
 </thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>deviantgeek@gmail.com</who>
            <bug_when>2003-04-11 09:26:20 0000</bug_when>
            <thetext>Now, 2 days later, I &apos;emerge sync&apos; and get the old ghostscript ebuild that I had previously modified.

Without changing the ebuild again, I run &apos;emerge -pu world&apos; and get a complete mess.

I&apos;m not complaining, this is just an update. After removing the offending line again in the ebuild the X build dissapears.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>f.fracassi@gmx.net</who>
            <bug_when>2003-04-15 02:27:44 0000</bug_when>
            <thetext>Created an attachment (id=10666)
Small patch which fixes the dependecies.

I think this schould fix the dependancys so that it respects USE=&quot;-gnome&quot;
I don&apos;t know if it fixes the USE=&quot;-X&quot; issue, too.
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>deviantgeek@gmail.com</who>
            <bug_when>2003-04-28 11:29:17 0000</bug_when>
            <thetext>That fixes all. Will this be incorporated?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>f.fracassi@gmx.net</who>
            <bug_when>2003-05-13 05:29:15 0000</bug_when>
            <thetext>Perhaps this should be reassigend to printing@gentoo.org  
and connected to Bug #19937 since it is very simmilar. 
 </thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>lordvan@gentoo.org</who>
            <bug_when>2003-06-19 04:02:28 0000</bug_when>
            <thetext>will have a look .. sorry for the delay there was a problem with the mail alias so i didn&apos;t get the Bugzilla mails</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>lanius@gentoo.org</who>
            <bug_when>2003-07-16 07:05:22 0000</bug_when>
            <thetext>ghostscript-7.05.6-r3 now in portage ...</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>10666</attachid>
            <date>2003-04-15 02:27 0000</date>
            <desc>Small patch which fixes the dependecies.</desc>
            <filename>ghostscript_dependency_fix.diff</filename>
            <type>text/plain</type>
            <data encoding="base64">LS0tIC91c3IvcG9ydGFnZS9hcHAtdGV4dC9naG9zdHNjcmlwdC9naG9zdHNjcmlwdC03LjA1LjYt
cjEuZWJ1aWxkCTIwMDMtMDQtMDMgMTg6NTA6NTguMDAwMDAwMDAwICswMDAwCisrKyAvcm9vdC9z
Y3JpcHRzL2dob3N0c2NyaXB0LTcuMDUuNi1yMS5lYnVpbGQJMjAwMy0wNC0xNSAwNjoxNzoxMC4w
MDAwMDAwMDAgKzAwMDAKQEAgLTIzLDcgKzIzLDcgQEAKIAljams/ICggeDExLW1pc2MvYXJwaGlj
Zm9udHMKIAkJeDExLW1pc2Mva29jaGktZm9udHMKIAkJeDExLW1pc2MvYmFla211ay1mb250cyAp
Ci0JY3Vwcz8gKCB8fCAoIGdpbXAtcHJpbnQgZ2ltcC1wcmludC1jdXBzICkgKSIKKwljdXBzPyAo
IHx8ICggKCBnbm9tZT8gKCBnaW1wLXByaW50ICkgKSBnaW1wLXByaW50LWN1cHMgKSApIgogCiBT
PSR7V09SS0RJUn0vZXNwZ3MtJHtQVn0KIAo=
</data>        

          </attachment>
    </bug>

</bugzilla>