On Thu, Jul 19, 2018 at 9:28 PM Germano Massullo
<germano.massu...@gmail.com> wrote:
>
> I am working on adding more features to darktable (basecurve tool and noise 
> tool subpackages).
>
> In log [1] from line
>
> BUILDSTDERR: /usr/bin/ld: CMakeFiles/dt-curve-tool.dir/dt-curve-tool.c.o: 
> relocation R_X86_64_32S against symbol `spline_set' can not be used when 
> making a shared object; recompile with -fPIC

I used to get these errors too for some of my packages. It turned out
that upstream made some mistakes in their CMakeLists.txt files:
The errors were usually caused by some CMakeLists.txt file overriding
the system-provided CFLAGS with something else, instead of only
appending necessary flags.

I hope that helps.

Fabio

> there are many errors, and I don't understand if they are upstream 
> programming errors or more likely errors in my spec file.
>
> Build URL is 
> https://copr.fedorainfracloud.org/coprs/germano/darktable_2_4/build/779148/
>
> Thank you for your time
>
> [1]: 
> https://copr-be.cloud.fedoraproject.org/results/germano/darktable_2_4/fedora-28-x86_64/00779148-darktable/build.log.gz
>
> _______________________________________________
> devel mailing list -- devel@lists.fedoraproject.org
> To unsubscribe send an email to devel-le...@lists.fedoraproject.org
> Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
> List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
> List Archives: 
> https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/MAALXQOLRTKJVLMKDCDLFBJZFMCJLB5Z/
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/A5V7VDH7PA3UNGBRO32O27FP3RS6NWKC/

Reply via email to