all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Maxim Cournoyer <maxim.cournoyer@gmail.com>
To: zimoun <zimon.toutoune@gmail.com>
Cc: 59579@debbugs.gnu.org, glv@posteo.net,
	"Clément Lassieur" <clement@lassieur.org>, 宋文武 <iyzsong@envs.net>
Subject: bug#59579: installing zbar prevents gdm to start on Ubuntu 22.04 foreign distro
Date: Fri, 17 May 2024 23:10:57 -0400	[thread overview]
Message-ID: <87ttivvmpq.fsf@gmail.com> (raw)
In-Reply-To: <86k013vxn0.fsf@gmail.com> (zimoun's message of "Tue, 31 Jan 2023 10:52:51 +0100")

Hi,

zimoun <zimon.toutoune@gmail.com> writes:

> Hi,
>
> On Tue, 31 Jan 2023 at 14:23, 宋文武 via Bug reports for GNU Guix <bug-guix@gnu.org> wrote:
>
>> Hello, I don't think XDG_DATA_DIRS should be the problems, but other
>> environment variables with "lib", since the xdg data should be
>> portable...
>
> I had the issue yesterday on Ubuntu. :-)
>
>> I think GUIX_GTK3_PATH, QT_PLUGIN_PATH, GDK_PIXBUF_MODULE_FILE should be
>> the problems.
>
> None of these environment variables were in my profile, IIRC.  From my
> small experiment, the only common one is XDG_DATA_DIRS.  For instance, I
> had the issue and I just removed the package ’fontconfig’ which fixed
> the issue;  the environment variables reads,
>
> $ guix shell fontconfig --search-paths
> export PATH="/gnu/store/i5rdrrdq4zi98yzcw7rza169ir1zkj6n-profile/bin${PATH:+:}$PATH"
> export XDG_DATA_DIRS="/gnu/store/i5rdrrdq4zi98yzcw7rza169ir1zkj6n-profile/share${XDG_DATA_DIRS:+:}$XDG_DATA_DIRS"
>
> The package ’zbar’ also provides XDG_DATA_DIRS.  Maybe, I am missing
> something.

Just to be sure, do you have default XDG_* environment variables as
configured by guix-install.sh:

--8<---------------cut here---------------start------------->8---
export XCURSOR_PATH="${XCURSOR_PATH:-/usr/local/share/icons:/usr/share/icons}"
export XDG_DATA_HOME="${XDG_DATA_HOME:-$HOME/.local/share}"
export XDG_CONFIG_HOME="${XDG_CONFIG_HOME:-$HOME/.config}"
export XDG_STATE_HOME="${XDG_STATE_HOME:-$HOME/.local/state}"
export XDG_DATA_DIRS="${XDG_DATA_DIRS:-/usr/local/share/:/usr/share/}"
export XDG_CONFIG_DIRS="${XDG_CONFIG_DIRS:-/etc/xdg}"
export XDG_CACHE_HOME="${XDG_CACHE_HOME:-$HOME/.cache}",
--8<---------------cut here---------------end--------------->8---

I think their absence used to cause this sort of behavior, since Guix
setting it to something would wholly override the distribution-provided
files.

-- 
Thanks
Maxim




  reply	other threads:[~2024-05-18  3:13 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-25 17:45 bug#59579: installing zbar prevents gdm to start on Ubuntu 22.04 foreign distro Clément Lassieur
2023-01-26 17:10 ` Simon Tournier
2023-01-31  6:23   ` 宋文武 via Bug reports for GNU Guix
2023-01-31  9:52     ` zimoun
2024-05-18  3:10       ` Maxim Cournoyer [this message]
2024-05-22 11:09         ` Simon Tournier
2024-05-22 16:14           ` Maxim Cournoyer
2024-05-31 15:43             ` Simon Tournier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87ttivvmpq.fsf@gmail.com \
    --to=maxim.cournoyer@gmail.com \
    --cc=59579@debbugs.gnu.org \
    --cc=clement@lassieur.org \
    --cc=glv@posteo.net \
    --cc=iyzsong@envs.net \
    --cc=zimon.toutoune@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.