| Summary: | sys-apps/iproute2-6.8.0-r2: call to undeclared function 'yyparse' [-Wimplicit-function-declaration] on musl/llvm | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Blayne Vader <blaynevader> |
| Component: | Current packages | Assignee: | Gentoo's Team for Core System packages <base-system> |
| Status: | UNCONFIRMED --- | ||
| Severity: | minor | CC: | blaynevader |
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | AMD64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
build.log
emerge-info.txt |
||
Created attachment 899055 [details]
emerge-info.txt
|
Created attachment 899054 [details] build.log Too long lines were shrinked: clang -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wold-style-definition -Wformat=2 -march=native -O2 -flto=thin -pipe -Werror=odr -Werror=strict-aliasing -pipe -I../include -I../include/uapi -DRESOLVE_HOSTNAMES -DLIBDIR=\"/usr/lib\" -DCONF_USR_DIR=\"/usr/share/iproute2\" -DCONF_ETC_DIR=\"/etc/iproute2\" -DNETNS_RUN_DIR=\"/run/netns\" -DNETNS_ETC_DIR=\"/etc/netns\" -DCONF_COLOR=COLOR_OPT_AUTO -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -march=native -O2 -flto=thin -pipe -Werror=odr -Werror=strict-aliasing -DHAVE_HANDLE_AT -DHAVE_HANDLE_AT -DHAVE_SETNS -DHAVE_SETNS -DHAVE_LIBMNL -DHAVE_LIBMNL -c -o lnstat_util.o lnstat_util.c clang -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wold-style-definition -Wformat=2 -march=native -O2 -flto=thin -pipe -Werror=odr -Werror=strict-aliasing -pipe -I../include -I../include/uapi -DRESOLVE_HOSTNAMES -DLIBDIR=\"/usr/lib\" -DCONF_USR_DIR=\"/usr/share/iproute2\" -DCONF_ETC_DIR=\"/etc/iproute2\" -DNETNS_RUN_DIR=\"/run/netns\" -DNETNS_ETC_DIR=\"/etc/netns\" -DCONF_COLOR=COLOR_OPT_AUTO -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -march=native -O2 -flto=thin -pipe -Werror=odr -Werror=strict-aliasing -DHAVE_HANDLE_AT -DHAVE_HANDLE_AT -DHAVE_SETNS -DHAVE_SETNS -DHAVE_LIBMNL -DHAVE_LIBMNL -c -o ssfilter.tab.o ssfilter.tab.c ssfilter.y:364:6: error: call to undeclared function 'yyparse'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 364 | if (yyparse()) { | ^ ssfilter.tab.c:534:1: warning: unused label 'yyerrlab' [-Wunused-label] 534 | yyerrlab: | ^~~~~~~~~ ssfilter.tab.c:461:1: warning: no previous prototype for function 'yyparse' [-Wmissing-prototypes] 461 | yyparse(void) | ^ ssfilter.tab.c:459:1: note: declare 'static' if the function is not intended to be used outside of this translation unit 459 | int | ^ | static ------------------------------------------------------------------------------- output of "emerge -pqv '=sys-apps/iproute2-6.8.0-r2::gentoo'": [ebuild R ] sys-apps/iproute2-6.8.0-r2 USE="elf* iptables -atm -berkdb -bpf -caps -minimal -nfs (-selinux)"