[oe] QA issues with libvmime

Nathan Harris nharris at eoimaging.com
Mon Feb 28 14:17:54 UTC 2011


I am working on a recipe for the VMime library (http://www.vmime.org/).  
My target environment is the Overo (Gumstix).  Currently, bitbake is 
failing during the final QA.  My recipe, patch and bitbake output are 
below.  Hopefully, this error is familiar to someone.  Thanks!

Here's my recipe:

DESCRIPTION = "VMime is a free mail library for C++"
HOMEPAGE = "http://www.vmime.org/"
DEPENDS = "libgsasl gnutls"
PR = "r1"

SRC_URI = "${SOURCEFORGE_MIRROR}/vmime/${PN}-${PV}.tar.bz2"
SRC_URI[md5sum] = "d5b6de44f7f9ca0e4cefe597d1905605"
SRC_URI[sha256sum] = 
"3b66cb76d9bc7da80ef1f271cc29d3a183b5ff8b560ef60e85ff006bffb4d1ae"

SRC_URI += "file://sendmail_disable.patch"

# Older internal Libtool doesn't work
EXTRA_OEMAKE += "LIBTOOL='${HOST_SYS}-libtool'"

#S = ${WORKDIR}/${PN}-${PV}
#EXTRA_OECONF = "--disable-largefile --disable-rpath 
--with-included-readline=no 
--with-libgsasl-prefix=${STAGING_DIR}/${HOST_SYS} --with-gnutls-prefix=$
{STAGING_DIR}/${HOST_SYS}"

inherit scons

Here's my patch which disables sendmail from the build:

--- libvmime-0.9.1/SConstruct.orig      2011-02-24 15:46:44.185617415 -0500
+++ libvmime-0.9.1/SConstruct   2011-02-24 15:38:51.249617495 -0500
@@ -691,7 +691,7 @@
                         Exit(1)

  # Sendmail transport is only available on POSIX platforms
-if os.name != 'posix':
+if os.name == 'posix':
         if IsProtocolSupported(messaging_protocols, 'sendmail'):
                 print "WARNING: ignoring 'sendmail' support (only 
available on POSIX platforms)\n"


Here's the bitbake error:

NOTE: package libvmime-0.9.1-r1: task do_qa_staging: Started
ERROR: QA Issue with staging: vmime.pc failed sanity test (tmpdir) in 
path 
/home/ppeimany/overo-oe/tmp/sysroots/armv7a-angstrom-linux-gnueabi/usr/lib/pkgconfig
FATAL: QA staging was broken by the package built above
ERROR: Error in executing python function in: 
/home/ppeimany/overo-oe/org.openembedded.dev/recipes/libvmime/libvmime_0.9.1.bb
ERROR: Exception:<type 'exceptions.SystemExit'> Message:1
ERROR: Printing the environment of the function
ERROR: Function do_qa_staging failed
ERROR: TaskFailed event exception, aborting
ERROR: Build of 
/home/ppeimany/overo-oe/org.openembedded.dev/recipes/libvmime/libvmime_0.9.1.bb 
do_qa_staging failed
ERROR: QA Issue with staging: vmime.pc failed sanity test (tmpdir) in 
path 
/home/ppeimany/overo-oe/tmp/sysroots/armv7a-angstrom-linux-gnueabi/usr/lib/pkgconfig
ERROR: Task 4 
(/home/ppeimany/overo-oe/org.openembedded.dev/recipes/libvmime/libvmime_0.9.1.bb, 
do_qa_staging) failed with 256
ERROR: 
'/home/ppeimany/overo-oe/org.openembedded.dev/recipes/libvmime/libvmime_0.9.1.bb' 
failed
FATAL: QA staging was broken by the package built above
ERROR: 
'/home/ppeimany/overo-oe/org.openembedded.dev/recipes/libvmime/libvmime_0.9.1.bb' 
failed





More information about the Openembedded-devel mailing list