GNU bug report logs -
#59579
installing zbar prevents gdm to start on Ubuntu 22.04 foreign distro
Previous Next
To reply to this bug, email your comments to 59579 AT debbugs.gnu.org.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-guix <at> gnu.org
:
bug#59579
; Package
guix
.
(Fri, 25 Nov 2022 17:46:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Clément Lassieur <clement <at> lassieur.org>
:
New bug report received and forwarded. Copy sent to
bug-guix <at> gnu.org
.
(Fri, 25 Nov 2022 17:46:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Severity: serious
Steps to reproduce:
> - install Ubuntu 22.04
> - install Guix package manager
> - guix package -i zbar
> - reboot
Expected result
> boot
result
> login loop
It's very difficult to pin the issue down to a guix package being installed.
I imagine the bug would not happen if ~/.guix-profile/share was not in XDG_DATA_DIRS.
[Message part 2 (text/html, inline)]
Owner recorded as glv <at> posteo.net.
Request was from
Clément Lassieur <clement <at> lassieur.org>
to
control <at> debbugs.gnu.org
.
(Fri, 25 Nov 2022 17:51:02 GMT)
Full text and
rfc822 format available.
Information forwarded
to
bug-guix <at> gnu.org, glv <at> posteo.net
:
bug#59579
; Package
guix
.
(Thu, 26 Jan 2023 17:39:01 GMT)
Full text and
rfc822 format available.
Message #10 received at 59579 <at> debbugs.gnu.org (full text, mbox):
Hi,
On Fri, 25 Nov 2022 at 18:45, Clément Lassieur <clement <at> lassieur.org> wrote:
> It's very difficult to pin the issue down to a guix package being
> installed.
>
> I imagine the bug would not happen if ~/.guix-profile/share was not in
> XDG_DATA_DIRS.
Yes, it is related to XDG_DATA_DIRS and it can be tedious to find which
package brings the issue.
I had a similar issue with the package ’python-ipython’ and recently
with ’fontconfig’ – both cases running on the top of Debian.
The issue can happen whatever the profile; it just depends which ones
are sourced by your login shell.
Cheers,
simon
Information forwarded
to
bug-guix <at> gnu.org, glv <at> posteo.net
:
bug#59579
; Package
guix
.
(Tue, 31 Jan 2023 06:24:01 GMT)
Full text and
rfc822 format available.
Message #13 received at 59579 <at> debbugs.gnu.org (full text, mbox):
Simon Tournier <zimon.toutoune <at> gmail.com> writes:
> Hi,
>
> On Fri, 25 Nov 2022 at 18:45, Clément Lassieur <clement <at> lassieur.org> wrote:
>
>> It's very difficult to pin the issue down to a guix package being
>> installed.
>>
>> I imagine the bug would not happen if ~/.guix-profile/share was not in
>> XDG_DATA_DIRS.
>
> Yes, it is related to XDG_DATA_DIRS and it can be tedious to find which
> package brings the issue.
>
> I had a similar issue with the package ’python-ipython’ and recently
> with ’fontconfig’ – both cases running on the top of Debian.
>
> The issue can happen whatever the profile; it just depends which ones
> are sourced by your login shell.
>
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...
So:
--8<---------------cut here---------------start------------->8---
$ guix shell -C coreutils zbar --no-grafts -- env
PS1=\u@\h \w [env]\$
TMPDIR=/tmp
TEMPDIR=/tmp
TMP=/tmp
TEMP=/tmp
LOGNAME=iyzsong
USER=iyzsong
HOME=/home/iyzsong
PATH=/gnu/store/yfnm6nh3a6c7hiqk1nq228wpph1x1z1w-profile/bin:/gnu/store/yfnm6nh3a6c7hiqk1nq228wpph1x1z1w-profile/sbin
XDG_DATA_DIRS=/gnu/store/yfnm6nh3a6c7hiqk1nq228wpph1x1z1w-profile/share
GUIX_GTK3_PATH=/gnu/store/yfnm6nh3a6c7hiqk1nq228wpph1x1z1w-profile/lib/gtk-3.0
QMAKEPATH=/gnu/store/yfnm6nh3a6c7hiqk1nq228wpph1x1z1w-profile/lib/qt5
QT_PLUGIN_PATH=/gnu/store/yfnm6nh3a6c7hiqk1nq228wpph1x1z1w-profile/lib/qt5/plugins
XDG_CONFIG_DIRS=/gnu/store/yfnm6nh3a6c7hiqk1nq228wpph1x1z1w-profile/etc/xdg
XCURSOR_PATH=/gnu/store/yfnm6nh3a6c7hiqk1nq228wpph1x1z1w-profile/share/icons
GDK_PIXBUF_MODULE_FILE=/gnu/store/yfnm6nh3a6c7hiqk1nq228wpph1x1z1w-profile/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache
GUIX_ENVIRONMENT=/gnu/store/yfnm6nh3a6c7hiqk1nq228wpph1x1z1w-profile
--8<---------------cut here---------------end--------------->8---
I think GUIX_GTK3_PATH, QT_PLUGIN_PATH, GDK_PIXBUF_MODULE_FILE should be
the problems.
Information forwarded
to
bug-guix <at> gnu.org, glv <at> posteo.net
:
bug#59579
; Package
guix
.
(Tue, 31 Jan 2023 11:37:02 GMT)
Full text and
rfc822 format available.
Message #16 received at 59579 <at> debbugs.gnu.org (full text, mbox):
Hi,
On Tue, 31 Jan 2023 at 14:23, 宋文武 via Bug reports for GNU Guix <bug-guix <at> 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,
--8<---------------cut here---------------start------------->8---
$ 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"
--8<---------------cut here---------------end--------------->8---
The package ’zbar’ also provides XDG_DATA_DIRS. Maybe, I am missing
something.
Cheers,
simon
Information forwarded
to
bug-guix <at> gnu.org, glv <at> posteo.net
:
bug#59579
; Package
guix
.
(Sat, 18 May 2024 03:13:02 GMT)
Full text and
rfc822 format available.
Message #19 received at 59579 <at> debbugs.gnu.org (full text, mbox):
Hi,
zimoun <zimon.toutoune <at> gmail.com> writes:
> Hi,
>
> On Tue, 31 Jan 2023 at 14:23, 宋文武 via Bug reports for GNU Guix <bug-guix <at> 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
Added tag(s) moreinfo.
Request was from
Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
to
control <at> debbugs.gnu.org
.
(Sat, 18 May 2024 03:13:02 GMT)
Full text and
rfc822 format available.
Information forwarded
to
bug-guix <at> gnu.org, glv <at> posteo.net
:
bug#59579
; Package
guix
.
(Wed, 22 May 2024 15:21:03 GMT)
Full text and
rfc822 format available.
Message #24 received at 59579 <at> debbugs.gnu.org (full text, mbox):
Hi Maxim,
On ven., 17 mai 2024 at 23:10, Maxim Cournoyer <maxim.cournoyer <at> gmail.com> wrote:
> Just to be sure, do you have default XDG_* environment variables as
> configured by guix-install.sh:
Hum, no I did not have all these default. It had been introduced after
my install of Guix, I guess. :-)
> --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.
Maybe we could add a short paragraph/section about that XDG_* variables
under (guix) Application Setup [1]. Although etc/guix-install.sh
already does the correct thing, it could be helpful if people tweak
stuff, I mean, always good to shortly document typical annoyances. :-)
1: https://guix.gnu.org/manual/devel/en/guix.html#Application-Setup
Cheers,
simon
Information forwarded
to
bug-guix <at> gnu.org, glv <at> posteo.net
:
bug#59579
; Package
guix
.
(Wed, 22 May 2024 16:17:01 GMT)
Full text and
rfc822 format available.
Message #27 received at 59579 <at> debbugs.gnu.org (full text, mbox):
Hi Simon,
Simon Tournier <zimon.toutoune <at> gmail.com> writes:
> Hi Maxim,
>
> On ven., 17 mai 2024 at 23:10, Maxim Cournoyer <maxim.cournoyer <at> gmail.com> wrote:
>
>> Just to be sure, do you have default XDG_* environment variables as
>> configured by guix-install.sh:
>
> Hum, no I did not have all these default. It had been introduced after
> my install of Guix, I guess. :-)
>
>> --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.
>
> Maybe we could add a short paragraph/section about that XDG_* variables
> under (guix) Application Setup [1]. Although etc/guix-install.sh
> already does the correct thing, it could be helpful if people tweak
> stuff, I mean, always good to shortly document typical annoyances. :-)
>
> 1: https://guix.gnu.org/manual/devel/en/guix.html#Application-Setup
That'd be a welcome improvement! It'd be nice before if you could
confirm/infirm whether this was truly the issue, if you still have
access to the VM.
--
Thanks,
Maxim
Information forwarded
to
bug-guix <at> gnu.org, glv <at> posteo.net
:
bug#59579
; Package
guix
.
(Fri, 31 May 2024 16:38:02 GMT)
Full text and
rfc822 format available.
Message #30 received at 59579 <at> debbugs.gnu.org (full text, mbox):
Hi Maxim,
On Wed, 22 May 2024 at 12:14, Maxim Cournoyer <maxim.cournoyer <at> gmail.com> wrote:
> That'd be a welcome improvement! It'd be nice before if you could
> confirm/infirm whether this was truly the issue, if you still have
> access to the VM.
Sadly, I do not have access anymore to this configuration. I just
remember that I tweaked more than once some XDG_* variables. They
introduced conflicts… I remember one specifically where I was unable to
login under X.
If I am able to replay some scenario, I will propose a paragraph. :-)
Let keep it open for some next weeks and close then since there is not
known issue with the current default provide by guix-install.sh.
Cheers,
simon
This bug report was last modified 1 year and 11 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.