From nobody Sat Nov 11 17:46:41 2023 X-Original-To: dev-commits-ports-all@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 4SSNRQ0QxNz50XrD; Sat, 11 Nov 2023 17:46:42 +0000 (UTC) (envelope-from git@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 4SSNRP749wz4XlM; Sat, 11 Nov 2023 17:46:41 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1699724802; 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; bh=830RkFIoxlP+vMFt4bSCXRs6kG9Y96NMO+Ba3KG3Hzc=; b=FryCrUWJGZ8lW/2Ar/QvZN1cVYRQYFii4mUI/DLUxJ8zYlYZV+3QOy73qmSPdFjLuF3YNT W1iGzOlBSR43gAWQpi8tLdL3m2IM/623hptJa3QDsIqSFq9FHjtGp31uLbWjofFzTdttSf JfoGfMv/R1KqOfN8GuambuIcXcJImpJcarT8rJR0f9YyN/YJ0kj1aRm311obkrXE4YmQsN iaMgKDRE/JOgxoOxrc3X/EVH0/sObPtl/aI7YwskCMwiQV94OP+MARJpO+gYO5EAWbz9ty vi/wXAdntRWEA6c4SL6wwcgyEoIa5bIP8Bkca4NqQqRj3fXAmtQNRUj2hIO1xQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1699724802; 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; bh=830RkFIoxlP+vMFt4bSCXRs6kG9Y96NMO+Ba3KG3Hzc=; b=SAtHb7pd5UakL2RyRQpDw3SDHQ6d2zOTCf8QOqaHEsKgrf7iymdwZS3C4V32LuWtCIfl3q V/k94vpkkZYJOqFZ/kraQmeVs7rm8uyGTENAJ8OTBtz3IP+9MK4FE2wSfDPyVlX8eZW3iU heZImD+/KjZRu4rr8eVCObUDfVwdUGrqWR0VXPtWeK50yrlWoUsrdYqngW2sx9NB8KPQ3H /Lahly4qmgjAhSzLr6KFp90vBhlozxPTLQhgqo91+wJRBDxncqSlR0W9Phd5iC6NPKJ6uV e2VkyqIh0I0RGFR9/q2wtTEXePMV0mI+/vPNetG9FqW4JLRbt9zNfuOzEdkCLQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1699724802; a=rsa-sha256; cv=none; b=SG/t6KHWuaHPfio2zBIlYnncdkwVBkgYbITPOXn3z4zWwUtovWluRXhMU7JQ/4oJ/S6LNk 8b0YZnup71hTUn+xh9xI/uX+RufkK54tTrbi19UFJfRQEtpGbDniHbiP/nIE2RQEgXHz2k Wivwu6JXCQK3Zl74SoFNa1IiHewtoRwxxeb2YUi05kfwrts6lACJucxKXw6io03bkkLOG9 YyDJJFR4JgYTlwA75/XTiadoUlH+cnNVj2VQWqYDXoyDkNlOGO7lgwcyIDLKWLKlGo5Cp5 AhsaPdikqK7t5qzhzKCY5E/ETnW6mXZw8EdkwGAjvXspWjK/gJoRFqPuNTOm4A== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 4SSNRP65StzqRZ; Sat, 11 Nov 2023 17:46:41 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 3ABHkfGY088084; Sat, 11 Nov 2023 17:46:41 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 3ABHkf5d088082; Sat, 11 Nov 2023 17:46:41 GMT (envelope-from git) Date: Sat, 11 Nov 2023 17:46:41 GMT Message-Id: <202311111746.3ABHkf5d088082@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Dimitry Andric Subject: git: 15c83087b3d0 - main - multimedia/mlt7: fix build with lld 17 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: dim X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 15c83087b3d08f00fd6d510df6491e9ff9e80ce8 Auto-Submitted: auto-generated The branch main has been updated by dim: URL: https://cgit.FreeBSD.org/ports/commit/?id=15c83087b3d08f00fd6d510df6491e9ff9e80ce8 commit 15c83087b3d08f00fd6d510df6491e9ff9e80ce8 Author: Dimitry Andric AuthorDate: 2023-11-11 17:41:29 +0000 Commit: Dimitry Andric CommitDate: 2023-11-11 17:46:13 +0000 multimedia/mlt7: fix build with lld 17 Building multimedia/mlt7 with lld 17 results in the following link errors: ld: error: version script assignment of 'MLT_0.8.8' to symbol 'mlt_frame_get_alpha_mask' failed: symbol not defined ld: error: version script assignment of 'MLT_0.8.8' to symbol 'mlt_geometry_close' failed: symbol not defined ld: error: version script assignment of 'MLT_0.8.8' to symbol 'mlt_geometry_fetch' failed: symbol not defined ld: error: version script assignment of 'MLT_0.8.8' to symbol 'mlt_geometry_get_length' failed: symbol not defined ld: error: version script assignment of 'MLT_0.8.8' to symbol 'mlt_geometry_init' failed: symbol not defined ld: error: version script assignment of 'MLT_0.8.8' to symbol 'mlt_geometry_insert' failed: symbol not defined ld: error: version script assignment of 'MLT_0.8.8' to symbol 'mlt_geometry_interpolate' failed: symbol not defined ld: error: version script assignment of 'MLT_0.8.8' to symbol 'mlt_geometry_next_key' failed: symbol not defined ld: error: version script assignment of 'MLT_0.8.8' to symbol 'mlt_geometry_parse' failed: symbol not defined ld: error: version script assignment of 'MLT_0.8.8' to symbol 'mlt_geometry_parse_item' failed: symbol not defined ld: error: version script assignment of 'MLT_0.8.8' to symbol 'mlt_geometry_prev_key' failed: symbol not defined ld: error: version script assignment of 'MLT_0.8.8' to symbol 'mlt_geometry_refresh' failed: symbol not defined ld: error: version script assignment of 'MLT_0.8.8' to symbol 'mlt_geometry_remove' failed: symbol not defined ld: error: version script assignment of 'MLT_0.8.8' to symbol 'mlt_geometry_serialise' failed: symbol not defined ld: error: version script assignment of 'MLT_0.8.8' to symbol 'mlt_geometry_serialise_cut' failed: symbol not defined ld: error: version script assignment of 'MLT_0.8.8' to symbol 'mlt_geometry_set_length' failed: symbol not defined ld: error: version script assignment of 'MLT_0.8.8' to symbol 'mlt_playlist_move_region' failed: symbol not defined ld: error: version script assignment of 'MLT_0.8.8' to symbol 'mlt_sample_calculator' failed: symbol not defined ld: error: version script assignment of 'MLT_0.8.8' to symbol 'mlt_sample_calculator_to_now' failed: symbol not defined ld: error: version script assignment of 'MLT_0.9.10' to symbol 'mlt_properties_to_utf8' failed: symbol not defined Add -Wl,--undefined-version to LDFLAGS to suppress these errors, since mlt7 has several symbols that are defined conditionally (depending on the target platform). PR: 273753 MFH: 2023Q4 --- multimedia/mlt7/Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/multimedia/mlt7/Makefile b/multimedia/mlt7/Makefile index 0f3759ee51be..3d71406a9346 100644 --- a/multimedia/mlt7/Makefile +++ b/multimedia/mlt7/Makefile @@ -17,6 +17,9 @@ USES+= alias cmake compiler:c++11-lang eigen:3 localbase \ pathfix pkgconfig USE_LDCONFIG= yes +# Suppress errors with lld >= 17 due to undefined symbols. +LDFLAGS+= -Wl,--undefined-version + DATADIR= ${PREFIX}/share/mlt-7 .ifndef(SLAVEPORT) # Master port.