From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id CFOoHx+lx2CYuAAAgWs5BA (envelope-from ) for ; Mon, 14 Jun 2021 20:51:11 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id CFYEGx+lx2DeDgAAbx9fmQ (envelope-from ) for ; Mon, 14 Jun 2021 18:51:11 +0000 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 E79F9123FD for ; Mon, 14 Jun 2021 20:51:10 +0200 (CEST) Received: from localhost ([::1]:60620 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lsrfx-0006JJ-F2 for larch@yhetil.org; Mon, 14 Jun 2021 14:51:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:35888) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lsrfq-0006Ih-6y for bug-guix@gnu.org; Mon, 14 Jun 2021 14:51:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:36263) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lsrfp-000459-UT for bug-guix@gnu.org; Mon, 14 Jun 2021 14:51:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lsrfp-00051t-RS for bug-guix@gnu.org; Mon, 14 Jun 2021 14:51:01 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#48959: icecat imcomplete LD_LIBRARY_PATH affecting Kerberos authentication Resent-From: Mark H Weaver Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 14 Jun 2021 18:51:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48959 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Ignacio Coterillo , 48959@debbugs.gnu.org Received: via spool by 48959-submit@debbugs.gnu.org id=B48959.162369660219253 (code B ref 48959); Mon, 14 Jun 2021 18:51:01 +0000 Received: (at 48959) by debbugs.gnu.org; 14 Jun 2021 18:50:02 +0000 Received: from localhost ([127.0.0.1]:47809 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lsrer-00050L-Pc for submit@debbugs.gnu.org; Mon, 14 Jun 2021 14:50:02 -0400 Received: from world.peace.net ([64.112.178.59]:33812) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lsrep-0004zv-PW for 48959@debbugs.gnu.org; Mon, 14 Jun 2021 14:50:00 -0400 Received: from mhw by world.peace.net with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lsreh-0003sF-PH; Mon, 14 Jun 2021 14:49:51 -0400 From: Mark H Weaver In-Reply-To: <87pmwszl0a.fsf@gmail.com> References: <87pmwszl0a.fsf@gmail.com> Date: Mon, 14 Jun 2021 14:48:50 -0400 Message-ID: <878s3c46z6.fsf@netris.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1623696671; h=from:from:sender:sender: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:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post; bh=P2fhqwJ/HGQEn6L4S7gAliIVo42oDCy3+WoVAKBzLHs=; b=YMS7r+qs9wjA7ByOzsB9X8GqrlvmkHXeibm1UDZ9LIk7Sx7xv2H1L2KZKM0snFcrDBxwBR h1ZR783cNgkPDoSCZUfE7ALafk/f1UuOzQUk2IxXlLJFNUYVQ/HA1n8WMc3hBvHjTszk39 oOXKHV6GpwLkEFOSeWRsWKxcFUwAJvEXTu0rYYWzmTu1ug3A4g7O+6IWOYEa4zx0SRqFHH jb7ESHcEhusFVRHjIQgEAbw0o6jcicxox6M8G+DzNHQWnhOMRa/r8h4uqE5O+dubi/eZJS ErQ4YBGRQHQVYCsfljOfjg02iE1xwyYYq0xBa6JMfHWrMJ6vp+JMr8i/sIW+hA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1623696671; a=rsa-sha256; cv=none; b=gXFqnws2dKKMgtaWAsBEzShJR+qGZIiUmjXLD3qJMjAvrqZT+yWtM6BJMdvq5RVq8nZLWm 9P5lu6/NH3kg8Qwx7aMHXdjsi+qJimRTeoIVqCqC6Y1vUBdHU4i2yhKlTjgLfve9JqFNHw fvmcvBiG448Qqfh/8vdX4clCWkBE9rIX7HCoXaN3/Z74IFGcS7c2qf0BvnP1h6LofFaxfn QRUe6qFgibw6T5PRMreN9S01B0BCrgkHy496Ggk6i13/3lxC20b28vCx4/mSzO2eoHobpO sWgJQmjZujiIzPs7TyJZLYZoTD8tX4FryopXRg5jStIq28vA0P0K/iGa27uMLA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Spam-Score: -2.43 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Queue-Id: E79F9123FD X-Spam-Score: -2.43 X-Migadu-Scanner: scn0.migadu.com X-TUID: f/NiMYrzMvav --=-=-= Content-Type: text/plain Hi Ignacio, Ignacio Coterillo writes: > [Summary] > - The icecat package doesn't correctly set the LD_LIBRARY_PATH > variable during the wrap-program build stage to include mit-krb5 libraries > so kerberos authentication fails as the libraries are not found at runtime: Thanks for this report. I've attached a proposed patch that might fix the problem. I've verified that the modified IceCat package builds and runs successfully, but I'm unable to test it properly because I don't have access to any system that uses Kerberos authentication. Are you able to test this patch? One way to do so is to clone the master branch of our git repository, apply this patch to the Guix git checkout and build it, and then run that modified copy of Guix (without installing it) to build icecat. See sections 16.1 (Building from Git) and 16.2 (Running Guix Before It Is Installed) of our manual for details of how to do this. If you encounter difficulties or have additional questions, please do not hesitate to ask. Regards, Mark --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=0001-UNTESTED-gnu-icecat-Fix-Kerberos-support.patch Content-Description: [PATCH] UNTESTED: gnu: icecat: Fix Kerberos support >From 857f829906e0f8d9583a32ad47c91149c7714171 Mon Sep 17 00:00:00 2001 From: Mark H Weaver Date: Sun, 13 Jun 2021 19:11:15 -0400 Subject: [PATCH] UNTESTED: gnu: icecat: Fix Kerberos support. Fixes . * gnu/packages/gnuzilla.scm (icecat)[arguments]: In the 'wrap-program' phase, add mit-krb5 to the LD_LIBRARY_PATH. --- gnu/packages/gnuzilla.scm | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/gnu/packages/gnuzilla.scm b/gnu/packages/gnuzilla.scm index c63809c20c..a997fc1c73 100644 --- a/gnu/packages/gnuzilla.scm +++ b/gnu/packages/gnuzilla.scm @@ -1276,14 +1276,19 @@ from forcing GEXP-PROMISE." (pulseaudio (assoc-ref inputs "pulseaudio")) (pulseaudio-lib (string-append pulseaudio "/lib")) (libxscrnsaver (assoc-ref inputs "libxscrnsaver")) - (libxscrnsaver-lib (string-append libxscrnsaver "/lib"))) + (libxscrnsaver-lib (string-append libxscrnsaver "/lib")) + (mit-krb5 (assoc-ref inputs "mit-krb5")) + (mit-krb5-lib (string-append mit-krb5 "/lib"))) (wrap-program (car (find-files lib "^icecat$")) `("XDG_DATA_DIRS" prefix (,gtk-share)) ;; The following line is commented out because the icecat ;; package on guix has been observed to be unstable when ;; using wayland, and the bundled extensions stop working. ;; `("MOZ_ENABLE_WAYLAND" = ("1")) - `("LD_LIBRARY_PATH" prefix (,pulseaudio-lib ,mesa-lib ,libxscrnsaver-lib))) + `("LD_LIBRARY_PATH" prefix (,pulseaudio-lib + ,mesa-lib + ,libxscrnsaver-lib + ,mit-krb5-lib))) #t)))))) (home-page "https://www.gnu.org/software/gnuzilla/") (synopsis "Entirely free browser derived from Mozilla Firefox") -- 2.31.1 --=-=-= Content-Type: text/plain -- Disinformation flourishes because many people care deeply about injustice but very few check the facts. Ask me about . --=-=-=--