Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 354733 - media-libs/mesa missing RDEPEND on x11-proto/dri2proto
Summary: media-libs/mesa missing RDEPEND on x11-proto/dri2proto
Status: RESOLVED DUPLICATE of bug 342393
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-13 14:17 UTC by David Flogeras
Modified: 2011-02-15 15:42 UTC (History)
0 users

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


Attachments
Build log failing to compile against cairo (build.log,62.69 KB, text/plain)
2011-02-13 18:26 UTC, David Flogeras
Details
make V=1 (build_V1.log,12.66 KB, text/plain)
2011-02-13 20:37 UTC, David Flogeras
Details
failed config.log (config.log,324.81 KB, text/plain)
2011-02-13 20:38 UTC, David Flogeras
Details

Note You need to log in before you can comment on or make changes to this bug.
Description David Flogeras 2011-02-13 14:17:37 UTC
For some reason it cannot find the include cairo.h, which is installed in /usr/include/cairo/cairo.h

Cairo's pkg-config --cflags looks like it includes the above dir.

Reproducible: Always
Comment 1 David Flogeras 2011-02-13 14:19:52 UTC
graphviz-gpl fails in a similar fashion now too since the cairo upgrade
Comment 2 Rafał Mużyło 2011-02-13 16:41:53 UTC
Any chance of a build log ?
Comment 3 David Flogeras 2011-02-13 18:26:30 UTC
Created attachment 262375 [details]
Build log failing to compile against cairo

See attached
Comment 4 Rafał Mużyło 2011-02-13 18:48:47 UTC
Attach config.log too and see with V=1 how exactly the failing command looks like.
Comment 5 David Flogeras 2011-02-13 20:37:06 UTC
Created attachment 262379 [details]
make V=1

You can see from make V=1 log, it is not passing the correct -I to find cairo.h
Comment 6 David Flogeras 2011-02-13 20:38:15 UTC
Created attachment 262381 [details]
failed config.log

As requested
Comment 7 Rafał Mużyło 2011-02-13 22:13:13 UTC
I see something strange in your config.log: all (or so it seems) the pkg-config provided _CFLAGS var are empty, though _LIBS seem unaffected.
Comment 8 David Flogeras 2011-02-14 15:57:18 UTC
Anything else I can provide?

The only thing about this system is that it is actually a 32bit chroot installed on a 64bit machine (I use it to build for a small system).  That shouldn't make a difference though.
Comment 9 Rafał Mużyło 2011-02-14 16:22:15 UTC
As I said, check if at least at command line vars are correctly returned.
Now, it's hard to say whether it's the ebuild/package is doing something wrong
or is something about your pkg-config that's broken.
I.e. what does 'pkg-config pangocairo --cflags' return ?
It's strange though that _LIBS seems unaffected.
Comment 10 David Flogeras 2011-02-14 16:39:03 UTC
Ok the output is the following.  I had run emerge -cq --with-bdeps n to clean up before installing on the target.  Is that incorrect to do, or is graphviz supposed to have dri2proto as a DEPEND?:


Package dri2proto was not found in the pkg-config search path.
Perhaps you should add the directory containing `dri2proto.pc'
to the PKG_CONFIG_PATH environment variable
Package 'dri2proto', required by 'egl', not found
Comment 11 Rafał Mużyło 2011-02-14 17:22:43 UTC
I'd say it's yet another proof, that you shouldn't touch x11-protos.
depclean with '--with-bdeps n' was simply asking for trouble.

IMHO, this marks the bug INVALID - YMMV.
Comment 12 David Flogeras 2011-02-14 17:31:44 UTC
It's your call, I'm not the developer :)

So is there a safe way to use --with-bdeps n, or should it be avoided totally?
Comment 13 Samuli Suominen (RETIRED) gentoo-dev 2011-02-15 15:36:24 UTC
x11-proto/dri2proto should be RDEPEND instead of DEPEND in media-libs/mesa for egl.pc so the package doesn't break with depclean

moving to correct maintainers
Comment 14 Chí-Thanh Christopher Nguyễn gentoo-dev 2011-02-15 15:42:16 UTC

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