Skip to contentSkip to conversation

New: 2023.08-rc1 gettext-gnu 0.20.1 failed to compile

Buildroot [email protected] 1 participant 8 messages Aug 18, 2023 – Aug 29, 2023

lore
Share & tools
lore
#0 lore raw

https://bugs.busybox.net/show_bug.cgi?id=15730

            Bug ID: 15730
           Summary: 2023.08-rc1 gettext-gnu 0.20.1 failed to compile
           Product: buildroot
           Version: unspecified
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Other
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]

Target Milestone: ---

### 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
```
Signature · 6 lines
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw

[Buildroot] [Bug 15730] 2023.08-rc1 gettext-gnu 0.20.1 failed to compile

https://bugs.busybox.net/show_bug.cgi?id=15730

[email protected] changed:

What |Removed |Added
----------------------------------------------------------------------------

   Target Milestone|---                         |2023.08
           Hardware|All                         |Other
Signature · 6 lines
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#2 lore raw

[Buildroot] [Bug 15730] 2023.08-rc1 gettext-gnu 0.20.1 failed to compile

In reply to [email protected]

https://bugs.busybox.net/show_bug.cgi?id=15730

[email protected] changed:

What |Removed |Added
----------------------------------------------------------------------------

             Target|                            |PPC64LE
              Build|                            |Compile on the Fedora 39
                   |                            |ppc64le
               Host|                            |PPC64LE
Signature · 6 lines
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#3 lore raw

[Buildroot] [Bug 15730] 2023.08-rc1 gettext-gnu 0.20.1 failed to compile

In reply to [email protected]

https://bugs.busybox.net/show_bug.cgi?id=15730

--- Comment #1 from [email protected] ---
FYI I don't get the issue with the latest v0.22

Signature · 6 lines
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#4 lore raw

[Buildroot] [Bug 15730] 2023.08-rc1 gettext-gnu 0.20.1 failed to compile

In reply to [email protected]

https://bugs.busybox.net/show_bug.cgi?id=15730

--- Comment #2 from Bernd Kuhls <[email protected]> --- Please try this patch:
https://patchwork.ozlabs.org/project/buildroot/patch/[email protected]/

Signature · 6 lines
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#5 lore raw

[Buildroot] [Bug 15730] 2023.08-rc1 gettext-gnu 0.20.1 failed to compile

In reply to [email protected]

https://bugs.busybox.net/show_bug.cgi?id=15730

--- Comment #3 from [email protected] ---
Great thanks. The patch works for me.

Signature · 6 lines
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#6 lore raw

[Buildroot] [Bug 15730] 2023.08-rc1 gettext-gnu 0.20.1 failed to compile

In reply to [email protected]

https://bugs.busybox.net/show_bug.cgi?id=15730

--- Comment #4 from [email protected] --- @Bernd Kuhls Is there any chance this patch could be upstreamed?

Signature · 6 lines
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#7 lore raw

[Buildroot] [Bug 15730] 2023.08-rc1 gettext-gnu 0.20.1 failed to compile

In reply to [email protected]

https://bugs.busybox.net/show_bug.cgi?id=15730

Bernd Kuhls <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED

--- Comment #5 from Bernd Kuhls <[email protected]> --- (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

Signature · 6 lines
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot