<?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>76978</bug_id>
          
          <creation_ts>2005-01-06 19:41 0000</creation_ts>
          <short_desc>foomatic fails to install</short_desc>
          <delta_ts>2005-06-06 06:05:31 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>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>antarus@gentoo.org</reporter>
          <assigned_to>printing@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>antarus@gentoo.org</who>
            <bug_when>2005-01-06 19:41:02 0000</bug_when>
            <thetext>spider root # USE=&quot;gimpprint&quot; emerge gimp -v
Calculating dependencies        ...done!
&gt;&gt;&gt; emerge (1 of 6) net-print/foomatic-filters-3.0.2 to /
&gt;&gt;&gt; Downloading http://gentoo.chem.wisc.edu/gentoo/distfiles/foomatic-filters-3.0.2.tar.gz
--22:28:58--  http://gentoo.chem.wisc.edu/gentoo/distfiles/foomatic-filters-3.0.2.tar.gz
           =&gt; `/usr/portage/distfiles/foomatic-filters-3.0.2.tar.gz&apos;
Resolving gentoo.chem.wisc.edu... 128.104.70.13
Connecting to gentoo.chem.wisc.edu[128.104.70.13]:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 125,875 [application/x-tar]

100%[======================================&gt;] 125,875      658.06K/s

22:28:58 (657.08 KB/s) - `/usr/portage/distfiles/foomatic-filters-3.0.2.tar.gz&apos; saved [125875/125875]

&gt;&gt;&gt; md5 src_uri ;-) foomatic-filters-3.0.2.tar.gz
&gt;&gt;&gt; Unpacking source...
&gt;&gt;&gt; Unpacking foomatic-filters-3.0.2.tar.gz to /var/tmp/portage/foomatic-filters-3.0.2/work
&gt;&gt;&gt; Source unpacked.
./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib
creating cache ./config.cache
checking for a BSD compatible install... /bin/install -c
checking whether ln -s works... yes
checking whether make sets ${MAKE}... yes
checking for perl... /usr/bin/perl
checking for printcap/... /etc/printcap
checking for cups/... /usr/lib/cups
checking for cups/filter/... /usr/lib/cups/filter
checking for ppr/... /usr/lib/ppr
checking for ppr/interfaces/... /usr/lib/ppr/interfaces
checking for ppr/lib/... /usr/lib/ppr/lib
checking for a2ps... no
checking for enscript... no
checking for mpage... no
checking for texttops... no
configure: error: cannot find a2ps, enscript, mpage, or CUPS&apos; texttops.  You needto have at least one installed

!!! ERROR: net-print/foomatic-filters-3.0.2 failed.
!!! Function econf, Line 449, Exitcode 1
!!! econf failed
!!! If you need support, post the topmost build error, NOT this status message.

I am using lprng, not cups; a cursury search of my system using slocate shows indeed that I do not have any of those installed.  My ghostscript virtual is filled by 
spider etc # emerge -p virtual/ghostscript

These are the packages that I would merge, in order:

Calculating dependencies  ...done!
[ebuild   R   ] app-text/ghostscript-7.07.1-r7

spider etc # emerge --info
Portage 2.0.51-r3 (default-linux/x86/2004.3, gcc-3.3.4, glibc-2.3.4.20040808-r1, 2.6.9-gentoo-r4-Desktop i686)
=================================================================
System uname: 2.6.9-gentoo-r4-Desktop i686 AMD Athlon(tm) XP 1800+
Gentoo Base System version 1.4.16
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.90.0.1.1-r3
Headers:  sys-kernel/linux26-headers-2.6.8.1-r1
Libtools: sys-devel/libtool-1.5.2-r7
ACCEPT_KEYWORDS=&quot;x86&quot;
AUTOCLEAN=&quot;yes&quot;
CFLAGS=&quot;-march=athlon-xp -O3 -pipe -fomit-frame-pointer&quot;
CHOST=&quot;i686-pc-linux-gnu&quot;
COMPILER=&quot;&quot;
CONFIG_PROTECT=&quot;/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/share/config /var/qmail/control&quot;
CONFIG_PROTECT_MASK=&quot;/etc/gconf /etc/terminfo /etc/env.d&quot;
CXXFLAGS=&quot;-march=athlon-xp -O3 -pipe -fomit-frame-pointer&quot;
DISTDIR=&quot;/usr/portage/distfiles&quot;
FEATURES=&quot;autoaddcvs autoconfig candy ccache confcache distlocks nospinner sandbox sfperms userpriv usersandbox&quot;
GENTOO_MIRRORS=&quot;http://gentoo.chem.wisc.edu/gentoo/ ftp://gentoo.chem.wisc.edu/gentoo/&quot;
MAKEOPTS=&quot;-j2&quot;
PKGDIR=&quot;/usr/portage/packages&quot;
PORTAGE_TMPDIR=&quot;/var/tmp&quot;
PORTDIR=&quot;/usr/portage&quot;
PORTDIR_OVERLAY=&quot;/usr/local/portage&quot;
SYNC=&quot;rsync://rsync.gentoo.org/gentoo-portage&quot;
USE=&quot;x86 3dnow X acl alsa apm arts avi bash-completion berkdb bidi bitmap-fonts bmp canna cdr cjk cross crypt dga directfb divx4linux dvd dvdr encode ethereal fam flac foomaticdb fortran gdbm ggi gif gpm gtk gtk2 imagemagick imap imlib ipv6 javajpeg kde kerberos ldap libwww mad memlimit mikmod mmx motif mpeg ncurses nis nls nptl oggvorbis openal opengl pam pdflib perl pic pie png posix python qt quicktime readline samba sdl spell sse ssl svga tcpd tiff truetype unicode usb wxwindows xml2 xmms xv xvid zlib&quot;</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>andre.david@gmail.com</who>
            <bug_when>2005-01-29 05:26:14 0000</bug_when>
            <thetext>I can confirm that there is a dependency problem in foomatic-filters.

I think this reflects a general pattern of packages that depend on a small feature that can be provided by different packages: in this case the TextToPs feature in a2ps, enscript, mpage and cups.

mpage is small enough (80KB source, 303KiB installed) so that foomatic-filters could depend on it, so I added app-text/mpage to DEPEND in foomatic-filters-3.0.2.ebuild.

Worked like a charm.

I hope someone can put the dependency in the ebuild, unless there is some policy against disambiguating between alternative packages providing the same feature.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>antarus@gentoo.org</who>
            <bug_when>2005-04-24 22:17:41 0000</bug_when>
            <thetext>Created an attachment (id=57145)
adds a 4-way or DEPEND with the providers.  Ew. ;)

Something like this should do it, how nasty ;)
Or make a virtual/whatever and dep on that, your choice really.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>antarus@gentoo.org</who>
            <bug_when>2005-04-24 22:17:41 0000</bug_when>
            <thetext>Created an attachment (id=57146)
adds a 4-way or DEPEND with the providers.  Ew. ;)

Something like this should do it, how nasty ;)
Or make a virtual/whatever and dep on that, your choice really.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>antarus@gentoo.org</who>
            <bug_when>2005-06-03 22:07:01 0000</bug_when>
            <thetext>Any activity? something wrong with the submitted fix?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>lanius@gentoo.org</who>
            <bug_when>2005-06-06 06:05:31 0000</bug_when>
            <thetext>sorry, added </thetext>
          </long_desc>
      
          <attachment
              isobsolete="1"
              ispatch="1"
              isprivate="0"
          >
            <attachid>57145</attachid>
            <date>2005-04-24 22:17 0000</date>
            <desc>adds a 4-way or DEPEND with the providers.  Ew. ;)</desc>
            <filename>foomatic-ebuild.patch</filename>
            <type>text/plain</type>
            <data encoding="base64">LS0tIGZvb21hdGljLWZpbHRlcnMtMy4wLjIuZWJ1aWxkCTIwMDQtMTAtMDkgMTk6MzY6MTguMDAw
MDAwMDAwIC0wNDAwCisrKyAvdXNyL2xvY2FsL3BvcnRhZ2UvbmV0LXByaW50L2Zvb21hdGljLWZp
bHRlcnMvZm9vbWF0aWMtZmlsdGVycy0zLjAuMi5lYnVpbGQJMjAwNS0wNC0yNSAwMToxNjozMy40
MjgyMzQ4MjQgLTA0MDAKQEAgLTEzLDYgKzEzLDEwIEBACiAKIERFUEVORD0ic2FtYmE/ICggbmV0
LWZzL3NhbWJhICkKIAljdXBzPyAoID49bmV0LXByaW50L2N1cHMtMS4xLjE5ICkKKwl8fCAoIGFw
cC10ZXh0L2Vuc2NyaXB0IAorCXx8ICggbmV0LXByaW50L2N1cHMgCisJfHwgKCBhcHAtdGV4dC9h
MnBzIAorCWFwcC10ZXh0L21wYWdlICkgKSApIAogCXZpcnR1YWwvZ2hvc3RzY3JpcHQiCiAKIHNy
Y19pbnN0YWxsKCkgewo=
</data>        

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>57146</attachid>
            <date>2005-04-24 22:17 0000</date>
            <desc>adds a 4-way or DEPEND with the providers.  Ew. ;)</desc>
            <filename>foomatic-ebuild.patch</filename>
            <type>text/plain</type>
            <data encoding="base64">LS0tIGZvb21hdGljLWZpbHRlcnMtMy4wLjIuZWJ1aWxkCTIwMDQtMTAtMDkgMTk6MzY6MTguMDAw
MDAwMDAwIC0wNDAwCisrKyAvdXNyL2xvY2FsL3BvcnRhZ2UvbmV0LXByaW50L2Zvb21hdGljLWZp
bHRlcnMvZm9vbWF0aWMtZmlsdGVycy0zLjAuMi5lYnVpbGQJMjAwNS0wNC0yNSAwMToxNjozMy40
MjgyMzQ4MjQgLTA0MDAKQEAgLTEzLDYgKzEzLDEwIEBACiAKIERFUEVORD0ic2FtYmE/ICggbmV0
LWZzL3NhbWJhICkKIAljdXBzPyAoID49bmV0LXByaW50L2N1cHMtMS4xLjE5ICkKKwl8fCAoIGFw
cC10ZXh0L2Vuc2NyaXB0IAorCXx8ICggbmV0LXByaW50L2N1cHMgCisJfHwgKCBhcHAtdGV4dC9h
MnBzIAorCWFwcC10ZXh0L21wYWdlICkgKSApIAogCXZpcnR1YWwvZ2hvc3RzY3JpcHQiCiAKIHNy
Y19pbnN0YWxsKCkgewo=
</data>        

          </attachment>
    </bug>

</bugzilla>