Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 937344 - sys-apps/iproute2-6.8.0-r2: call to undeclared function 'yyparse' [-Wimplicit-function-declaration] on musl/llvm
Summary: sys-apps/iproute2-6.8.0-r2: call to undeclared function 'yyparse' [-Wimplicit...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal minor
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-08-05 03:27 UTC by Blayne Vader
Modified: 2024-08-05 15:59 UTC (History)
1 user (show)

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


Attachments
build.log (build.log.xz,6.27 KB, application/x-xz)
2024-08-05 03:27 UTC, Blayne Vader
Details
emerge-info.txt (emerge-info.txt,35.03 KB, text/plain)
2024-08-05 03:27 UTC, Blayne Vader
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Blayne Vader 2024-08-05 03:27:02 UTC
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)"
Comment 1 Blayne Vader 2024-08-05 03:27:42 UTC
Created attachment 899055 [details]
emerge-info.txt