Bug #3252
openFedora rpm package
0%
Description
I tried creating my own package based on yesterday's git. However I get an error (on x86_64). It's the same issue that is also visible in the dani/tvheadend copr site:
/usr/bin/ld: /builddir/build/BUILD/tvheadend-0916e527fe5899ed9d9095666419689c37f90ca1/libav_static/build/ffmpeg/lib/libavresample.a(options.o): relocation R_X86_64_32S against `.rodata' can not be used when making a shared object; recompile with -fPIC
/builddir/build/BUILD/tvheadend-0916e527fe5899ed9d9095666419689c37f90ca1/libav_static/build/ffmpeg/lib/libavresample.a: error adding symbols: Bad value
collect2: error: ld returned 1 exit status
Makefile:520: recipe for target '/builddir/build/BUILD/tvheadend-0916e527fe5899ed9d9095666419689c37f90ca1/build.linux/tvheadend' failed
make: *** [/builddir/build/BUILD/tvheadend-0916e527fe5899ed9d9095666419689c37f90ca1/build.linux/tvheadend] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.dELHrI (%build)
A rapid check on this error on google point to the libvpx configuration (not being compiled with --enable-shared vs ffmpeg being compiled with).
If this is really the issue, what prevents libvpx to be compiled with enable-shared?