From nobody Tue Jul 13 17:54:32 2021 X-Original-To: ports@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 6A0F5127FCD3 for ; Tue, 13 Jul 2021 17:54:36 +0000 (UTC) (envelope-from pi@freebsd.org) Received: from home.opsec.eu (home.opsec.eu [IPv6:2001:14f8:200::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4GPSvJ04CTz4bSm for ; Tue, 13 Jul 2021 17:54:35 +0000 (UTC) (envelope-from pi@freebsd.org) Received: from pi by home.opsec.eu with local (Exim 4.94.2 (FreeBSD)) (envelope-from ) id 1m3Mc4-0002Kf-Gl; Tue, 13 Jul 2021 19:54:32 +0200 Date: Tue, 13 Jul 2021 19:54:32 +0200 From: Kurt Jaeger To: Robert Huff , ports@freebsd.org Subject: Re: problem building gstreamer1 Message-ID: References: <24813.50986.617067.115077@jerusalem.litteratus.org> List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Rspamd-Queue-Id: 4GPSvJ04CTz4bSm X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [0.00 / 15.00]; local_wl_from(0.00)[freebsd.org]; ASN(0.00)[asn:12502, ipnet:2001:14f8::/32, country:DE] X-ThisMailContainsUnwantedMimeParts: N Hi! > > This is way above my pay grade. > > What have I screwed up? > > Maybe it's the yacc/bison version you are using ? > > There's a very simple message at the end: > > ./grammar.y:799.1-12: warning: deprecated directive: %pure-parser > use %define api.pure > > Have you tried to patch grammar.y to change it accordingly ? I've tried this patch on a 14.0-amd64 box. Without it, bison would crash. With it, gstreamer1 builds fine. Put it in files/ like this: cd multimedia/gstreamer1/files fetch https://people.freebsd.org/~pi/patch-gst-grammar.y cd .. make -- pi@opsec.eu +49 171 3101372 Now what ?