* [meta-oe][PATCH] mongodb: receipe fixed, removed from blacklist and now cross compiles to arm.
@ 2015-09-30 20:50 Johnny Vestergaard
2015-09-30 22:09 ` Martin Jansa
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Johnny Vestergaard @ 2015-09-30 20:50 UTC (permalink / raw)
To: openembedded-devel
Removed the dependencies on system boost.
Signed-off-by: Johnny Vestergaard <jkv@unixcluster.dk>
---
meta-oe/recipes-support/mongodb/mongodb_git.bb | 11 ++++-------
1 file changed, 4 insertions(+), 7 deletions(-)
diff --git a/meta-oe/recipes-support/mongodb/mongodb_git.bb b/meta-oe/recipes-support/mongodb/mongodb_git.bb
index 879fc7c..7348978 100644
--- a/meta-oe/recipes-support/mongodb/mongodb_git.bb
+++ b/meta-oe/recipes-support/mongodb/mongodb_git.bb
@@ -3,7 +3,7 @@ LICENSE = "AGPL-3.0 & Apache-2.0"
LIC_FILES_CHKSUM = "file://GNU-AGPL-3.0.txt;md5=73f1eb20517c55bf9493b7dd6e480788 \
file://APACHE-2.0.txt;md5=3b83ef96387f14655fc854ddc3c6bd57"
-DEPENDS = "openssl libpcre boost libpcap"
+DEPENDS = "glibc openssl libpcre boost libpcap"
# Mongo uses tcmalloc on x86_64, which is provided by gperftools
DEPENDS_append_x86-64 = " gperftools"
@@ -14,7 +14,7 @@ inherit scons
# | scons: *** [build/linux2/disable-scripting/ld_arm-oe-linux-gnueabi-g++/ssl/use-system-boost/use-system-pcre/use-system-tcmalloc/mongo/mongod] Error 1
# | scons: building terminated because of errors.
# | ERROR: scons build execution failed.
-PNBLACKLIST[mongodb] ?= "Fails to build with system boost"
+#PNBLACKLIST[mongodb] ?= "Fails to build with system boost"
PV = "2.6.0+git${SRCPV}"
SRCREV = "be1905c24c7e5ea258e537fbf0d2c502c4fc6de2"
@@ -30,15 +30,12 @@ S = "${WORKDIR}/git"
export OE_TARGET_ARCH="${TARGET_ARCH}"
-EXTRA_OESCONS = "--prefix=${D}${prefix} \
+EXTRA_OESCONS = "sysroot=${STAGING_DIR_TARGET} \
+ --prefix=${D}${prefix} \
--propagate-shell-environment \
--cc-use-shell-environment \
--cxx-use-shell-environment \
- --ld='${TARGET_PREFIX}g++' \
--ssl \
- --use-system-pcre \
- --use-system-boost \
- --use-system-tcmalloc \
--disable-scripting \
--nostrip \
mongod mongos"
--
2.6.0
^ permalink raw reply related [flat|nested] 4+ messages in thread* Re: [meta-oe][PATCH] mongodb: receipe fixed, removed from blacklist and now cross compiles to arm.
2015-09-30 20:50 [meta-oe][PATCH] mongodb: receipe fixed, removed from blacklist and now cross compiles to arm Johnny Vestergaard
@ 2015-09-30 22:09 ` Martin Jansa
2015-10-01 0:47 ` Khem Raj
2015-10-08 10:12 ` Martin Jansa
2 siblings, 0 replies; 4+ messages in thread
From: Martin Jansa @ 2015-09-30 22:09 UTC (permalink / raw)
To: openembedded-devel
Why did you add glibc and didn't remove boost from DEPENDS if it isn't
going to use system boost? Will it also use bundled pcre and tcmalloc now?
Most people hate bundled libraries for good reasons, if it's not the case
here, then at least explain it in commit message and update DEPENDS
accordingly.
On Wed, Sep 30, 2015 at 10:50 PM, Johnny Vestergaard <jkv@unixcluster.dk>
wrote:
> Removed the dependencies on system boost.
>
> Signed-off-by: Johnny Vestergaard <jkv@unixcluster.dk>
> ---
> meta-oe/recipes-support/mongodb/mongodb_git.bb | 11 ++++-------
> 1 file changed, 4 insertions(+), 7 deletions(-)
>
> diff --git a/meta-oe/recipes-support/mongodb/mongodb_git.bb
> b/meta-oe/recipes-support/mongodb/mongodb_git.bb
> index 879fc7c..7348978 100644
> --- a/meta-oe/recipes-support/mongodb/mongodb_git.bb
> +++ b/meta-oe/recipes-support/mongodb/mongodb_git.bb
> @@ -3,7 +3,7 @@ LICENSE = "AGPL-3.0 & Apache-2.0"
> LIC_FILES_CHKSUM =
> "file://GNU-AGPL-3.0.txt;md5=73f1eb20517c55bf9493b7dd6e480788 \
>
> file://APACHE-2.0.txt;md5=3b83ef96387f14655fc854ddc3c6bd57"
>
> -DEPENDS = "openssl libpcre boost libpcap"
> +DEPENDS = "glibc openssl libpcre boost libpcap"
> # Mongo uses tcmalloc on x86_64, which is provided by gperftools
> DEPENDS_append_x86-64 = " gperftools"
>
> @@ -14,7 +14,7 @@ inherit scons
> # | scons: ***
> [build/linux2/disable-scripting/ld_arm-oe-linux-gnueabi-g++/ssl/use-system-boost/use-system-pcre/use-system-tcmalloc/mongo/mongod]
> Error 1
> # | scons: building terminated because of errors.
> # | ERROR: scons build execution failed.
> -PNBLACKLIST[mongodb] ?= "Fails to build with system boost"
> +#PNBLACKLIST[mongodb] ?= "Fails to build with system boost"
>
> PV = "2.6.0+git${SRCPV}"
> SRCREV = "be1905c24c7e5ea258e537fbf0d2c502c4fc6de2"
> @@ -30,15 +30,12 @@ S = "${WORKDIR}/git"
>
> export OE_TARGET_ARCH="${TARGET_ARCH}"
>
> -EXTRA_OESCONS = "--prefix=${D}${prefix} \
> +EXTRA_OESCONS = "sysroot=${STAGING_DIR_TARGET} \
> + --prefix=${D}${prefix} \
> --propagate-shell-environment \
> --cc-use-shell-environment \
> --cxx-use-shell-environment \
> - --ld='${TARGET_PREFIX}g++' \
> --ssl \
> - --use-system-pcre \
> - --use-system-boost \
> - --use-system-tcmalloc \
> --disable-scripting \
> --nostrip \
> mongod mongos"
> --
> 2.6.0
>
> --
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: [meta-oe][PATCH] mongodb: receipe fixed, removed from blacklist and now cross compiles to arm.
2015-09-30 20:50 [meta-oe][PATCH] mongodb: receipe fixed, removed from blacklist and now cross compiles to arm Johnny Vestergaard
2015-09-30 22:09 ` Martin Jansa
@ 2015-10-01 0:47 ` Khem Raj
2015-10-08 10:12 ` Martin Jansa
2 siblings, 0 replies; 4+ messages in thread
From: Khem Raj @ 2015-10-01 0:47 UTC (permalink / raw)
To: Martin Jansa
[-- Attachment #1: Type: text/plain, Size: 384 bytes --]
> On Sep 30, 2015, at 1:50 PM, Johnny Vestergaard <jkv@unixcluster.dk> wrote:
>
> -DEPENDS = "openssl libpcre boost libpcap"
> +DEPENDS = "glibc openssl libpcre boost libpcap"
hard dep on glibc seems to be not right thing. Infact you should not need to add
a dep on system C library at all. If the package is intended for glibc only then express it using COMPATIBLE_HOST
[-- Attachment #2: Message signed with OpenPGP using GPGMail --]
[-- Type: application/pgp-signature, Size: 211 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [meta-oe][PATCH] mongodb: receipe fixed, removed from blacklist and now cross compiles to arm.
2015-09-30 20:50 [meta-oe][PATCH] mongodb: receipe fixed, removed from blacklist and now cross compiles to arm Johnny Vestergaard
2015-09-30 22:09 ` Martin Jansa
2015-10-01 0:47 ` Khem Raj
@ 2015-10-08 10:12 ` Martin Jansa
2 siblings, 0 replies; 4+ messages in thread
From: Martin Jansa @ 2015-10-08 10:12 UTC (permalink / raw)
To: openembedded-devel
[-- Attachment #1: Type: text/plain, Size: 2610 bytes --]
On Wed, Sep 30, 2015 at 10:50:35PM +0200, Johnny Vestergaard wrote:
> Removed the dependencies on system boost.
Still fails in world builds.
http://errors.yoctoproject.org/Errors/Details/20235/
>
> Signed-off-by: Johnny Vestergaard <jkv@unixcluster.dk>
> ---
> meta-oe/recipes-support/mongodb/mongodb_git.bb | 11 ++++-------
> 1 file changed, 4 insertions(+), 7 deletions(-)
>
> diff --git a/meta-oe/recipes-support/mongodb/mongodb_git.bb b/meta-oe/recipes-support/mongodb/mongodb_git.bb
> index 879fc7c..7348978 100644
> --- a/meta-oe/recipes-support/mongodb/mongodb_git.bb
> +++ b/meta-oe/recipes-support/mongodb/mongodb_git.bb
> @@ -3,7 +3,7 @@ LICENSE = "AGPL-3.0 & Apache-2.0"
> LIC_FILES_CHKSUM = "file://GNU-AGPL-3.0.txt;md5=73f1eb20517c55bf9493b7dd6e480788 \
> file://APACHE-2.0.txt;md5=3b83ef96387f14655fc854ddc3c6bd57"
>
> -DEPENDS = "openssl libpcre boost libpcap"
> +DEPENDS = "glibc openssl libpcre boost libpcap"
> # Mongo uses tcmalloc on x86_64, which is provided by gperftools
> DEPENDS_append_x86-64 = " gperftools"
>
> @@ -14,7 +14,7 @@ inherit scons
> # | scons: *** [build/linux2/disable-scripting/ld_arm-oe-linux-gnueabi-g++/ssl/use-system-boost/use-system-pcre/use-system-tcmalloc/mongo/mongod] Error 1
> # | scons: building terminated because of errors.
> # | ERROR: scons build execution failed.
> -PNBLACKLIST[mongodb] ?= "Fails to build with system boost"
> +#PNBLACKLIST[mongodb] ?= "Fails to build with system boost"
>
> PV = "2.6.0+git${SRCPV}"
> SRCREV = "be1905c24c7e5ea258e537fbf0d2c502c4fc6de2"
> @@ -30,15 +30,12 @@ S = "${WORKDIR}/git"
>
> export OE_TARGET_ARCH="${TARGET_ARCH}"
>
> -EXTRA_OESCONS = "--prefix=${D}${prefix} \
> +EXTRA_OESCONS = "sysroot=${STAGING_DIR_TARGET} \
> + --prefix=${D}${prefix} \
> --propagate-shell-environment \
> --cc-use-shell-environment \
> --cxx-use-shell-environment \
> - --ld='${TARGET_PREFIX}g++' \
> --ssl \
> - --use-system-pcre \
> - --use-system-boost \
> - --use-system-tcmalloc \
> --disable-scripting \
> --nostrip \
> mongod mongos"
> --
> 2.6.0
>
> --
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
--
Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 188 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2015-10-08 10:12 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-30 20:50 [meta-oe][PATCH] mongodb: receipe fixed, removed from blacklist and now cross compiles to arm Johnny Vestergaard
2015-09-30 22:09 ` Martin Jansa
2015-10-01 0:47 ` Khem Raj
2015-10-08 10:12 ` Martin Jansa
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.