[Bug 269249] security/libressl: d1_pkt.c:138:8: error: use of undeclared identifier 'BYTE_ORDER'

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 30 Jan 2023 15:55:13 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=269249

            Bug ID: 269249
           Summary: security/libressl: d1_pkt.c:138:8: error: use of
                    undeclared identifier 'BYTE_ORDER'
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: brnrd@freebsd.org
          Reporter: dan.kotowski@a9development.com
          Assignee: brnrd@freebsd.org
             Flags: maintainer-feedback?(brnrd@freebsd.org)

# uname -a
FreeBSD pyrogl.a9development.com 13.1-STABLE FreeBSD 13.1-STABLE
stable/13-n254189-0811d18fea91 GENERIC amd64



# git log -1 .
commit 2de693838714fb47abc4b9f468ef20e129e31f47
Author: Bernard Spil <brnrd@FreeBSD.org>
Date:   Sun Sep 25 11:15:46 2022 +0000

    security/libressl: Update to 3.5.3

     * Make sure you check https://wiki.freebsd.org/LibreSSL/3.5
       and UPDATING



libtool: compile:  cc -DPACKAGE_NAME=\"libressl\"
-DPACKAGE_TARNAME=\"libressl\" -DPACKAGE_VERSION=\"3.5.3\"
"-DPACKAGE_STRING=\"libressl 3.5.3\"" -DPACKAGE_BUGREPORT=\"\"
-DPACKAGE_URL=\"\" -DPACKAGE=\"libressl\" -DVERSION=\"3.5.3\" -DSTDC_HEADERS=1
-DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1
-DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1
-DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DSIZEOF_TIME_T=8
-DHAVE_SYMLINK=1 -DHAVE_ENDIAN_H=1 -DHAVE_ERR_H=1 -DHAVE_READPASSPHRASE_H=1
-DHAVE_NETINET_IP_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_NETINET_IN_H=1
-DHAVE_ARPA_NAMESER_H=1 -DHAVE_NETDB_H=1 -DHAVE_RESOLV_H=1 -DHAVE_ASPRINTF=1
-DHAVE_MEMMEM=1 -DHAVE_READPASSPHRASE=1 -DHAVE_REALLOCARRAY=1 -DHAVE_STRLCAT=1
-DHAVE_STRLCPY=1 -DHAVE_STRNDUP=1 -DHAVE_STRNLEN=1 -DHAVE_STRSEP=1
-DHAVE_STRTONUM=1 -DHAVE_TIMEGM=1 -DHAVE_GETPROGNAME=1 -DHAVE_SYSLOG=1
-DHAVE_ACCEPT4=1 -DHAVE_PIPE2=1 -DHAVE_POLL=1 -DHAVE_SOCKETPAIR=1
-DHAVE_ARC4RANDOM=1
-DHAVE_ARC4RANDOM_BUF=1 -DHAVE_ARC4RANDOM_UNIFORM=1 -DHAVE_EXPLICIT_BZERO=1
-DHAVE_TIMINGSAFE_BCMP=1 -DHAVE_TIMINGSAFE_MEMCMP=1 -DHAVE_DL_ITERATE_PHDR=1
-DHAVE_CLOCK_GETTIME=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1
-DHAS_GNU_WARNING_LONG=1 -I. -I../include -I../include/compat
-DLIBRESSL_INTERNAL -D__BEGIN_HIDDEN_DECLS= -D__END_HIDDEN_DECLS=
-I../crypto/bio -D_FORTIFY_SOURCE=2 -O2 -pipe -fpic -DPIC
-Wl,-rpath,/usr/local/lib -Wl,--as-needed -fstack-protector-strong
-fno-strict-aliasing -Wall -std=gnu99 -fno-strict-aliasing -fno-strict-overflow
-fstack-protector-strong -DHAVE_GNU_STACK -Qunused-arguments -Wno-pointer-sign
-MT d1_pkt.lo -MD -MP -MF .deps/d1_pkt.Tpo -c d1_pkt.c  -fPIC -DPIC -o
.libs/d1_pkt.o
d1_pkt.c:138:8: error: use of undeclared identifier 'BYTE_ORDER'
                        if (BYTE_ORDER == LITTLE_ENDIAN)
                            ^
d1_pkt.c:138:22: error: use of undeclared identifier 'LITTLE_ENDIAN'
                        if (BYTE_ORDER == LITTLE_ENDIAN)
                                          ^
2 errors generated.
*** Error code 1

Stop.
make[3]: stopped in
/usr/ports/security/libressl/work-default/libressl-3.5.3/ssl
*** Error code 1

Stop.
make[2]: stopped in /usr/ports/security/libressl/work-default/libressl-3.5.3
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/security/libressl
*** Error code 1

Stop.
make: stopped in /usr/ports/security/libressl

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