Bug 244249 - Compile errors on security/krb5 version 1.18
Summary: Compile errors on security/krb5 version 1.18
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Only Me
Assignee: Cy Schubert
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-02-20 18:49 UTC by lysfjord.daniel
Modified: 2020-02-21 15:44 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (cy)


Attachments
poudriere build log for security/krb5-1.18 (930.39 KB, text/plain)
2020-02-20 18:49 UTC, lysfjord.daniel
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description lysfjord.daniel 2020-02-20 18:49:27 UTC
Created attachment 211780 [details]
poudriere build log for security/krb5-1.18

Compiling security/krb5-1.18 fails with multiple errors (see attached log).

The compile is done on 12.1-RELEASE-p2, using poudriere 3.3.3, running in a VM (qemu-kvm) on a linux machine with an Intel Core i7-7700K CPU.

make.conf:
DEFAULT_VERSIONS+= mysql=10.4m
DEFAULT_VERSIONS+= ssl=libressl
DEFAULT_VERSIONS+= pgsql=11
OPTIONS_UNSET+= X11
OPTIONS_UNSET+= CUPS
OPTIONS_UNSET+= GNOME GTK1 GTK2 GTK3
OPTIONS_UNSET+= KDE4 QT4
ftp_curl_UNSET= TLS_SRP
.if ${.CURDIR:M*/lang/gcc*}
CPUTYPE?=x86-64
.elif ${.CURDIR:M*/databases/memcached*}
CPUTYPE?=x86-64
.else
CPUTYPE?=skylake
.endif
--END make.conf--
Comment 1 Cy Schubert freebsd_committer freebsd_triage 2020-02-20 19:45:23 UTC
This is a libressl issue. I'll try to reproduce.

Can you tell me pkg info libressl, please?
Comment 2 lysfjord.daniel 2020-02-20 20:55:44 UTC
libressl-3.0.2
Name           : libressl
Version        : 3.0.2
Installed on   : Sun Oct 20 06:10:01 2019 CEST
Origin         : security/libressl
Architecture   : FreeBSD:12:amd64
Prefix         : /usr/local
Categories     : security devel
Licenses       : BSD4CLAUSE
Maintainer     : brnrd@FreeBSD.org
WWW            : http://www.libressl.org/
Comment        : Free version of the SSL/TLS protocol forked from OpenSSL
Options        :
	MAN3           : on
	NC             : on
Shared Libs provided:
	libcrypto.so.45
	libtls.so.19
	libssl.so.47
Annotations    :
	FreeBSD_version: 1200086
	cpe            : cpe:2.3:a:openbsd:libressl:3.0.2:::::freebsd12:x64
	repo_type      : binary
	repository     : poudriere
Flat size      : 9.77MiB
Description    :
LibreSSL is an open-source implementation of the Secure Sockets Layer (SSL) and
Transport Layer Security (TLS) protocols. It was forked from the OpenSSL
cryptographic software library in April 2014 as a response by OpenBSD
developers to the Heartbleed security vulnerability in OpenSSL,
with the aim of refactoring the OpenSSL code so as to provide a more secure
implementation.

LibreSSL was forked from the OpenSSL library starting with the 1.0.1g branch
and will follow the security guidelines used elsewhere in the OpenBSD project.

WWW: http://www.libressl.org/
Comment 3 commit-hook freebsd_committer freebsd_triage 2020-02-21 02:06:51 UTC
A commit references this bug:

Author: cy
Date: Fri Feb 21 02:06:00 UTC 2020
New revision: 526600
URL: https://svnweb.freebsd.org/changeset/ports/526600

Log:
  Fix build with libressl.

  The new softpkcs11 test makes explicit OpenSSL calls which are
  unsupported in LibreSSL. Remove this one test to allow krb5-118
  to build with libressl.

  PR:		244249

Changes:
  head/security/krb5-118/files/patch-tests_Makefile.in
Comment 4 lysfjord.daniel 2020-02-21 15:44:02 UTC
Builds perfectly. Thank you for the quick resolve:)