Date: Fri, 15 Jul 2016 22:21:29 -0400 From: Jim Ohlstein <jim@ohlste.in> To: Euan Thoms <euan@potensol.com> Cc: FreeBSD Ports Mailing List <freebsd-ports@freebsd.org> Subject: Re: curl and nginx no longer build on same host Message-ID: <B7DD2904-15CE-4A43-B381-19D6C2AD7D63@ohlste.in> In-Reply-To: <7c85-57899600-17-6b8b4580@130332183> References: <7c85-57899600-17-6b8b4580@130332183>
next in thread | previous in thread | raw e-mail | index | archive | help
Hello, > On Jul 15, 2016, at 10:03 PM, Euan Thoms <euan@potensol.com> wrote: >=20 > Bump >=20 > Can anyone else install or update ftp/curl after installing nginx? Yes, but I'm building packages using poudriere, not using portmaster.=20 >=20 > The only way I'm able to update now is to uninstall openssl and nginx, the= n update curl, then reinstall nginx (which pulls in openssl). This was not r= equired on several previous update cycles. If memory serves me correctly, nginx and curl both require openssl from port= s only if certain options are chosen (http2 being one), or at least that was= the case in the past. You may have option(s) selected for one that requires the version from ports= , and one that does not. Have you tried to force usage of openssl from ports in your /etc/make.conf? >=20 >=20 >> On Thursday, July 14, 2016 23:30 SGT, "Euan Thoms" <euan@potensol.com> wr= ote:=20 >>=20 >> I just tried to update my www/sogo2 jail and I now have ports breakage. >>=20 >> The first thing that happened is that "portmaster -Rad" failed on ftp/cur= l with the following message: >>=20 >> """ >> =3D=3D=3D> Cleaning for curl-7.49.1 >> You have a /usr/local/lib/libcrypto.so file installed, but the framework i= s unable >> to determine what port it comes from. >> Add DEFAULT_VERSIONS+=3Dssl=3D<openssl package name> to your /etc/make.co= nf and try again. >> *** Error code 1 >>=20 >> Stop. >> make[1]: stopped in /usr/ports/ftp/curl >> *** Error code 1 >>=20 >> Stop. >> make: stopped in /usr/ports/ftp/curl >>=20 >> =3D=3D=3D>>> make build failed for ftp/curl >> =3D=3D=3D>>> Aborting update >>=20 >> =3D=3D=3D>>> Update for curl-7.48.0_2 failed >> =3D=3D=3D>>> Aborting update >> """ >>=20 >> It seems that ftp/curl can't build with openssl or libressl installed fro= m ports. And www/nginx will only build with openssl or libresll installed fr= om ports. So basically nginx and curl can't co-exist on the same host/jail. >>=20 >> My port options are almost all the defaults, and I don't want to set anyt= hing in /etc/make.conf, but even if I do set DEFAULT_VERSIONS+=3Dssl=3D<???>= ssl I can't get curl to build. >>=20 >> I've been updating this jail regulary for a while now without any issue. T= his reminds me hair-pulling in the past with the Kerberos fork issues (MIT v= s Heimdal). And I was finding ports management so easy these days, until tod= ay. >>=20 >> Why can't curl just use openssl from base, despite the port version being= installed? >>=20 >>=20 >>=20 >> # uname -a >> FreeBSD sogo.potensol.com 10.1-RELEASE-p16 FreeBSD 10.1-RELEASE-p16 #0: T= ue Jul 28 12:04:19 UTC 2015 root@amd64-builder.daemonology.net:/usr/obj/= usr/src/sys/GENERIC amd64 -- Jim=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?B7DD2904-15CE-4A43-B381-19D6C2AD7D63>