From nobody Tue Sep  3 12:48:34 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 4WylmQ0vRKz5PRsk
	for <ports-bugs@mlmmj.nyi.freebsd.org>; Tue, 03 Sep 2024 12:48:38 +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 4WylmP6xrMz4Wf5
	for <ports-bugs@FreeBSD.org>; Tue,  3 Sep 2024 12:48:37 +0000 (UTC)
	(envelope-from bugzilla-noreply@freebsd.org)
ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1725367718; a=rsa-sha256; cv=none;
	b=I3QBEnu/kiWzFULdOlRj141pXu/1td169Cz6yfeJKzteRxq8kN2NgGSdnST4m4IiPYBVGg
	hPwrjz9bO/xX3ESJytSgmJZPO6ts1zNCvNGWDOU1SkISmeDmvWSRJ4mChlDLguuqc71MPS
	z1FmdMsMeVz5N7oUt4aG4SGgZ48ZaP8I5S9IZlMAnw1Y6dWcBVlVzJQW0OMcBa90s8zam7
	Fmz0ogqNMz2wC7AVnmxSy98ZSKbeEmf2G1hYvdkdiCU+CIQ5Wc1fV1uRKv/Kb3QHMPTTNM
	fZinE4EbZREz0syVFZ9tzAbVH6PI7RM+elMjQ1XZ2WSV1KOb6YnrER5Cc+PHcg==
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=1725367718;
	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=JNgDrh206USdGZ2tDXn8UhZ1RVX1h8L6PfvtJ+m1pzw=;
	b=B/Xa9+3N6HMLB0CmO+Phr6sX0swFLV4kcImiWRKPD4Or+YGU6UO1pMt7Lfq9OKeEPOYUvb
	GXhp+VrqgV0o2GJSlWZcpYkL71mE+yN24irMEyl3Ft5/HEfdyRP4GBGxO5MgwLu5ZI2kU4
	ckhggdfmSNkpm1GghCqTw6rMjhY7pOG4izP8K93qEFOIjEDFhmtC7F8C0xWXZZ/lwDnL1C
	icnJJLdS3xHQEFnI2BZzaqzdR/Ed/virPpmw9Pu4nalrd56sO0FGe4WLLpxi6VcshfU0U1
	AOIfmcZCmeAWV0nP/ryqWINvRFxuoR7mM7ycmXXuy4UvmFkNyJOVzq34u/3hhA==
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 4WylmP6YHbzhDG
	for <ports-bugs@FreeBSD.org>; Tue,  3 Sep 2024 12:48:37 +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 483Cmb8s019757
	for <ports-bugs@FreeBSD.org>; Tue, 3 Sep 2024 12:48:37 GMT
	(envelope-from bugzilla-noreply@freebsd.org)
Received: (from www@localhost)
	by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 483Cmbnu019750
	for ports-bugs@FreeBSD.org; Tue, 3 Sep 2024 12:48:37 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 281226] devel/efivar: Fails to build with GCC 14: error:
 implicit declaration of function 'isprint' [-Wimplicit-function-declaration]
Date: Tue, 03 Sep 2024 12:48:34 +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: <bug-281226-7788@https.bugs.freebsd.org/bugzilla/>
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 <freebsd-ports-bugs.freebsd.org>
List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs
List-Help: <mailto:ports-bugs+help@freebsd.org>
List-Post: <mailto:ports-bugs@freebsd.org>
List-Subscribe: <mailto:ports-bugs+subscribe@freebsd.org>
List-Unsubscribe: <mailto:ports-bugs+unsubscribe@freebsd.org>
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=3D281226

            Bug ID: 281226
           Summary: devel/efivar: Fails to build with GCC 14: error:
                    implicit declaration of function 'isprint'
                    [-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/efivar-0.1
                    5_9.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.

gcc14 -O2 -pipe  -fstack-protector-strong -Wl,-rpath=3D/usr/local/lib/gcc14
-isystem /usr/local/include -fno-strict-aliasing  -Wall -Wsign-compare
-std=3Dgnu11 -fshort-wchar -fPIC -D_GNU_SOURCE
-I/wrkdirs/usr/ports/devel/efivar/work/efivar-0.15/src/   -isystem
/usr/local/include -c -o efivar.o efivar.c
efivar.c: In function 'show_variable':
efivar.c:166:29: error: implicit declaration of function 'isprint'
[-Wimplicit-function-declaration]
  166 |                         if (isprint(data[index]))
      |                             ^~~~~~~
efivar.c:31:1: note: include '<ctype.h>' or provide a declaration of 'ispri=
nt'
   30 | #include "guid.h"
  +++ |+#include <ctype.h>
   31 |=20
gmake[1]: *** [/wrkdirs/usr/ports/devel/efivar/work/efivar-0.15/Make.rules:=
14:
efivar.o] Error 1
gmake[1]: Leaving directory
'/wrkdirs/usr/ports/devel/efivar/work/efivar-0.15/src'
gmake: *** [Makefile:9: src] Error 2
*** Error code 1

Stop.

Full log:
https://pkg-status.freebsd.org/gohan04/data/140amd64-default-foo/2024-08-29=
_19h57m48s/logs/errors/efivar-0.15_9.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.=