/usr/ports/multimedia/gstreamer1-libav build fail

Max Dubois makemehappy at rocketmail.com
Thu Feb 6 08:37:37 UTC 2020


Hello, it do fail also with MAKE_JOBS_UNSAFE=yes

FreeBSD 12.1-RELEASE FreeBSD 12.1-RELEASE r354233 GENERIC  i386


Thankx for any info


PARTIAL LOG

libtool: compile:  cc -DHAVE_CONFIG_H -I. -I../.. -I ../../gst-
libs/ext/libav -I ../../gst-libs/ext/libav -isystem /usr/local/include
-Wno-deprecated-declarations -I/usr/local/include/gstreamer-1.0
-I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include
-I/usr/local/include -pthread -I../../gst-libs -I../../gst-libs
-I/usr/local/include/gstreamer-1.0 -I/usr/local/include/glib-2.0
-I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -fno-
strict-aliasing -DG_THREADS_MANDATORY -DG_DISABLE_CAST_CHECKS -Wall
-Wdeclaration-after-statement -Wvla -Wpointer-arith -Wmissing-
declarations -Wmissing-prototypes -Wredundant-decls -Wundef -Wwrite-
strings -Wformat-nonliteral -Wformat-security -Wold-style-definition
-Winit-self -Wmissing-include-dirs -Waddress -Waggregate-return -Wno-
multichar -Wnested-externs -O2 -pipe -fstack-protector-strong -isystem
/usr/local/include -fno-strict-aliasing -MT libgstlibav_la-
gstavdeinterlace.lo -MD -MP -MF .deps/libgstlibav_la-
gstavdeinterlace.Tpo -c gstavdeinterlace.c  -fPIC -DPIC -o
.libs/libgstlibav_la-gstavdeinterlace.o
mv -f .deps/libgstlibav_la-gstavdeinterlace.Tpo .deps/libgstlibav_la-
gstavdeinterlace.Plo
/bin/sh ../../libtool  --tag=CC   --mode=link cc -Wno-deprecated-
declarations -I/usr/local/include/gstreamer-1.0
-I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include
-I/usr/local/include -pthread  -I../../gst-libs -I../../gst-libs
-I/usr/local/include/gstreamer-1.0 -I/usr/local/include/glib-2.0
-I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread  -fno-
strict-aliasing  -DG_THREADS_MANDATORY -DG_DISABLE_CAST_CHECKS -Wall
-Wdeclaration-after-statement -Wvla -Wpointer-arith -Wmissing-
declarations -Wmissing-prototypes -Wredundant-decls -Wundef -Wwrite-
strings -Wformat-nonliteral -Wformat-security -Wold-style-definition
-Winit-self -Wmissing-include-dirs -Waddress -Waggregate-return -Wno-
multichar -Wnested-externs       -O2 -pipe  -fstack-protector-strong
-isystem /usr/local/include -fno-strict-aliasing  -module -avoid-
version -export-symbols-regex '^_*gst_plugin_.*' -no-undefined -Wl,-
Bsymbolic  -fstack-protector-strong  -o libgstlibav.la -rpath
/usr/local/lib/gstreamer-1.0 libgstlibav_la-gstav.lo libgstlibav_la-
gstavprotocol.lo libgstlibav_la-gstavcodecmap.lo libgstlibav_la-
gstavutils.lo libgstlibav_la-gstavaudenc.lo libgstlibav_la-
gstavvidenc.lo libgstlibav_la-gstavauddec.lo libgstlibav_la-
gstavviddec.lo libgstlibav_la-gstavcfg.lo libgstlibav_la-gstavdemux.lo
libgstlibav_la-gstavmux.lo libgstlibav_la-gstavdeinterlace.lo
-L/usr/local/lib -lgstreamer-1.0 -lgobject-2.0 -lglib-2.0 -lintl  -
lgstaudio-1.0 -lgstvideo-1.0 -lgstpbutils-1.0 -L/usr/local/lib
-lgstbase-1.0 -lgstreamer-1.0 -lgobject-2.0 -lglib-2.0
-lintl  /ports/multimedia/gstreamer1-libav/work/gst-libav-1.16.2/gst-
libs/ext/libavfilter.la               /ports/multimedia/gstreamer1-
libav/work/gst-libav-1.16.2/gst-
libs/ext/libavformat.la               /ports/multimedia/gstreamer1-
libav/work/gst-libav-1.16.2/gst-
libs/ext/libavcodec.la               /ports/multimedia/gstreamer1-
libav/work/gst-libav-1.16.2/gst-
libs/ext/libswresample.la               /ports/multimedia/gstreamer1-
libav/work/gst-libav-1.16.2/gst-libs/ext/libavutil.la  -lz -lbz2 -llzma
-L/usr/local/lib
libtool: link: /usr/local/bin/nm -B  .libs/libgstlibav_la-gstav.o
.libs/libgstlibav_la-gstavprotocol.o .libs/libgstlibav_la-
gstavcodecmap.o .libs/libgstlibav_la-gstavutils.o .libs/libgstlibav_la-
gstavaudenc.o .libs/libgstlibav_la-gstavvidenc.o .libs/libgstlibav_la-
gstavauddec.o .libs/libgstlibav_la-gstavviddec.o .libs/libgstlibav_la-
gstavcfg.o .libs/libgstlibav_la-gstavdemux.o .libs/libgstlibav_la-
gstavmux.o .libs/libgstlibav_la-gstavdeinterlace.o   | sed -n -e
's/^.*[        ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][      ]*\([_A-Za-
z][_A-Za-z0-9]*\)$/\1 \2 \2/p' | sed '/ __gnu_lto/d' | /usr/bin/sed
's/.* //' | sort | uniq > .libs/libgstlibav.exp
libtool: link: /usr/bin/egrep -e "^_*gst_plugin_.*"
".libs/libgstlibav.exp" > ".libs/libgstlibav.expT"
libtool: link: mv -f ".libs/libgstlibav.expT" ".libs/libgstlibav.exp"
libtool: link: echo "{ global:" > .libs/libgstlibav.so-ver
libtool: link:           sed -e "s|$|;|" < .libs/libgstlibav.exp >>
.libs/libgstlibav.so-ver
libtool: link:   echo "local: *; };" >> .libs/libgstlibav.so-ver
libtool: link: cc -shared  -fPIC -DPIC  .libs/libgstlibav_la-gstav.o
.libs/libgstlibav_la-gstavprotocol.o .libs/libgstlibav_la-
gstavcodecmap.o .libs/libgstlibav_la-gstavutils.o .libs/libgstlibav_la-
gstavaudenc.o .libs/libgstlibav_la-gstavvidenc.o .libs/libgstlibav_la-
gstavauddec.o .libs/libgstlibav_la-gstavviddec.o .libs/libgstlibav_la-
gstavcfg.o .libs/libgstlibav_la-gstavdemux.o .libs/libgstlibav_la-
gstavmux.o .libs/libgstlibav_la-gstavdeinterlace.o   -L/usr/local/lib
-lgstaudio-1.0 -lgstvideo-1.0 -lgstpbutils-1.0 -lgstbase-1.0
-lgstreamer-1.0 -lgobject-2.0 -lglib-2.0 -lintl
/ports/multimedia/gstreamer1-libav/work/gst-libav-1.16.2/gst-
libs/ext/.libs/libavfilter.a /ports/multimedia/gstreamer1-
libav/work/gst-libav-1.16.2/gst-libs/ext/.libs/libavformat.a
/ports/multimedia/gstreamer1-libav/work/gst-libav-1.16.2/gst-
libs/ext/.libs/libavcodec.a /ports/multimedia/gstreamer1-
libav/work/gst-libav-1.16.2/gst-libs/ext/.libs/libswresample.a
/ports/multimedia/gstreamer1-libav/work/gst-libav-1.16.2/gst-
libs/ext/.libs/libavutil.a -lz -lbz2 -llzma  -pthread -pthread -O2
-fstack-protector-strong -Wl,-Bsymbolic -fstack-protector-strong   -
pthread -Wl,-soname -Wl,libgstlibav.so -Wl,-version-script
-Wl,.libs/libgstlibav.so-ver -o .libs/libgstlibav.so
ld: error: can't create dynamic relocation R_386_32 against local
symbol in readonly segment; recompile object files with -fPIC or pass
'-Wl,-z,notext' to allow text relocations in the output
>>> defined in /ports/multimedia/gstreamer1-libav/work/gst-libav-
1.16.2/gst-libs/ext/.libs/libavfilter.a(vf_yadif.o)
>>> referenced by libavfilter/x86/vf_yadif.asm
>>>               vf_yadif.o:(.text+0x131) in archive
/ports/multimedia/gstreamer1-libav/work/gst-libav-1.16.2/gst-
libs/ext/.libs/libavfilter.a

ld: error: can't create dynamic relocation R_386_32 against local
symbol in readonly segment; recompile object files with -fPIC or pass
'-Wl,-z,notext' to allow text relocations in the output
>>> defined in /ports/multimedia/gstreamer1-libav/work/gst-libav-
1.16.2/gst-libs/ext/.libs/libavfilter.a(vf_yadif.o)
>>> referenced by libavfilter/x86/vf_yadif.asm
>>>               vf_yadif.o:(.text+0x154) in archive
/ports/multimedia/gstreamer1-libav/work/gst-libav-1.16.2/gst-
libs/ext/.libs/libavfilter.a

ld: error: can't create dynamic relocation R_386_32 against local
symbol in readonly segment; recompile object files with -fPIC or pass
'-Wl,-z,notext' to allow text relocations in the output
>>> defined in /ports/multimedia/gstreamer1-libav/work/gst-libav-
1.16.2/gst-libs/ext/.libs/libavfilter.a(vf_yadif.o)
>>> referenced by libavfilter/x86/vf_yadif.asm
>>>               vf_yadif.o:(.text+0x1DB) in archive
/ports/multimedia/gstreamer1-libav/work/gst-libav-1.16.2/gst-
libs/ext/.libs/libavfilter.a

ld: error: can't create dynamic relocation R_386_32 against local
symbol in readonly segment; recompile object files with -fPIC or pass
'-Wl,-z,notext' to allow text relocations in the output
>>> defined in /ports/multimedia/gstreamer1-libav/work/gst-libav-
1.16.2/gst-libs/ext/.libs/libavfilter.a(vf_yadif.o)
>>> referenced by libavfilter/x86/vf_yadif.asm
>>>               vf_yadif.o:(.text+0x226) in archive
/ports/multimedia/gstreamer1-libav/work/gst-libav-1.16.2/gst-
libs/ext/.libs/libavfilter.a

ld: error: can't create dynamic relocation R_386_32 against local
symbol in readonly segment; recompile object files with -fPIC or pass
'-Wl,-z,notext' to allow text relocations in the output
>>> defined in /ports/multimedia/gstreamer1-libav/work/gst-libav-
1.16.2/gst-libs/ext/.libs/libavfilter.a(vf_yadif.o)
>>> referenced by libavfilter/x86/vf_yadif.asm
>>>               vf_yadif.o:(.text+0x26E) in archive
/ports/multimedia/gstreamer1-libav/work/gst-libav-1.16.2/gst-
libs/ext/.libs/libavfilter.a

ld: error: can't create dynamic relocation R_386_32 against local
symbol in readonly segment; recompile object files with -fPIC or pass
'-Wl,-z,notext' to allow text relocations in the output
>>> defined in /ports/multimedia/gstreamer1-libav/work/gst-libav-
1.16.2/gst-libs/ext/.libs/libavfilter.a(vf_yadif.o)
>>> referenced by libavfilter/x86/vf_yadif.asm
>>>               vf_yadif.o:(.text+0x2F5) in archive
/ports/multimedia/gstreamer1-libav/work/gst-libav-1.16.2/gst-
libs/ext/.libs/libavfilter.a

ld: error: can't create dynamic relocation R_386_32 against local
symbol in readonly segment; recompile object files with -fPIC or pass
'-Wl,-z,notext' to allow text relocations in the output
>>> defined in /ports/multimedia/gstreamer1-libav/work/gst-libav-
1.16.2/gst-libs/ext/.libs/libavfilter.a(vf_yadif.o)
>>> referenced by libavfilter/x86/vf_yadif.asm
>>>               vf_yadif.o:(.text+0x340) in archive
/ports/multimedia/gstreamer1-libav/work/gst-libav-1.16.2/gst-
libs/ext/.libs/libavfilter.a

ld: error: can't create dynamic relocation R_386_32 against local
symbol in readonly segment; recompile object files with -fPIC or pass
'-Wl,-z,notext' to allow text relocations in the output
>>> defined in /ports/multimedia/gstreamer1-libav/work/gst-libav-
1.16.2/gst-libs/ext/.libs/libavfilter.a(vf_yadif.o)
>>> referenced by libavfilter/x86/vf_yadif.asm
>>>               vf_yadif.o:(.text+0x546) in archive
/ports/multimedia/gstreamer1-libav/work/gst-libav-1.16.2/gst-
libs/ext/.libs/libavfilter.a

ld: error: can't create dynamic relocation R_386_32 against local
symbol in readonly segment; recompile object files with -fPIC or pass
'-Wl,-z,notext' to allow text relocations in the output
>>> defined in /ports/multimedia/gstreamer1-libav/work/gst-libav-
1.16.2/gst-libs/ext/.libs/libavfilter.a(vf_yadif.o)
>>> referenced by libavfilter/x86/vf_yadif.asm
>>>               vf_yadif.o:(.text+0x569) in archive
/ports/multimedia/gstreamer1-libav/work/gst-libav-1.16.2/gst-
libs/ext/.libs/libavfilter.a

ld: error: can't create dynamic relocation R_386_32 against local
symbol in readonly segment; recompile object files with -fPIC or pass
'-Wl,-z,notext' to allow text relocations in the output
>>> defined in /ports/multimedia/gstreamer1-libav/work/gst-libav-
1.16.2/gst-libs/ext/.libs/libavfilter.a(vf_yadif.o)
>>> referenced by libavfilter/x86/vf_yadif.asm
>>>               vf_yadif.o:(.text+0x5F0) in archive
/ports/multimedia/gstreamer1-libav/work/gst-libav-1.16.2/gst-
libs/ext/.libs/libavfilter.a

ld: error: can't create dynamic relocation R_386_32 against local
symbol in readonly segment; recompile object files with -fPIC or pass
'-Wl,-z,notext' to allow text relocations in the output
>>> defined in /ports/multimedia/gstreamer1-libav/work/gst-libav-
1.16.2/gst-libs/ext/.libs/libavfilter.a(vf_yadif.o)
>>> referenced by libavfilter/x86/vf_yadif.asm
>>>               vf_yadif.o:(.text+0x63B) in archive
/ports/multimedia/gstreamer1-libav/work/gst-libav-1.16.2/gst-
libs/ext/.libs/libavfilter.a

ld: error: can't create dynamic relocation R_386_32 against local
symbol in readonly segment; recompile object files with -fPIC or pass
'-Wl,-z,notext' to allow text relocations in the output
>>> defined in /ports/multimedia/gstreamer1-libav/work/gst-libav-
1.16.2/gst-libs/ext/.libs/libavfilter.a(vf_yadif.o)
>>> referenced by libavfilter/x86/vf_yadif.asm
>>>               vf_yadif.o:(.text+0x683) in archive
/ports/multimedia/gstreamer1-libav/work/gst-libav-1.16.2/gst-
libs/ext/.libs/libavfilter.a

ld: error: can't create dynamic relocation R_386_32 against local
symbol in readonly segment; recompile object files with -fPIC or pass
'-Wl,-z,notext' to allow text relocations in the output
>>> defined in /ports/multimedia/gstreamer1-libav/work/gst-libav-
1.16.2/gst-libs/ext/.libs/libavfilter.a(vf_yadif.o)
>>> referenced by libavfilter/x86/vf_yadif.asm
>>>               vf_yadif.o:(.text+0x70A) in archive
/ports/multimedia/gstreamer1-libav/work/gst-libav-1.16.2/gst-
libs/ext/.libs/libavfilter.a

ld: error: can't create dynamic relocation R_386_32 against local
symbol in readonly segment; recompile object files with -fPIC or pass
'-Wl,-z,notext' to allow text relocations in the output
>>> defined in /ports/multimedia/gstreamer1-libav/work/gst-libav-
1.16.2/gst-libs/ext/.libs/libavfilter.a(vf_yadif.o)
>>> referenced by libavfilter/x86/vf_yadif.asm
>>>               vf_yadif.o:(.text+0x755) in archive
/ports/multimedia/gstreamer1-libav/work/gst-libav-1.16.2/gst-
libs/ext/.libs/libavfilter.a

ld: error: can't create dynamic relocation R_386_32 against local
symbol in readonly segment; recompile object files with -fPIC or pass
'-Wl,-z,notext' to allow text relocations in the output
>>> defined in /ports/multimedia/gstreamer1-libav/work/gst-libav-
1.16.2/gst-libs/ext/.libs/libavfilter.a(vf_yadif.o)
>>> referenced by libavfilter/x86/vf_yadif.asm
>>>               vf_yadif.o:(.text+0x9BB) in archive
/ports/multimedia/gstreamer1-libav/work/gst-libav-1.16.2/gst-
libs/ext/.libs/libavfilter.a

ld: error: can't create dynamic relocation R_386_32 against local
symbol in readonly segment; recompile object files with -fPIC or pass
'-Wl,-z,notext' to allow text relocations in the output
>>> defined in /ports/multimedia/gstreamer1-libav/work/gst-libav-
1.16.2/gst-libs/ext/.libs/libavfilter.a(vf_yadif.o)
>>> referenced by libavfilter/x86/vf_yadif.asm
>>>               vf_yadif.o:(.text+0x9DE) in archive
/ports/multimedia/gstreamer1-libav/work/gst-libav-1.16.2/gst-
libs/ext/.libs/libavfilter.a

ld: error: can't create dynamic relocation R_386_32 against local
symbol in readonly segment; recompile object files with -fPIC or pass
'-Wl,-z,notext' to allow text relocations in the output
>>> defined in /ports/multimedia/gstreamer1-libav/work/gst-libav-
1.16.2/gst-libs/ext/.libs/libavfilter.a(vf_yadif.o)
>>> referenced by libavfilter/x86/vf_yadif.asm
>>>               vf_yadif.o:(.text+0xA65) in archive
/ports/multimedia/gstreamer1-libav/work/gst-libav-1.16.2/gst-
libs/ext/.libs/libavfilter.a

ld: error: can't create dynamic relocation R_386_32 against local
symbol in readonly segment; recompile object files with -fPIC or pass
'-Wl,-z,notext' to allow text relocations in the output
>>> defined in /ports/multimedia/gstreamer1-libav/work/gst-libav-
1.16.2/gst-libs/ext/.libs/libavfilter.a(vf_yadif.o)
>>> referenced by libavfilter/x86/vf_yadif.asm
>>>               vf_yadif.o:(.text+0xAB0) in archive
/ports/multimedia/gstreamer1-libav/work/gst-libav-1.16.2/gst-
libs/ext/.libs/libavfilter.a

ld: error: can't create dynamic relocation R_386_32 against local
symbol in readonly segment; recompile object files with -fPIC or pass
'-Wl,-z,notext' to allow text relocations in the output
>>> defined in /ports/multimedia/gstreamer1-libav/work/gst-libav-
1.16.2/gst-libs/ext/.libs/libavfilter.a(vf_yadif.o)
>>> referenced by libavfilter/x86/vf_yadif.asm
>>>               vf_yadif.o:(.text+0xAF8) in archive
/ports/multimedia/gstreamer1-libav/work/gst-libav-1.16.2/gst-
libs/ext/.libs/libavfilter.a

ld: error: can't create dynamic relocation R_386_32 against local
symbol in readonly segment; recompile object files with -fPIC or pass
'-Wl,-z,notext' to allow text relocations in the output
>>> defined in /ports/multimedia/gstreamer1-libav/work/gst-libav-
1.16.2/gst-libs/ext/.libs/libavfilter.a(vf_yadif.o)
>>> referenced by libavfilter/x86/vf_yadif.asm
>>>               vf_yadif.o:(.text+0xB7F) in archive
/ports/multimedia/gstreamer1-libav/work/gst-libav-1.16.2/gst-
libs/ext/.libs/libavfilter.a

ld: error: too many errors emitted, stopping now (use -error-limit=0 to
see all errors)
cc: error: linker command failed with exit code 1 (use -v to see
invocation)
gmake[5]: *** [Makefile:574: libgstlibav.la] Error 1
gmake[5]: uscita dalla directory "/ports/multimedia/gstreamer1-
libav/work/gst-libav-1.16.2/ext/libav"
gmake[4]: *** [Makefile:464: all-recursive] Error 1
gmake[4]: uscita dalla directory "/ports/multimedia/gstreamer1-
libav/work/gst-libav-1.16.2/ext"
gmake[3]: *** [Makefile:543: all-recursive] Error 1
gmake[3]: uscita dalla directory "/ports/multimedia/gstreamer1-
libav/work/gst-libav-1.16.2"
gmake[2]: *** [Makefile:474: all] Error 2
gmake[2]: uscita dalla directory "/ports/multimedia/gstreamer1-
libav/work/gst-libav-1.16.2"
*** Error code 1

Stop.
make[1]: stopped in /ports/multimedia/gstreamer1-libav
*** Error code 1

Stop.
make: stopped in /ports/multimedia/gstreamer1-libav


More information about the freebsd-multimedia mailing list