From owner-freebsd-bugs@freebsd.org Thu Apr 29 06:32:54 2021 Return-Path: Delivered-To: freebsd-bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id DF5E35F939D for ; Thu, 29 Apr 2021 06:32:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4FW5KL5m9dz3v5N for ; Thu, 29 Apr 2021 06:32:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id C5BFB5F9130; Thu, 29 Apr 2021 06:32:54 +0000 (UTC) Delivered-To: bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id C586E5F9063 for ; Thu, 29 Apr 2021 06:32:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FW5KL596Rz3v0h for ; Thu, 29 Apr 2021 06:32:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id A487B1988D for ; Thu, 29 Apr 2021 06:32:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 13T6Ws98055349 for ; Thu, 29 Apr 2021 06:32:54 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 13T6WsxR055348 for bugs@FreeBSD.org; Thu, 29 Apr 2021 06:32:54 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 255478] buildworld failure 12.2 stable with installed ncurses from ports. error: implicit declaration of function 'setcchar' is invalid in C99 Date: Thu, 29 Apr 2021 06:32:54 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 12.2-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: igor.polovykh@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Apr 2021 06:32:54 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D255478 Bug ID: 255478 Summary: buildworld failure 12.2 stable with installed ncurses from ports. error: implicit declaration of function 'setcchar' is invalid in C99 Product: Base System Version: 12.2-STABLE Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: bin Assignee: bugs@FreeBSD.org Reporter: igor.polovykh@gmail.com [root:/usr/src/usr.bin/talk]# make clang -O2 -pipe -fno-common -g -MD -MF.depend.display.o -MTdisplay.o -std=3Dgnu99 -fstack-protector-strong -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-stri= ngs -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -Wmissing-variable-declarations -Wthread-safety -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Qunused-arguments -c /usr/src/usr.bin/talk/display.c -o display.o /usr/src/usr.bin/talk/display.c:80:6: error: implicit declaration of functi= on 'setcchar' is invalid in C99 [-Werror,-Wimplicit-function-declaration] if (setcchar(&cc, wc, A_NORMAL, 0, NULL) !=3D OK) ^ /usr/src/usr.bin/talk/display.c:80:6: note: did you mean 'getchar'? /usr/include/stdio.h:271:6: note: 'getchar' declared here int getchar(void); ^ /usr/src/usr.bin/talk/display.c:108:3: error: implicit declaration of funct= ion 'wadd_wch' is invalid in C99 [-Werror,-Wimplicit-function-declaration] wadd_wch(win->x_win, makecchar(L'\n')); ^ /usr/src/usr.bin/talk/display.c:108:3: note: did you mean 'waddch'? /usr/include/curses.h:780:28: note: 'waddch' declared here extern NCURSES_EXPORT(int) waddch (WINDOW *, const chtype); /* implemented */ ^ /usr/src/usr.bin/talk/display.c:190:3: error: implicit declaration of funct= ion 'wadd_wch' is invalid in C99 [-Werror,-Wimplicit-function-declaration] wadd_wch(win->x_win, makecchar(*wc)); ^ 3 errors generated. *** Error code 1 Stop. make: stopped in /usr/src/usr.bin/talk Installed latest ncurses from ports: [root:/usr/src/usr.bin/talk]# pkg info |grep ncurses adacurses-20180127 Ada95 bindings for ncurses ncurses-6.2.20210313_1 Library for terminal-independent, full-screen output [root:/usr/src/usr.bin/talk]# --=20 You are receiving this mail because: You are the assignee for the bug.=