Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 130606 - xfprint-4.3.90.1 failed to build without cups or lpr USE flag
Summary: xfprint-4.3.90.1 failed to build without cups or lpr USE flag
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: XFCE Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-20 07:16 UTC by Krzysztof Chojnowski
Modified: 2006-07-20 00:54 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
config.log (config.log,59.20 KB, text/plain)
2006-04-20 07:21 UTC, Krzysztof Chojnowski
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Krzysztof Chojnowski 2006-04-20 07:16:21 UTC
New version of xfprint added two use-flags: cups and lpr. Since I don't have a printer i didn't use either of them. Building of xfprint-4.3.90.1 failed at configure stage with:

configure: error: You need to have at least CUPS or BSDLPR in order to use Xfprint

!!! Please attach the following file when filing a report to bugs.gentoo.org:
!!! /var/tmp/portage/xfprint-4.3.90.1/work/xfprint-4.3.90.1/config.log

!!! ERROR: xfce-base/xfprint-4.3.90.1 failed.
Call stack:
  ebuild.sh, line 1532:   Called dyn_compile
  ebuild.sh, line 929:   Called src_compile
  ebuild.sh, line 1242:   Called xfce44_src_compile
  xfce44.eclass, line 104:   Called econf '--disable-cups' '--disable-bsdlpr'
  ebuild.sh, line 527:   Called die

Building with 'cups' flag works without problems.

Is either cups or lpr obligatory even if I'm not using it? (I've installed xfce form xfce-base/xfce4 ebuild which depends on xfprint. Maybe I need to install xfce selecting individual ebuilds, excluding xfprint? If so, it would be nice to add a flag, ie. 'noprinting', to xfce-base/xfce4, to install whole xfce, but without xfprint)
Anyway, if I need to have either cups or lpr, maybe there is a better way to do this? I suggest to add cups (or lpr) as default and leave only the second flag (but it would be a problem if someone wants to add support for both). Maybe the nocups/nolpr flag would be better?
Comment 1 Krzysztof Chojnowski 2006-04-20 07:21:20 UTC
Created attachment 85035 [details]
config.log
Comment 2 Daniel Ostrow (RETIRED) gentoo-dev 2006-04-20 08:29:52 UTC
Yup, I meant to add the printing flag to xfce4 and forgot last night...

I'll also clean up xfprint so it fails if both flags are unset.

Thanks.
Comment 3 Daniel Ostrow (RETIRED) gentoo-dev 2006-07-20 00:54:30 UTC
The build failure has been fixed. I've given the printing flag a bit of thought and I decided not to put it in, I don't like the precident it sets since the same behavior could be asked for for any of the side componenets (think thunar, terminal, etc.) As such I'd just recomend either being more selective or copying the metabuild into an overlay and removing the dep on xfprint. If you can come up with a compelling reason to persuade me otherwise please reopen the bug.

Thanks,

--Dan