Skip to content

Ubuntu 26.04 Fails to build #78

Description

@symdeb

Immediately fails to build. Perhaps only compatible with older Ubuntu versions,.. so need docker ?
why is there 2025 12 branch ?

GIT_DIR=. PATH="/media/user/H3D2P1/Develop/STMICRO/Buildroot/buildroot/output/host/bin:/media/user/H3D2P1/Develop/STMICRO/Buildroot/buildroot/output/host/sbin:/home/user/.local/bin:/home/user/.local/stm32cube/bin:/home/user/.opencode/bin:/home/user/.nvm/versions/node/v23.11.1/bin:/home/user/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/snap/bin" PKG_CONFIG="/media/user/H3D2P1/Develop/STMICRO/Buildroot/buildroot/output/host/bin/pkg-config" PKG_CONFIG_SYSROOT_DIR="/" PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 PKG_CONFIG_ALLOW_SYSTEM_LIBS=1 PKG_CONFIG_LIBDIR="/media/user/H3D2P1/Develop/STMICRO/Buildroot/buildroot/output/host/lib/pkgconfig:/media/user/H3D2P1/Develop/STMICRO/Buildroot/buildroot/output/host/share/pkgconfig"  /usr/bin/make -j5  -C /media/user/H3D2P1/Develop/STMICRO/Buildroot/buildroot/output/build/host-m4-1.4.20/
cd checks && /usr/bin/make 
make[3]: Nothing to be done for 'all'.
/usr/bin/make  all-recursive
Making all in .
make[4]: Nothing to be done for 'all-am'.
Making all in examples
make[4]: Nothing to be done for 'all'.
Making all in lib
/usr/bin/make  all-am
  CC       libm4_a-asyncsafe-spin.o
  CC       libm4_a-openat-proc.o
  CC       libm4_a-gl_avltree_oset.o
  CC       libm4_a-basename-lgpl.o
  CC       libm4_a-bitrotate.o
In file included from /usr/include/features.h:539,
                 from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33,
                 from /usr/include/string.h:26,
                 from ./string.h:41,
                 from basename-lgpl.c:24:
./string.h:777:20: error: expected identifier or '(' before '_Generic'
  777 | _GL_EXTERN_C void *memchr (const void *__s, int __c, size_t __n)
      |                    ^~~~~~
make[5]: *** [Makefile:4160: libm4_a-basename-lgpl.o] Error 1
make[5]: *** Waiting for unfinished jobs....
In file included from /usr/include/features.h:539,
                 from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33,
                 from /usr/include/stdlib.h:26,
                 from ./stdlib.h:51,
                 from gl_avltree_oset.c:23:
./stdlib.h:827:20: error: expected identifier or '(' before '_Generic'
  827 | _GL_EXTERN_C void *bsearch (const void *__key,
      |                    ^~~~~~~
In file included from /usr/include/features.h:539,
                 from /usr/include/errno.h:25,
                 from openat-priv.h:23,
                 from openat-proc.c:22:
./stdlib.h:827:20: error: expected identifier or '(' before '_Generic'
  827 | _GL_EXTERN_C void *bsearch (const void *__key,
      |                    ^~~~~~~
make[5]: *** [Makefile:4146: libm4_a-gl_avltree_oset.o] Error 1
In file included from /usr/include/features.h:539,
                 from /usr/include/x86_64-linux-gnu/sys/types.h:25,
                 from ./sys/types.h:46,
                 from ./signal.h:49,
                 from asyncsafe-spin.h:43,
                 from asyncsafe-spin.c:22:
./stdlib.h:827:20: error: expected identifier or '(' before '_Generic'
  827 | _GL_EXTERN_C void *bsearch (const void *__key,
      |                    ^~~~~~~
./string.h:777:20: error: expected identifier or '(' before '_Generic'
  777 | _GL_EXTERN_C void *memchr (const void *__s, int __c, size_t __n)
      |                    ^~~~~~
make[5]: *** [Makefile:4118: libm4_a-asyncsafe-spin.o] Error 1
make[5]: *** [Makefile:4132: libm4_a-openat-proc.o] Error 1
make[4]: *** [Makefile:3608: all] Error 2
make[3]: *** [Makefile:2530: all-recursive] Error 1
make[2]: *** [Makefile:2486: all] Error 2
make[1]: *** [package/pkg-generic.mk:273: /media/user/H3D2P1/Develop/STMICRO/Buildroot/buildroot/output/build/host-m4-1.4.20/.stamp_built] Error 2
make: *** [Makefile:83: _all] Error

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions