[rtems-source-builder PATCH] rtems: Add back gsed that was remove by mistake

Frank Kühndel frank.kuehndel at embedded-brains.de
Tue Apr 18 09:54:57 UTC 2023


Hello Chris,

first of all, I do not use MIPS. So I have no troubles if it builds or 
not. I only want to report an observation from our continuous 
integration (CI) server.

In the past the MIPS builds failed due to the fact that the packages 
(lib)gmp-devel and (lib)expat-devel where not installed in the 
containers. A minor nuisance because all other RTEMS tools do build 
without these. I never understood why in case of MIPS the host must 
provide native packages given the fact that "gmp" and "expat" are 
apparently configured in the MIPS "bset".

You recent patch thankfully improved the situation. Our CI builds MIPS 
on Debian and Ubuntu, now. I do not fully understand why but I believe 
those where the distros where the native gmp-devel packet was needed 
before your patch.

For Alamalinux, Fedora and OpenSUSE the MIPS build still fails 
(apparently for the same reason they failed before your patch):

[...]
checking whether to use expat... yes
checking for libexpat... no
configure: error: expat is missing or unusable
make[2]: *** [Makefile:11803: configure-gdb] Error 1
make[2]: Leaving directory 
'/home/minna/src/rtems-source-builder/rtems/build/mipstx39-rtems6-gdb-13.1-x86_64-linux-gnu-1/build'
make[1]: *** [Makefile:1004: all] Error 2
make[1]: Leaving directory 
'/home/minna/src/rtems-source-builder/rtems/build/mipstx39-rtems6-gdb-13.1-x86_64-linux-gnu-1/build'
shell cmd failed: /bin/sh -ex 
/home/minna/src/rtems-source-builder/rtems/build/mipstx39-rtems6-gdb-13.1-x86_64-linux-gnu-1/do-build
error: building mipstx39-rtems6-gdb-13.1-x86_64-linux-gnu-1
   See error report: 
rsb-report-mipstx39-rtems6-gdb-13.1-x86_64-linux-gnu-1.txt
   Note: In some cases the error appears only in
   the complete build log (see --log option)


This is the end of the build log from Alamlinux 8.7. The error logs from 
the other distributions are identical.

As I indicated before, you do not need to look into this or fix this 
issue for me as I do not use MIPS and I can easily add the required 
(lib)expat-devel packet to those containers. I just write because I 
thought you maybe interested in knowing this detail.

Greetings
Frank


On 4/15/23 00:56, chrisj at rtems.org wrote:
> From: Chris Johns<chrisj at rtems.org>
> 
> - Build GNU sed for hosts that it is not installed on for the MIPS
>    tools.
> ---
>   rtems/config/tools/rtems-default-tools.bset | 3 ++-
>   1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/rtems/config/tools/rtems-default-tools.bset b/rtems/config/tools/rtems-default-tools.bset
> index 0291786..35c9235 100644
> --- a/rtems/config/tools/rtems-default-tools.bset
> +++ b/rtems/config/tools/rtems-default-tools.bset
> @@ -6,7 +6,7 @@
>   # available
>   #
>   %define _internal_gsed_path %{_tmpinternal}
> -%defineifnot with_rtems_gmp textproc/gsed-internal
> +%defineifnot with_rtems_gsed textproc/gsed-internal
>   
>   # GNU tools need texinfo for makeinfo to build documentation
>   %define _internal_texinfo_path %{_tmpinternal}
> @@ -21,6 +21,7 @@
>   %{with_rtems_dtc}
>   %{with_rtems_expat}
>   %{with_rtems_gmp}
> +%{with_rtems_gsed}
>   %{with_rtems_texinfo}
>   %{with_rtems_gdb}
>   %{with_rtems_binutils}
> -- 2.37.1

-- 
embedded brains GmbH & Co. KG
Herr Frank KÜHNDEL
Dornierstr. 4
82178 Puchheim
Germany
email: frank.kuehndel at embedded-brains.de
phone:  +49-89-18 94 741 - 23
mobile: +49-176-15 22 06 - 11

Registergericht: Amtsgericht München
Registernummer: HRA 117265
Vertretungsberechtigte Geschäftsführer: Peter Rasmussen, Thomas Dörfler
Unsere Datenschutzerklärung finden Sie hier:
https://embedded-brains.de/datenschutzerklaerung/


More information about the devel mailing list