[PATCH rtems-source-builder] dtc: Update to 1.6.0.
Christian Mauderer
oss at c-mauderer.de
Mon Apr 6 17:29:03 UTC 2020
Hello Joel,
On 06/04/2020 19:09, Joel Sherrill wrote:
> I tested it and it failed.
>
> CC treesource.o
> gmake: *** No rule to make target 'yaml.h', needed by 'yamltree.o'. Stop.
> + cd
> /usr/home/joel/rtems-work/rtems-source-builder/bare/build/dtc-1.6.0-x86_64-freebsd12.1-1
> + echo '==> %install:'
> ==> %install:
> + pwd
> +
> build_top=/usr/home/joel/rtems-work/rtems-source-builder/bare/build/dtc-1.6.0-x86_64-freebsd12.1-1
>
> I am guessing it has picked up a dependency on yaml that is not
> accounted for.
Hm. Not really good. I checked an the yaml dependency is already there
in 1.5.1. So most likely the best solution for the release is to just
switch the default dtc to the 1.4.1 that is already used for spike.
Otherwise we will have to add libyaml which might isn't a good idea in
the pre-release phase. What do you think?
Best regards
Christian
>
> This is the place where spike references dtc.
>
> ===================
> $ git diff
> diff --git a/bare/config/devel/spike.bset b/bare/config/devel/spike.bset
> index 76392f7..bf52b9f 100644
> --- a/bare/config/devel/spike.bset
> +++ b/bare/config/devel/spike.bset
> @@ -4,5 +4,5 @@
>
> %define release 1
>
> -devel/dtc-1.4.1-1
> +devel/dtc-1.6.0-1
> devel/spike-1.1.0
> ====================
>
> On Mon, Apr 6, 2020 at 11:29 AM Joel Sherrill <joel at rtems.org
> <mailto:joel at rtems.org>> wrote:
>
> Before I test it, what about the spike.bset? It still references dtc
> 1.4?
>
> On Mon, Apr 6, 2020 at 10:54 AM Christian Mauderer
> <oss at c-mauderer.de <mailto:oss at c-mauderer.de>> wrote:
>
> ---
> bare/config/devel/dtc-1.6.0-1.cfg | 18 ++++++++++++++++++
> bare/config/devel/dtc.bset | 2 +-
> 2 files changed, 19 insertions(+), 1 deletion(-)
> create mode 100644 bare/config/devel/dtc-1.6.0-1.cfg
>
> diff --git a/bare/config/devel/dtc-1.6.0-1.cfg
> b/bare/config/devel/dtc-1.6.0-1.cfg
> new file mode 100644
> index 0000000..f293f12
> --- /dev/null
> +++ b/bare/config/devel/dtc-1.6.0-1.cfg
> @@ -0,0 +1,18 @@
> +#
> +# DTC (Device Tree Compiler) 1.6.0
> +#
> +
> +%if %{release} == %{nil}
> +%define release 1
> +%endif
> +
> +%include %{_configdir}/base.cfg
> +
> +%define dtc_version 1.6.0
> +
> +%hash sha256 dtc-%{dtc_version}.tar.gz
> 9fbe07223a98f2d7088a340b5505d4dfe682d77580e788d08cfcc1b61d8be237
> +
> +#
> +# The DTC build instructions. We use 1.x.x Release 1.
> +#
> +%include %{_configdir}/dtc-1-1.cfg
> diff --git a/bare/config/devel/dtc.bset b/bare/config/devel/dtc.bset
> index d701f93..6700823 100644
> --- a/bare/config/devel/dtc.bset
> +++ b/bare/config/devel/dtc.bset
> @@ -4,4 +4,4 @@
>
> %define release 1
>
> -devel/dtc-1.2.0
> +devel/dtc-1.6.0-1
> --
> 2.25.1
>
> _______________________________________________
> devel mailing list
> devel at rtems.org <mailto:devel at rtems.org>
> http://lists.rtems.org/mailman/listinfo/devel
>
More information about the devel
mailing list