Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Oct 2023 09:40:07 -0700
From:      Craig Leres <leres@freebsd.org>
To:        freebsd-hackers@freebsd.org
Subject:   Re: Trouble building cmake-core with DEFAULT_VERSIONS=ssl=openssl31
Message-ID:  <58815319-5a14-4980-a0c9-afb2b44332b6@freebsd.org>
In-Reply-To: <a9b985f5-359c-4453-a369-52f01ab4ad94@freebsd.org>
References:  <a9b985f5-359c-4453-a369-52f01ab4ad94@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?58815319-5a14-4980-a0c9-afb2b44332b6>