Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 169230
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Printing Team <printing@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Cornelius Weig <bitte.keine.werbung.einwerfen@googlemail.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
foomatic-filters.diff patch for foomatic-filters-3.0.20060720.ebuild patch Cornelius Weig 2007-03-04 03:09 0000 510 bytes Details | Diff
emerge-info emerge --info text/plain Cornelius Weig 2007-03-04 16:57 0000 3.08 KB Details
build.log build.log for foomatic-filters text/plain Cornelius Weig 2007-03-05 02:03 0000 2.23 KB Details
config.log config.log for foomatic-filters text/plain Cornelius Weig 2007-03-05 02:07 0000 4.66 KB Details
config.log David's config.log text/plain David Barnett 2007-03-06 15:55 0000 4.60 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 169230 depends on: Show dependency tree
Bug 169230 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-03-04 03:06 0000
When disabling the cups USE flag while cups is still installed, the emerge of
foomatic-filters fails.
This is because the Makefile is not properly configured for cups, when cups is
installed, but the cups-USE flag is not set (configure wants texttops but can't
find it). An additional check for the cups-USE fixes the problem (see patch).

Reproducible: Always

Steps to Reproduce:
1. install cups
2. disable cups USE-flag
3. (re)install foomatic-filter
Actual Results:  
the ebuild aborts

Expected Results:  
foomatic installed

------- Comment #1 From Cornelius Weig 2007-03-04 03:09:20 0000 -------
Created an attachment (id=112011) [details]
patch for foomatic-filters-3.0.20060720.ebuild

------- Comment #2 From Jakub Moc (RETIRED) 2007-03-04 08:02:50 0000 -------
(From update of attachment 112011 [details])
This doesn't fix absolutely anything.

------- Comment #3 From Jakub Moc (RETIRED) 2007-03-04 08:04:27 0000 -------
Reopen with some compile errors... 

------- Comment #4 From Cornelius Weig 2007-03-04 16:56:01 0000 -------
Here are the compile errors:

...
checking for mpage... no
checking for texttops... no
file-converter: 
configure: error: cannot find a2ps, enscript, mpage, or CUPS' texttops.  You
need to have at least one installed

!!! Please attach the following file when filing a report to bugs.gentoo.org:
!!!
/var/tmp/portage/net-print/foomatic-filters-3.0.20060720/work/foomatic-filters-3.0-20060720/config.log

!!! ERROR: net-print/foomatic-filters-3.0.20060720 failed.
Call stack:
  ebuild.sh, line 1614:   Called dyn_compile
  ebuild.sh, line 971:   Called qa_call 'src_compile'
  environment, line 3677:   Called src_compile
  foomatic-filters-3.0.20060720.ebuild, line 50:   Called econf
  ebuild.sh, line 577:   Called die

------- Comment #5 From Cornelius Weig 2007-03-04 16:57:34 0000 -------
Created an attachment (id=112079) [details]
emerge --info

------- Comment #6 From Cornelius Weig 2007-03-04 17:01:32 0000 -------
I think, that the additional check does fix the problem. Because if USE-cups is
deactivated, the user does obviously not want programs to be built against it,
which is what the patch does.
Building foomatic-filters against cups despite USE="-cups" would silently
override the USE-flag.

------- Comment #7 From Jakub Moc (RETIRED) 2007-03-04 17:53:32 0000 -------
> !!! Please attach the following file when filing a report to bugs.gentoo.org:
> /var/tmp/portage/net-print/foomatic-filters-3.0.20060720/work/foomatic-filters-3.0-20060720/config.log

Please, do it, the message is there for a reason.

------- Comment #8 From Cornelius Weig 2007-03-05 02:03:57 0000 -------
Created an attachment (id=112131) [details]
build.log for foomatic-filters

sorry..   though it does not contain much more in this case

------- Comment #9 From Cornelius Weig 2007-03-05 02:07:01 0000 -------
Created an attachment (id=112132) [details]
config.log for foomatic-filters

ähem.. sorry, my first filed bug..

------- Comment #10 From Cornelius Weig 2007-03-05 02:11:36 0000 -------
requested file added

------- Comment #11 From David Barnett 2007-03-05 17:18:38 0000 -------
I get the same error and have CUPS installed and USE="cups".  foomatic-filters
says it can't find CUPS TEXTTOPS.  Maybe this should be a separate bug since
the issue here is disabling checks for CUPS when USE="-cups", whereas my issue
is that the checks themselves don't seem to work right.  cups-1.2.6
foomatic-filters-3.0.20060720 /usr/libexec/cups/filter/texttops

------- Comment #12 From Cornelius Weig 2007-03-05 18:12:10 0000 -------
@david: you might also want to add your
/var/tmp/portage/net-print/foomatic-filters-3.0.20060720/work/foomatic-filters-3.0-20060720/config.log
and 
emerge --info

------- Comment #13 From David Barnett 2007-03-06 15:55:13 0000 -------
Created an attachment (id=112292) [details]
David's config.log

------- Comment #14 From David Barnett 2007-03-06 15:58:07 0000 -------
$ emerge --info Portage 2.1.2-r9 (default-linux/x86/2006.1/desktop, gcc-4.1.1,
glibc-2.5-r0, 2.6.18-gentoo-r6 i686)
================================================================= System uname:
2.6.18-gentoo-r6 i686 Celeron (Mendocino) Gentoo Base System release 1.12.9
Timestamp of tree: Mon, 05 Mar 2007 21:00:03 +0000 distcc 2.18.3
i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] ccache
version 2.4 [enabled] dev-lang/python:     2.3.5-r3, 2.4.3-r4
dev-python/pycrypto: 2.0.1-r5 dev-util/ccache:     2.4-r6 sys-apps/sandbox:   
1.2.17 sys-devel/autoconf:  2.13, 2.61 sys-devel/automake:  1.4_p6, 1.5, 1.6.3,
1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.14 sys-devel/libtool:   1.5.22 virtual/os-headers: 
2.6.17-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=i686 -O2" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc
/usr/share/X11/xkb" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf
/etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-march=i686 -O2"
DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distcc distlocks
metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/linux/distributions/gentoo" LINGUAS="en"
MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive
--links --safe-links --perms --times --compress --force --whole-file --delete
--delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local
--exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X alsa bash-completion
berkdb bitmap-fonts bzip2 cairo cdr cli cracklib crypt dbus dri dvd dvdr emboss
encode fam fortran gdbm gif gpm gstreamer gtk hal iconv isdnlog jpeg ldap
libg++ midi mp3 mpeg ncurses nls nptl nptlonly ogg opengl pam pcre perl png
ppds pppd python quicktime readline reflection sdl session spell spl ssl tcpd
truetype truetype-fonts type1-fonts unicode win32codecs x86 xml xorg xv zlib"
ALSA_CARDS="emu10k1" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop
empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi
null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard
mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216
lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="mach64
vesa vga" Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL,
LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS

------- Comment #15 From David Barnett 2007-03-06 16:02:14 0000 -------
Sorry about the formatting on the emerge --info...looks like Links does pasting
weird.  I don't know if it's related, but foomatic-filters tried to install as
a dependency when I did "emerge -va1 tiff cups" and now I can't find anything
that depends or PDEPENDs on it.  I even tried "emerge -vpet tiff cups".

------- Comment #16 From Stefan Schweizer 2007-04-07 12:17:56 0000 -------
thank you, I fixed this properly:

Index: foomatic-filters-3.0.20060720.ebuild
===================================================================
RCS file:
/var/cvsroot/gentoo-x86/net-print/foomatic-filters/foomatic-filters-3.0.20060720.ebuild,v
retrieving revision 1.15
diff -u -b -B -r1.15 foomatic-filters-3.0.20060720.ebuild
--- foomatic-filters-3.0.20060720.ebuild        19 Feb 2007 21:37:57 -0000     
1.15
+++ foomatic-filters-3.0.20060720.ebuild        7 Apr 2007 12:16:23 -0000
@@ -16,13 +16,14 @@
 IUSE="cups"

 RDEPEND="cups? ( >=net-print/cups-1.1.19 )
-       dev-lang/perl
+       !cups? (
        || (
                app-text/enscript
-               net-print/cups
                app-text/a2ps
                app-text/mpage
        )
+       )
+       dev-lang/perl
        virtual/ghostscript"
 DEPEND="${RDEPEND}"

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug