Bug#1036304: guix: /etc/profile.d/guix.sh not updated for 1.4.0

2023-05-19 Thread Philip McGrath
On Friday, May 19, 2023 5:58:06 PM EDT Vagrant Cascadian wrote:
> On 2023-05-18, Philip McGrath wrote:
> > Among other changes upstream, I changed it in
> > 23aafc800c9e678662766440916449ec5bbce830 to initialize various XDG
> > environment variables, fixing a bug that can prevent KDE Plasma sessions
> > from starting properly, instead leaving the user with a black screen. I
> > encountered that bug again today when I logged back in after running
> > `guix home reconfigure` for the first time on a new Bookworm
> > installation. I described the problem in more detail upstream in
> > https://issues.guix.gnu.org/56050 and the linked mailing- list thread.
> 
> This sounds suspiciously similar to a long outstanding debian bug:
> 
>   https://bugs.debian.org/988260
> 
> So if updating this would solve that, that is really promising!
> 

I saw that debian bug when reporting this, and I haven't read it very closely, 
but it reminded me of a problem I had caused by an unnecessarily propagated 
input to emacs-next-pgtk: https://issues.guix.gnu.org/57421 My patch hasn't 
been merged upstream, but I make the same change to in my home-
configuration.scm.

> > Note also that the file was renamed to zzz-guix.sh in
> > 93be56a3ab28ed0a482f354b7f536681c99b6999.
> 
> Hrm. that will be a little bit trickier to change...
> 

IMO that change seems less important, since at least my bookworm system 
doesn't have the /etc/profile.d/xdg_dirs_desktop_session.sh mentioned in the 
commit message. Updating guix.sh without renaming was enough to fix things for 
me.

> 
> It is, unfortunately, very late in the bookworm release cycle... might
> have to wait till bookworm's first point release... will see how
> invasive the changes are.
> 

Understandable—late enough that I'm installing it on my desktop! Thanks for 
taking a look.
Philip




signature.asc
Description: This is a digitally signed message part.


Bug#1036304: guix: /etc/profile.d/guix.sh not updated for 1.4.0

2023-05-19 Thread Vagrant Cascadian
On 2023-05-18, Philip McGrath wrote:
> The /etc/profile.d/guix.sh script was not updated for 1.4.0, or indeed 
> seemingly since it was first added to the Debian package to address #985916.

Oh wow, you are absolutely right! Thanks for catching this!

The fact that this is shipped as a function of guix-install.sh ... makes
it a little trickier to update...  I will raise a thread upstream about
how to make that easier in the future; coming up with a way to split
that out into a separate file would greatly simplify the process (at
least for downstream packaging)...


> Among other changes upstream, I changed it in 
> 23aafc800c9e678662766440916449ec5bbce830 to initialize various XDG 
> environment 
> variables, fixing a bug that can prevent KDE Plasma sessions from starting 
> properly, instead leaving the user with a black screen. I encountered that 
> bug 
> again today when I logged back in after running `guix home reconfigure` for 
> the 
> first time on a new Bookworm installation. I described the problem in more 
> detail upstream in https://issues.guix.gnu.org/56050 and the linked mailing-
> list thread.

This sounds suspiciously similar to a long outstanding debian bug:

  https://bugs.debian.org/988260

So if updating this would solve that, that is really promising!


> Note also that the file was renamed to zzz-guix.sh in 
> 93be56a3ab28ed0a482f354b7f536681c99b6999.

Hrm. that will be a little bit trickier to change...


It is, unfortunately, very late in the bookworm release cycle... might
have to wait till bookworm's first point release... will see how
invasive the changes are.


live well,
  vagrant


signature.asc
Description: PGP signature


Bug#1036304: guix: /etc/profile.d/guix.sh not updated for 1.4.0

2023-05-18 Thread Philip McGrath
Package: guix
Version: 1.4.0-3
Severity: important
X-Debbugs-Cc: phi...@philipmcgrath.com

Dear Maintainer,

The /etc/profile.d/guix.sh script was not updated for 1.4.0, or indeed 
seemingly since it was first added to the Debian package to address #985916.

Among other changes upstream, I changed it in 
23aafc800c9e678662766440916449ec5bbce830 to initialize various XDG environment 
variables, fixing a bug that can prevent KDE Plasma sessions from starting 
properly, instead leaving the user with a black screen. I encountered that bug 
again today when I logged back in after running `guix home reconfigure` for the 
first time on a new Bookworm installation. I described the problem in more 
detail upstream in https://issues.guix.gnu.org/56050 and the linked mailing-
list thread.

Note also that the file was renamed to zzz-guix.sh in 
93be56a3ab28ed0a482f354b7f536681c99b6999.

Thanks for packaging Guix for Debian!
Philip


-- System Information:
Debian Release: 12.0
  APT prefers testing-security
  APT policy: (500, 'testing-security'), (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 6.1.0-9-amd64 (SMP w/12 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not 
set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages guix depends on:
ii  guile-3.0   3.0.8-2
ii  guile-3.0-libs  3.0.8-2
ii  guile-gcrypt0.4.0-2
ii  guile-git   0.5.2-5
ii  guile-gnutls3.7.9-2
ii  guile-json  4.7.3-2
ii  guile-lzlib 0.0.2-3
ii  guile-sqlite3   0.1.3-3
ii  guile-ssh   0.16.2-1
ii  guile-zlib  0.1.0-4
ii  libbz2-1.0  1.0.8-5+b1
ii  libc6   2.36-9
ii  libgcc-s1   12.2.0-14
ii  libgcrypt20 1.10.1-3
ii  libsqlite3-03.40.1-2
ii  libssh-dev  0.10.4-2
ii  libstdc++6  12.2.0-14
ii  zlib1g  1:1.2.13.dfsg-1

Versions of packages guix recommends:
ii  ca-certificates  20230311
ii  less 590-1.2
ii  nscd 2.36-9
ii  systemd  252.6-1

guix suggests no packages.

-- no debconf information


signature.asc
Description: This is a digitally signed message part.