From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id IL+KE90sxGGzMwAAgWs5BA (envelope-from ) for ; Thu, 23 Dec 2021 09:01:33 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id WFAvD90sxGELCwAAB5/wlQ (envelope-from ) for ; Thu, 23 Dec 2021 08:01:33 +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 BB1971BB3B for ; Thu, 23 Dec 2021 09:01:32 +0100 (CET) Received: from localhost ([::1]:58714 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n0J2Z-0007nh-PF for larch@yhetil.org; Thu, 23 Dec 2021 03:01:31 -0500 Received: from eggs.gnu.org ([209.51.188.92]:38348) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n0J2B-0007nI-OT for bug-guix@gnu.org; Thu, 23 Dec 2021 03:01:07 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:48780) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n0J25-00082P-PH for bug-guix@gnu.org; Thu, 23 Dec 2021 03:01:05 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n0J25-0000Kn-Kq for bug-guix@gnu.org; Thu, 23 Dec 2021 03:01:01 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#52727: When logged as user, GUILE_LOAD_COMPILED_PATH points to the system cache instead of the user cache Resent-From: Denis 'GNUtoo' Carikli Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 23 Dec 2021 08:01:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 52727 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Maxime Devos Received: via spool by 52727-submit@debbugs.gnu.org id=B52727.16402464391248 (code B ref 52727); Thu, 23 Dec 2021 08:01:01 +0000 Received: (at 52727) by debbugs.gnu.org; 23 Dec 2021 08:00:39 +0000 Received: from localhost ([127.0.0.1]:60326 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n0J1j-0000K3-9p for submit@debbugs.gnu.org; Thu, 23 Dec 2021 03:00:39 -0500 Received: from cyberdimension.org ([80.67.179.20]:57296 helo=gnutoo.cyberdimension.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n0J1h-0000Ju-RX for 52727@debbugs.gnu.org; Thu, 23 Dec 2021 03:00:38 -0500 Received: from gnutoo.cyberdimension.org (localhost [127.0.0.1]) by cyberdimension.org (OpenSMTPD) with ESMTP id 15bb133d; Thu, 23 Dec 2021 07:59:28 +0000 (UTC) Received: from primary_laptop (localhost [::1]) by gnutoo.cyberdimension.org (OpenSMTPD) with ESMTP id 49a270ea; Thu, 23 Dec 2021 07:59:28 +0000 (UTC) Date: Thu, 23 Dec 2021 08:31:15 +0100 From: Denis 'GNUtoo' Carikli Message-ID: <20211223083115.5bd27816@primary_laptop> In-Reply-To: References: <20211222011647.2d41452f@primary_laptop> <7c94e1ff91741598e028d4e0f32dba8ee0b38026.camel@ist.tugraz.at> X-Mailer: Claws Mail 4.0.0 (GTK+ 3.24.24; i686-pc-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/rPK+Lh0SJsvWx6C+wRNU8hN"; protocol="application/pgp-signature"; micalg=pgp-sha256 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: Liliana Marie Prikler , 52727@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-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=1640246492; 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: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=6wgcNOZd7WHDzsk1PtLOJwVVCmKzv9i/VgYcimIreMo=; b=s77Iv1z7oUvBaJ31W9Z8FXy20RE832rWJHtAskqQxNWgUC/jplx+O7IhiOJ4GVvqWa6VJI uDff9jlPKaJJeK22NAHCLIiT5CCAu/dYJrozhFhNDItzo0xeMBkOKtkGbxh1Y/O8PNckBC 5d8zFdx/53txfi3DDS+2SA7RviNalUGVghQoN3KbFppvrrQ4Z0/dCeB//ynNEN7QFRShqp GvCF3Snhpj5ewbuN/Wlc4dmKyoi1cSiuAlIHqy+c8WDs2vpp3phtifUau253ispvj1DU3p vXuzyCdRt69sh0M2Fl7ALRiGNE6W5YSeNVfTBy0PkMbQLra2u2uVFg8i4KSu2g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1640246492; a=rsa-sha256; cv=none; b=ea+J7HceLY0APQY9oyw71D8VCyVNg9krwgKLqHFgwu1Fe+Uc8OlknACE3mJT7MLqckSpgh VkpiKWXJVsZMmDU6UTc1ydAeEX10KKjlIAquL/4iFjUsd/+C+smFjAyTEtqk7RMCdB7WXM BRjQoB6mGG73lqsS7ulPkXgqqHpqkBMz5QNuCRK13qqOGccnjX+8+rjjxNNkzU8CWLVNz9 Jv2Q6UhvUgdFAH/bu0DkwirjL+ZlFduySmpulEUKQyZF/XBG+J/O1ladTkFhtalPpF4Lpk U+ZcZfdE+vaaIR42BBD0CXsoxKE1Ad+ry7N5UGDBrJpNXpd7ZYUjnn5qySvxeg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; 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: -5.74 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; 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: BB1971BB3B X-Spam-Score: -5.74 X-Migadu-Scanner: scn0.migadu.com X-TUID: ywDZiY6hFlFI --Sig_/rPK+Lh0SJsvWx6C+wRNU8hN Content-Type: multipart/mixed; boundary="MP_/lyIzbw/MSGEjF2pWOyqnqEz" --MP_/lyIzbw/MSGEjF2pWOyqnqEz Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Wed, 22 Dec 2021 11:29:29 +0100 Maxime Devos wrote: > Liliana Marie Prikler schreef op wo 22-12-2021 om 08:57 [+0100]: > > For the record, guile has been a part of the system profile since > > %base-packages were first defined, so if your load paths break, > > there is probably a larger issue at hand.=C2=A0 In this particular case, > > your local guix profile ought to shadow anything that's in > > /run/current- system, so I don't really get how the ABI match is > > triggered.=C2=A0 Perhaps you might want to debug that in a REPL. =20 >=20 > Maybe the system guix has a package module that does not exist in the > user guix, so guix tries to load the system package module instead of > the non-existing user package module? In my system.scm (I attached it) I do have a package (fdm-git) that doesn't exist elsewhere (because I need a patch that is upstream but not in an fdm release yet). Right now I can't test without fdm-git because when doing guix system reconfigure, it tries to build guix but its tests fails. I'll bugreport about that. Denis. --MP_/lyIzbw/MSGEjF2pWOyqnqEz Content-Type: text/x-scheme Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename=j9anw5swkxfy7x2amcf7bxr0mfd1y14d-configuration.scm ;; Copyright (C) 2021 Denis 'GNUtoo' Carikli ;; ;; This program is free software: you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by ;; the Free Software Foundation, either version 3 of the License, or ;; (at your option) any later version. ;; ;; This program is distributed in the hope that it will be useful, ;; but WITHOUT ANY WARRANTY; without even the implied warranty of ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ;; GNU General Public License for more details. ;; ;; You should have received a copy of the GNU General Public License ;; along with this program. If not, see . (use-modules (gnu) (gnu system mapped-devices) (gnu system nss) (guix build-system gnu) (guix git-download) ((guix licenses) #:prefix license:) (guix packages)) (use-package-modules admin android audio autotools base bash bison bootloaders certs commencement compression cryptsetup databases disk display-managers emacs emacs-xyz file flashing-tools freedesktop gnome gnupg linux mail mpd networking ncurses package-management patchutils pulseaudio python rsync screen ssh terminals tls tor version-control video vim virtualization web web-browsers wm xdisorg xfce xorg) (use-service-modules databases desktop mail networking sound virtualization xorg) (define-public fdm-git (package (name "fdm-git") (version "2.0+25") (source (origin (method git-fetch) (uri (git-reference (url "https://github.com/nicm/fdm") (commit "c245d210a5b0049f48c78e40af44d2889ecf217f"))) (file-name (git-file-name name version)) (sha256 (base32 "06al4rs11c859zwfqknicn31nz66w1g73bsb61463dk12q06pwy7")))) (build-system gnu-build-system) (inputs `(("tdb" ,tdb) ("openssl" ,openssl) ("zlib" ,zlib))) (native-inputs `(("autoconf" ,autoconf) ("automake" ,automake) ("bison-3.6" ,bison-3.6))) (home-page "https://github.com/nicm/fdm") (synopsis "Mail Retrieval Agent (MRA) and Mail Delivery Agent (MDA)") (description "fdm is a program designed to fetch mail from POP3 or IMAP servers, or receive local mail from stdin, and deliver it in various ways.") (license ;; Why point to a source file? Well, all the individual files have a ;; copy of this license in their headers, but there's no seprate file ;; with that information. (license:non-copyleft "https://github.com/nicm/fdm/blob/master/command.c")))) (define %lvm-vg (list (mapped-device (source (uuid "fd8d9fd8-56a5-4c61-9f6e-35371ff964f0")) (target "internal-cleartext") (type luks-device-mapping)) (mapped-device (source "primary_laptop") (targets (list "primary_laptop-guix32")) (type lvm-device-mapping)))) (define %guix32-rootfs (file-system (device "/dev/mapper/primary_laptop-guix32") (mount-point "/") (type "ext4") (dependencies %lvm-vg))) (define %parabola32-rootfs (file-system (mount-point "/srv/distros/parabola32") (device "/dev/mapper/primary_laptop-parabola32") (type "ext4") (dependencies %lvm-vg) (create-mount-point? #t) (mount-may-fail? #t))) (define (parabola32-bind-mount path) (file-system (mount-point path) (device (string-append "/srv/distros/parabola32" path)) (type "none") (dependencies (list %parabola32-rootfs)) (flags '(bind-mount)) (create-mount-point? #t) (mount-may-fail? #t))) (operating-system (host-name "primary_laptop") (timezone "Europe/Paris") (locale "en_US.utf8") (kernel-arguments (append (list "iomem=3Drelaxed" "modprobe.blacklist=3Dpcspkr" "quiet"))) (initrd-modules (cons "i915" %base-initrd-modules)) (keyboard-layout (keyboard-layout "us" "altgr-intl")) (bootloader (bootloader-configuration (bootloader (bootloader (inherit grub-bootloade= r) (installer #~(const #t)= ))) (keyboard-layout keyboard-layout))) (mapped-devices %lvm-vg) (file-systems (append (list %guix32-rootfs %parabola32-rootfs (parabola32-bind-mount "/home/gnutoo") (parabola32-bind-mount "/root") (parabola32-bind-mount "/etc/ssh/ssh_config") (parabola32-bind-mount "/etc/gitconfig") (parabola32-bind-mount "/etc/git/") (parabola32-bind-mount "/etc/wpa_supplicant/") (parabola32-bind-mount "/srv/http/") (parabola32-bind-mount "/srv/kiwix/") (parabola32-bind-mount "/usr/local/bin/") (parabola32-bind-mount "/var/lib/postgres/")) %base-file-systems)) (users (cons* (user-account (name "gnutoo") (uid 1000) (group "gnutoo") (supplementary-groups '("wheel" "netdev" "audio" "video"))) (user-account (name "postgres") (uid 88) (group "postgres") (comment "PostgreSQL user") (home-directory "/var/lib/postgres") (shell (file-append bash "/bin/bash")) (system? #t)) %base-user-accounts)) (groups (cons* (user-group (name "gnutoo") (id 1000)) (user-group (name "postgres") (id 88) (system? #t)) %base-groups)) (hosts-file (local-file "etc/hosts")) (packages (append (list alsa-utils adb abootimg android-udev-rules autoconf automake bash-completion bemenu claws-mail cryptsetup ddrescue dosfstools dovecot elogind emacs fastboot fdm-git file flashrom fluxbox gnu-make guix gcc-toolchain gdm git glibc ;; for the utilities gnupg grub heimdall htop ;; kiwix-tools libtool links lvm2 lzip meld midori mkbootimg mpd mpd-mpc mplayer myrepos nbd ncurses net-tools netcat-openbsd nss-certs openssh picocom pinentry pulseaudio python ponymix redshift rsync screen sshfs strace sway terminator tor udisks vim virt-manager vlc waybar wayland wpa-supplicant xauth xfce4-screensaver xfce4-session xf86-input-keyboard xf86-input-libinput xf86-video-intel xinit xorg-server xrandr) %base-packages)) (services (append (list (dovecot-service #:config (dovecot-configuration (mail-location "maildir:~/.local/Mail= dir") (listen '("127.0.0.1")))) (service alsa-service-type) (service dhcp-client-service-type) (service elogind-service-type) (service gdm-service-type (gdm-configuration (debug? #t) ;; (wayland? #t) )) (service libvirt-service-type (libvirt-configuration)) (service postgresql-service-type (postgresql-configuration (postgresql postgresql-13.3) (data-directory "/var/lib/postgres/data") (config-file (postgresql-config-file (hba-file (plain-file "pg_hba.conf" (string-append "# TYPE DATABASE USER ADDRESS\n" " local all all trust\n"))) (extra-config '(("max_connections" 100) ("shared_buffers" "128 MB") ("dynamic_shared_memory_type" "posix") ("max_wal_size" "1 GB") ("min_wal_size" "80 MB") ("log_timezone" "Europe/Pa= ris") ("datestyle" "iso, dmy") ("timezone" "Europe/Pa= ris") ("lc_messages" "en_US.UTF= -8") ("lc_monetary" "en_US.UTF= -8") ("lc_numeric" "en_US.UTF= -8") ("lc_time" "fr_FR.UTF= -8") ("default_text_search_config" "pg_catalog.english"))))))) (service pulseaudio-service-type) (service tor-service-type (tor-configuration)) (udisks-service) (service xfce-desktop-service-type)) %base-services))) --MP_/lyIzbw/MSGEjF2pWOyqnqEz-- --Sig_/rPK+Lh0SJsvWx6C+wRNU8hN Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEeC+d2+Nrp/PU3kkGX138wUF34mMFAmHEJcMACgkQX138wUF3 4mPAfA//e99p9NkknjxCAhgj0KkNrzWDQRnYN1JLBDN22Y1Ct0dRc9vLMpXeAvMp qGYcQA1Rwz+TDOY5oz7e6gKA3/jSCEEu33y23ki3QrrWwOxYfvwhLyJcSpYLW53f vF774KSZCoZm0440Oc9Z8ZHnpr2vgn39bWJZ8puroPgoh5VxK6XKJeeFH4zMUXah bOcc42w2GzGDSR84Y0YGOzf0kIoWgOfBZkjPmwWisnD1g13R14xgAcoPCtZkpTTf VVmJc7hCMMwaHCTGQgdUYwnVqkGns4DYEMWUMi9kt8SEjsdsRkQshShC5l+9Fp0O PbwvpImhfCzhgS4g1MJ9p/sEKhveA0RzMZ0wwlP/BQduY9FVqMB6tv0r2MynLPHr h0JmVg3wKM7hVXCQJSzmN0vofkPcFzlZ3uoM2Q3vu+KBBzt+TkTUBFBvyG8Lvccd x1HC4LCyVDtKFGWb9DdyRBoy94yEXFwoNERkckUUqQgoapFiQ9TTyw8MFxcWyAIi ZO40QFVo1spJk2CuIY3FEViYve5DwK9kuLsdGv51AUZH07d4V5PtD/z3B/xK20Mp 6DxntVAKUr941WOLmS/K3xpnaKCPg3QmpwGpiMD7V80RR38NydJA959fWDCI3/vz ZHl7oHS3Kct/IK4biRdxKcC1elyiIw7HG2qr/fzzu/IVF6ByMAQ= =vc58 -----END PGP SIGNATURE----- --Sig_/rPK+Lh0SJsvWx6C+wRNU8hN--