From nobody Sat Dec 21 23:14:47 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 4YG0Vb4yCkz5hdl6 for ; Sat, 21 Dec 2024 23:14:47 +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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YG0Vb2BB3z558N for ; Sat, 21 Dec 2024 23:14:47 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1734822887; 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=22ZqmSz/KTvU/ZrlaywbMEmmcbGqQ0kzmi6QGzTHsvA=; b=HqeL8GjHmNFA1sAqcCm1PZLHvsKjxmQ6cE0S/fN/Wf9jO1e/H8WE65hiWOQRDUIlfpBQrU Xzsj7jR+AytmlX5xlTQJdpj0YILdRs7KkKo58brEj/w8CpVlY5o6x82uWlgTgAYArwc+Yp teT6ELrRWK3IC5IvbMbWzNR4gRJGM49KEYpvu+bY8RmiIJ+eoVngd6/leLu3zdS4EBYitz S/mdUDTCnEHZcXJeH0aIzvJ/9UiT5ZkDbv4ADaV5vfiGEm6g76f4xB+p4Jeszi/g8vDMtA 5IkumXElkoISjognBXFy69wQ0T3yZZwqYX672GWHFSkACzRCJyOVMAXJGJYm4g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1734822887; a=rsa-sha256; cv=none; b=GOGWJveu7R3G8Y+DPLJCCygf2CKbVvtpO22dXzSqq5Yjuobqn42l6WOddqA4bBuUsgSF7M HZDv/hpVuZ1uRwF28dppzvaVY0CM+Jr4iEHARcYbFlQb+HSRXRJ0LsXzSvV9Y7kc5+bU/5 Ea3PSZZVL/mgcSlusAL39oT+4JnrqpzITh9Kol9D4tcYXUQYrZek7tE2thKFw8halesStp MXKbiPdnP9tGVabId3xWwbbwnaUZAw+1U0xUjWGBCnw8N7cpl8ab/a6hJ1f/CO1h5woTws tqY04oJk82nXgFQS1XbOv5dy6U9iUmqs7VhHTIKoJBic3dTsBVCLIgwMqthgMw== 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 4YG0Vb1PYGzkMC for ; Sat, 21 Dec 2024 23:14:47 +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 4BLNElpi002666 for ; Sat, 21 Dec 2024 23:14:47 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 4BLNElJX002665 for ports-bugs@FreeBSD.org; Sat, 21 Dec 2024 23:14:47 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 283480] secuirty/Libfido2: compilation broken after /usr/src changes POSIX visibility on ppoll() Date: Sat, 21 Dec 2024 23:14:47 +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 Many People X-Bugzilla-Who: beldin@beldin.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 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 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=3D283480 Bug ID: 283480 Summary: secuirty/Libfido2: compilation broken after /usr/src changes POSIX visibility on ppoll() Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Many People Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: beldin@beldin.org Recent changes in /usr/src, specifically commit 74ecdf86d8d2a94a4bfcf094a2e21b4747e4907f changed visibility of ppoll to onl= y be visible if __POSIX_VISIBLE >=3D 202405 (previously _BSD_VISIBLE) which resu= lts in the following error during build of libfido2: FAILED: src/CMakeFiles/fido2.dir/hid_unix.c.o=20 /usr/bin/cc -DHAVE_ARC4RANDOM_BUF -DHAVE_ASPRINTF -DHAVE_CLOCK_GETTIME -DHAVE_DEV_URANDOM -DHAVE_ENDIAN_H -DHAVE_ERR_H -DHAVE_EXPLICIT_BZERO -DHAVE_GETLINE -DHAVE_GETOPT -DHAVE_GETPAGESIZE -DHAVE_GETRANDOM -DHAVE_OPENSSLV_H -DHAVE_READPASSPHRASE -DHAVE_SIGNAL_H -DHAVE_STRLCAT -DHAVE_STRLCPY -DHAVE_STRSEP -DHAVE_SYSCONF -DHAVE_SYS_RANDOM_H -DHAVE_TIMESPECSUB -DHAVE_TIMINGSAFE_BCMP -DHAVE_UNISTD_H -DOPENSSL_API_COMPAT=3D0x10100000L -DTLS=3D__thread -D_FIDO_INTERNAL -D_FIDO_MAJOR=3D1 -D_FIDO_MINOR=3D15 -D_FIDO_PATCH=3D0 -I/wrkdirs/usr/ports/security/libfido2/work/libfido2-1.15.0/src -I/usr/local/include -D_POSIX_C_SOURCE=3D200809L -D_BSD_SOURCE -D__BSD_VISI= BLE=3D1 -std=3Dc99 -O2 -pipe -DOPENSSL_API_COMPAT=3D0x10100000L -fstack-protector-= strong -fno-strict-aliasing -O2 -pipe -DOPENSSL_API_COMPAT=3D0x10100000L -fstack-protector-strong -fno-strict-aliasing -DNDEBUG -D_FORTIFY_SOURCE= =3D2 -fPIC -Wall -Wextra -Werror -Wshadow -Wcast-qual -Wwrite-strings -Wmissing-prototypes -Wbad-function-cast -Wimplicit-fallthrough -pedantic -pedantic-errors -Wshorten-64-to-32 -fstack-protector-all -Wconversion -Wsign-conversion -Wframe-larger-than=3D2047 -MD -MT src/CMakeFiles/fido2.dir/hid_unix.c.o -MF src/CMakeFiles/fido2.dir/hid_unix.c.o.d -o src/CMakeFiles/fido2.dir/hid_unix.c.o -c /wrkdirs/usr/ports/security/libfido2/work/libfido2-1.15.0/src/hid_unix.c /wrkdirs/usr/ports/security/libfido2/work/libfido2-1.15.0/src/hid_unix.c:69= :11: error: call to undeclared function 'ppoll'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] 69 | if ((r =3D ppoll(&pfd, 1, ms > -1 ? &ts : NULL, sigmask)) <= 1) { | ^ /wrkdirs/usr/ports/security/libfido2/work/libfido2-1.15.0/src/hid_unix.c:69= :11: note: did you mean 'poll'? /usr/include/poll.h:117:5: note: 'poll' declared here 117 | int poll(struct pollfd _pfd[], nfds_t _nfds, int _timeout); | ^ 1 error generated. (poll is still visible since it suggests that as an alternative, so correct includes are being included) --=20 You are receiving this mail because: You are the assignee for the bug.=