Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Dec 2018 16:59:23 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 234064] security/krb5: fix build with LibreSSL 2.9
Message-ID:  <bug-234064-7788@https.bugs.freebsd.org/bugzilla/>

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

            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@FreeBSD.org
          Reporter: ml+freebsd@vishwin.info
          Assignee: cy@FreeBSD.org
             Flags: maintainer-feedback?(cy@FreeBSD.org)

Created attachment 200157
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D200157&action=
=3Dedit
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=20
-DKRB5_DEPRECATED=3D1 -DKRB5_PRIVATE -I/usr/local/include -I/usr/local/incl=
ude
-isystem /usr/local/include -O2 -pipe -march=3Dbroadwell  -fstack-protector
-isystem /usr/local/include -fno-strict-aliasing -std=3Dgnu99=20
-Werror=3Dunknown-warning-option -Wall -Wcast-align -Wshadow -Wmissing-prot=
otypes
-pedantic -Wno-format-zero-length -Woverflow -Wstrict-overflow
-Wmissing-format-attribute -Wmissing-prototypes -Wreturn-type -Wmissing-bra=
ces
-Wparentheses -Wswitch -Wunused-function -Wunused-label -Wunused-variable
-Wunused-value -Wunknown-pragmas -Wsign-compare -Wnewline-eof
-Werror=3Duninitialized -Werror=3Dpointer-arith -Werror=3Dint-conversion
-Werror=3Dincompatible-pointer-types -Werror=3Dimplicit-int
-Werror=3Ddeclaration-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 declara=
tor
} 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/pkin=
it'
gmake[1]: *** [Makefile:1527: all-recurse] Error 1
gmake[1]: Leaving directory
'/wrkdirs/usr/ports/security/krb5/work/krb5-1.16.2/src'

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