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

Bug 387725

Summary: app-admin/gam-server-0.1.10 : add dev-util/pkgconfig in DEPEND
Product: Gentoo Linux Reporter: bay <alex3255>
Component: Current packagesAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: RESOLVED INVALID    
Severity: normal CC: kde, xfce
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Build log

Description bay 2011-10-19 19:27:25 UTC
Created attachment 290265 [details]
Build log

Package app-admin/gam-server-0.1.10 doesn't build without dev-util/pkgconfig/

The error is:
configure: error: in `/var/tmp/portage/app-admin/gam-server-0.1.10/work/gamin-0.1.10':
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 DAEMON_CFLAGS
and DAEMON_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/pkgconfig as a buildtime dep of app-admin/gam-server-0.1.10.
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2011-10-20 15:36:45 UTC
(In reply to comment #0)
> Created attachment 290265 [details]
> Build log
> 
> Package app-admin/gam-server-0.1.10 doesn't build without dev-util/pkgconfig/
> 
> The error is:
> configure: error: in
> `/var/tmp/portage/app-admin/gam-server-0.1.10/work/gamin-0.1.10':
> 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 DAEMON_CFLAGS
> and DAEMON_LIBS to avoid the need to call pkg-config.
> See the pkg-config man page for more details.

See above, and then see the gam-server ebuild:

if ! has_version dev-util/pkgconfig; then
export DAEMON_CFLAGS="-I/usr/include/glib-2.0 -I/usr/$(get_libdir)/glib-2.0/include"
export DAEMON_LIBS="-lglib-2.0"
fi

So no pkg-config is required. Works just fine here after 'emerge -C pkgconfig'.
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2011-10-20 17:07:45 UTC
Reopen with the config.log attached if you still think there is a bug.
Comment 3 bay 2011-10-20 20:18:42 UTC
Yes, you are right. Sorry for bothering.