Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 366827 - dev-util/codeblocks-9999 now depends on gamin
Summary: dev-util/codeblocks-9999 now depends on gamin
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal major (vote)
Assignee: Gentoo wxWidgets project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-11 06:32 UTC by Sven Eden
Modified: 2011-07-12 00:05 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 Sven Eden 2011-05-11 06:32:50 UTC
The live version of Code::Blocks currently fails in configure stage if gamin is not installed.

I have installed dev-libs/libgamin-0.1.10-r2 an sufficient for the configure script to be happy.

I reckon it is an RDEPEND as it is a library that won't be linked statically, as all Code::Blocks Modules are built with libtool. But I have not looked deeper into this.
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2011-05-12 23:13:35 UTC
Is that virtual/fam, i.e. does it require gamin or is app-admin/fam all right as well?
Comment 2 Sven Eden 2011-05-13 17:00:02 UTC
I tried with libgamin, not the meta.
Unfortunately I have no access to the computer where the problem suddenly appeared until Monday.
Comment 3 Sven Eden 2011-05-13 17:15:48 UTC
Damn! Submitted "prematurely".

However, I took a look into the trunk, and it seems to simply look via PKG_CHECK_MODULES([GAMIN], [gamin])

This seems to result in a part in the configure script setting cflags and libs via:
pkg-config --cflags "gamin" ; and
pkg-config --libs "gamin"

Error testing is done with pkg-config as well, so if app-admin/fam results in a "gamin" pkg-config entry, I daresay it works.

I will try and report back.
Comment 4 Sven Eden 2011-05-13 17:24:41 UTC
No, it does not work with app-admin/fam:

-------------------------------
checking for GAMIN... no
configure: error: Package requirements (gamin) were not met:

No package 'gamin' 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 GAMIN_CFLAGS
and GAMIN_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
-------------------------------
Comment 5 Ryan Hill (RETIRED) gentoo-dev 2011-07-12 00:05:50 UTC
It's required at build time so it's a DEPEND.

Added, thanks for the report.

http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/codeblocks/codeblocks-9999.ebuild?r1=1.1&r2=1.2