[oe-commits] Noor Ahsan : tcl: Run oe-stylize. py script and modify the recipe accordingly

Martin Jansa martin.jansa at gmail.com
Fri Oct 1 07:37:24 UTC 2010


On Thu, Sep 30, 2010 at 10:18 PM, git version control
<git at git.openembedded.org> wrote:
> Module: openembedded.git
> Branch: master
> Commit: 6c21af6a85996ed5891925ca2221c4615048a331
> URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=6c21af6a85996ed5891925ca2221c4615048a331
>
> Author: Noor Ahsan <noor_ahsan at mentor.com>
> Date:   Mon Aug 30 23:50:54 2010 +0000
>
> tcl: Run oe-stylize.py script and modify the recipe accordingly
>
> * Run the oe-stylize.py script on the recipe and modify the recipe according to the output of the script.
>
> Signed-off-by: Noor Ahsan <noor_ahsan at mentor.com>
> Signed-off-by: Khem Raj <raj.khem at gmail.com>
>
> ---
>
>  recipes/tcltk/tcl_8.5.8.bb |   45 ++++++++++++++++++++-----------------------
>  1 files changed, 21 insertions(+), 24 deletions(-)
>
> diff --git a/recipes/tcltk/tcl_8.5.8.bb b/recipes/tcltk/tcl_8.5.8.bb
> index 9d030b9..e8905f0 100644
> --- a/recipes/tcltk/tcl_8.5.8.bb
> +++ b/recipes/tcltk/tcl_8.5.8.bb
> @@ -1,8 +1,7 @@
>  DESCRIPTION = "Tool Command Language"
> -LICENSE = "tcl"
> -SECTION = "devel/tcltk"
>  HOMEPAGE = "http://tcl.sourceforge.net"
> -
> +SECTION = "devel/tcltk"
> +LICENSE = "tcl"
>  PR = "r7"
>
>  SRC_URI = "\
> @@ -16,43 +15,41 @@ SRC_URI = "\
>   file://tclprivate.diff;striplevel=2 \
>   file://mips-tclstrtod.patch;striplevel=0 \
>  "
> -
>  SRC_URI[md5sum] = "7f123e53b3daaaba2478d3af5a0752e3"
>  SRC_URI[sha256sum] = "6b090c1024038d0381e1ccfbd6d5c0f0e6ef205269ceb9d28bd7bd7ac5bbf4a7"
>
>  S = "${WORKDIR}/tcl${PV}/unix"
> +SYSROOT_PREPROCESS_FUNCS =+ "tcl_sysroot"
>
>  inherit autotools binconfig
>
>  EXTRA_OECONF = "--enable-threads"
>
>  do_compile_prepend() {
> -       echo > ../compat/fixstrtod.c
> -       sed -i -e 's:./tclsh :tclsh :g' Makefile
> +        echo > ../compat/fixstrtod.c
> +        sed -i -e 's:./tclsh :tclsh :g' Makefile


^^ this looks like something which should be called only on non-native build

here is log what happens when it's called also on native build
http://tinderbox.openembedded.org/packages/803704/

when you don't have tclsh installed on buildhost, you have to use the
tclsh version just generated in current dir

I know it's old issue, maybe only more exposed by your patches, but
can you please fix it too? Thanks

Regards,




More information about the Openembedded-commits mailing list