Re: problem building gstreamer1

From: Chris <portmaster_at_bsdforge.com>
Date: Tue, 13 Jul 2021 17:41:08 UTC
On 2021-07-13 10:02, Robert Huff wrote:
> [ sent this to maintainer Saturday; got no reply; trying here ]
> 
> 
> Hello:
> 	For several weeks, attempts to build gstreamer1 have produced the
> appended and a hung-but-killable process.
> 	This is way above my pay grade.
> 	What have I screwed up?
> 
> 
> 			Respectfully,
> 
> 
> 				Robert Huff
> 
> 

OK you didn't say. So I'm going to guess your on 17-CURRENT

> portmaster: multimedia/gstreamer1
> ===>>> Port directory: /usr/ports/multimedia/gstreamer1
> 
> ===>>> Gathering distinfo list for installed ports
> 
> ===>>> Launching 'make checksum' for multimedia/gstreamer1 in background
> ===>>> Gathering dependency list for multimedia/gstreamer1 from ports
> ===>>> Initial dependency check complete for multimedia/gstreamer1
> 
> portmaster: multimedia/gstreamer1
> ===>>> Starting build for multimedia/gstreamer1 <<<===
> 
> ===>>> All dependencies are up to date
> 
> ===>  Cleaning for gstreamer1-1.16.2
> ===>  License LGPL20+ accepted by the user
> ===>   gstreamer1-1.16.2 depends on file: /usr/local/sbin/pkg - found
> ===> Fetching all distfiles required by gstreamer1-1.16.2 for building
> ===>  Extracting for gstreamer1-1.16.2
> => SHA256 Checksum OK for gstreamer-1.16.2.tar.xz.
> ===>  Patching for gstreamer1-1.16.2
> ===>  Applying FreeBSD patches for gstreamer1-1.16.2 from
> /usr/ports/multimedia/gstreamer1/files
> ===>   gstreamer1-1.16.2 depends on executable: bison - found
> ===>   gstreamer1-1.16.2 depends on package: gmake>=4.3 - found
> ===>   gstreamer1-1.16.2 depends on executable: g-ir-scanner - found
> ===>   gstreamer1-1.16.2 depends on package: pkgconf>=1.3.0_1 - found
> ===>   gstreamer1-1.16.2 depends on file: /usr/local/bin/python3.9 - found
> ===>   gstreamer1-1.16.2 depends on executable: msgfmt - found
> ===>   gstreamer1-1.16.2 depends on package: perl5>=5.32.r0<5.33 - found
> ===>   gstreamer1-1.16.2 depends on file: /usr/local/bin/ccache - found
> ===>   gstreamer1-1.16.2 depends on shared library: libunwind.so - found
> (/usr/local/lib/libunwind.so)
> ===>   gstreamer1-1.16.2 depends on shared library: libglib-2.0.so - found
> (/usr/local/lib/libglib-2.0.so)
> ===>   gstreamer1-1.16.2 depends on shared library: libintl.so - found
> (/usr/local/lib/libintl.so)
> ===>   gstreamer1-1.16.2 depends on shared library: libintl.so - found
> (/usr/local/lib/libintl.so)
> ===>  Configuring for gstreamer1-1.16.2
> ===>   FreeBSD 10 autotools fix applied to
> /data/port-work/usr/ports/multimedia/gstreamer1/work/gstreamer-1.16.2/config.rpath
> configure: loading site script /usr/ports/Templates/config.site
> checking build system type... amd64-portbld-freebsd14.0
> checking host system type... amd64-portbld-freebsd14.0
> checking target system type... amd64-portbld-freebsd14.0
> checking for a BSD-compatible install... /usr/bin/install -c
> checking whether build environment is sane... yes
> checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p
> checking for gawk... (cached) /usr/bin/awk
> checking whether gmake sets $(MAKE)... yes
> checking whether gmake supports nested variables... yes
> checking whether UID '0' is supported by ustar format... yes
> checking whether GID '0' is supported by ustar format... yes
> checking how to create a ustar tar archive... (cached) /usr/bin/tar
> checking nano version... 0 (release)
> checking whether to enable maintainer-specific portions of Makefiles... yes
> checking whether gmake supports nested variables... (cached) yes
> checking how to print strings... printf
> checking whether gmake supports the include directive... yes (GNU style)
> checking for gcc... cc
> checking whether the C compiler works... yes
> checking for C compiler default output file name... a.out
> checking for suffix of executables...
> checking whether we are cross compiling... no
> checking for suffix of object files... o
> checking whether we are using the GNU C compiler... yes
> checking whether cc accepts -g... yes
> checking for cc option to accept ISO C89... none needed
> checking whether cc understands -c and -o together... yes
> checking dependency style of cc... gcc3
> checking for a sed that does not truncate output... (cached) /usr/bin/sed
> checking for grep that handles long lines and -e... (cached) /usr/bin/grep
> checking for egrep... (cached) /usr/bin/egrep
> checking for fgrep... (cached) /usr/bin/fgrep
> checking for ld used by cc... /usr/bin/ld
> checking if the linker (/usr/bin/ld) is GNU ld... yes
> checking for BSD- or MS-compatible name lister (nm)... /usr/local/bin/nm -B
> checking the name lister (/usr/local/bin/nm -B) interface... BSD nm
> checking whether ln -s works... yes
> checking the maximum length of command line arguments... (cached) 524288
> checking how to convert amd64-portbld-freebsd14.0 file names to
> amd64-portbld-freebsd14.0 format... func_convert_file_noop
> checking how to convert amd64-portbld-freebsd14.0 file names to toolchain
> format... func_convert_file_noop
> checking for /usr/bin/ld option to reload object files... -r
> checking for objdump... objdump
> checking how to recognize dependent libraries... pass_all
> checking for dlltool... no
> checking how to associate runtime and link libraries... printf %s\n
> checking for ar... ar
> checking for archiver @FILE support... no
> checking for strip... strip
> checking for ranlib... ranlib
> checking command to parse /usr/local/bin/nm -B output from cc object... ok
> checking for sysroot... no
> checking for a working dd... /bin/dd
> checking how to truncate binary pipes... /bin/dd bs=4096 count=1
> checking for mt... mt
> checking if mt is a manifest tool... no
> checking how to run the C preprocessor... cpp
> checking for ANSI C header files... (cached) yes
> checking for sys/types.h... (cached) yes
> checking for sys/stat.h... (cached) yes
> checking for stdlib.h... (cached) yes
> checking for string.h... (cached) yes
> checking for memory.h... (cached) yes
> checking for strings.h... (cached) yes
> checking for inttypes.h... (cached) yes
> checking for stdint.h... (cached) yes
> checking for unistd.h... (cached) yes
> checking for dlfcn.h... (cached) yes
> checking for objdir... .libs
> checking if cc supports -fno-rtti -fno-exceptions... yes
> checking for cc option to produce PIC... -fPIC -DPIC
> checking if cc PIC flag -fPIC -DPIC works... yes
> checking if cc static flag -static works... yes
> checking if cc supports -c -o file.o... yes
> checking if cc supports -c -o file.o... (cached) yes
> checking whether the cc linker (/usr/bin/ld) supports shared libraries... 
> yes
> checking whether -lc should be explicitly linked in... no
> checking dynamic linker characteristics... freebsd14.0 ld.so
> checking how to hardcode library paths into programs... immediate
> checking for shl_load... no
> checking for shl_load in -ldld... no
> checking for dlopen... (cached) yes
> checking whether a program can dlopen itself... yes
> checking whether a statically linked program can dlopen itself... no
> checking whether stripping libraries is possible... yes
> checking if libtool supports shared libraries... yes
> checking whether to build shared libraries... yes
> checking whether to build static libraries... no
> checking whether NLS is requested... yes
> checking for msgfmt... /usr/local/bin/msgfmt
> checking for gmsgfmt... /usr/local/bin/msgfmt
> checking for xgettext... /usr/local/bin/xgettext
> checking for msgmerge... /usr/local/bin/msgmerge
> checking for ld used by GCC... /usr/bin/ld
> checking if the linker (/usr/bin/ld) is GNU ld... yes
> checking for shared library run path origin... done
> checking for CFPreferencesCopyAppValue... no
> checking for CFLocaleCopyCurrent... no
> checking for GNU gettext in libc... no
> checking for iconv... yes
> checking for working iconv... yes
> checking how to link with libiconv... /usr/local/lib/libiconv.so -Wl,-rpath
> -Wl,/usr/local/lib
> checking for GNU gettext in libintl... yes
> checking whether to use NLS... yes
> checking where the gettext function comes from... external libintl
> checking how to link with libintl... /usr/local/lib/libintl.so -Wl,-rpath 
> -Wl,/usr/local/lib
> DOMAIN = gstreamer-1.0
> checking pkg-config is at least version 0.9.0... yes
> checking for VALGRIND... no
> configure: Using GStreamer source release as package name
> configure: Using Unknown package origin as package origin
> configure: Using GST_PKG_CONFIG_PATH = $(top_builddir)/pkgconfig
> configure: Setting GST_PACKAGE_RELEASE_DATETIME to 2019-12-03
> checking for BASH_COMPLETION... yes
> configure: WARNING: Sissy ! By asking to not build the tests known to fail, 
> you
> hereby waive your right to customer support.  If you do not agree with this 
> EULA,
> please press Ctrl-C before the next line is printed.  By allowing the next 
> line to
> be printed, you expressly acknowledge your acceptance of this EULA.

Well. There goes your warranty.

> checking whether PTP support can be enabled... yes
> checking for cap_init in -lcap... no
> checking for setcap... no
> checking for SIOCGIFCONF, SIOCGIFFLAGS and SIOCGIFHWADDR... no
> checking for getifaddrs() and AF_LINK... yes
> checking how to install gst-ptp-helper... setuid-root
> checking whether byte ordering is bigendian... no
> checking for special C compiler options needed for large files... no
> checking for _FILE_OFFSET_BITS value needed for large files... no
> checking for gcc... (cached) cc
> checking whether we are using the GNU C compiler... (cached) yes
> checking whether cc accepts -g... (cached) yes
> checking for cc option to accept ISO C89... (cached) none needed
> checking whether cc understands -c and -o together... (cached) yes
> checking dependency style of cc... (cached) gcc3
> checking for cc option to accept ISO C99... none needed
> checking for cc option to accept ISO Standard C... (cached) none needed
> checking dependency style of cc... gcc3
> checking whether we are using the GNU C++ compiler... yes
> checking whether c++ accepts -g... yes
> checking dependency style of c++... gcc3
> checking how to run the C++ preprocessor... c++ -E
> checking for ld used by c++... /usr/bin/ld
> checking if the linker (/usr/bin/ld) is GNU ld... yes
> checking whether the c++ linker (/usr/bin/ld) supports shared libraries... 
> yes
> checking for c++ option to produce PIC... -fPIC -DPIC
> checking if c++ PIC flag -fPIC -DPIC works... yes
> checking if c++ static flag -static works... yes
> checking if c++ supports -c -o file.o... yes
> checking if c++ supports -c -o file.o... (cached) yes
> checking whether the c++ linker (/usr/bin/ld) supports shared libraries... 
> yes
> checking dynamic linker characteristics... freebsd14.0 ld.so
> checking how to hardcode library paths into programs... immediate
> configure: working c++ compiler found: yes
> checking for perl... (cached) /usr/local/bin/perl
> checking for bison... /usr/local/bin/bison
> checking bison version 3.7.6 >= 2.4... yes
> checking for flex... /usr/bin/flex
> checking flex version flex 2.6.4 >= 2.5.31... yes
> checking for valgrind... no
> checking for gobject-introspection... yes
> checking for gtkdoc-check... /usr/local/bin/gtkdoc-check
> checking for gtkdoc-rebase... /usr/local/bin/gtkdoc-rebase
> checking for gtkdoc-mkpdf... /usr/local/bin/gtkdoc-mkpdf
> checking whether to build gtk-doc documentation... no
> checking for python version... 3.9
> checking for python platform... freebsd14

Ahh. You're on 14.

> checking for python script directory... 
> ${prefix}/lib/python3.9/site-packages
> checking for python extension module directory... 
> ${exec_prefix}/lib/python3.9/site-packages
> checking whether to build plugin documentation... no (gtk-doc disabled or 
> not available)
> checking for cos in -lm... yes
> checking for ANSI C header files... (cached) yes
> checking for ucontext.h... (cached) yes
> checking for sys/socket.h... (cached) yes
> checking for sys/times.h... (cached) yes
> checking for unistd.h... (cached) yes
> checking for process.h... no
> checking for sys/utsname.h... yes
> checking for stdio_ext.h... no
> checking whether cc is Clang... yes
> checking whether Clang needs flag to prevent "argument unused" warning when
> linking with -pthread... no
> checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
> checking whether more special flags are required for pthreads... no
> checking for PTHREAD_PRIO_INHERIT... yes
> checking for sys/prctl.h... no
> checking for pthread_setname_np(const char*)... no
> checking for sys/uio.h... (cached) yes
> checking for valgrind/valgrind.h... no
> checking for winsock2.h... no
> checking for __uint128_t... yes
> checking for tm_gmtoff... yes
> checking for strcasestr... (cached) yes
> checking for gmtime_r... yes
> checking for localtime_r... yes
> checking for sigaction... (cached) yes
> checking for getrusage... (cached) yes
> checking for sys/resource.h... (cached) yes
> checking for _LARGEFILE_SOURCE value needed for large files... no
> checking for ftello... yes
> checking for fgetpos... yes
> checking for fsetpos... yes
> checking for sys/poll.h... (cached) yes
> checking for poll.h... (cached) yes
> checking for poll... (cached) yes
> checking for ppoll... yes
> checking for pselect... yes
> checking for socketpair... (cached) yes
> checking for broken poll... no
> checking for getpagesize... (cached) yes
> checking for clock_gettime... (cached) yes
> checking for posix timers... yes
> checking for monotonic clock... yes
> checking whether cc implements __PRETTY_FUNCTION__... yes
> checking whether cc implements __FUNCTION__... yes
> checking whether cc implements __func__... yes
> checking for dladdr in -ldl... yes
> checking for long long int... (cached) yes
> checking for unsigned long long int... (cached) yes
> checking for inttypes.h... (cached) yes
> checking for stdint.h... (cached) yes
> checking for ptrdiff_t... (cached) yes
> checking for intmax_t... (cached) yes
> checking for size_t... (cached) yes
> checking for GLIB... yes
> checking for glib-genmarshal... /usr/local/bin/glib-genmarshal (from 
> pkg-config path)
> checking for glib-mkenums... /usr/local/bin/glib-mkenums
> checking for GIO... yes
> checking for UNWIND... yes
> checking for DW... no
> checking for backtrace... no
> checking to see if compiler understands -fvisibility=hidden... yes
> checking for -Bsymbolic-functions linker flag... yes
> configure: Using /usr/local/lib/gstreamer-1.0 as the plugin install location
> checking to see if compiler understands -Wall... yes
> checking to see if compiler understands -Wdeclaration-after-statement... yes
> checking to see if compiler understands -Wvla... yes
> checking to see if compiler understands -Wpointer-arith... yes
> checking to see if compiler understands -Wmissing-declarations... yes
> checking to see if compiler understands -Wmissing-prototypes... yes
> checking to see if compiler understands -Wredundant-decls... yes
> checking to see if compiler understands -Wundef... yes
> checking to see if compiler understands -Wwrite-strings... yes
> checking to see if compiler understands -Wformat-nonliteral... yes
> checking to see if compiler understands -Wformat-security... yes
> checking to see if compiler understands -Wold-style-definition... yes
> checking to see if compiler understands -Winit-self... yes
> checking to see if compiler understands -Wmissing-include-dirs... yes
> checking to see if compiler understands -Waddress... yes
> checking to see if compiler understands -Waggregate-return... yes
> checking to see if compiler understands -Wno-multichar... yes
> checking to see if compiler understands -Wnested-externs... yes
> configure: set WARNING_CFLAGS to  -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
> configure: set ERROR_CFLAGS to
> checking to see if compiler understands -Wno-format-nonliteral... yes
> checking to see if compiler understands -fno-strict-aliasing... yes
> configure: Running check unit test framework checks now...
> checking for unistd.h... (cached) yes
> checking for sys/wait.h... (cached) yes
> checking for sys/time.h... (cached) yes
> checking for localtime_r... (cached) yes
> checking for gettimeofday... (cached) yes
> checking for getpid... (cached) yes
> checking for _getpid... yes
> checking whether strdup is declared... (cached) yes
> checking for _strdup... no
> checking for getline... (cached) yes
> checking for mkstemp... (cached) yes
> checking for fork... (cached) yes
> checking for time.h... (cached) yes
> checking whether alarm is declared... (cached) yes
> checking whether localtime_r is declared... yes
> checking whether strsignal is declared... (cached) yes
> checking for alarm... (cached) yes
> checking for setitimer... yes
> checking for strsignal... (cached) yes
> checking for struct timespec.tv_sec... yes
> checking for struct timespec.tv_nsec... yes
> checking for struct itimerspec.it_interval... yes
> checking for struct itimerspec.it_value... yes
> checking for timer_t... yes
> checking for clockid_t... yes
> checking for timer_create, timer_settime, timer_delete in -lrt... yes
> checking for stdint types... stdint.h (shortcircuit)
> make use of stdint.h in _stdint.h (assuming C99 compatible system)
> checking that generated files are newer than configure... done
> configure: creating ./config.status
> config.status: creating Makefile
> config.status: creating data/Makefile
> config.status: creating data/bash-completion/helpers/gst
> config.status: creating gst/Makefile
> config.status: creating gst/gstconfig.h
> config.status: creating gst/gstversion.h
> config.status: creating libs/gst/helpers/libgstreamer-gdb.py
> config.status: creating gst/parse/Makefile
> config.status: creating gst/printf/Makefile
> config.status: creating libs/Makefile
> config.status: creating libs/gst/Makefile
> config.status: creating libs/gst/base/Makefile
> config.status: creating libs/gst/check/Makefile
> config.status: creating libs/gst/check/libcheck/Makefile
> config.status: creating libs/gst/check/internal-check.h
> config.status: creating libs/gst/controller/Makefile
> config.status: creating libs/gst/helpers/Makefile
> config.status: creating libs/gst/net/Makefile
> config.status: creating plugins/Makefile
> config.status: creating plugins/elements/Makefile
> config.status: creating plugins/tracers/Makefile
> config.status: creating po/Makefile.in
> config.status: creating tests/Makefile
> config.status: creating tests/benchmarks/Makefile
> config.status: creating tests/check/Makefile
> config.status: creating tests/misc/Makefile
> config.status: creating tests/examples/Makefile
> config.status: creating tests/examples/adapter/Makefile
> config.status: creating tests/examples/controller/Makefile
> config.status: creating tests/examples/stepping/Makefile
> config.status: creating tests/examples/helloworld/Makefile
> config.status: creating tests/examples/memory/Makefile
> config.status: creating tests/examples/netclock/Makefile
> config.status: creating tests/examples/ptp/Makefile
> config.status: creating tests/examples/streamiddemux/Makefile
> config.status: creating tests/examples/streams/Makefile
> config.status: creating tools/Makefile
> config.status: creating common/Makefile
> config.status: creating common/m4/Makefile
> config.status: creating docs/Makefile
> config.status: creating docs/gst/Makefile
> config.status: creating docs/gst/gstreamer.types
> config.status: creating docs/libs/Makefile
> config.status: creating docs/plugins/Makefile
> config.status: creating docs/version.entities
> config.status: creating m4/Makefile
> config.status: creating pkgconfig/Makefile
> config.status: creating stamp.h
> config.status: creating pkgconfig/gstreamer.pc
> config.status: creating pkgconfig/gstreamer-uninstalled.pc
> config.status: creating pkgconfig/gstreamer-base.pc
> config.status: creating pkgconfig/gstreamer-base-uninstalled.pc
> config.status: creating pkgconfig/gstreamer-check.pc
> config.status: creating pkgconfig/gstreamer-check-uninstalled.pc
> config.status: creating pkgconfig/gstreamer-controller.pc
> config.status: creating pkgconfig/gstreamer-controller-uninstalled.pc
> config.status: creating pkgconfig/gstreamer-net.pc
> config.status: creating pkgconfig/gstreamer-net-uninstalled.pc
> config.status: creating config.h
> config.status: executing depfiles commands
> config.status: executing libtool commands
> config.status: executing po-directories commands
> config.status: creating po/POTFILES
> config.status: creating po/Makefile
> config.status: executing _stdint.h commands
> config.status: creating _stdint.h : _GSTREAMER__STDINT_H
> 
> 
> Configuration
> 	Version                    : 1.16.2
> 	Source code location       : .
> 	Prefix                     : /usr/local
> 	Compiler                   : cc
> 	Package name               : GStreamer source release
> 	Package origin             : Unknown package origin
> 
> 	API Documentation          : no
> 
> 	Debug logging              : yes
> 	Tracing subsystem hooks    : yes
> 	Command-line parser        : yes
> 	Option parsing in gst_init : yes
> 	Plugin registry            : yes
> 	Plugin support	           : yes
> 	Static plugins             :
> 	Unit testing support       : yes
> 	PTP clock support          : yes
> 	libunwind support          : yes
> 	libdw support              : no
> 
> 	Debug                      : yes
> 	Profiling                  : no
> 
> 	Building benchmarks        : yes
> 	Building examples          : no
> 	Building test apps         : no
> 	Building tests that fail   : no
> 	Building tools             : yes
> 
> ===>  Building for gstreamer1-1.16.2
> gmake[2]: Entering directory
> '/data/port-work/usr/ports/multimedia/gstreamer1/work/gstreamer-1.16.2'
> gmake  all-recursive
> gmake[3]: Entering directory
> '/data/port-work/usr/ports/multimedia/gstreamer1/work/gstreamer-1.16.2'
> Making all in pkgconfig
> gmake[4]: Entering directory
> '/data/port-work/usr/ports/multimedia/gstreamer1/work/gstreamer-1.16.2/pkgconfig'
>   CP     gstreamer-1.0.pc
>   CP     gstreamer-base-1.0.pc
>   CP     gstreamer-check-1.0.pc
>   CP     gstreamer-controller-1.0.pc
>   CP     gstreamer-net-1.0.pc
> sed \
> 	-e
> "s|[@]gstlibdir[@]|/data/port-work/usr/ports/multimedia/gstreamer1/work/gstreamer-1.16.2/gst/.libs|"
> \
> 	-e
> "s|[@]checklibdir[@]|/data/port-work/usr/ports/multimedia/gstreamer1/work/gstreamer-1.16.2/libs/gst/check/.libs|"
> \
> 	-e
> "s|[@]baselibdir[@]|/data/port-work/usr/ports/multimedia/gstreamer1/work/gstreamer-1.16.2/libs/gst/base/.libs|"
> \
> 	-e
> "s|[@]netlibdir[@]|/data/port-work/usr/ports/multimedia/gstreamer1/work/gstreamer-1.16.2/libs/gst/net/.libs|"
> \
> 	-e
> "s|[@]controllerlibdir[@]|/data/port-work/usr/ports/multimedia/gstreamer1/work/gstreamer-1.16.2/libs/gst/controller/.libs|"
> \
> 	gstreamer-uninstalled.pc > gstreamer-1.0-uninstalled.pc.tmp && mv
> gstreamer-1.0-uninstalled.pc.tmp gstreamer-1.0-uninstalled.pc
> sed \
> 	-e
> "s|[@]gstlibdir[@]|/data/port-work/usr/ports/multimedia/gstreamer1/work/gstreamer-1.16.2/gst/.libs|"
> \
> 	-e
> "s|[@]checklibdir[@]|/data/port-work/usr/ports/multimedia/gstreamer1/work/gstreamer-1.16.2/libs/gst/check/.libs|"
> \
> 	-e
> "s|[@]baselibdir[@]|/data/port-work/usr/ports/multimedia/gstreamer1/work/gstreamer-1.16.2/libs/gst/base/.libs|"
> \
> 	-e
> "s|[@]netlibdir[@]|/data/port-work/usr/ports/multimedia/gstreamer1/work/gstreamer-1.16.2/libs/gst/net/.libs|"
> \
> 	-e
> "s|[@]controllerlibdir[@]|/data/port-work/usr/ports/multimedia/gstreamer1/work/gstreamer-1.16.2/libs/gst/controller/.libs|"
> \
> 	gstreamer-base-uninstalled.pc > gstreamer-base-1.0-uninstalled.pc.tmp && mv
> gstreamer-base-1.0-uninstalled.pc.tmp gstreamer-base-1.0-uninstalled.pc
> sed \
> 	-e
> "s|[@]gstlibdir[@]|/data/port-work/usr/ports/multimedia/gstreamer1/work/gstreamer-1.16.2/gst/.libs|"
> \
> 	-e
> "s|[@]checklibdir[@]|/data/port-work/usr/ports/multimedia/gstreamer1/work/gstreamer-1.16.2/libs/gst/check/.libs|"
> \
> 	-e
> "s|[@]baselibdir[@]|/data/port-work/usr/ports/multimedia/gstreamer1/work/gstreamer-1.16.2/libs/gst/base/.libs|"
> \
> 	-e
> "s|[@]netlibdir[@]|/data/port-work/usr/ports/multimedia/gstreamer1/work/gstreamer-1.16.2/libs/gst/net/.libs|"
> \
> 	-e
> "s|[@]controllerlibdir[@]|/data/port-work/usr/ports/multimedia/gstreamer1/work/gstreamer-1.16.2/libs/gst/controller/.libs|"
> \
> 	gstreamer-check-uninstalled.pc > gstreamer-check-1.0-uninstalled.pc.tmp && 
> mv
> gstreamer-check-1.0-uninstalled.pc.tmp gstreamer-check-1.0-uninstalled.pc
> sed \
> 	-e
> "s|[@]gstlibdir[@]|/data/port-work/usr/ports/multimedia/gstreamer1/work/gstreamer-1.16.2/gst/.libs|"
> \
> 	-e
> "s|[@]checklibdir[@]|/data/port-work/usr/ports/multimedia/gstreamer1/work/gstreamer-1.16.2/libs/gst/check/.libs|"
> \
> 	-e
> "s|[@]baselibdir[@]|/data/port-work/usr/ports/multimedia/gstreamer1/work/gstreamer-1.16.2/libs/gst/base/.libs|"
> \
> 	-e
> "s|[@]netlibdir[@]|/data/port-work/usr/ports/multimedia/gstreamer1/work/gstreamer-1.16.2/libs/gst/net/.libs|"
> \
> 	-e
> "s|[@]controllerlibdir[@]|/data/port-work/usr/ports/multimedia/gstreamer1/work/gstreamer-1.16.2/libs/gst/controller/.libs|"
> \
> 	gstreamer-controller-uninstalled.pc > 
> gstreamer-controller-1.0-uninstalled.pc.tmp
> && mv gstreamer-controller-1.0-uninstalled.pc.tmp
> gstreamer-controller-1.0-uninstalled.pc
> sed \
> 	-e
> "s|[@]gstlibdir[@]|/data/port-work/usr/ports/multimedia/gstreamer1/work/gstreamer-1.16.2/gst/.libs|"
> \
> 	-e
> "s|[@]checklibdir[@]|/data/port-work/usr/ports/multimedia/gstreamer1/work/gstreamer-1.16.2/libs/gst/check/.libs|"
> \
> 	-e
> "s|[@]baselibdir[@]|/data/port-work/usr/ports/multimedia/gstreamer1/work/gstreamer-1.16.2/libs/gst/base/.libs|"
> \
> 	-e
> "s|[@]netlibdir[@]|/data/port-work/usr/ports/multimedia/gstreamer1/work/gstreamer-1.16.2/libs/gst/net/.libs|"
> \
> 	-e
> "s|[@]controllerlibdir[@]|/data/port-work/usr/ports/multimedia/gstreamer1/work/gstreamer-1.16.2/libs/gst/controller/.libs|"
> \
> 	gstreamer-net-uninstalled.pc > gstreamer-net-1.0-uninstalled.pc.tmp && mv
> gstreamer-net-1.0-uninstalled.pc.tmp gstreamer-net-1.0-uninstalled.pc
> gmake[4]: Leaving directory
> '/data/port-work/usr/ports/multimedia/gstreamer1/work/gstreamer-1.16.2/pkgconfig'
> Making all in gst
> gmake[4]: Entering directory
> '/data/port-work/usr/ports/multimedia/gstreamer1/work/gstreamer-1.16.2/gst'
> /usr/local/bin/glib-mkenums \
> --fhead "#ifndef __GST_ENUM_TYPES_H__\n#define 
> __GST_ENUM_TYPES_H__\n\n#include
> <glib-object.h>\n#include <gst/gstconfig.h>\n\nG_BEGIN_DECLS\n" \
> --fprod "\n/* enumerations from \"@filename@\" */\n" \
> --vhead "GST_API GType @enum_name@_get_type (void);\n#define 
> GST_TYPE_@ENUMSHORT@
> (@enum_name@_get_type())\n"         \
> --ftail "G_END_DECLS\n\n#endif /* __GST_ENUM_TYPES_H__ */" \
> gst.h glib-compat.h gstobject.h gstallocator.h gstbin.h gstbuffer.h
> gstbufferlist.h gstbufferpool.h gstbus.h gstcaps.h gstcapsfeatures.h
> gstchildproxy.h gstclock.h gstcompat.h gstcontext.h gstcontrolbinding.h
> gstcontrolsource.h gstdatetime.h gstdebugutils.h gstelement.h 
> gstelementmetadata.h
> gstdevice.h gstdeviceprovider.h gstdeviceproviderfactory.h 
> gstdynamictypefactory.h
> gstelementfactory.h gsterror.h gstevent.h gstformat.h gstghostpad.h
> gstdevicemonitor.h gstinfo.h gstiterator.h gstatomicqueue.h gstmacros.h
> gstmessage.h gstmeta.h gstmemory.h gstminiobject.h gstpad.h gstpadtemplate.h
> gstparamspecs.h gstpipeline.h gstplugin.h gstpluginfeature.h gstpoll.h 
> gstpreset.h
> gstprotection.h gstquery.h gstpromise.h gstsample.h gstsegment.h
> gststreamcollection.h gststreams.h gststructure.h gstsystemclock.h 
> gsttaglist.h
> gsttagsetter.h gsttask.h gsttaskpool.h gsttoc.h gsttocsetter.h gsttracer.h
> gsttracerfactory.h gsttracerrecord.h gsttypefind.h gsttypefindfactory.h 
> gsturi.h
> gstutils.h gstvalue.h gstregistry.h gstparse.h > gstenumtypes.h
> /usr/local/bin/glib-mkenums \
> --fhead "#include \"gst_private.h\"\n#include <gst/gst.h>\n#define C_ENUM(v)
> ((gint) v)\n#define C_FLAGS(v) ((guint) v)\n " \
> --fprod "\n/* enumerations from \"@filename@\" */" \
> --vhead "GType\n@enum_name@_get_type (void)\n{\n  static gsize id = 0;\n  
> static
> const G@Type@Value values[] = {"     \
> --vprod "    { C_@TYPE@(@VALUENAME@), \"@VALUENAME@\", \"@valuenick@\" }," \
> --vtail "    { 0, NULL, NULL }\n  };\n\n  if (g_once_init_enter (&id)) {\n
> GType tmp = g_@type@_register_static (\"@EnumName@\", values);\n
> g_once_init_leave (&id, tmp);\n  }\n\n  return (GType) id;\n}" \
> gst.h glib-compat.h gstobject.h gstallocator.h gstbin.h gstbuffer.h
> gstbufferlist.h gstbufferpool.h gstbus.h gstcaps.h gstcapsfeatures.h
> gstchildproxy.h gstclock.h gstcompat.h gstcontext.h gstcontrolbinding.h
> gstcontrolsource.h gstdatetime.h gstdebugutils.h gstelement.h 
> gstelementmetadata.h
> gstdevice.h gstdeviceprovider.h gstdeviceproviderfactory.h 
> gstdynamictypefactory.h
> gstelementfactory.h gsterror.h gstevent.h gstformat.h gstghostpad.h
> gstdevicemonitor.h gstinfo.h gstiterator.h gstatomicqueue.h gstmacros.h
> gstmessage.h gstmeta.h gstmemory.h gstminiobject.h gstpad.h gstpadtemplate.h
> gstparamspecs.h gstpipeline.h gstplugin.h gstpluginfeature.h gstpoll.h 
> gstpreset.h
> gstprotection.h gstquery.h gstpromise.h gstsample.h gstsegment.h
> gststreamcollection.h gststreams.h gststructure.h gstsystemclock.h 
> gsttaglist.h
> gsttagsetter.h gsttask.h gsttaskpool.h gsttoc.h gsttocsetter.h gsttracer.h
> gsttracerfactory.h gsttracerrecord.h gsttypefind.h gsttypefindfactory.h 
> gsturi.h
> gstutils.h gstvalue.h gstregistry.h gstparse.h > gstenumtypes.c
> gmake  all-recursive
> gmake[5]: Entering directory
> '/data/port-work/usr/ports/multimedia/gstreamer1/work/gstreamer-1.16.2/gst'
> Making all in parse
> gmake[6]: Entering directory
> '/data/port-work/usr/ports/multimedia/gstreamer1/work/gstreamer-1.16.2/gst/parse'
> /usr/local/bin/bison -d -v -ppriv_gst_parse_yy ./grammar.y -o grammar.tab.c 
> && \
> mv grammar.tab.c grammar.tab_tmp.c && \
> echo '#ifdef HAVE_CONFIG_H' > grammar.tab_tmp2.c && \
> echo '#include <config.h>' >> grammar.tab_tmp2.c && \
> echo '#endif' >> grammar.tab_tmp2.c && \
> cat grammar.tab_tmp.c >> grammar.tab_tmp2.c && \
> rm grammar.tab_tmp.c && \
> mv grammar.tab_tmp2.c grammar.tab.c
> ./grammar.y:799.1-12: warning: deprecated directive: ‘%pure-parser’, use 
> ‘%define
> api.pure’ id=d0a7ac90005c595cefdba7600000000
> 
> 	<user ^C>
> 
> Segmentation fault (core dumped)
> gmake[6]: *** [Makefile:842: grammar.tab.h] Error 139
> gmake[6]: Leaving directory
> '/data/port-work/usr/ports/multimedia/gstreamer1/work/gstreamer-1.16.2/gst/parse'

I've got enough time to run a test here. Can I assume your ports tree is from 
today,
or yesterday?
Also, does your /var/log/messages have anything related to this core dump? 
Like Signal ??

--Chris