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

Chris Johns chrisj at rtems.org
Thu Apr 20 03:23:41 UTC 2023


On 19/4/2023 11:26 pm, Frank Kühndel wrote:
> Hello Chris,
> 
> thanks for the introduction to package build. On AlmaLinux the file
> rtems-source-builder/rtems/build/mipstx39-rtems6-gdb-13.1-x86_64-linux-gnu-1/build/gdb/config.log (attached) contains this error:
> 
> ~~~~
> configure:21340: gcc -O2 -g -pipe
> -I/home/minna/src/rtems-source-builder/rtems/build/tmp/sb-1000/tools/rtems-mipstx39-gdb/opt/rtems/6/include -o conftest -g -O2 -L/home/minna/src/rtems-source-builder/rtems/build/tmp/sb-1000/tools/rtems-mipstx39-gdb/opt/rtems/6/lib conftest.c -lm -ldl  -lexpat >&5
> conftest.c:53:10: fatal error: expat.h: No such file or directory
>  #include "expat.h"
>           ^~~~~~~~~
> compilation terminated.
> ~~~~
> 
> The include file and the library would be in
> 
> rtems-source-builder/rtems/build/tmp/sb-1000-staging/include/expat.h

Is the staging include path in the build flags for GDB?

> rtems-source-builder/rtems/build/tmp/sb-1000-staging/lib/libexpat.a
> rtems-source-builder/rtems/build/tmp/sb-1000-staging/lib/libexpat.la
> 
> The directories mentioned in the gcc-invokation contain only
> 
>     84 -rw-r--r--   1  minna    users       84084 Apr 19 13:19
> rtems-source-builder/rtems/build/tmp/sb-1000/tools/rtems-mipstx39-gdb/opt/rtems/6/include/gmp.h
> 
> and
> 
>    6952 -rw-r--r--   1  minna    users     7115648 Apr 19 13:19
> rtems-source-builder/rtems/build/tmp/sb-1000/tools/rtems-mipstx39-gdb/opt/rtems/6/lib/libgmp.a
>       4 -rwxr-xr-x   1  minna    users         968 Apr 19 13:19
> rtems-source-builder/rtems/build/tmp/sb-1000/tools/rtems-mipstx39-gdb/opt/rtems/6/lib/libgmp.la
>       4 drwxr-xr-x   2  minna    users        4096 Apr 19 13:19
> rtems-source-builder/rtems/build/tmp/sb-1000/tools/rtems-mipstx39-gdb/opt/rtems/6/lib/pkgconfig
>       4 -rw-r--r--   1  minna    users         257 Apr 19 13:19
> rtems-source-builder/rtems/build/tmp/sb-1000/tools/rtems-mipstx39-gdb/opt/rtems/6/lib/pkgconfig/gmp.pc
> 
> Just for the records:
> 
> PARAM_ARCH="mips"
> PARAM_RTEMS_VERSION="6"
> PARAM_RSB_GIT_COMMIT="origin/master"
> GIT_HEAD="ae00c59541f21d8c459a33774efade80085c9b4a"
> CONT_OS_VERSION_ID="8.7"
> CONT_OS_ID="almalinux"
> 
> Let me know if you need more information. If you have a patch, I will be happy
> to feed our CI with it.

I do not know why this is happening so I am not sure how to fix it.

Chris


More information about the devel mailing list