Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Aug 2023 16:11:40 +0900 (JST)
From:      Yasuhiro Kimura <yasu@FreeBSD.org>
To:        guru@unixarea.de
Cc:        freebsd-current@freebsd.org
Subject:   Re: security/openvpn does not compile in 14-CURRENT w/ poudriere
Message-ID:  <20230815.161140.2290198053300852479.yasu@FreeBSD.org>
In-Reply-To: <ZNsYRpkt7QEpXPWS@c720-r368166>
References:  <ZNsYRpkt7QEpXPWS@c720-r368166>

next in thread | previous in thread | raw e-mail | index | archive | help
From: Matthias Apitz <guru@unixarea.de>
Subject: security/openvpn does not compile in 14-CURRENT w/ poudriere
Date: Tue, 15 Aug 2023 08:16:38 +0200

> 
> security/openvpn fails to build with an error message in the log:
> 
> ...
> libc.so.7
> libcrypto.so.11
> libcrypto.so.30
> libdl.so.1
> liblz4.so.1
> liblzo2.so.2
> libnv.so.1
> libpkcs11-helper.so.1
> libssl.so.11
> libthr.so.3
> /usr/ports/security/openvpn FAILED: either of libssl libcrypto libraries linked multiple times
> *** Error code 1
> 
> The full log is at http://www.unixarea.de/openvpn-2.6.5.log
> 
> The job uses via make.conf the SSL from the base:
> 
> ---Begin OPTIONS List---
> ===> The following configuration options are available for openvpn-2.6.5:
>      ASYNC_PUSH=off: Enable async-push support
>      DCO=on: Build with Data Channel Offload (ovpn(4)) support
>      DOCS=on: Build and/or install documentation
>      EASYRSA=on: Install security/easy-rsa RSA helper package
>      EXAMPLES=on: Build and/or install examples
>      LZ4=on: LZ4 compression support
>      LZO=on: LZO compression (incompatible with LibreSSL)
>      PKCS11=on: Use security/pkcs11-helper, needs same SSL lib!
>      SMALL=off: Build a smaller executable with fewer features
>      TEST=on: Build and/or run tests
>      UNITTESTS=off: Enable unit tests
>      X509ALTUSERNAME=off: Enable --x509-username-field
> ===> Use 'make config' to modify these settings
> ---End OPTIONS List---
> 
> --MAKE_ENV--
> OPENSSLBASE=/usr OPENSSLDIR=/etc/ssl OPENSSLINC=/usr/include OPENSSLLIB=/usr/lib ...
> 
> There is a similar, but closed PR: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=254323
> 
> What can I do?
> 
> 	matthias

I tried build of security/openvpn with following conditions.

* Host: 14.0-ALPHA1 amd64 main-n264690-54cfeb84846 GENERIC
* Poudriere: 3.3.7
* Jail: same as host
* Ports tree: d5418d0957ad (main branch)
* Default options setting including all dependencies

And it finished successfully.

Full build log:
https://people.freebsd.org/~yasu/poudriere/data/logs/bulk/curamd64-default/2023-08-15_15h42m59s/logs/openvpn-2.6.5.log

HTH.

---
Yasuhiro Kimura



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20230815.161140.2290198053300852479.yasu>