From nobody Sat Dec 10 18:50:12 2022 X-Original-To: dev-commits-ports-main@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 4NTxlt5tDLz4k9sM; Sat, 10 Dec 2022 18:50:18 +0000 (UTC) (envelope-from jbeich@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [96.47.72.132]) (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 "freefall.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4NTxlt5P70z3PxC; Sat, 10 Dec 2022 18:50:18 +0000 (UTC) (envelope-from jbeich@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1670698218; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=ChcGy7E0BymwvOTNytS0ZaVtMB0vVvbjY6PCt/6CwOI=; b=rv5rvEXdgNlK1/xsKEjH1es9kCCi+4wRrL6QUG+xcNvgqrglO8EfqlmnUXM3SIcHJujAzj ctj9ps1Eb5bBbJoJfB3dwTzxLjL220zrR/JTpvwsK187Uk1vhuGicjl6fAsqPbQvAote+Q DszqXl2cpNh1wkibDnv/Y9DEneSfqql2xH6Kx18ps2vc9R46TTAGP56gJ6HkhhQCSZI2Iy oLAZifql5tTQglpVSzzAXdjxoHUMnYEjKHwkeUtuzZswBBMZxsNnugTSkRiWeDOtKkV1zw 0vUxyka7wQPUsOEbk47Gqy6QbN76Qn9Q2lk8fjPZ7tdYQK5aZEGlWzKtmcqXPA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1670698218; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=ChcGy7E0BymwvOTNytS0ZaVtMB0vVvbjY6PCt/6CwOI=; b=i5Kg5+3utdcEL1Fk1rKmELS6S78HCZlQ4PryIdZ3XVLysm21mnlzoz4et+B1v9hqv9NPO7 fScR1bDOn9fjUduG4eBkiq5lzk2ZhmCT3yyU//yEWkNvyRPJhQ/qgIe9paEgAavfLBhLkt 70KV67e+PH5BAp8rNsVSdyQJHu2kUNSA3dIdjH3fG7yZzqAt/Ldk9dZqVslVYjLX+g3T8j leIGVBWy/1IZd3PlJsKJMdkK3sS5K/W9wKeLSuhIM/+5i3AVWbSYVAIN9Yk/HKbrAkk4Hk YXWY5gfy/ltBrWveo6q8SwfPpSIonH7nB57MCOvm7RkIhAR4P17DCJvU/UF6tw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1670698218; a=rsa-sha256; cv=none; b=Vh+qe+brI0/ngAU4EO3yM/zLg68pZqaTnXeGgHloY4V6QGp/l5CHkkDB6dv9tEnpby14Eo SCNI2C+rtsEJ3kN7Rp9VYxds5FLIwqgdYOwOlRLbX1zXJBFwwBY6/cnXTDoSxBRlRVkwmw 9ep2HwEW5eD9fNIFdbxo0Ws9BrBC+ncv3Jj0cxCATK9Jvnse7/6iDoQKD11V368vPZoFXc Q4d0ABwO3RJobhs6zifFSsep4DsulPxxs4iKOt2ti8Vo7O9barjhdhj1cuzG7nXudcX8pK rt8faPDGAbRLgBWuYsQ7RuHTPQwF7MikaUnd/oSsfIDfZBhxzU7XPFBy5hApwQ== Received: by freefall.freebsd.org (Postfix, from userid 1354) id A5DB61EDF4; Sat, 10 Dec 2022 18:50:18 +0000 (UTC) From: Jan Beich To: Emmanuel Vadot Cc: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: Re: git: 799245580a71 - main - graphics/mesa: Do not add USE_LDCONFIG for every mesa ports In-Reply-To: <359n-t7v2-wny@FreeBSD.org> (Jan Beich's message of "Sat, 10 Dec 2022 19:46:09 +0100") References: <202212081901.2B8J1frs012470@gitrepo.freebsd.org> <359n-t7v2-wny@FreeBSD.org> Date: Sat, 10 Dec 2022 19:50:12 +0100 Message-ID: List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain X-ThisMailContainsUnwantedMimeParts: N Jan Beich writes: > Emmanuel Vadot writes: > >> Not every mesa ports provides shared libraries intented for dynamic uses >> so stop running ldconfig script for those ports. > [...] >> diff --git a/graphics/mesa-dri/Makefile b/graphics/mesa-dri/Makefile >> index ac87f4cef889..e4fe1b570261 100644 >> --- a/graphics/mesa-dri/Makefile >> +++ b/graphics/mesa-dri/Makefile >> @@ -26,6 +26,8 @@ ZSTD_DESC= Use ZSTD for shader cache >> ZSTD_LIB_DEPENDS= libzstd.so:archivers/zstd >> ZSTD_MESON_ENABLED= zstd >> >> +USE_LDCONFIG= yes > > OpenGL drivers in mesa-dri lack headers, SONAME and cannot be used by ld(1) Oops, ignore SONAME part. It's there but doesn't match filename e.g., $ readelf -d /usr/local/lib/dri/iris_dri.so | fgrep SONAME 0x000000000000000e SONAME Library soname: [libgallium_dri.so] $ readelf -d /usr/local/lib/dri/radeonsi_dri.so | fgrep SONAME 0x000000000000000e SONAME Library soname: [libgallium_dri.so] $ ls /usr/local/lib/libgallium_dri.so /usr/local/lib/dri/libgallium_dri.so ls: /usr/local/lib/dri/libgallium_dri.so: No such file or directory ls: /usr/local/lib/libgallium_dri.so: No such file or directory