Re: Trouble building cmake-core with DEFAULT_VERSIONS=ssl=openssl31
- In reply to: Craig Leres : "Trouble building cmake-core with DEFAULT_VERSIONS=ssl=openssl31"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 16 Oct 2023 16:40:07 UTC
On 10/14/23 16:54, Craig Leres wrote: > This is a really weird one. > > poudriere recently started failing to build cmake-core for me > (13.2/amd64). It sorta looks like fallout from the pkgconfig /usr and > /usr/local/ path reversal situation: > > ld: error: undefined symbol: EVP_PKEY_id > >>> referenced by openssl.c > >>> openssl.c.o:(Curl_ossl_certchain) in archive > lib/libcmcurl.a > >>> referenced by openssl.c > >>> openssl.c.o:(cert_stuff) in archive lib/libcmcurl.a > > What's *really* strange is cmake-core builds fine in a interactive > poudriere jail. I've never seen this before! And it makes this really > difficult to get a handle on... > > To recap, this fails: > > poudriere bulk -j 13release -p current devel/cmake-core > > This also fails: > > poudriere bulk -i -j 13release -p current devel/cmake-core > > but then "cd /usr/ports/devel/cmake-core ; make" in the resulting jail > works!! > > I tried openssl32 and it's the same. > > What am I missing? To wrap this up, I'm pretty sure ccache was the cause of my puzzle. Ultimately, nuking the cache (ccache -C) solved this. Craig