Openembedded Devel Discussions
 help / color / mirror / Atom feed
From: Martin Jansa <martin.jansa@gmail.com>
To: openembedded-devel@lists.openembedded.org
Subject: Re: [meta-oe][PATCH] cyrus-sasl2: add 2.1.26
Date: Mon, 18 Feb 2013 23:55:08 +0100	[thread overview]
Message-ID: <20130218225508.GK3300@jama> (raw)
In-Reply-To: <1360343179-29346-1-git-send-email-marcin.juszkiewicz@linaro.org>

[-- Attachment #1: Type: text/plain, Size: 4517 bytes --]

On Fri, Feb 08, 2013 at 06:06:19PM +0100, Marcin Juszkiewicz wrote:
> I took recipe from OE classic, updated, cleaned and got it build. I use
> it only as build dependency - did not checked binaries from ${PN}-bin.
> 
> There are RPATH problems to solve:
> 
> WARNING: QA Issue: package cyrus-sasl-bin contains bad RPATH
> /home/hrw/HDD/devel/canonical/aarch64/openembedded/build/tmp-eglibc/sysroots/genericarmv8/usr/lib
> in file
> /home/hrw/HDD/devel/canonical/aarch64/openembedded/build/tmp-eglibc/work/aarch64-oe-linux/cyrus-sasl/2.1.26-r0/packages-split/cyrus-sasl-bin/usr/sbin/saslpasswd2
> WARNING: QA Issue: package cyrus-sasl-bin contains bad RPATH
> /home/hrw/HDD/devel/canonical/aarch64/openembedded/build/tmp-eglibc/sysroots/genericarmv8/usr/lib
> in file
> /home/hrw/HDD/devel/canonical/aarch64/openembedded/build/tmp-eglibc/work/aarch64-oe-linux/cyrus-sasl/2.1.26-r0/packages-split/cyrus-sasl-bin/usr/sbin/pluginviewer
> WARNING: QA Issue: package cyrus-sasl-bin contains bad RPATH
> /home/hrw/HDD/devel/canonical/aarch64/openembedded/build/tmp-eglibc/sysroots/genericarmv8/usr/lib
> in file
> /home/hrw/HDD/devel/canonical/aarch64/openembedded/build/tmp-eglibc/work/aarch64-oe-linux/cyrus-sasl/2.1.26-r0/packages-split/cyrus-sasl-bin/usr/sbin/sasldblistusers2
> WARNING: QA Issue: package cyrus-sasl contains bad RPATH
> /home/hrw/HDD/devel/canonical/aarch64/openembedded/build/tmp-eglibc/sysroots/genericarmv8/usr/lib
> in file
> /home/hrw/HDD/devel/canonical/aarch64/openembedded/build/tmp-eglibc/work/aarch64-oe-linux/cyrus-sasl/2.1.26-r0/packages-split/cyrus-sasl/usr/lib/sasl2/libsasldb.so.3.0.0

It was building with only those QA warnings before, but now on 2nd build
it fails with fatal error:

| checking for SPNEGO support in GSSAPI libraries... configure: error:
in
`/home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/cyrus-sasl/2.1.26-r0/cyrus-sasl-2.1.26':
| configure: error: cannot run test program while cross compiling
| See `config.log' for more details

> 
> Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
> ---
>  .../cyrus-sasl/cyrus-sasl_2.1.26.bb                | 42 ++++++++++++++++++++++
>  1 file changed, 42 insertions(+)
>  create mode 100644 meta-networking/recipes-daemons/cyrus-sasl/cyrus-sasl_2.1.26.bb
> 
> diff --git a/meta-networking/recipes-daemons/cyrus-sasl/cyrus-sasl_2.1.26.bb b/meta-networking/recipes-daemons/cyrus-sasl/cyrus-sasl_2.1.26.bb
> new file mode 100644
> index 0000000..44336f0
> --- /dev/null
> +++ b/meta-networking/recipes-daemons/cyrus-sasl/cyrus-sasl_2.1.26.bb
> @@ -0,0 +1,42 @@
> +DESCRIPTION = "Generic client/server library for SASL authentication."
> +SECTION = "console/network"
> +DEPENDS = "openssl virtual/db"
> +LICENSE = "BSD"
> +LIC_FILES_CHKSUM = "file://COPYING;md5=3f55e0974e3d6db00ca6f57f2d206396"
> +
> +SRC_URI = "ftp://ftp.cyrusimap.org/cyrus-sasl/cyrus-sasl-${PV}.tar.gz "
> +
> +inherit autotools pkgconfig
> +
> +EXTRA_OECONF += "--with-dblib=berkeley \
> +                 --with-bdb-libdir=${STAGING_LIBDIR} \
> +                 --with-bdb-incdir=${STAGING_INCDIR} \
> +                 --without-pam --without-opie --without-des"
> +
> +do_configure_prepend () {
> +    rm -f acinclude.m4 config/libtool.m4
> +}
> +
> +do_compile_prepend () {
> +    cd include
> +    ${BUILD_CC} ${BUILD_CFLAGS} ${BUILD_LDFLAGS} makemd5.c -o makemd5
> +    touch makemd5.o makemd5.lo makemd5
> +    cd ..
> +}
> +
> +pkg_postinst_${PN}-bin () {
> +    grep cyrus /etc/passwd || adduser --disabled-password --home=/var/spool/mail --ingroup mail -g "Cyrus sasl" cyrus
> +    echo "cyrus" | saslpasswd2 -p -c cyrus
> +    chgrp mail /etc/sasldb2
> +}
> +
> +SRC_URI[md5sum] = "a7f4e5e559a0e37b3ffc438c9456e425"
> +SRC_URI[sha256sum] = "8fbc5136512b59bb793657f36fadda6359cae3b08f01fd16b3d406f1345b7bc3"
> +
> +PACKAGES =+ "${PN}-bin"
> +
> +FILES_${PN}           += "${libdir}/sasl2/*.so.*"
> +FILES_${PN}-bin       += "${bindir}"
> +FILES_${PN}-dev       += "${libdir}/sasl2/*.so ${libdir}/sasl2/*.la"
> +FILES_${PN}-dbg       += "${libdir}/sasl2/.debug"
> +FILES_${PN}-staticdev += "${libdir}/sasl2/*.a"
> -- 
> 1.8.0
> 
> 
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]

      parent reply	other threads:[~2013-02-18 23:11 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-07 10:50 Some recipes from my work on HipHopVM Marcin Juszkiewicz
2013-02-07 10:50 ` [meta-oe][PATCH 1/8] google-glog: added svn version Marcin Juszkiewicz
2013-02-16  5:18   ` Martin Jansa
2013-02-07 10:50 ` [meta-oe][PATCH 2/8] tbb: add 4.1-20121003 version with preliminary AArch64 support Marcin Juszkiewicz
2013-02-16  5:16   ` Martin Jansa
2013-02-07 10:50 ` [meta-oe][PATCH 3/8] oniguruma: add 5.9.3 version Marcin Juszkiewicz
2013-02-07 10:50 ` [meta-oe][PATCH 4/8] memcached: add 1.4.15 Marcin Juszkiewicz
2013-02-18 22:52   ` Martin Jansa
2013-04-23  8:43     ` [meta-oe][PATCH v2] " Marcin Juszkiewicz
2013-02-07 10:51 ` [meta-oe][PATCH 5/8] libunwind: add 1.1 with preliminary aarch64 patch Marcin Juszkiewicz
2013-02-16  5:21   ` Martin Jansa
2013-02-18  9:08     ` Marcin Juszkiewicz
2013-02-07 10:51 ` [meta-oe][PATCH 6/8] libmemcached: add 1.0.15 and 1.0.7 versions Marcin Juszkiewicz
2013-02-15  7:11   ` Martin Jansa
2013-02-15 11:46     ` [meta-oe][PATCH] " Marcin Juszkiewicz
2013-02-15 21:40       ` Martin Jansa
2013-02-18  7:52         ` [meta-oe][PATCH 8/8] " Marcin Juszkiewicz
2013-04-23  8:44           ` [meta-oe][PATCH v5] " Marcin Juszkiewicz
2013-02-07 10:51 ` [meta-oe][PATCH 7/8] libmemcrypt: add 2.5.8 Marcin Juszkiewicz
2013-02-16  5:17   ` Martin Jansa
2013-02-07 10:51 ` [meta-oe][PATCH 8/8] google-perftools: add 2.0 Marcin Juszkiewicz
2013-02-16  5:23   ` Martin Jansa
2013-02-19  4:09     ` Martin Jansa
2013-02-25 10:55       ` [meta-oe][PATCH] gperftools: " Marcin Juszkiewicz
2013-02-08  9:34 ` Some recipes from my work on HipHopVM Paul Eggleton
2013-02-08 17:16   ` [meta-oe][PATCH 6/8] libmemcached: add 1.0.15 and 1.0.7 versions Marcin Juszkiewicz
2013-02-08 17:16     ` [meta-oe][PATCH 4/8] memcached: add 1.4.15 Marcin Juszkiewicz
2013-02-24  7:53       ` Khem Raj
2013-02-08 17:06 ` [meta-oe][PATCH] cyrus-sasl2: add 2.1.26 Marcin Juszkiewicz
2013-02-08 17:13   ` Paul Eggleton
2013-02-08 17:27     ` Marcin Juszkiewicz
2013-02-18 22:55   ` Martin Jansa [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20130218225508.GK3300@jama \
    --to=martin.jansa@gmail.com \
    --cc=openembedded-devel@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox