Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Jul 2016 23:30:08 +0800
From:      "Euan Thoms" <euan@potensol.com>
To:        "FreeBSD Ports Mailing List" <freebsd-ports@freebsd.org>
Subject:   curl and nginx no longer build on same host
Message-ID:  <4898-5787b000-f-6b8b4580@245859417>

next in thread | raw e-mail | index | archive | help
I just tried to update my www/sogo2 jail and I now have ports breakage.=


The first thing that happened is that "portmaster -Rad" failed on ftp/c=
url with the following message:

"""
=3D=3D=3D>  Cleaning for curl-7.49.1
You have a /usr/local/lib/libcrypto.so file installed, but the framewor=
k is unable
to determine what port it comes from.
Add DEFAULT=5FVERSIONS+=3Dssl=3D<openssl package name> to your /etc/mak=
e.conf and try again.
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/ftp/curl
*** Error code 1

Stop.
make: stopped in /usr/ports/ftp/curl

=3D=3D=3D>>> make build failed for ftp/curl
=3D=3D=3D>>> Aborting update

=3D=3D=3D>>> Update for curl-7.48.0=5F2 failed
=3D=3D=3D>>> Aborting update
"""

It seems that ftp/curl can't build with openssl or libressl installed f=
rom ports. And www/nginx will only build with openssl or libresll insta=
lled from ports. So basically nginx and curl can't co-exist on the same=
 host/jail.

My port options are almost all the defaults, and I don't want to set an=
ything in /etc/make.conf, but even if I do set DEFAULT=5FVERSIONS+=3Dss=
l=3D<???>ssl I can't get curl to build.

I've been updating this jail regulary for a while now without any issue=
. This reminds me hair-pulling in the past with the Kerberos fork issue=
s (MIT vs Heimdal). And I was finding ports management so easy these da=
ys, until today.

Why can't curl just use openssl from base, despite the port version bei=
ng installed?



# uname -a
FreeBSD sogo.potensol.com 10.1-RELEASE-p16 FreeBSD 10.1-RELEASE-p16 #0:=
 Tue Jul 28 12:04:19 UTC 2015     root@amd64-builder.daemonology.net:/u=
sr/obj/usr/src/sys/GENERIC  amd64

-- 
Regards, Euan Thoms




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4898-5787b000-f-6b8b4580>