Created attachment 290319 [details] Build log Package dev-libs/glib-2.30.0 cannot be compiled without dev-util/pkgconfig. The error is: configure: error: The pkg-config script could not be found or is too old. Make sure it is in your PATH or set the PKG_CONFIG environment variable to the full path to pkg-config. Alternatively, you may set the environment variables LIBFFI_CFLAGS and LIBFFI_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. To get pkg-config, see <http://pkg-config.freedesktop.org/>. See `config.log' for more details Please add dev-util/pkgconfigas a buildtime dependency of dev-libs/glib-2.30.0
We can't. pkg-config in turn depends on glib. However, the ebuild has code to pass said LIBFFI_LIBS and co if you don't have pkgconfig installed, so it ought to work.
I agree, this bug is invalid, sorry. Will check an ebuild before reporting bugs.
This is probably caused by pkgconfig not being accessible by "autodep" tool but it's still installed in your system and, then: if ! has_version dev-util/pkgconfig; then if has_version sys-apps/dbus; then export DBUS1_CFLAGS="-I/usr/include/dbus-1.0 -I/usr/$(get_libdir)/dbus-1.0/include" export DBUS1_LIBS="-ldbus-1" fi export LIBFFI_CFLAGS="-I$(echo /usr/$(get_libdir)/libffi-*/include)" export LIBFFI_LIBS="-lffi" fi Doesn't do the trick for you
exactly!
*** This bug has been marked as a duplicate of bug 385561 ***