From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id uK0kNAqrOWOrIgEAbAwnHQ (envelope-from ) for ; Sun, 02 Oct 2022 17:15:22 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id UMJaMwqrOWNEJAEAG6o9tA (envelope-from ) for ; Sun, 02 Oct 2022 17:15:22 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 88C411AA19 for ; Sun, 2 Oct 2022 17:15:22 +0200 (CEST) Received: from localhost ([::1]:48466 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1of0gb-00034m-Ou for larch@yhetil.org; Sun, 02 Oct 2022 11:15:21 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52474) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1of02d-0005Co-Fb for bug-guix@gnu.org; Sun, 02 Oct 2022 10:34:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:48701) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1of02c-00073N-KX for bug-guix@gnu.org; Sun, 02 Oct 2022 10:34:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1of02c-00021c-DC for bug-guix@gnu.org; Sun, 02 Oct 2022 10:34:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#58251: Mesa missing patches for Vulkan shared libraries Resent-From: =?UTF-8?Q?M=C3=A1ja_?= =?UTF-8?Q?Tom=C3=A1=C5=A1ek?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sun, 02 Oct 2022 14:34:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 58251 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 58251@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16647212117731 (code B ref -1); Sun, 02 Oct 2022 14:34:02 +0000 Received: (at submit) by debbugs.gnu.org; 2 Oct 2022 14:33:31 +0000 Received: from localhost ([127.0.0.1]:47776 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1of026-00020c-Kz for submit@debbugs.gnu.org; Sun, 02 Oct 2022 10:33:31 -0400 Received: from lists.gnu.org ([209.51.188.17]:57782) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1of025-00020V-H1 for submit@debbugs.gnu.org; Sun, 02 Oct 2022 10:33:29 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54348) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1of025-0005Aw-C3 for bug-guix@gnu.org; Sun, 02 Oct 2022 10:33:29 -0400 Received: from knopi.disroot.org ([178.21.23.139]:38166) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1of023-00071l-1i for bug-guix@gnu.org; Sun, 02 Oct 2022 10:33:28 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 6E7D14C33A for ; Sun, 2 Oct 2022 16:33:18 +0200 (CEST) X-Virus-Scanned: SPAM Filter at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 11L42yoQ1xRH for ; Sun, 2 Oct 2022 16:33:17 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1664721197; bh=kg1CxW36eoteB+z+U2iCcOyoehk24xppwNUWfrtaXqo=; h=From:To:Subject:Date; b=kilBBO7A55NYX9D1i1XbNJi2DqS0qZr1sGHBgSL9bi9Wt2EOKIXFBTp/OGya7g0eB LVHOLFtzv62+ef20scwYUtEwh+LIiiMRPTEzwhNIH33t9wCgwNWnZXw3soYp+18f7i zmTsqzTgY1+yvMtxqPpzOtk9CYc5KlvpKEgItGyd8kDI9DEm01tPT7WK4uTjJSnwI3 6FZpfa1yTXKbKtiGPIFwNup7CS6qhmPKD+g3pjKa0QM7aZZRjmxXwPB9floqlcKtzN 4fIFCTasUTNKtylj7aFQps28m0GVTfJz3hzPSdsmxHtM38oU5jH6RVqk3xFShrkrFY aswXt/kmfIb3A== Date: Sun, 02 Oct 2022 16:33:13 +0200 Message-ID: <878rly70t2.fsf@disroot.org> Mime-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=178.21.23.139; envelope-from=maya.tomasek@disroot.org; helo=knopi.disroot.org X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Mailman-Approved-At: Sun, 02 Oct 2022 11:15:18 -0400 X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" Reply-to: =?UTF-8?Q?M=C3=A1ja_?= =?UTF-8?Q?Tom=C3=A1=C5=A1ek?= From: maya.tomasek--- via Bug reports for GNU Guix X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1664723722; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:list-id:list-help:list-unsubscribe:list-subscribe: list-post:dkim-signature; bh=uCmDh7b1+MqV67UTyYbtWboXa2ozJhS3+Oe9LQtHvf8=; b=F5cth7zu+6YbARLJ7tWKYcakHWYDx33iBxeNweGbRkmNpT/61Tdw39XFjlr2C0fIeUl5SV CoAPc4HdJU8WKOuBU8x0gHGeFYxCPK7DsaqMVocFob3qjlFSr4j9+Iqi4xgZKtiKuKbtNR aNJK9P1jqKytGEYCFdP6acMD9Hfp1ujjj9RsiRVgYW1QtNXbrmnc6IcVHZbTdCMH09kIVk e3/VrmvaGaI77wMaByae6japE0dcvumqXtb0wnEuZKm4nPPDjU7TUw0vmIE+l65A8dCoW7 Rnw50O6yA0S9d5lNvAUvWOxGWspV3mVNX3p0xwh/k7dyeKvN6A3vc4UYJmUYtA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1664723722; a=rsa-sha256; cv=none; b=i2UG4FipgIoMK8oJ+pRE8I5jaqOKyyVlx9wrMizj8AoI6mBk6RVGezqX0jsowvUAlVVJMw MwWICWcFSnpxBUO7om3+FrWwv3Sd6fG5pb+4k1xfKzYh1m+e/e7vYjacd29sy0Dy7i1cNI CmoMVgX8a4A8Tiru140mz88FFJCD4UN7iHSzRzdvBXq/TtKCUzVXdAkwBQtIaR4p06BLQI 2Cjo/x91X7lwzNANEHh6BxxkHPGG/ix9nsPOYTin9H6ZfIbeTIKUw16GbIf5FC0YJDte82 8jYqESi1vMAcwohpXwUE/cog8QMTG5GllyJA4GhD11IFPwjbAO5hV6brrlfHkQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b=kilBBO7A; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -1.54 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b=kilBBO7A; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 88C411AA19 X-Spam-Score: -1.54 X-Migadu-Scanner: scn1.migadu.com X-TUID: hfx/+MMqo4Eg As per https://issues.guix.gnu.org/57297 > It was only recently that I was able to fix an issue with the tutorial > program not finding the .so for the validation layer, by patching the > layer manifest file with the full store path of the .so. A similar > phase would need to be added to the mesa package definition for its > device selection layer to work properly. The error from the mesa layer > not being found when I run the basic tutorial program is: > > !! validation layer: libVkLayer_MESA_device_select.so: cannot open > shared object file: No such file or directory And the mentioned patch is: > + #:phases #~(modify-phases %standard-phases > + (add-after 'install 'set-layer-path-in-manifest > + (lambda* (#:key outputs #:allow-other-keys) > + (let* ((out (assoc-ref outputs "out")) > + (manifest (string-append out > + "/share/vulkan/explicit_layer.d" > + "/VkLayer_khronos_validation.json"))) > + (substitute* manifest > + (("\"libVkLayer_khronos_validation.so\"") > + (string-append "\"" out > "/lib/libVkLayer_khronos_validation.so\""))))))))) This errors actually appears in more packages, for example vulkan-info prints this error. Patches to all shared vulkan libraries should be added into mesa, so applications can actually load vulkan.