Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Jun 2024 11:23:18 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 279928] security/libfido2: build failed FAILED: /usr/include/sys/cdefs.h:216:56: error: expected value in expression
Message-ID:  <bug-279928-7788@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 279928
           Summary: security/libfido2: build failed FAILED:
                    /usr/include/sys/cdefs.h:216:56: error: expected value
                    in expression
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: sunpoet@FreeBSD.org
          Reporter: ohartmann@walstatt.org
             Flags: maintainer-feedback?(sunpoet@FreeBSD.org)
          Assignee: sunpoet@FreeBSD.org

On FreeBSD 15.0-CURRENT #50 main-n270898-10d8f953952b: Sat Jun 22 10:44:48 =
CEST
2024 amd64 with recent ports tree, building of port

security/libfido2

fails with=20

[...]
FAILED: src/CMakeFiles/fido2.dir/authkey.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/usr/ports/security/libfido2/work/libfido2-1.15.0/src -I/usr/local/include
-D_POSIX_C_SOURCE=3D200809L -D_BSD_SOURCE -D__BSD_VISIBLE=3D1 -std=3Dc99 -O=
2 -pipe=20
-DOPENSSL_API_COMPAT=3D0x10100000L -fstack-protector-strong -fno-strict-ali=
asing
-O2 -pipe  -DOPENSSL_API_COMPAT=3D0x10100000L -fstack-protector-strong
-fno-strict-aliasing  -DNDEBUG -D_FORTIFY_SOURCE=3D2 -fPIC -Wall -Wextra -W=
error
-Wshadow -Wcast-qual -Wwrite-strings -Wmissing-prototypes -Wbad-function-ca=
st
-Wimplicit-fallthrough -pedantic -pedantic-errors -Wshorten-64-to-32
-fstack-protector-all -Wconversion -Wsign-conversion -Wframe-larger-than=3D=
2047
-MD -MT src/CMakeFiles/fido2.dir/authkey.c.o -MF
src/CMakeFiles/fido2.dir/authkey.c.o.d -o src/CMakeFiles/fido2.dir/authkey.=
c.o
-c /usr/ports/security/libfido2/work/libfido2-1.15.0/src/authkey.c
In file included from
/usr/ports/security/libfido2/work/libfido2-1.15.0/src/authkey.c:8:
In file included from
/usr/ports/security/libfido2/work/libfido2-1.15.0/src/fido.h:32:
In file included from /usr/include/openssl/ec.h:21:
In file included from /usr/include/openssl/types.h:14:
In file included from /usr/include/limits.h:35:
/usr/include/sys/cdefs.h:216:56: error: expected value in expression
  216 | #if (defined(__cplusplus) && __cplusplus >=3D 201103L) ||
      |                                                        ^
1 error generated.

[...]

there are more errors of this type referencing
"/usr/include/sys/cdefs.h:216:56: error: expected value in expression"

--=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-279928-7788>