[oe] [meta-oe][PATCH] eject: link po subdirectory for out-of-tree build

Martin Jansa martin.jansa at gmail.com
Tue Jun 10 11:26:04 UTC 2014


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 at 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 at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20140610/64002e0f/attachment-0002.sig>


More information about the Openembedded-devel mailing list