[Bug 234064] security/krb5: fix build with LibreSSL 2.9
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sun Dec 16 16:59:26 UTC 2018
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=234064
Bug ID: 234064
Summary: security/krb5: fix build with LibreSSL 2.9
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: Individual Port(s)
Assignee: cy at FreeBSD.org
Reporter: ml+freebsd at vishwin.info
Assignee: cy at FreeBSD.org
Flags: maintainer-feedback?(cy at FreeBSD.org)
Created attachment 200157
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=200157&action=edit
WIP patch
LibreSSL 2.9 further improved compatibility with OpenSSL 1.1 with regards to
using <openssl/asn1t.h> and deprecating <openssl/asn1_mac.h>, with LibreSSL
removing the latter file entirely over OpenSSL's friendly deprecation error.
This fixes the logic for LibreSSL 2.9.
However, there is now a separate build error:
cc -fpic -DSHARED -DHAVE_CONFIG_H -I../../../include -I../../../include
-DKRB5_DEPRECATED=1 -DKRB5_PRIVATE -I/usr/local/include -I/usr/local/include
-isystem /usr/local/include -O2 -pipe -march=broadwell -fstack-protector
-isystem /usr/local/include -fno-strict-aliasing -std=gnu99
-Werror=unknown-warning-option -Wall -Wcast-align -Wshadow -Wmissing-prototypes
-pedantic -Wno-format-zero-length -Woverflow -Wstrict-overflow
-Wmissing-format-attribute -Wmissing-prototypes -Wreturn-type -Wmissing-braces
-Wparentheses -Wswitch -Wunused-function -Wunused-label -Wunused-variable
-Wunused-value -Wunknown-pragmas -Wsign-compare -Wnewline-eof
-Werror=uninitialized -Werror=pointer-arith -Werror=int-conversion
-Werror=incompatible-pointer-types -Werror=implicit-int
-Werror=declaration-after-statement -Werror-implicit-function-declaration
-pthread -c pkinit_crypto_openssl.c -o pkinit_crypto_openssl.so.o && mv -f
pkinit_crypto_openssl.so.o pkinit_crypto_openssl.so
rm -f ../pkinit.so
(cd .. && ln -s `basename plugins/preauth/pkinit`/pkinit.so .)
pkinit_crypto_openssl.c:3072:2: error: expected ';' after top level declarator
} static_ASN1_SEQUENCE_END_name(int_dhvparams, DHvparams)
^
;
1 error generated.
gmake[2]: *** [Makefile:826: pkinit_crypto_openssl.so] Error 1
gmake[2]: Leaving directory
'/wrkdirs/usr/ports/security/krb5/work/krb5-1.16.2/src/plugins/preauth/pkinit'
gmake[1]: *** [Makefile:1527: all-recurse] Error 1
gmake[1]: Leaving directory
'/wrkdirs/usr/ports/security/krb5/work/krb5-1.16.2/src'
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list