From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 6FTJOql/yGDExgAAgWs5BA (envelope-from ) for ; Tue, 15 Jun 2021 12:23:37 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id sO1TNql/yGAgUAAA1q6Kng (envelope-from ) for ; Tue, 15 Jun 2021 10:23:37 +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 6BFA827F72 for ; Tue, 15 Jun 2021 11:58:16 +0200 (CEST) Received: from localhost ([::1]:49944 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lt5pl-0006zg-Ur for larch@yhetil.org; Tue, 15 Jun 2021 05:58:13 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60920) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lt5pa-0006zN-7F for bug-guix@gnu.org; Tue, 15 Jun 2021 05:58:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:36903) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lt5pZ-00055W-Sh for bug-guix@gnu.org; Tue, 15 Jun 2021 05:58:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lt5pZ-00041v-Mn for bug-guix@gnu.org; Tue, 15 Jun 2021 05:58:01 -0400 Subject: bug#48959: icecat imcomplete LD_LIBRARY_PATH affecting Kerberos authentication Resent-From: Mark H Weaver Original-Sender: "Debbugs-submit" Resent-To: bug-guix@gnu.org Resent-Date: Tue, 15 Jun 2021 09:58:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 48959 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Ignacio Coterillo Mail-Followup-To: 48959@debbugs.gnu.org, mhw@netris.org, ignacio.coterillo@gmail.com Received: via spool by 48959-done@debbugs.gnu.org id=D48959.162375103015428 (code D ref 48959); Tue, 15 Jun 2021 09:58:01 +0000 Received: (at 48959-done) by debbugs.gnu.org; 15 Jun 2021 09:57:10 +0000 Received: from localhost ([127.0.0.1]:48449 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lt5oj-00040m-M6 for submit@debbugs.gnu.org; Tue, 15 Jun 2021 05:57:09 -0400 Received: from world.peace.net ([64.112.178.59]:35674) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lt5oh-00040I-DH for 48959-done@debbugs.gnu.org; Tue, 15 Jun 2021 05:57:08 -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 1lt5oa-0007aJ-75; Tue, 15 Jun 2021 05:57:00 -0400 From: Mark H Weaver In-Reply-To: <87zgvrmzvs.fsf@gmail.com> References: <87pmwszl0a.fsf@gmail.com> <878s3c46z6.fsf@netris.org> <8735tk46f4.fsf@netris.org> <87zgvrmzvs.fsf@gmail.com> Date: Tue, 15 Jun 2021 05:56:00 -0400 Message-ID: <87pmwn30z8.fsf@netris.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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: , Cc: 48959-done@debbugs.gnu.org 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=1623751096; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-to: 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=sd4ocxasq0mBl6vpzjjYvOsSBnvU6vkBsqZ+at1Aa+w=; b=FR1z2PO9grMZhRq6vWG/2rIXNxdSETVcSgeWXLHxNAxLDbvL9pAwBPdtfGrET/E/MQiBeP BArxZfPvm3AhVM4c1WiaFLoFLfkh5xTj9ZldCwoIVQX4a2yMlLvwsYpdJ+GowbJ9XCHEHM hZM6XYzQgBlrZt5EdXl+acA6EbkfSr8b8iMjBGO/72a7I2oG3tX1cbMkDGbJ0kmddRMxYy tfVNUqXoA3AVlCkpSuCFNXeAFECSPmhne8zjInywhzNr7rbOADeIjqCznjz74V/59WcwKj A8WT0KOoca62j+3xnt6csxctQvCwJdKYgxt0amjl4P5LbVg/2/W86fj2cQHDJg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1623751096; a=rsa-sha256; cv=none; b=j5HjCe/A2/yToi6ZLZwFrPqj2sUBtqMyoITjMbW5ejmpR9aSF8zvovCatgpPZtxJfiUVla m8E1TzCEwKZAPjACG6UcYOWjyq1IDRYVHjSwvGb81UR+6jzKT74qGBtKrqz6hx490tFsiS qCqoGvNfhSwpL0jqf73AsENw3Q9XI5UOfHWWcyLo2FqkmOMdvzW5gYKWKQodaoudBm1AgC GzmFlQT+37xUPNhjKP2QKnSFvpiY0qqLY8bzfCKldRbvIZR4YCJ6gNIdd9mn8PDQ9RNNMY k/MlI+SdLHW/tFBx/QqFFwtY+d7MHUEFuHGbpAsUE9ejqFjPifebdMgKY/ICcQ== ARC-Authentication-Results: i=1; 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-Spam-Score: -2.42 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: 6BFA827F72 X-Spam-Score: -2.42 X-Migadu-Scanner: scn0.migadu.com X-TUID: NgoCGkZ6a5JE Hi Ignacio, Ignacio Coterillo writes: > First, I confirm that Kerberos authentication works when running=20 > icecat as: > > LD_LIBRARY_PATH=3D$(guix build mit-krb5)/lib icecat Thanks. I just pushed my proposed patch to the master branch, commit 61b904b744c1f16084c79e526837cc7fe73f9b92. I'm also closing this bug now, but feel free to reopen it if there are remaining problems. > Regarding the patch, I actually tried to build the package with those > exact changes myself before submitting the bug for further testing but > didn't manage to complete the build. The build process would go on > for over a day (most of the time spent in bootstrapping the rust > inputs) until failing because of lack of disk space. Hmm. If you built a recent commit from the 'master' branch of Guix, and had substitutes enabled, then it should _not_ have tried to build Rust locally. My guess is that you didn't pass "--sysconfdir=3D/etc" to ./configure. Consequently, the locally-built Guix is looking in /usr/local/etc/guix for its authorized signing keys, whereas the default configuration of Guix (as self-built by Guix itself and as installed by our distributed installers) looks in /etc/guix. That would explain why the locally-built Guix is not using substitutes. I suggest passing "--sysconfdir=3D/etc" (and "--localstatedir=3D/var") to ./configure, re-running "make" in your Git checkout, and trying again. Alternatively, you could copy (using "cp -a") /etc/guix to /usr/local/etc/guix. > Is it possible to estimate a priori the amount of space a build would > require to prevent failures? No. However, 80 GB is more than sufficient to build an entire GNOME-based Guix system plus Rust and IceCat from source code. I know this because for several years I've been building my GNOME-based Guix system locally (with substitutes disabled) on a Thinkpad X200 with 4 GB of RAM, 8 GB of Swap, and only ~75 GB of disk available for Guix. If you have a separate /tmp partition, perhaps it is too small. When building packages locally, the temporary build directories are put in /tmp by default. It's possible to configure 'guix-daemon' to put them elsewhere, either by passing the TMPDIR environment variable to 'guix-daemon' (if running it by hand), or via the 'tmpdir' field of the 'guix-configuration' by putting something like the following code in the 'services' field of your OS configuration. --8<---------------cut here---------------start------------->8--- _ (services (cons* =E2=80=A6 __________________ (modify-services %desktop-services ____________________ (guix-service-type config =3D> _______________________________________ (guix-configuration _________________________________________ (inherit config) _________________________________________ (tmpdir "/var/tmp")))))) --8<---------------cut here---------------end--------------->8--- Please let us know if you continue to have difficulties. Regards, Mark --=20 Disinformation flourishes because many people care deeply about injustice but very few check the facts. Ask me about .