Re: devel/qt6-base fails to build after archivers/zstd update?

From: <jonc_at_chen.org.nz>
Date: Mon, 10 Apr 2023 03:00:53 UTC
April 10, 2023 11:42 AM, "Po-Chuan Hsieh" <sunpoet@freebsd.org> wrote:

> Hi,
> 
> On Mon, Apr 10, 2023 at 6:00 AM Jonathan Chen <jonc@chen.org.nz> wrote:
> 
>> Hi,
>> 
>> I'm getting build failures on devel/qt6-base during the link stage:
>> 
>> ...
>> ld: error: relocation R_X86_64_32 cannot be used against local symbol;
>> recompile with -fPIC
>>>>> defined in /usr/local/lib/libzstd.a(zstd_common.o)
>>>>> referenced by zstd_common.c
>>>>> zstd_common.o:(ZSTD_versionString) in archive
>> /usr/local/lib/libzstd.a
>> 
>> ld: error: relocation R_X86_64_32 cannot be used against local symbol;
>> recompile with -fPIC
>>>>> defined in /usr/local/lib/libzstd.a(error_private.o)
>>>>> referenced by error_private.c
>>>>> error_private.o:(ERR_getErrorString) in archive
>> /usr/local/lib/libzstd.a
>> 
>> ld: error: relocation R_X86_64_32S cannot be used against local symbol;
>> recompile with -fPIC
>> 
>> I had a quick look thru' the commits, and I think that that the latest
>> build-changes against archivers/zstd has triggered the failure?
> It should be fixed in ports 454e3c91ae9105a9af1939c9632424083ed3bbdb.

Yup, it does. Thanks for the prompt fix!
--
Jonathan Chen <jonc@chen.org.nz>