Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 453110 - www-client/epiphany-3.6.1: "Package 'avahi-client', required by 'avahi-gobject', not found" on configure state
Summary: www-client/epiphany-3.6.1: "Package 'avahi-client', required by 'avahi-gobjec...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2013-01-20 11:01 UTC by renesanso
Modified: 2013-01-20 22:57 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description renesanso 2013-01-20 11:01:02 UTC
It is very strange, because I set USE -avahi globally.
I think problem is in configure or in ebuild, that can not fully disable avahi.

Reproducible: Always

Steps to Reproduce:
1. emerge =www-client/epiphany-3.6.1 on system with global -avahi global USE. I don't try to merge it on systems with avahi USE.




localhost test # cat /var/tmp/portage/www-client/epiphany-3.6.1/temp/build.log
 * Package:    www-client/epiphany-3.6.1
 * Repository: gentoo
 * Maintainer: gnome@gentoo.org
 * USE:        amd64 elibc_glibc introspection jit kernel_linux nss userland_GNU
 * FEATURES:   preserve-libs sandbox
 * Applying epiphany-3.3.90-paxctl-introspection.patch ...
 [ ok ]
 * Running eautoreconf in '/var/tmp/portage/www-client/epiphany-3.6.1/work/epiphany-3.6.1' ...
 * Running glib-gettextize --copy --force ...
 [ ok ]
 * Running intltoolize --automake --copy --force ...
 [ ok ]
 * Running gtkdocize --copy ...
 [ ok ]
 * Running libtoolize --install --copy --force --automake ...
 [ ok ]
 * Running aclocal -I m4 ...
 [ ok ]
 * Running autoconf ...
 [ ok ]
 * Running autoheader ...
 [ ok ]
 * Running automake --add-missing --copy --foreign ...
 [ ok ]
 * Running elibtoolize in: epiphany-3.6.1/
 *   Applying portage/1.2.0 patch ...
 *   Applying sed/1.5.6 patch ...
 *   Applying as-needed/2.4.2 patch ...
 * Fixing OMF Makefiles ...
 [ ok ]
 * Disabling deprecation warnings ...
 [ ok ]
configure: loading site script /usr/share/config.site
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking how to create a ustar tar archive... gnutar
checking whether make supports nested variables... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking how to print strings... printf
checking for style of include used by make... GNU
checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes
checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed
checking dependency style of x86_64-pc-linux-gnu-gcc... none
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by x86_64-pc-linux-gnu-gcc... /usr/x86_64-pc-linux-gnu/bin/ld
checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/x86_64-pc-linux-gnu/bin/ld option to reload object files... -r
checking for x86_64-pc-linux-gnu-objdump... x86_64-pc-linux-gnu-objdump
checking how to recognize dependent libraries... pass_all
checking for x86_64-pc-linux-gnu-dlltool... no
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for x86_64-pc-linux-gnu-ar... x86_64-pc-linux-gnu-ar
checking for archiver @FILE support... @
checking for x86_64-pc-linux-gnu-strip... x86_64-pc-linux-gnu-strip
checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib
checking command to parse /usr/bin/nm -B output from x86_64-pc-linux-gnu-gcc object... ok
checking for sysroot... no
checking for x86_64-pc-linux-gnu-mt... no
checking for mt... no
checking if : is a manifest tool... no
checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if x86_64-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no
checking for x86_64-pc-linux-gnu-gcc option to produce PIC... -fPIC -DPIC
checking if x86_64-pc-linux-gnu-gcc PIC flag -fPIC -DPIC works... yes
checking if x86_64-pc-linux-gnu-gcc static flag -static works... yes
checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... yes
checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... (cached) yes
checking whether the x86_64-pc-linux-gnu-gcc linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for shl_load... no
checking for shl_load in -ldld... no
checking for dlopen... no
checking for dlopen in -ldl... yes
checking whether a program can dlopen itself... yes
checking whether a statically linked program can dlopen itself... no
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for library containing strerror... none required
checking for x86_64-pc-linux-gnu-gcc... (cached) x86_64-pc-linux-gnu-gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether x86_64-pc-linux-gnu-gcc accepts -g... (cached) yes
checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... (cached) none needed
checking dependency style of x86_64-pc-linux-gnu-gcc... (cached) none
checking for x86_64-pc-linux-gnu-gcc... (cached) x86_64-pc-linux-gnu-gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether x86_64-pc-linux-gnu-gcc accepts -g... (cached) yes
checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... (cached) none needed
checking dependency style of x86_64-pc-linux-gnu-gcc... (cached) none
checking for ANSI C header files... (cached) yes
checking for glib-genmarshal... /usr/bin/glib-genmarshal
checking for glib-mkenums... /usr/bin/glib-mkenums
checking whether NLS is requested... yes
checking for intltool >= 0.50.0... 0.50.2 found
checking for intltool-update... /usr/bin/intltool-update
checking for intltool-merge... /usr/bin/intltool-merge
checking for intltool-extract... /usr/bin/intltool-extract
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/gmsgfmt
checking for perl... /usr/bin/perl
checking for perl >= 5.8.1... 5.16.1
checking for XML::Parser... ok
checking for x86_64-pc-linux-gnu-pkg-config... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.16... yes
checking for x86_64-pc-linux-gnu-pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking whether gcc understands -Wno-sign-compare... yes
checking what warning flags to pass to the C compiler... -Wall -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-sign-compare
checking what language compliance flags to pass to the C compiler... 
checking whether to build with code coverage support... no
checking whether to build tests... no
checking for DEPENDENCIES... no
configure: error: Package requirements (
                  glib-2.0 >= 2.31.2
                  gmodule-2.0
                  gthread-2.0
                  gio-unix-2.0 >= 2.31.2
                  gtk+-3.0 >= 3.5.2
                  gtk+-unix-print-3.0 >= 3.5.2
                  x11
                  libxml-2.0 >= 2.6.12
                  libxslt >= 1.1.7
                  webkitgtk-3.0 >= 1.9.6
                  libsoup-gnome-2.4 >= 2.39.6
                  gnome-desktop-3.0 >= 2.91.2
                  gnome-keyring-1 >= 2.26.0
                  gsettings-desktop-schemas >= 0.0.1
                  libnotify >= 0.5.1
                  sqlite3
                  gcr-3 >= 3.5.5
                  avahi-gobject >= 0.6.22
                  avahi-client >= 0.6.22
                  ) were not met:

Package avahi-client was not found in the pkg-config search path.
Perhaps you should add the directory containing `avahi-client.pc'
to the PKG_CONFIG_PATH environment variable
Package 'avahi-client', required by 'avahi-gobject', not found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables DEPENDENCIES_CFLAGS
and DEPENDENCIES_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/www-client/epiphany-3.6.1/work/epiphany-3.6.1/config.log
 * ERROR: www-client/epiphany-3.6.1 failed (configure phase):
 *   econf failed
 * 
 * Call stack:
 *          ebuild.sh, line   93:  Called src_configure
 *        environment, line 3555:  Called gnome2_src_configure
 *        environment, line 2689:  Called econf '--disable-schemas-compile' '--disable-maintainer-mode' '--disable-gtk-doc' '--enable-shared' '--disable-static' '--with-distributor-name=Gentoo' '--enable-introspection' '--enable-nss' '--disable-tests'
 *   phase-helpers.sh, line  511:  Called die
 * The specific snippet of code:
 *                      die "econf failed"
 * 
 * If you need support, post the output of `emerge --info '=www-client/epiphany-3.6.1'`,
 * the complete build log and the output of `emerge -pqv '=www-client/epiphany-3.6.1'`.
 * The complete build log is located at '/var/tmp/portage/www-client/epiphany-3.6.1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/www-client/epiphany-3.6.1/temp/environment'.
 * Working directory: '/var/tmp/portage/www-client/epiphany-3.6.1/work/epiphany-3.6.1'
 * S: '/var/tmp/portage/www-client/epiphany-3.6.1/work/epiphany-3.6.1'
Comment 1 Gilles Dartiguelongue (RETIRED) gentoo-dev 2013-01-20 11:13:48 UTC
epiphany needs avahi as stated in its dependencies. If you masked avahi or used other tricks such as package.provided, this will obviously not work.

Do you have avahi installed ? If yes with what cflags ?
Comment 2 renesanso 2013-01-20 12:20:23 UTC
I is not a trick. I use it to prevent security issues.

Yes, have, because some ebuilds hardly need it.


[I] net-dns/avahi
     Available versions:  0.6.30-r1 0.6.30-r3 (~)0.6.30-r4[3] (~)0.6.31 {autoipd bookmarks dbus doc gdbm gtk gtk3 howl-compat +introspection ipv6 mdnsresponder-compat mono python qt4 test utils KERNEL="linux"}
     Installed versions:  0.6.31(06:26:36 17.01.2013)(gdbm gtk gtk3 introspection qt4 -autoipd -bookmarks -dbus -doc -howl-compat -ipv6 -mdnsresponder-compat -mono -python -test -utils KERNEL="linux")
     Homepage:            http://avahi.org/
     Description:         System which facilitates service discovery on a local network
Comment 3 Gilles Dartiguelongue (RETIRED) gentoo-dev 2013-01-20 15:05:32 UTC
Does it work if you rebuild avahi with USE=dbus ?
Comment 4 renesanso 2013-01-20 19:52:12 UTC
Yes, worked in this way. But is there way to build epiphany fully without avahi?
Comment 5 Gilles Dartiguelongue (RETIRED) gentoo-dev 2013-01-20 22:57:31 UTC
+  20 Jan 2013; Gilles Dartiguelongue <eva@gentoo.org> -epiphany-3.4.3.ebuild,
+  epiphany-3.6.1.ebuild, +files/epiphany-3.6.1-test-gwarning.patch:
+  Requires avahi[dbus], bug #453110. Fix some testsuite issues.
+
epiphany upstream did not make this optional and since dbus is almost
mandatory for any gnome application nowadays, this is not something we would
work on making optional either.

Thanks for reporting.