Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 936012

Summary: sys-apps/busybox-1.36.1-r3 build fails with regex-related errors on ARM MUSL
Product: Gentoo Linux Reporter: Marius Dinu <marius+gentoo>
Component: Current packagesAssignee: Embedded Gentoo Team <embedded>
Status: UNCONFIRMED ---    
Severity: normal CC: ceamac, marius+gentoo
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info
build log
saveconfig

Description Marius Dinu 2024-07-13 20:58:36 UTC
emerge sys-apps/busybox-1.36.1-r3 fails with multiple error related to regex when regex options are selected by saved config. If ALL regex options are disabled, it builds ok.

Some of these errors are:

findutils/grep.c:180:9: error: unknown type name 'RE_TRANSLATE_TYPE'
  180 |         RE_TRANSLATE_TYPE case_fold; /* RE_TRANSLATE_TYPE is [[un]signed] char* */

findutils/grep.c:238:29: error: field 'matched_range' has incomplete type
  238 |         struct re_registers matched_range;


findutils/grep.c:208:28: error: 're_syntax_options' undeclared (first use in this function)
  208 | # define reflags           re_syntax_options


editors/vi.c:2394:9: error: 're_syntax_options' undeclared (first use in this function)
 2394 |         re_syntax_options = RE_SYNTAX_POSIX_BASIC & (~RE_DOT_NEWLINE);

editors/vi.c:2394:29: error: 'RE_SYNTAX_POSIX_BASIC' undeclared (first use in this function)
 2394 |         re_syntax_options = RE_SYNTAX_POSIX_BASIC & (~RE_DOT_NEWLINE);

Thank you.

Reproducible: Always
Comment 1 Marius Dinu 2024-07-13 20:59:12 UTC
Created attachment 897544 [details]
emerge --info
Comment 2 Marius Dinu 2024-07-13 20:59:38 UTC
Created attachment 897545 [details]
build log
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-07-13 21:05:58 UTC
Can you give the savedconfig file too please? Thanks.
Comment 4 Marius Dinu 2024-07-14 06:53:00 UTC
Created attachment 897561 [details]
saveconfig