All of lore.kernel.org
 help / color / mirror / Atom feed
From: Martin Jansa <martin.jansa@gmail.com>
To: openembedded-devel@lists.openembedded.org
Cc: Koen Kooi <koen@dominion.thruhere.net>
Subject: Re: [meta-oe][PATCH 5/8] nodejs4: reinstate installing all the files
Date: Thu, 11 Apr 2013 11:29:26 +0200	[thread overview]
Message-ID: <20130411092926.GB2477@jama> (raw)
In-Reply-To: <1365610462-29689-5-git-send-email-koen@dominion.thruhere.net>

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

On Wed, Apr 10, 2013 at 06:14:19PM +0200, Koen Kooi wrote:
> Cloud9 needs the headers to build the o3-xml binary, using 0.8.x headers makes it crash.
> 
> This installs everything namespaced as 'node4' to avoid collisions.
> 
> Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
> ---
>  meta-oe/recipes-devtools/nodejs/nodejs4_0.4.12.bb | 18 +++++++++++++++---
>  1 file changed, 15 insertions(+), 3 deletions(-)
> 
> diff --git a/meta-oe/recipes-devtools/nodejs/nodejs4_0.4.12.bb b/meta-oe/recipes-devtools/nodejs/nodejs4_0.4.12.bb
> index 522b539..58ca135 100644
> --- a/meta-oe/recipes-devtools/nodejs/nodejs4_0.4.12.bb
> +++ b/meta-oe/recipes-devtools/nodejs/nodejs4_0.4.12.bb
> @@ -28,8 +28,20 @@ do_compile () {
>  }
>  
>  do_install () {
> -  install -d ${D}${bindir}
> -  install -m 0755 build/default/node ${D}${bindir}/node4
> -}
> +  DESTDIR=${D} oe_runmake install
> +
> +  # fix namespace conflicts with other nodejs recipes
> +  mv ${D}${bindir}/node ${D}${bindir}/node4
> +  mv ${D}${bindir}/node-waf ${D}${bindir}/node4-waf
> +
> +  mv ${D}${includedir}/node ${D}${includedir}/node4
>  
> +  mv ${D}${libdir}/node ${D}${libdir}/node4
> +  mv ${D}${libdir}/pkgconfig/nodejs.pc ${D}${libdir}/pkgconfig/nodejs4.pc
> +  sed -i -e s:include/node:include/node4: ${D}${libdir}/pkgconfig/nodejs4.pc
> +
> +  mv ${D}${datadir}/man/man1/node.1 ${D}${datadir}/man/man1/node4.1
> +}
>  
> +FILES_${PN} += "${libdir}/node4/wafadmin"
> +BBCLASSEXTEND = "native"

nodejs4-native fails here:
| mv: cannot stat
`/home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/work/x86_64-linux/nodejs4-native/0.4.12-r0/image/home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/bin/node':
No such file or directory
| ERROR: Function failed: do_install (see
/home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/work/x86_64-linux/nodejs4-native/0.4.12-r0/temp/log.do_install.6513
for further information)


> -- 
> 1.8.1.4
> 
> 
> _______________________________________________
> 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 --]

  reply	other threads:[~2013-04-11  9:46 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-10 16:14 [meta-oe][PATCH 1/8] nodejs: add 0.8.18 Koen Kooi
2013-04-10 16:14 ` [meta-oe][PATCH 2/8] Revert "cloud9: add EnvironmentFile" Koen Kooi
2013-04-10 16:14 ` [meta-oe][PATCH 3/8] python-tornado: update to top of 2.2 branch Koen Kooi
2013-04-10 16:23   ` Paul Eggleton
2013-04-10 16:14 ` [meta-oe][PATCH 4/8] gateone: fix html5 feature check Koen Kooi
2013-04-10 22:04   ` Martin Jansa
2013-04-11  5:33     ` Koen Kooi
2013-04-11  9:28       ` Martin Jansa
2013-04-10 16:14 ` [meta-oe][PATCH 5/8] nodejs4: reinstate installing all the files Koen Kooi
2013-04-11  9:29   ` Martin Jansa [this message]
2013-04-11 10:18     ` Koen Kooi
2013-04-10 16:14 ` [meta-oe][PATCH 6/8] cloud9: use node4 to build o3-xml binary Koen Kooi
2013-04-10 16:14 ` [meta-oe][PATCH 7/8] cloud9: add autorestart on crash Koen Kooi
2013-04-10 16:14 ` [meta-oe][PATCH 8/8] cloud9 bbappend: add EnvironmentFile Koen Kooi
2013-04-11  9:47 ` [meta-oe][PATCH 1/8] nodejs: add 0.8.18 Martin Jansa
2013-04-11 10:46   ` Koen Kooi

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=20130411092926.GB2477@jama \
    --to=martin.jansa@gmail.com \
    --cc=koen@dominion.thruhere.net \
    --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 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.