Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 936012 - sys-apps/busybox-1.36.1-r3 build fails with regex-related errors on ARM MUSL
Summary: sys-apps/busybox-1.36.1-r3 build fails with regex-related errors on ARM MUSL
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Embedded Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-07-13 20:58 UTC by Marius Dinu
Modified: 2024-07-20 14:55 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (emerge-info.txt,6.94 KB, text/plain)
2024-07-13 20:59 UTC, Marius Dinu
Details
build log (sys-apps:busybox-1.36.1-r3:20240713-202910.log,71.17 KB, text/x-log)
2024-07-13 20:59 UTC, Marius Dinu
Details
saveconfig (busybox,28.79 KB, text/plain)
2024-07-14 06:53 UTC, Marius Dinu
Details

Note You need to log in before you can comment on or make changes to this bug.
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