All of lore.kernel.org
 help / color / mirror / Atom feed
* QA issues with libvmime
@ 2011-02-28 14:17 Nathan Harris
  2011-02-28 18:52 ` Tom Rini
  0 siblings, 1 reply; 7+ messages in thread
From: Nathan Harris @ 2011-02-28 14:17 UTC (permalink / raw)
  To: openembedded-devel

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




^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2011-03-01 19:44 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-28 14:17 QA issues with libvmime Nathan Harris
2011-02-28 18:52 ` Tom Rini
2011-02-28 20:48   ` Nathan Harris
2011-02-28 22:24     ` Khem Raj
2011-03-01 13:51       ` Nathan Harris
2011-03-01 18:59         ` Khem Raj
2011-03-01 19:43           ` Nathan Harris

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.