Date: Wed, 26 Jul 2023 01:28:33 +0000 From: bugzilla-noreply@freebsd.org To: multimedia@FreeBSD.org Subject: [Bug 268065] multimedia/gstreamer1: build of gstreamer1-1.20.4 fails Message-ID: <bug-268065-12827-0mrnICAB9j@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-268065-12827@https.bugs.freebsd.org/bugzilla/> References: <bug-268065-12827@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D268065 Mikhail T. <mi@ALDAN.algebra.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mi@ALDAN.algebra.com --- Comment #7 from Mikhail T. <mi@ALDAN.algebra.com> --- Created attachment 243619 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D243619&action= =3Dedit Remove the first -L${PREFIX}/lib from link-lines This remains a problem today with 1.22.5 -- the issue should've been report= ed upstream, when first encountered. Chances are, it would've been fixed by no= w. That UPDATING-entry was an admission of defeat: "We know of the problem, we cannot fix it" :-( The root cause is that the linker line lists the library directories thus: -L${WRKSRC}/_build/gst -L${LOCALBASE}/lib -L${WRKSRC}/_build/libs/gst/base -L${WRKSRC}/_build/gst -L${LOCALBASE}/lib -L${LOCALBASE}/lib The ${LOCALBASE}/lib/libgstbase-1.0.so.0.1602.0, which I currently have installed, does NOT have this function defined, but it is picked up first, because ${LOCALBASE}/lib is listed before the ${WRKSRC}/_build/libs/gst/bas= e. Notably, this is not a problem for the compile-stage -- the -I arguments li= st ${LOCALBASE}/include last. But -L ones are wrong... The proposed patch offers one way to solve this -- a hackish way, because I don't know, how meson/ninja are supposed to work. There should be a better = way -- and the port's maintainer should have the upstream figure it out. The patch also fixes the spaces in a few spots -- replacing them with tabs. Feel free to ignore those hunks, concentrating on just the new post-configu= re target. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-268065-12827-0mrnICAB9j>