Summary: | sys-libs/ncurses-6.4_p20230401 has implicit function declarations in configure logs (MUSL-SYSTEM) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Agostino Sarubbo <ago> |
Component: | Current packages | Assignee: | Gentoo's Team for Core System packages <base-system> |
Status: | CONFIRMED --- | ||
Severity: | normal | CC: | erhard_f |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 906027 | ||
Attachments: |
build.log.xz
build.log (ppc, 6.4_p20230401) |
Description
Agostino Sarubbo
![]() Created attachment 864041 [details]
build.log.xz
build log and emerge --info (compressed because it exceeds attachment limit, use 'xzless' to read it)
Found the following implicit function declarations in configure logs: config.log:719 - wcwidth config.log:1926 - posix_openpt config.log:1708 - posix_openpt config.log:719 - wcwidth config.log:1904 - posix_openpt config.log:1686 - posix_openpt Created attachment 886900 [details]
build.log (ppc, 6.4_p20230401)
Fails to build with GCC 14 on ppc/musl:
[...]
powerpc-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -DBUILDING_NCURSES -I../ncurses -I. -I/var/tmp/portage/sys-libs/ncurses-6.4_p20230401/work/ncurses-6.4/ncurses -I../include -I/var/tmp/portage/sys-libs/ncurses-6.4_p20230401/work/ncurses-6.4/ncurses/../include -D_POSIX_C_SOURCE=199506L -DNDEBUG -Os -mcpu=7450 -mtune=7450 -pipe --param max-inline-insns-single=1200 -W -Wall -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -Wextra -Winline -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wshadow -Wstrict-prototypes -Wundef -Wno-inline -Wignored-qualifiers -Wlogical-op -Wvarargs -Wwrite-strings -Wno-unknown-pragmas -Wswitch-enum -fPIC -DUSE_TERMLIB -c /var/tmp/portage/sys-libs/ncurses-6.4_p20230401/work/ncurses-6.4/ncurses/tinfo/lib_acs.c -o ../obj_s/lib_acs.o
/var/tmp/portage/sys-libs/ncurses-6.4_p20230401/work/ncurses-6.4/ncurses/tinfo/lib_acs.c: In function '_nc_wacs_width':
/var/tmp/portage/sys-libs/ncurses-6.4_p20230401/work/ncurses-6.4/ncurses/tinfo/lib_acs.c:321:18: error: implicit declaration of function 'wcwidth' [-Wimplicit-function-declaration]
321 | result = wcwidth(ch);
| ^~~~~~~
/var/tmp/portage/sys-libs/ncurses-6.4_p20230401/work/ncurses-6.4/ncurses/tinfo/lib_acs.c:321:18: warning: nested extern declaration of 'wcwidth' [-Wnested-externs]
make[1]: *** [Makefile:1016: ../obj_s/lib_acs.o] Error 1
make[1]: Leaving directory '/var/tmp/portage/sys-libs/ncurses-6.4_p20230401/work/ncurses-6.4-.ppc/ncursesw/ncurses'
make: *** [Makefile:135: all] Error 2
|