From nobody Tue Sep 3 13:51:08 2024 X-Original-To: ports-bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Wyn8Y0jcWz5PYfb for ; Tue, 03 Sep 2024 13:51:09 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Wyn8X5ZKmz4nc2 for ; Tue, 3 Sep 2024 13:51:08 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1725371468; a=rsa-sha256; cv=none; b=Fbo/ld8XVIuTwnDUe4pm7Kk6Jxn2TsWoC+FDRfLHRwABUbN2TBAgv5mknyWDwTPogtDqwF HlW3iIoJNX8T2C0Ak2ad3HqXI62Oa462GKFAJG1hhNEOS7uE65f2PWFqB5s7pS5waFsNvu jxq/4XSZjp0xO3YIiuoPWxglG3EpMfo63IQFAE1IbJAZJ1U6E2jAOYwyRnXLKjTg2W6kjH 2dMZNEYiuIixHG259duDa39xn8RoFcCuhQdUiym1rIeYc/1guQ63JeO/guGtB6BVTR73X2 MHJKBIMx2g1516/+v0rL/sJ4HnvAK1W7QpswwxriwPpQZ1XoO5Nunv8swr6LCg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1725371468; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=stX/+3PTpWpBYIrHd8vf2jwVKOqmrmjjn3RHMTufBf0=; b=o6xfjSKXmKG4p7sILcyrQp7qSfxUdtG2EOKIdOipAGWbr26YP4dryBmyW5NTr1o7HXzbMO Nscw85theGqifcIBK32qv/P/wRR1DwubrfLw1Eh5dlh++kRsUhKRDsVbAA7CYacn2dXCwg LGOUrKyQwqNCwXUsmTtwyHR7EihutK2Gb/GpuPS8UY8CR0fPEVXmx832ndMws7lI6J4yoN FACSSc8j4Jsi+WK8YAhhduio9jedces3tGipe3oY/NB7+jhLaxCRWpO6PghjUEsBk2t+5a CmU2Ps2O+1IsT9sIi2/KeX8Vrng92ObkhjpHLQpynKcLJYdfcuEg2OJMabkfoA== 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 4Wyn8X59qJzjqg for ; Tue, 3 Sep 2024 13:51:08 +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 483Dp8W8002530 for ; Tue, 3 Sep 2024 13:51:08 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 483Dp8Pw002529 for ports-bugs@FreeBSD.org; Tue, 3 Sep 2024 13:51:08 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: ports-bugs@FreeBSD.org Subject: [Bug 281243] net/l2tpd: Fails to build with GCC 14: error: implicit declaration of function 'kill' [-Wimplicit-function-declaration] Date: Tue, 03 Sep 2024 13:51:08 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: salvadore@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform bug_file_loc op_sys bug_status bug_severity priority component assigned_to reporter blocked 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 List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-ports-bugs@freebsd.org Sender: owner-freebsd-ports-bugs@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D281243 Bug ID: 281243 Summary: net/l2tpd: Fails to build with GCC 14: error: implicit declaration of function 'kill' [-Wimplicit-function-declaration] Product: Ports & Packages Version: Latest Hardware: Any URL: https://pkg-status.freebsd.org/gohan04/data/140amd64-d efault-foo/2024-08-29_19h57m48s/logs/errors/l2tpd-0.69 _12.log OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: salvadore@freebsd.org Blocks: 281091 Build fails with GCC 14. This blocks GCC_DEFAULT update to GCC 14. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D =3D=3D=3D=3D=3D env: NO_DEPENDS=3Dyes USER=3Droot UID=3D0 GID=3D0 =3D=3D=3D> Building for l2tpd-0.69_12 gcc14 -O2 -pipe -fcommon -fstack-protector-strong -Wl,-rpath=3D/usr/local/lib/gcc14 -fno-strict-aliasing -DDEBUG_PPPD -DDEBUG_CONTROL -DDEBUG_ENTROPY -Wall -DSANITY -DFREEBSD -DPREFIX=3D\"/usr/local\" -O -c l2tpd.c -o l2tpd.o In file included from l2tp.h:31, from l2tpd.c:40: misc.h:67:13: warning: conflicting types for built-in function 'log'; expec= ted 'double(double)' [-Wbuiltin-declaration-mismatch] 67 | extern void log (int level, const char *fmt, ...); | ^~~ misc.h:1:1: note: 'log' is declared in header '' +++ |+#include 1 | /* l2tpd.c: In function 'start_pppd': l2tpd.c:274:11: warning: variable 'str' set but not used [-Wunused-but-set-variable] 274 | char *str; | ^~~ l2tpd.c: In function 'lac_hangup': l2tpd.c:651:17: error: implicit declaration of function 'kill' [-Wimplicit-function-declaration] 651 | kill (tmp->pppd, SIGTERM); | ^~~~ l2tpd.c: In function 'daemonize': l2tpd.c:986:11: warning: variable 'l' set but not used [-Wunused-but-set-variable] 986 | int i,l; | ^ misc.h: At top level: misc.h:71:20: warning: inline function 'swaps' declared but never defined 71 | extern inline void swaps (void *, int); | ^~~~~ *** Error code 1 Stop. make: stopped in /wrkdirs/usr/ports/net/l2tpd/work/l2tpd-0.69 *** Error code 1 Full log: https://pkg-status.freebsd.org/gohan04/data/140amd64-default-foo/2024-08-29= _19h57m48s/logs/errors/l2tpd-0.69_12.log Useful link: https://gcc.gnu.org/gcc-14/porting_to.html Referenced Bugs: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D281091 [Bug 281091] [exp-run] Update GCC_DEFAULT to 14 etc. --=20 You are receiving this mail because: You are the assignee for the bug.=