Date: Thu, 01 Aug 2024 01:26:24 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 280545] security/libfido2: build failed FAILED: 'cbor.h' file not found Message-ID: <bug-280545-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D280545 Bug ID: 280545 Summary: security/libfido2: build failed FAILED: 'cbor.h' file not found Product: Ports & Packages Version: Latest Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: sunpoet@FreeBSD.org Reporter: epopen@gmail.com Flags: maintainer-feedback?(sunpoet@FreeBSD.org) Assignee: sunpoet@FreeBSD.org On FreeBSD 14.1-RELEASE FreeBSD 14.1-RELEASE releng/14.1-n267679-10e31f0946= d8 amd64 with recent ports tree, building of port "security/libfido2" fails wi= th follows even "devel/libcbor" installed(/usr/local/include/cbor.h existence). =3D=3D=3D> Building for libfido2-1.15.0 [ 0% 2/1044] /usr/local/libexec/ccache/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 -DH AVE_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/usr/PortsWRKDIR/usr/ports/security/libfido2/work/libfido2-1.15.0/ src -D_POSIX_C_SOURCE=3D200809L -D_BSD_SOURCE -D__BSD_VISIBLE=3D1 -std=3Dc9= 9 -O2 -pipe -march=3Dnative -DOPENSSL_API_COMPAT=3D0x10100000L -fstack-protector= -strong -fno-strict-aliasing -O2 -pipe -march=3Dnative -DOPENSSL_API_COMPAT=3D0x10= 100000L -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/aes256.c.o -MF src/CMakeFiles/fido2.dir/aes256.c.o= .d -o src/CMakeFiles/fido2.dir/aes256.c.o -c /usr/PortsWRKDIR/usr/ports/security/libfido2/work/libfido2-1.15.0/src/aes25= 6.c FAILED: src/CMakeFiles/fido2.dir/aes256.c.o /usr/local/libexec/ccache/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/usr/PortsWRKDIR/usr/ports/security/libfido2/work/libfido2-1.15.0/src -D_POSIX_C_SOURCE=3D200809L -D_BSD_SOURCE -D__BSD_VISIBLE=3D1 -std=3Dc99 -O= 2 -pipe -march=3Dnative -DOPENSSL_API_COMPAT=3D0x10100000L -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -march=3Dnative -DOPENSSL_API_COMPAT=3D0x10= 100000L -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/aes256.c.o -MF src/CMakeFiles/fido2.dir/aes256.c.o= .d -o src/CMakeFiles/fido2.dir/aes256.c.o -c /usr/PortsWRKDIR/usr/ports/security/libfido2/work/libfido2-1.15.0/src/aes25= 6.c In file included from /usr/PortsWRKDIR/usr/ports/security/libfido2/work/libfido2-1.15.0/src/aes25= 6.c:8: /usr/PortsWRKDIR/usr/ports/security/libfido2/work/libfido2-1.15.0/src/fido.= h:42:10: fatal error: 'cbor.h' file not found 42 | #include <cbor.h> | ^~~~~~~~ 1 error generated. [ 0% 2/1044] /usr/local/libexec/ccache/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/usr/PortsWRKDIR/usr/ports/security/libfido2/work/libfido2-1.15.0/src -D_POSIX_C_SOURCE=3D200809L -D_BSD_SOURCE -D__BSD_VISIBLE=3D1 -std=3Dc99 -O= 2 -pipe -march=3Dnative -DOPENSSL_API_COMPAT=3D0x10100000L -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -march=3Dnative -DOPENSSL_API_COMPAT=3D0x10= 100000L -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/assert.c.o -MF src/CMakeFiles/fido2.dir/assert.c.o= .d -o src/CMakeFiles/fido2.dir/assert.c.o -c /usr/PortsWRKDIR/usr/ports/security/libfido2/work/libfido2-1.15.0/src/asser= t.c FAILED: src/CMakeFiles/fido2.dir/assert.c.o /usr/local/libexec/ccache/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/usr/PortsWRKDIR/usr/ports/security/libfido2/work/libfido2-1.15.0/src -D_POSIX_C_SOURCE=3D200809L -D_BSD_SOURCE -D__BSD_VISIBLE=3D1 -std=3Dc99 -O= 2 -pipe -march=3Dnative -DOPENSSL_API_COMPAT=3D0x10100000L -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -march=3Dnative -DOPENSSL_API_COMPAT=3D0x10= 100000L -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/assert.c.o -MF src/CMakeFiles/fido2.dir/assert.c.o= .d -o src/CMakeFiles/fido2.dir/assert.c.o -c /usr/PortsWRKDIR/usr/ports/security/libfido2/work/libfido2-1.15.0/src/asser= t.c In file included from /usr/PortsWRKDIR/usr/ports/security/libfido2/work/libfido2-1.15.0/src/asser= t.c:10: /usr/PortsWRKDIR/usr/ports/security/libfido2/work/libfido2-1.15.0/src/fido.= h:42:10: fatal error: 'cbor.h' file not found 42 | #include <cbor.h> | ^~~~~~~~ 1 error generated. ninja: build stopped: subcommand failed. =3D=3D=3D> Compilation failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=3Dyes and rebuild before reporting the failure = to the maintainer. *** Error code 1 Stop. make[1]: stopped in /usr/ports/security/libfido2 *** Error code 1 Thanks a lot --=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-280545-7788>