[Bug 4572] New: xfce-mcs-manager.pc problem which leads to a QA error

bugzilla-daemon at amethyst.openembedded.net bugzilla-daemon at amethyst.openembedded.net
Mon Sep 22 19:36:08 UTC 2008


http://bugs.openembedded.net/show_bug.cgi?id=4572

           Summary: xfce-mcs-manager.pc problem which leads to a QA error
    Classification: Unclassified
           Product: Openembedded
           Version: unspecified
          Platform: ARM
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: major
          Priority: P3
         Component: org.openembedded.dev
        AssignedTo: openembedded-issues at lists.openembedded.org
        ReportedBy: gregoiregentil at gmail.com


The package xfce-mcs-manager has a problem. In xfce-mcs-manager.inc, there is
this function:

do_stage_append () {
    install -d ${PKG_CONFIG_DIR}
    sed -e 's:${includedir}:${STAGING_INCDIR}:;'
${S}/xfce-mcs-manager/xfce-mcs-manager.pc
>${PKG_CONFIG_DIR}/xfce-mcs-manager.pc
}

In xfce-mcs-manager.pc, this function leads to:
prefix=/usr
exec_prefix=/usr
libdir=/usr/lib
includedir=/OE/build/tmp/staging/arm-angstrom-linux-gnueabi/usr/include

This modification is important because it enables other xfce packages to
compile properly. (I removed the sed but then other packages failed during
compilation).

But then during the QA phase before rootfs, I get the following error:

ERROR: QA Issue: xfce-mcs-manager.pc failed sanity test (tmpdir) in path
/OE/build/tmp/staging/arm-angstrom-linux-gnueabi/usr/lib/pkgconfig
ERROR: QA staging was broken by the package built above

To fix the problem, I need to edit xfce-mcs-manager.pc and put
includedir=/usr/include
which is equivalent to remove the sed above...

How to fix the problem?

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




More information about the Openembedded-issues mailing list