Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Mar 2021 04:21:42 -0400
From:      Janos Dohanics <web@3dresearch.com>
To:        freebsd-ports@freebsd.org
Subject:   Re: multimedia/gstreamer1 build error
Message-ID:  <20210326042142.1fbdf4a8f04cae06ab3d3540@3dresearch.com>
In-Reply-To: <20210318142540.9ba2e3be5b0403d943389aa0@3dresearch.com>
References:  <20210318142540.9ba2e3be5b0403d943389aa0@3dresearch.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 18 Mar 2021 14:25:40 -0400
Janos Dohanics <web@3dresearch.com> wrote:

> Hello,
>=20
> I have a laptop with FreeBSD 13.0-RC2 amd64 GENERIC 1300139
> 210a1aa0399bb8edf2d74f13171a400c613bee80 and a fully updated ports
> tree.
>=20
> I get an error when building multimedia/gstreamer1:
>=20
> # make 'MAKE_JOBS_UNSAFE=3Dyes' install clean
> =3D=3D=3D>  Building for gstreamer1-1.16.2
> gmake[2]: Entering directory
> '/usr/ports/multimedia/gstreamer1/work/gstreamer-1.16.2' gmake
> all-recursive gmake[3]: Entering directory
> '/usr/ports/multimedia/gstreamer1/work/gstreamer-1.16.2' Making all
> in pkgconfig gmake[4]: Entering directory
> '/usr/ports/multimedia/gstreamer1/work/gstreamer-1.16.2/pkgconfig'
> gmake[4]: Nothing to be done for 'all'. gmake[4]: Leaving directory
> '/usr/ports/multimedia/gstreamer1/work/gstreamer-1.16.2/pkgconfig'
> Making all in gst gmake[4]: Entering directory
> '/usr/ports/multimedia/gstreamer1/work/gstreamer-1.16.2/gst' gmake
> all-recursive gmake[5]: Entering directory
> '/usr/ports/multimedia/gstreamer1/work/gstreamer-1.16.2/gst' Making
> all in parse gmake[6]: Entering directory
> '/usr/ports/multimedia/gstreamer1/work/gstreamer-1.16.2/gst/parse' /usr/l=
ocal/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???
> [=1B]8;id=3Dc2c0e10005bdd0ebe4ec2100000000Segmentation fault (core
> dumped) gmake[6]: *** [Makefile:842: grammar.tab.h] Error 139
> gmake[6]: Leaving directory
> '/usr/ports/multimedia/gstreamer1/work/gstreamer-1.16.2/gst/parse'
> gmake[5]: *** [Makefile:1813: all-recursive] Error 1 gmake[5]:
> Leaving directory
> '/usr/ports/multimedia/gstreamer1/work/gstreamer-1.16.2/gst'
> gmake[4]: *** [Makefile:1011: all] Error 2 gmake[4]: Leaving
> directory
> '/usr/ports/multimedia/gstreamer1/work/gstreamer-1.16.2/gst'
> gmake[3]: *** [Makefile:742: all-recursive] Error 1 gmake[3]: Leaving
> directory '/usr/ports/multimedia/gstreamer1/work/gstreamer-1.16.2'
> gmake[2]: *** [Makefile:648: all] Error 2 gmake[2]: Leaving directory
> '/usr/ports/multimedia/gstreamer1/work/gstreamer-1.16.2' *** Error
> code 1
>=20
> Stop.
> make[1]: stopped in /usr/ports/multimedia/gstreamer1
> *** Error code 1
>=20
> Stop.
> make: stopped in /usr/ports/multimedia/gstreamer1

The error is fixed with this patch:

https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D222697&action=3Ddiff

--=20
Janos Dohanics



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20210326042142.1fbdf4a8f04cae06ab3d3540>