RTEMS | RTEMS Release 6.1 build error texinfo-7.0.3 on arm64-apple-darwin24.3.0-1 (#5218)
Heinz Junkes (@junkes)
gitlab at rtems.org
Sun Feb 16 12:47:09 UTC 2025
Heinz Junkes created an issue: https://gitlab.rtems.org/rtems/rtos/rtems/-/issues/5218
## Summary
```
RTEMS Tools Project - Source Builder Error Report
Build: error: building texinfo-7.0.3-arm64-apple-darwin24.3.0-1
Command Line: ../source-builder/sb-set-builder --prefix=/Volumes/Epics/RTEMS_MVME6100_legacy_stack/rtems/6.1 6/rtems-powerpc
Python: 3.12.8 (main, Feb 9 2025, 14:26:38) [Clang 16.0.0 (clang-1600.0.26.4)]
RSB: not a valid repo
Darwin Mac.fritz.box 24.3.0 Darwin Kernel Version 24.3.0: Thu Jan 2 20:24:23 PST 2025; root:xnu-11215.81.4~3/RELEASE_ARM64_T6020 arm64
Tail of the build log:
/opt/homebrew/opt/perl/lib/perl5/5.40/darwin-thread-multi-2level/CORE/XSUB.h:340:38: note: expanded from macro 'XSRETURN_EMPTY'
340 | #define XSRETURN_EMPTY STMT_START { XSRETURN(0); } STMT_END
...
/opt/homebrew/opt/perl/lib/perl5/5.40/darwin-thread-multi-2level/CORE/XSUB.h:325:5: note: expanded from macro 'XSRETURN'
325 | STMT_START { \
| ^~~~~~~~~~
../../../../texinfo-7.0.3/tp/Texinfo/XS/ppport.h:4001:28: note: expanded from macro 'STMT_START'
4001 | # define STMT_START (void)( /* gcc supports ``({ STATEMENTS; })'' */
| ^
parsetexi/Parsetexi.c:626:5: note: '{' token is here
626 | XSRETURN_EMPTY;
junkes at Mac rtems % tail rsb-report-texinfo-7.0.3-arm64-apple-darwin24.3.0-1.txt
mv -f parsetexi/.deps/Parsetexi_la-context_stack.Tpo parsetexi/.deps/Parsetexi_la-context_stack.Plo
mv -f parsetexi/.deps/Parsetexi_la-debug.Tpo parsetexi/.deps/Parsetexi_la-debug.Plo
mv -f parsetexi/.deps/Parsetexi_la-convert.Tpo parsetexi/.deps/Parsetexi_la-convert.Plo
make[4]: *** [all-recursive] Error 1
make[3]: *** [all] Error 2
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
shell cmd failed: /bin/sh -ex /Volumes/Epics/RTEMS_MVME6100_legacy_stack/rtems-source-builder-6.1/rtems/build/texinfo-7.0.3-arm64-apple-darwin24.3.0-1/do-build
error: building texinfo-7.0.3-arm64-apple-darwin24.3.0-1%
```
## Steps to reproduce
```
#!/bin/bash
#RTEMS development
export RTEMS_VERSION=6
export RTEMS_RELEASE=6.1
export RTEMS_CPU=powerpc
export RTEMS_BSP=beatnik
export RTEMS_ARCH=${RTEMS_CPU}-rtems${RTEMS_VERSION}
SCRIPT=$(readlink -f $0)
export RTEMS_ROOT=`dirname $SCRIPT`/rtems/${RTEMS_RELEASE}
#install rsb
wget https://ftp.rtems.org/pub/rtems/releases/6/6.1/sources/rtems-source-builder-6.1.tar.xz
tar Jxf rtems-source-builder-6.1.tar.xz
#build the tools, kernel and all packages for the beatnik board
cd rtems-source-builder-6.1/rtems
../source-builder/sb-set-builder \
--prefix=${RTEMS_ROOT} \
6/rtems-${RTEMS_CPU}
```
do-build in rtems-source-builder-6.1/rtems/build/texinfo-7.0.3-arm64-apple-darwin24.3.0-1
```
...
libtool: link: ( cd ".libs" && rm -f "MiscXS.la" && ln -s "../MiscXS.la" "MiscXS.la" )
/bin/sh ./libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I../../../../texinfo-7.0.3/tp/Texinfo/XS -I../../../../texinfo-7.0.3/tp/Texinfo/XS/parsetexi -I../../../../texinfo-7.0.3/tp/Texinfo/XS -I../../../../texinfo-7.0.3/tp/Texinfo/XS/gnulib/lib -I./gnulib/lib -DDATADIR=\"/Volumes/Epics/RTEMS_MVME6100_legacy_stack/rtems-source-builder-6.1/rtems/build/tmp/sb-501-internal/share\" -fno-common -DPERL_DARWIN -mmacosx-version-min=15.2 -DNO_THREAD_SAFE_QUERYLOCALE -DNO_POSIX_2008_LOCALE -fno-strict-aliasing -pipe -fstack-protector-strong -O3 -DVERSION=\"0\" -DXS_VERSION=\"0\" -I/opt/homebrew/opt/perl/lib/perl5/5.40/darwin-thread-multi-2level/CORE -MT parsetexi/Parsetexi_la-api.lo -MD -MP -MF parsetexi/.deps/Parsetexi_la-api.Tpo -c -o parsetexi/Parsetexi_la-api.lo `test -f 'parsetexi/api.c' || echo '../../../../texinfo-7.0.3/tp/Texinfo/XS/'`parsetexi/api.c
libtool: compile: cc -DHAVE_CONFIG_H -I. -I../../../../texinfo-7.0.3/tp/Texinfo/XS -I../../../../texinfo-7.0.3/tp/Texinfo/XS/parsetexi -I../../../../texinfo-7.0.3/tp/Texinfo/XS -I../../../../texinfo-7.0.3/tp/Texinfo/XS/gnulib/lib -I./gnulib/lib -DDATADIR=\"/Volumes/Epics/RTEMS_MVME6100_legacy_stack/rtems-source-builder-6.1/rtems/build/tmp/sb-501-internal/share\" -fno-common -DPERL_DARWIN -mmacosx-version-min=15.2 -DNO_THREAD_SAFE_QUERYLOCALE -DNO_POSIX_2008_LOCALE -fno-strict-aliasing -pipe -fstack-protector-strong -O3 -DVERSION=\"0\" -DXS_VERSION=\"0\" -I/opt/homebrew/opt/perl/lib/perl5/5.40/darwin-thread-multi-2level/CORE -MT parsetexi/Parsetexi_la-api.lo -MD -MP -MF parsetexi/.deps/Parsetexi_la-api.Tpo -c ../../../../texinfo-7.0.3/tp/Texinfo/XS/parsetexi/api.c -fno-common -DPIC -o parsetexi/.libs/Parsetexi_la-api.o
../../../../texinfo-7.0.3/tp/Texinfo/XS/parsetexi/api.c:33:10: fatal error: 'libintl.h' file not found
33 | #include <libintl.h>
| ^~~~~~~~~~~
1 error generated.
```
homebrew gettext is installed:
```
junkes at Mac rtems % /opt/homebrew/bin/xgettext -V
xgettext (GNU gettext-tools) 0.23.1
Copyright (C) 1995-2024 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Written by Ulrich Drepper.
```
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/issues/5218
You're receiving this email because of your account on gitlab.rtems.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20250216/be1698a8/attachment.htm>
More information about the bugs
mailing list