All of lore.kernel.org
 help / color / mirror / Atom feed
From: Martin Jansa <martin.jansa@gmail.com>
To: openembedded-devel@lists.openembedded.org
Subject: Re: [meta-oe][PATCH] eject: link po subdirectory for out-of-tree build
Date: Tue, 10 Jun 2014 13:26:04 +0200	[thread overview]
Message-ID: <20140610112604.GF2433@jama> (raw)
In-Reply-To: <1401132459-26526-1-git-send-email-ashcharles@gmail.com>

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

On Mon, May 26, 2014 at 12:27:39PM -0700, Ash Charles wrote:
> The po subdirectory is not copied over to the build directory of
> found on the VPATH for an out-of-tree build so we symlink it over.
> 
> Signed-off-by: Ash Charles <ashcharles@gmail.com>
> ---
>  meta-oe/recipes-support/eject/eject_2.1.5.bb | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
> 
> diff --git a/meta-oe/recipes-support/eject/eject_2.1.5.bb b/meta-oe/recipes-support/eject/eject_2.1.5.bb
> index c47c653..5c9c749 100644
> --- a/meta-oe/recipes-support/eject/eject_2.1.5.bb
> +++ b/meta-oe/recipes-support/eject/eject_2.1.5.bb
> @@ -14,7 +14,9 @@ SRC_URI[sha256sum] = "ef9f7906484cfde4ba223b2682a37058f9a3c7d3bb1adda7a34a67402e
>  
>  S = "${WORKDIR}/${BPN}"
>  
> -PR = "r1"
> +do_compile_prepend() {
> +    ln -s ${S}/po po
> +}

Fails in world builds:

ERROR: Function failed: do_compile (log file is located at /home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/work/core2-64-oe-linux/eject/2.1.5-r1/temp/log.do_compile.29499)
ERROR: Logfile of failure stored in: /home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/work/core2-64-oe-linux/eject/2.1.5-r1/temp/log.do_compile.29499  
Log data follows:
| DEBUG: SITE files ['endian-little', 'common-linux', 'common-glibc', 'bit-64', 'x86_64-linux', 'common']
| DEBUG: Executing shell function do_compile
| cp: cannot copy a directory, `/home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/work/core2-64-oe-linux/eject/2.1.5-r1/eject/po', into itself, `/home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/work/core2-64-oe-linux/eject/2.1.5-r1/eject/po/po'
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_compile (log file is located at /home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/work/core2-64-oe-linux/eject/2.1.5-r1/temp/log.do_compile.29499)
NOTE: recipe eject-2.1.5-r1: task do_compile: Failed
ERROR: Task 34 (/home/jenkins/oe/shr-core-branches/shr-core/meta-openembedded/meta-oe/recipes-support/eject/eject_2.1.5.bb, do_compile) failed with exit code '1'


>  
>  ALTERNATIVE_${PN} = "volname eject"
>  ALTERNATIVE_LINK_NAME[volname] = "${bindir}/volname"
> -- 
> 1.8.3.2
> 
> -- 
> _______________________________________________
> 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 --]

  parent reply	other threads:[~2014-06-10 11:25 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-26 19:27 [meta-oe][PATCH] eject: link po subdirectory for out-of-tree build Ash Charles
2014-05-26 20:31 ` Otavio Salvador
2014-05-26 22:09   ` Ash Charles
2014-05-27  0:46     ` Ash Charles
2014-05-27  2:43       ` Otavio Salvador
2014-05-27  9:18 ` Martin Jansa
2014-05-27 15:15   ` Ash Charles
2014-05-27 15:32     ` Otavio Salvador
2014-05-27 16:43       ` [meta-oe][PATCH v2] eject: copy " Ash Charles
2014-05-27 17:41         ` Otavio Salvador
2014-05-27 16:44       ` [meta-oe][PATCH] eject: link " Ash Charles
2014-05-28 19:43       ` Khem Raj
2014-06-10 11:26 ` Martin Jansa [this message]
2014-06-10 18:18   ` [Patch v3] eject: copy " Ash Charles
2014-06-13 11:40     ` Martin Jansa
2014-06-13 13:57       ` Ash Charles
2014-06-13 14:47         ` Martin Jansa
2014-06-13 20:45           ` [Patch v4] " Ash Charles

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=20140610112604.GF2433@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 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.