Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 83107 - stable imlib2 produces broken imlib2.pc
Summary: stable imlib2 produces broken imlib2.pc
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: SpanKY
URL:
Whiteboard:
Keywords:
: 122245 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-02-23 14:04 UTC by Heath H Holcomb
Modified: 2006-02-09 15:51 UTC (History)
4 users (show)

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


Attachments
The config.log file for the failed ebuild (config.log,63.43 KB, text/plain)
2005-02-23 14:05 UTC, Heath H Holcomb
Details
my "emege info" (emerge_info.txt,2.52 KB, text/plain)
2005-02-23 15:06 UTC, Heath H Holcomb
Details
emerge enlightenment-0.16.9999 >& log (enlightenment-0.16.9999-emerge_log.txt,15.43 KB, text/plain)
2005-02-23 15:23 UTC, Heath H Holcomb
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Heath H Holcomb 2005-02-23 14:04:17 UTC
When trying to emerge enlightenment-0.16.9999 it fails give this error:

checking for pkg-config... /usr/bin/pkg-config
checking for imlib2 >= 1.2.0... Package @requirements@ was not found in the pkg-config search path.
Perhaps you should add the directory containing `@requirements@.pc'
to the PKG_CONFIG_PATH environment variable
Package '@requirements@', required by 'imlib2', not found

configure: error: Library requirements (imlib2 >= 1.2.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.

!!! Please attach the config.log to your bug report:
!!! /var/tmp/portage/enlightenment-0.16.9999/work/e16/e/config.log
Comment 1 Heath H Holcomb 2005-02-23 14:05:07 UTC
Created attachment 51986 [details]
The config.log file for the failed ebuild
Comment 2 SpanKY gentoo-dev 2005-02-23 14:57:15 UTC
you neglected to post `emerge info`

if configure has '@requirements@' it means the autotools werent run correctly
Comment 3 Heath H Holcomb 2005-02-23 15:06:58 UTC
Created attachment 51989 [details]
my "emege info"
Comment 4 SpanKY gentoo-dev 2005-02-23 15:11:32 UTC
try posting the log from `emerge enlightenment >& log`
Comment 5 Heath H Holcomb 2005-02-23 15:23:41 UTC
Created attachment 51993 [details]
emerge enlightenment-0.16.9999 >& log
Comment 6 SpanKY gentoo-dev 2005-02-23 15:29:33 UTC
you could try maybe `export WANT_AUTOMAKE=1.9 WANT_AUTOCONF=2.5` and see if that helps
Comment 7 Heath H Holcomb 2005-02-23 18:20:54 UTC
I tried `export WANT_AUTOMAKE=1.9 WANT_AUTOCONF=2.5` and I get the same error when trying to emerge.
Comment 8 Lloyd Sargent 2005-02-24 08:49:26 UTC
Me too.

checking where the gettext function comes from... libc
Sound support has been turned off, per the --enable-sound=no
passed to your configure line.
checking for pkg-config... /usr/bin/pkg-config
checking for imlib2 >= 1.2.0... Package imlib2 was not found in the pkg-config search path.
Perhaps you should add the directory containing `imlib2.pc'
to the PKG_CONFIG_PATH environment variable
No package 'imlib2' found

configure: error: Library requirements (imlib2 >= 1.2.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.

!!! ERROR: x11-wm/enlightenment-0.16.9999 failed.
!!! Function econf, Line 449, Exitcode 1
!!! econf failed
!!! If you need support, post the topmost build error, NOT this status message.

Comment 9 SpanKY gentoo-dev 2005-02-24 10:18:20 UTC
what version of imlib2 do you guys have ?  do you have imlib2.pc in /usr/lib/pkgconfig/
Comment 10 Heath H Holcomb 2005-02-24 10:27:20 UTC
I have : 

imlib2-1.2.0-r1
Comment 11 Lloyd Sargent 2005-02-24 10:40:40 UTC
Okay, here's the deal. I don't have imlib2 in my system. It appears as if your emerge assumes it is there.

So I then emerged imlib2 into my system.... Okay, all nicely merged with no errors. It is the version imlib2-1.2.0-r1...

Now when I try to build I get:

checking for imlib2 >= 1.2.0... Package @requirements@ was not found in the pkg-config search path.
Perhaps you should add the directory containing `@requirements@.pc'
to the PKG_CONFIG_PATH environment variable
Package '@requirements@', required by 'imlib2', not found

configure: error: Library requirements (imlib2 >= 1.2.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.

!!! ERROR: x11-wm/enlightenment-0.16.9999 failed.

Same problem, different route.
Comment 12 SpanKY gentoo-dev 2005-02-24 11:47:02 UTC
seems imlib2-1.2.0-r1 produces a .pc file with '@requirements@' in it ... the unstable/cvs versions have this fixed
Comment 13 Heath H Holcomb 2005-02-24 12:43:15 UTC
Is "the unstable/cvs version" of imlib2 in portage?

imlib2-9999.ebuild ?
or
imlib2-1.2.0.20050220.ebuild ?
Comment 14 Peter Hyman 2005-02-24 14:43:22 UTC
I just edited /usr/lib/pkgconfig/imlib2.pc to remove

-Requires: @requirements@
+Requires: 

Don't know where it came from, but it fixed it.
Comment 15 SpanKY gentoo-dev 2005-02-28 16:01:25 UTC
fixed in imlib2-1.2.0-r2
Comment 16 Peter Penkala gentoo-dev 2005-09-18 22:49:56 UTC
Don't know if this is relevant to the "fixed in imlib2-1.2.0-r2" comment, but
re-emerging that version doesn't fix the existing /usr/lib/pkgconfig/imlib2.pc
if it contains the @requirements@ error.
Comment 17 SpanKY gentoo-dev 2006-02-09 07:37:27 UTC
*** Bug 122245 has been marked as a duplicate of this bug. ***
Comment 18 Torsten Kaiser 2006-02-09 12:56:35 UTC
As seen in Bug 122245 and its two duplicates this is broken again.
I have two systems, one x86 which upgraded enlightenment without trouble, but the second, an amd64 failed with the @requirements@ bug.

The cause is, that the ebuild contains:
dosed "s:@requirements@::" /usr/lib/pkgconfig/imlib2.pc

But on amd64 imlib2.pc is installed into /usr/lib64 so I still get a broken .pc file.
Comment 19 SpanKY gentoo-dev 2006-02-09 15:51:10 UTC
> As seen in Bug 122245 and its two duplicates this is broken again.

no, it was never fixed properly in the first place

ive committed the fix to 1.2.0 and will move a newer snapshot to stable