From nobody Wed Jul 26 01:28:33 2023 X-Original-To: multimedia@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 4R9brf1pyQz4pQ1s for ; Wed, 26 Jul 2023 01:28:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4R9brd657nz3DW3 for ; Wed, 26 Jul 2023 01:28:33 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1690334913; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=k8868fa/udjBwNe4yMolV5fEQ3Z2UzI8GjT2aJxBoEY=; b=F80dYNgha79R/SxFIeaR8Nev2d1D1RTppmo+/0jv9vf1PpnV3LNh61/hrXP1u6OYPtmk5k KtQUYu4n8keFcqh3KlbSM78DK5rB4EnGbDWJXLR0J+hMQSYXvFkgtG2H+hXMp3Yl5bOYkO B+c+tcFsFNOhj7+72Kr3S6AkXt4k1lnYnjaFZbXzpJn2gy6P7+/USOnkEmIHVbV2dOjZ9p se2j//3MDveaMO//MfnqgFGUWSpavsCWc3UxJNqwrHD/mL//emUEvOUwlVdCC4P0sqvIAB gDoMzUSYMTPUvKSfuWoSMYQ3FCaw9CHeJpi4rmSjaxwAumkaKWC0RDUfr9uG4g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1690334913; a=rsa-sha256; cv=none; b=bAte9ANxCLRqZiyI9NLZRzwBoxg9IIp2/EiKEJGcNR9WygS6GYf0eSFWocfL0O/udIYJcz UqmPPGKkyA51cw4KykhMrJePgST7z8JXc3GL7rsLBbVg3vgDALM6n8PchbwBWNxRTN3kTp ILSQ/PefjXJLSUsnlmEa1BNGlHVTAPokGbVZBCjBMEkIQr2aEpvuNjr4f/OeZAxJTCOeki sEtgIlRBAhyIJo9FaBZedNctgGJ+2Y0cybDg42hjz5FDBrBZjchfTfKFknKXH2cmuNP02z wtN0BjpUnIu62v0Wlgy12urx8+FiKSsDBdTsUYGlaNNvdY+2NuAV/sGCiXne9A== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4R9brd59nHzNcv for ; Wed, 26 Jul 2023 01:28:33 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 36Q1SX2H000895 for ; Wed, 26 Jul 2023 01:28:33 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 36Q1SX0N000894 for multimedia@FreeBSD.org; Wed, 26 Jul 2023 01:28:33 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: multimedia@FreeBSD.org Subject: [Bug 268065] multimedia/gstreamer1: build of gstreamer1-1.20.4 fails Date: Wed, 26 Jul 2023 01:28:33 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: mi@ALDAN.algebra.com X-Bugzilla-Status: Closed X-Bugzilla-Resolution: Works As Intended X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: multimedia@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback+ X-Bugzilla-Changed-Fields: cc attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Multimedia discussions List-Archive: https://lists.freebsd.org/archives/freebsd-multimedia List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-multimedia@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D268065 Mikhail T. changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mi@ALDAN.algebra.com --- Comment #7 from Mikhail T. --- 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.=