[oe-issues] [Bug 1073] xfce-utils fails do_compile (-I/usr/include/xfce4)

bugzilla-daemon at tinman.treke.net bugzilla-daemon at tinman.treke.net
Wed Jan 17 00:17:16 UTC 2007


http://bugs.openembedded.org/show_bug.cgi?id=1073





------- Comment #2 from lenehan at twibble.org  2007-01-16 16:17 -------
The issue is caused by XFCE_MCS_MANAGER_CFLAGS containing -I/usr/include/xfce4
This is being picked up from the pkgconfig file for xfce-mcs-manager:

++
/home/lenehan/devel/oe/build/titan-glibc-25/tmp/staging/x86_64-linux/bin/pkg-config
--cflags 'xfce-mcs-manager >= 4.2.0'
+ pkg_cv_XFCE_MCS_MANAGER_CFLAGS='-I/usr/include/xfce4
-I/home/lenehan/devel/oe/build/titan-glibc-25/tmp/staging/sh4-linux/include/xfce4
-I/home/lenehan/devel/oe/build/titan-glibc-25/tmp/staging/sh4-linux/include/gtk-2.0
-I/home/lenehan/devel/oe/build/titan-glibc-25/tmp/staging/sh4-linux/lib/gtk-2.0/include
-I/home/lenehan/devel/oe/build/titan-glibc-25/tmp/staging/sh4-linux/include/pango-1.0
-I/home/lenehan/devel/oe/build/titan-glibc-25/tmp/staging/sh4-linux/include/glib-2.0
-I/home/lenehan/devel/oe/build/titan-glibc-25/tmp/staging/sh4-linux/lib/glib-2.0/include
-I/home/lenehan/devel/oe/build/titan-glibc-25/tmp/staging/sh4-linux/include/cairo
-I/home/lenehan/devel/oe/build/titan-glibc-25/tmp/staging/sh4-linux/include/freetype2
-I/home/lenehan/devel/oe/build/titan-glibc-25/tmp/staging/sh4-linux/include
-I/home/lenehan/devel/oe/build/titan-glibc-25/tmp/staging/sh4-linux/include/libpng12
-I/home/lenehan/devel/oe/build/titan-glibc-25/tmp/staging/sh4-linux/include/atk-1.0
 '

The xfce-mcs-manager manager recipe doesn't use the standard pkgconfig class
because it seems to think that it breaks where xfce searches for modules if you
do that... and therefore these references to /usr/include don't get rewritten.

So it look like this would be fixed by either modifying xfce-mcs-manager to fix
up the .pc file, while making sure that doesn't bust anything else, or
overriding XFCE_MCS_MANAGER_CFLAGS by setting the XFCE_MCS_MANAGER_CFLAGS env
var prior to calling configure:

[OE::sh4-linux-erouter-titan]:~/devel/oe/build/titan-glibc-25/tmp/work/xfce-utils-4.2.2-r1/xfce-utils-4.2.2$
./configure --help `configure' configures this package to adapt to many kinds
of systems.
...
  XFCE_MCS_MANAGER_CFLAGS
              C compiler flags for XFCE_MCS_MANAGER, overriding pkg-config


-- 
Configure bugmail: http://bugs.openembedded.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.




More information about the Openembedded-issues mailing list