Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 387811 - dev-libs/glib-2.30.0 : add dev-util/pkgconfig in DEPEND
Summary: dev-libs/glib-2.30.0 : add dev-util/pkgconfig in DEPEND
Status: RESOLVED DUPLICATE of bug 385561
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: autodep
  Show dependency tree
 
Reported: 2011-10-20 09:33 UTC by bay
Modified: 2012-05-10 11:52 UTC (History)
0 users

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


Attachments
Build log (glib.txt,7.87 KB, text/plain)
2011-10-20 09:33 UTC, bay
Details

Note You need to log in before you can comment on or make changes to this bug.
Description bay 2011-10-20 09:33:03 UTC
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
Comment 1 Mart Raudsepp gentoo-dev 2011-10-20 15:01:07 UTC
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.
Comment 2 bay 2011-10-20 20:30:31 UTC
I agree, this bug is invalid, sorry. Will check an ebuild before reporting bugs.
Comment 3 Pacho Ramos gentoo-dev 2011-10-20 20:31:40 UTC
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
Comment 4 bay 2011-10-20 21:17:25 UTC
exactly!
Comment 5 Samuli Suominen (RETIRED) gentoo-dev 2012-05-10 11:52:06 UTC

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