unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#59579: installing zbar prevents gdm to start on Ubuntu 22.04 foreign distro
@ 2022-11-25 17:45 Clément Lassieur
  2023-01-26 17:10 ` Simon Tournier
  0 siblings, 1 reply; 4+ messages in thread
From: Clément Lassieur @ 2022-11-25 17:45 UTC (permalink / raw)
  To: 59579; +Cc: glv

[-- Attachment #1: Type: text/plain, Size: 345 bytes --]

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.

[-- Attachment #2: Type: text/html, Size: 935 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#59579: installing zbar prevents gdm to start on Ubuntu 22.04 foreign distro
  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
  0 siblings, 1 reply; 4+ messages in thread
From: Simon Tournier @ 2023-01-26 17:10 UTC (permalink / raw)
  To: Clément Lassieur; +Cc: 59579, glv

Hi,

On Fri, 25 Nov 2022 at 18:45, Clément Lassieur <clement@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




^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#59579: installing zbar prevents gdm to start on Ubuntu 22.04 foreign distro
  2023-01-26 17:10 ` Simon Tournier
@ 2023-01-31  6:23   ` 宋文武 via Bug reports for GNU Guix
  2023-01-31  9:52     ` zimoun
  0 siblings, 1 reply; 4+ messages in thread
From: 宋文武 via Bug reports for GNU Guix @ 2023-01-31  6:23 UTC (permalink / raw)
  To: Simon Tournier; +Cc: 59579, glv, Clément Lassieur

Simon Tournier <zimon.toutoune@gmail.com> writes:

> Hi,
>
> On Fri, 25 Nov 2022 at 18:45, Clément Lassieur <clement@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.




^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#59579: installing zbar prevents gdm to start on Ubuntu 22.04 foreign distro
  2023-01-31  6:23   ` 宋文武 via Bug reports for GNU Guix
@ 2023-01-31  9:52     ` zimoun
  0 siblings, 0 replies; 4+ messages in thread
From: zimoun @ 2023-01-31  9:52 UTC (permalink / raw)
  To: 宋文武; +Cc: 59579, glv, Clément Lassieur

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,

--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







^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-01-31 12:12 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).