| Summary: | 2023.08-rc1 gettext-gnu 0.20.1 failed to compile | ||
|---|---|---|---|
| Product: | buildroot | Reporter: | trung.le |
| Component: | Other | Assignee: | unassigned |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | buildroot |
| Priority: | P5 | ||
| Version: | unspecified | ||
| Target Milestone: | 2023.08 | ||
| Hardware: | Other | ||
| OS: | Linux | ||
| Host: | PPC64LE | Target: | PPC64LE |
| Build: | Compile on the Fedora 39 ppc64le | ||
FYI I don't get the issue with the latest v0.22 Please try this patch: https://patchwork.ozlabs.org/project/buildroot/patch/20230818144231.976762-1-bernd@kuhls.net/ Great thanks. The patch works for me. @Bernd Kuhls Is there any chance this patch could be upstreamed? (In reply to trung.le from comment #4) A follow-up version of the patch was committed to the next branch of buildroot: https://git.buildroot.net/buildroot/commit/?h=next&id=f6a6e3a8363a32e5443c9eadc2ee047853640d1a |
### Info **buildroot branch**: 2023.02-op-build **OS**: Fedora 39 (rawhide) Linux shrimp-paste 6.5.0-0.rc6.20230816git4853c74bd7ab.45.fc39.ppc64le **gcc**: 13.2.1 20230728 (Red Hat 13.2.1-1) glibc 2.38 **g++**: 13.2.1 20230728 (Red Hat 13.2.1-1) glibc 2.38 ### Build output: ``` ../gnulib-lib/stdio.h:758:1: error: declaration for parameter ‘_gl_cxxalias_dummy’ but no such parameter 758 | _GL_CXXALIASWARN (fgets); | ^~~~~~~~~~~~~~~~ ../gnulib-lib/stdio.h:756:1: error: declaration for parameter ‘_gl_cxxalias_dummy’ but no such parameter 756 | _GL_CXXALIAS_SYS (fgets, char *, (char *s, int n, FILE *stream)); | ^~~~~~~~~~~~~~~~ ../gnulib-lib/stdio.h:743:1: error: declaration for parameter ‘_gl_cxxalias_dummy’ but no such parameter 743 | _GL_CXXALIASWARN (fgetc); | ^~~~~~~~~~~~~~~~ ../gnulib-lib/stdio.h:741:1: error: declaration for parameter ‘_gl_cxxalias_dummy’ but no such parameter 741 | _GL_CXXALIAS_SYS (fgetc, int, (FILE *stream)); | ^~~~~~~~~~~~~~~~ /usr/lib/gcc/ppc64le-redhat-linux/13/include/stddef.h:436:3: error: declaration for parameter ‘max_align_t’ but no such parameter 436 | } max_align_t; | ^~~~~~~~~~~ /usr/lib/gcc/ppc64le-redhat-linux/13/include/stddef.h:329:24: error: declaration for parameter ‘wchar_t’ but no such parameter 329 | typedef __WCHAR_TYPE__ wchar_t; | ^~~~~~~ /usr/lib/gcc/ppc64le-redhat-linux/13/include/stddef.h:145:26: error: declaration for parameter ‘ptrdiff_t’ but no such parameter 145 | typedef __PTRDIFF_TYPE__ ptrdiff_t; | ^~~~~~~~~ regex.c:82: error: expected ‘{’ at end of input make[4]: *** [Makefile:2099: regex.o] Error 1 make[4]: Leaving directory '/home/tle/Work/op-build/output/build/host-gettext-gnu-0.20.1/gettext-tools/libgrep' make[3]: *** [Makefile:2043: all] Error 2 make[3]: Leaving directory '/home/tle/Work/op-build/output/build/host-gettext-gnu-0.20.1/gettext-tools/libgrep' make[2]: *** [Makefile:2177: all-recursive] Error 1 make[2]: Leaving directory '/home/tle/Work/op-build/output/build/host-gettext-gnu-0.20.1/gettext-tools' make[1]: *** [Makefile:2045: all] Error 2 make[1]: Leaving directory '/home/tle/Work/op-build/output/build/host-gettext-gnu-0.20.1/gettext-tools' make: *** [package/pkg-generic.mk:293: /home/tle/Work/op-build/output/build/host-gettext-gnu-0.20.1/.stamp_built] Error 2 ```