Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Dec 2024 19:25:09 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 283697] security/libfido2: build failed: error: call to undeclared function 'ppoll'
Message-ID:  <bug-283697-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D283697

            Bug ID: 283697
           Summary: security/libfido2: build failed: error: call to
                    undeclared function 'ppoll'
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: sunpoet@FreeBSD.org
          Reporter: dan.kotowski@a9development.com
          Assignee: sunpoet@FreeBSD.org
             Flags: maintainer-feedback?(sunpoet@FreeBSD.org)

[  3% 70/1044] /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_RANDO=
M_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
FAILED: src/CMakeFiles/fido2.dir/hid_unix.c.o
/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.


root@pkg1:/usr/ports/security/libfido2 # freebsd-version -ru
15.0-CURRENT
15.0-CURRENT
root@pkg1:/usr/ports/security/libfido2 # cat /var/run/os-release
NAME=3DFreeBSD
VERSION=3D"15.0-CURRENT"
VERSION_ID=3D"15.0"
ID=3Dfreebsd
ANSI_COLOR=3D"0;31"
PRETTY_NAME=3D"FreeBSD 15.0-CURRENT"
CPE_NAME=3D"cpe:/o:freebsd:freebsd:15.0"
HOME_URL=3D"https://FreeBSD.org/"
BUG_REPORT_URL=3D"https://bugs.FreeBSD.org/"
root@pkg1:/usr/ports/security/libfido2 # uname -a
FreeBSD pkg1.a9development.com 15.0-CURRENT FreeBSD 15.0-CURRENT 1500029 am=
d64

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-283697-7788>