pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: CVS commit: pkgsrc/graphics/libjpeg-turbo
>>
>> This is kinda broken for me. It tries to use bundled zlib and/or spng and doesn't compile it properly.
>>
>> /usr/bin/ld.bfd: src/spng/CMakeFiles/zlib-static.dir/zlib/compress.c.o: relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC
>> But then it failed with
>> /usr/bin/ld.bfd: src/spng/CMakeFiles/spng-static.dir/spng.c.o: relocation R_X86_64_32S against `.rodata' can not be used when making a shared object; recompile with -fPIC
>
> Similar failures on SmartOS:
>
> https://reports.pkgci.org/SmartOS/upstream/trunk/20260701T194458Z/libjpeg-turbo-3.2.0/build.log
>
>> This is on Linux x86_64. Please advise how to fix the package.
>
> Indeed, this seems like quite a widespread breakage.
I am not able to reproduce this on NetBSD, but there's the work-around:
https://github.com/libjpeg-turbo/libjpeg-turbo/issues/898
"The issue has been fixed, but it can be worked around in the 3.2.0 code base by passing -DCMAKE_POSITION_INDEPENDENT_CODE=1 to CMake."
Can someone confirm it solves the problem, then I can commit?
Thanks :)
Adam
Home |
Main Index |
Thread Index |
Old Index