Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 469980

Summary: net-print/cups-filters USE=-zerconf - /etc/init.d/cups-browsed has "need avahi-daemon"
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: [OLD] PrintingAssignee: Printing Team <printing>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Toralf Förster gentoo-dev 2013-05-15 18:10:10 UTC
got it at an unstable gentoo x86 while restarting apache2

n22unst4 /etc/init.d # emerge --info cups
WARNING: One or more repositories have been ignored due to duplicate
  profiles/repo_name entries:

  /, x-portage, /usr/local/portage overrides
    /usr/portage

  All profiles/repo_name entries must be unique in order to avoid having
  duplicates ignored. Set PORTAGE_REPO_DUPLICATE_WARN="0" in
  /etc/make.conf if you would like to disable this warning.


Portage 2.1.11.63 (unavailable, gcc-4.8.0, glibc-2.17, 3.10.0-rc1-00122-g0e9d8bc i686)
=================================================================
                        System Settings
=================================================================
System uname: Linux-3.10.0-rc1-00122-g0e9d8bc-i686-UML-with-gentoo-2.2
KiB Mem:     2055292 total,   1884640 free
KiB Swap:     262140 total,    262140 free
Timestamp of tree: Unknown
ld GNU ld (GNU Binutils) 2.23.1
dev-lang/python:          2.7.4::gentoo, 3.2.4::gentoo
sys-devel/autoconf:       2.69::gentoo
sys-devel/automake:       1.13.1::gentoo
sys-devel/binutils:       2.23.1::gentoo
sys-devel/libtool:        2.4.2::gentoo
sys-kernel/linux-headers: 3.9::gentoo (virtual/os-headers)
Repositories: x-portage
ACCEPT_KEYWORDS="~x86"
ACCEPT_LICENSE="* -@EULA"
CFLAGS="-O2 -march=native -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gentoo-release /etc/php/apache2-php5.5/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cli-php5.5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=native -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--autounmask=n --keep-going=y --nospinner --tree --quiet-build --deep"
FEATURES="assume-digests binpkg-logs compress-build-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict test test-fail-continue unknown-features-warn unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/local/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="apache2 cups fam fastbuild gmp logrotate mmx mysql mysqli sse sse2 sse3 ssse3 threads userlocales webmail xml"
Unset:  PORTAGE_BUNZIP2_COMMAND

=================================================================
                        Package Settings
=================================================================

net-print/cups-1.6.2-r5 was built with the following:
USE="acl filters pam ssl threads -X -dbus -debug -elibc_FreeBSD -gnutls -java -kerberos -linguas_ca -linguas_es -linguas_fr -linguas_ja -linguas_ru -lprng-compat -python -selinux -static-libs -usb -xinetd -zeroconf"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2013-05-16 14:42:24 UTC
1) Please post your `emerge -vpq net-print/cups-filters' output in a comment.
2) Please post the entire output of the command in a comment.
Comment 2 Toralf Förster gentoo-dev 2013-05-16 15:33:18 UTC
(In reply to comment #1)
> 1) Please post your `emerge -vpq net-print/cups-filters' output in a comment.
n22 ~ # emerge -vpq net-print/cups-filters
[ebuild   R   ] net-print/cups-filters-1.0.34  USE="-jpeg -perl -png -static-libs -tiff -zeroconf"




> 2) Please post the entire output of the command in a comment.
Erm, what ?
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2013-05-16 15:37:44 UTC
The ebuild should neatly sed that out, which is why I asked for the command (presumable /etc/init.d/cups-browsed) output.
Comment 4 Toralf Förster gentoo-dev 2013-05-16 16:08:03 UTC
(In reply to comment #3)
> The ebuild should neatly sed that out, which is why I asked for the command
> (presumable /etc/init.d/cups-browsed) output.

Hhnm, in the mean while I restarted that (virtual) image and now I cannot reproduce it again.

Apache restart works fine:

$> /etc/init.d/apache2 restart
 * Stopping apache2 ...                                   [ ok ]
 * Starting apache2 ...                                   [ ok ]

, and this just gives :

$> /etc/init.d/cups-browsed restart
 * ERROR: cups-browsed needs service(s) avahi-daemon
Comment 5 Andreas K. Hüttel archtester gentoo-dev 2013-05-16 17:48:45 UTC
already fixed in 1.0.34-r1

*** This bug has been marked as a duplicate of bug 469930 ***