bug#55898: jami service failing following 'guix deploy' update

2022-06-10 Thread Maxim Cournoyer
Hello Guix!

After having fixed the tests of the jami-service-type and pushed the fix
as 85b4dabd94d53f8179f31a42046cd83fc3a352fc, I was confident it would
work, but my freshly 'guix deploy'ed machine says otherwise:

--8<---cut here---start->8---
$ sudo herd stop jami
$ sudo herd start jami
Service jami-dbus-session has been started.
herd: exception caught while executing 'start' on service 'jami':
Unbound variable: jami-service-available?

$ guix system describe
Generation 141  Jun 11 2022 01:38:12(current)
  file name: /var/guix/profiles/system-141-link
  canonical file name: /gnu/store/vx9sd4vb2yfv0zhycd461m9wfvgzclsp-system
  label: GNU with Linux-Libre 5.17.14
  bootloader: grub-efi
  root device: label: "btrfs-pool-1"
  kernel: 
/gnu/store/zf4062hz23485dp1xr8w6zbk2m8igpsk-linux-libre-5.17.14/bzImage
  configuration file: 
/gnu/store/n2wqba6npybjd8i730cpi9qc61p16jkr-configuration.scm
--8<---cut here---end--->8---

I don't get it; how can the service runs fine in the instrumented VMs
the system tests use, and fail in my updated machine?  Could it be a
fault in 'guix deploy'?

To be investigated...

Thanks,

Maxim





bug#54786: Installation tests are failing

2022-06-10 Thread Maxim Cournoyer
Hi Ludo,

Ludovic Courtès  writes:

[...]

>> When using 'make-forkexec-constructor/container', the clone(2) call
>> happens before switching user, thus as 'root' in Shepherd, which
>> explains why it works.
>
> Damnit, that’s right.  For example the result of:
>
>(lower-object (least-authority-wrapper (file-append coreutils "/bin/uname")
>   #:namespaces (delq 'user 
> %namespaces)))
>
> won’t run as an unprivileged user:

[...]

> I think we would add #:user and #:group to ‘least-authority-wrapper’ and
> have it call setuid/setgid.  ‘make-forkexec-constructor’ doesn’t need to
> be modified, but the user simply won’t pass #:user and #:group to it.

OK!  I'll adjust the jami-service-type when we get around to implement
the above; for now I've pushed my proposed fix which still uses
'make-forkexec-constructor/container' as
85b4dabd94d53f8179f31a42046cd83fc3a352fc.

Thanks,

Maxim





bug#55484: Setup PS1 for 'guix shell/environment' in guix-install.sh

2022-06-10 Thread Maxim Cournoyer
Hi,

Maxim Cournoyer  writes:

> Hello Guix,
>
> This is a feature request to take care of configuring PS1 in ~/.bashrc
> (or the most suitable place) for users of guix-install.sh.
>
> It's a small thing but it provides a nicer user experience when they can
> visually see they have entered a Guix environment.

This may be a bit more involved then simply appending the snippet to
their ~/.bashrc (if available), as Debian for example ships its own PS1
configuration there.  I guess we could prompt the user whether they want
the script to override their PS1 configuration.

Maxim





bug#54973: control message for bug #54973

2022-06-10 Thread Tobias Geerinckx-Rice via Bug reports for GNU Guix

Hullo,

Haider Mirza 写道:

close 54973
quit


This kind of message works only if sent to the ‘control@’ address 
instead of the bug address.


The (IMO easier) way to close issues is to ‘Reply’ and simply edit 
the address to add ‘-done’ or ‘-close’ after the bug number, as 
I've done with this message.


Thanks!

T G-R


signature.asc
Description: PGP signature


bug#54973: control message for bug #54973

2022-06-10 Thread Haider Mirza
close 54973
quit


signature.asc
Description: PGP signature


bug#54973: Blender has no denoiser

2022-06-10 Thread Haider Mirza
I will close this Issue as it is open for pretty much no reason.
Thank you to Raingloom and anyone else who responded!

I might send a patch in the future tackling this problem.


signature.asc
Description: PGP signature


bug#55856: First LUKS passphrase prompt at Linux boot always fail

2022-06-10 Thread Ludovic Courtès
Hi,

Maxim Cournoyer  skribis:

> Today I confirmed that without first clearing the input buffer via
> multiple backspaces strokes, the first LUKS passphrase (I have many
> disks) *always* fail.

This is super weird (I’ve not observed that).  I don’t see how the input
buffer could be filled with something else.  I wonder how this could be
investigated!

Ludo’.





bug#55857: Odd Shepherd message on 'guix system reconfigure': (map (# ?) ?)

2022-06-10 Thread Ludovic Courtès
Hi,

Maxim Cournoyer  skribis:

> The following message is shown when reconfiguring Guix System:
>
> shepherd: Evaluating user expression (and (defined? (quote transient?)) (map 
> (# ?) ?)).
>
> It doesn't seem intended for end users to see; at least I have no clue
> what it's supposed to tell me :-).

The question marks are HORIZONTAL ELLIPSIS not being displayed properly
because ‘guix’ is not running under a UTF-8 locale.

The message is produced by shepherd as a response to an expression that
‘guix system reconfigure’ tells it to evaluate, in (gnu services herd).
And all this happens as part of the live service upgrade mechanism.

Admittedly, this particular message is not something one cares about as
a user, but it seemed safer to print messages shepherd might send during
that operation.

Ludo’.





bug#37021: GuixSD 1.01-i686 install DVD boot failure on Macbook1, 1: failed to resolve partition

2022-06-10 Thread Calvin Heim
On Thu, 2022-06-09 at 21:11 -0400, Maxim Cournoyer wrote:
> Hi Calvin,
> 
> Calvin Heim  writes:
> 
> > When I press e at GRUB to edit the boot configuration
> > I have noticed that the identifier
> > 31393730-3031-3031-3139-343934363833
> > is the default value of the --root option on the LiveUSB.  I will look into
> > other possible values for this --root option. 
> 
> Did you gave up, or eventually got it working?

I gave up because my DVD-drive stopped reading discs and instead makes gentle
tapping sounds and three short low-pitched buzzes for thirty seconds before
ejecting any inserted media. Happens at both the OEM bootloader stage and after
Trisquel is fully booted. It's not a Guix problem -- it's my personal hardware
problem now.

I expect that you may wish to close the issue to tidy up, and I accept that
outcome.

Thanks,
Calvin 

resent, forgot to cc the list
> 
> Thanks,
> 
> Maxim






bug#55884: I have a problem wıth my computer

2022-06-10 Thread Tobias Geerinckx-Rice via Bug reports for GNU Guix

Comrade Googlov,

I condemn any aggression of Russia and its government. 


Much appreciated, but we don't demand such a pledge from our users 
:-)


Even if we did take a stand, it would be better served by a Web 
site that everyone can read.


Kind regards,

T G-R


signature.asc
Description: PGP signature


bug#55884: I have a problem wıth my computer

2022-06-10 Thread Maxime Devos
retitle 55884 "guix substitute" keeps retrying on connection time-out
thanks

User Googlov schreef op do 09-06-2022 om 20:26 [-0800]:
> Hello, I can't update my computer. The site https://guix.gnu.org/ is
> not available in my country. I don't know if IP address or domain
> name is blocked.

See

for information and a work-around.
Alternatively, you can do "guix pull --no-substitutes", at cost of
having to compile more locally.

FWIW, there appears to be an additional problem here (all the 0.0%
lines, couldn't guix just notice that apparently it's offline and stop
retrying or something?), so I'm keeping the bug report open, under a
different title

Greetings,
Maxime.


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


bug#55884: I have a problem wıth my computer

2022-06-10 Thread User Googlov
Hello, I can't update my computer. The site https://guix.gnu.org/ is not
available in my country. I don't know if IP address or domain name is
blocked. Unfortunately, I don't have a VPN. I love using the GUİX
distribution. I ask for your help in solving my problem.

I condemn any aggression of Russia and its government.

I sendıng update result.

hostguix ~$ guix pull
Updating channel 'guix' from Git repository at '
https://git.savannah.gnu.org/git/guix.git'...
Authenticating channel 'guix', commits 9edb3f6 to 01596f4 (1,723 new
commits)...
Building from this channel:
  guix  https://git.savannah.gnu.org/git/guix.git 01596f4
substitute: updating substitutes from 'https://ci.guix.gnu.org'...
0.0%guix substitute: warning: ci.guix.gnu.org: connection failed:
Connection timed out
substitute:
substitute: updating substitutes from 'https://ci.guix.gnu.org'...   0.0%
substitute: updating substitutes from 'https://ci.guix.gnu.org'...   0.0%
building /gnu/store/7hf9ms5gb5jbk3vmjh1vx3rhk8lzv0iv-module-import.drv...
building /gnu/store/85ngl5pydxpxpp2036b40556zw5iwvyp-module-import.drv...
building
/gnu/store/plr2j2h7mps1rkia9q7yjaf8s4izdvhx-module-import-compiled.drv...
building
/gnu/store/h831gpalbax2p8z615kw77wx4j1q43fp-module-import-compiled.drv...
building
/gnu/store/dm2fhv528r6371dqadga3925dys0wkhv-compute-guix-derivation.drv...
substitute: updating substitutes from 'https://ci.guix.gnu.org'...   0.0%
substitute: updating substitutes from 'https://ci.guix.gnu.org'...   0.0%
substitute: updating substitutes from 'https://ci.guix.gnu.org'...   0.0%
substitute: updating substitutes from 'https://ci.guix.gnu.org'...   0.0%
substitute: updating substitutes from 'https://ci.guix.gnu.org'...   0.0%
substitute: updating substitutes from 'https://ci.guix.gnu.org'...   0.0%
substitute: updating substitutes from 'https://ci.guix.gnu.org'...   0.0%
substitute: updating substitutes from 'https://ci.guix.gnu.org'...   0.0%
substitute: updating substitutes from 'https://ci.guix.gnu.org'...   0.0%
substitute: updating substitutes from 'https://ci.guix.gnu.org'...   0.0%
Backtrace:
  17 (primitive-load
"/gnu/store/7n23lw9jdmy0qrm0ji2hp9xb60kz9lld-compute-guix-derivation")
In ice-9/eval.scm:
155:9 16 (_ _)
159:9 15 (_ #(#(#(#(#(#(#(#(#(#(#(#(#(#(#(#(# ?)
?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?))
In ice-9/boot-9.scm:
152:2 14 (with-fluid* _ _ _)
152:2 13 (with-fluid* _ _ _)
In ./guix/store.scm:
  2168:24 12 (run-with-store #
# ?)
   1996:8 11 (_ #)
In ./guix/gexp.scm:
   300:22 10 (_ #)
   1181:2  9 (_ #)
   1047:2  8 (_ #)
893:4  7 (_ #)
In ./guix/store.scm:
  2053:12  6 (_ #)
   1401:5  5 (map/accumulate-builds #
# ?)
  1417:15  4 (_ #
("/gnu/store/syq520ck4nl6ay9mfm24hk4qnvwgb32c-guile-ssh-?" ?) ?)
  1417:15  3 (loop #f)
   711:11  2 (process-stderr # _)
In ./guix/serialization.scm:
   102:11  1 (read-int #)
 80:6  0 (get-bytevector-n* # 8)

./guix/serialization.scm:80:6: In procedure get-bytevector-n*:
ERROR:
  1. :
  file: #f
  port: #
guix pull: error: You found a bug: the program
'/gnu/store/7n23lw9jdmy0qrm0ji2hp9xb60kz9lld-compute-guix-derivation'
failed to compute the derivation for Guix (version:
"01596f40a994a2bb39dde5867ca66e9f7e9e67e0"; system: "x86_64-linux";
host version: "5b71034fe81c2639bb7a9121146ddc551f6067f9"; pull-version: 1).
Please report the COMPLETE output above by email to 


bug#51639: The home-environment example on Guix manual has an error

2022-06-10 Thread Ludovic Courtès
Hi,

Andrew Tropin  skribis:

> From b1b448078a5382caf906c84064094f25aef7c689 Mon Sep 17 00:00:00 2001
> From: Andrew Tropin 
> Date: Fri, 10 Jun 2022 10:08:24 +0300
> Subject: [PATCH] doc: Update example of a minimalistic home environment.
>
> * doc/he-config-bare-bones.scm: Adujst example according to changes in
> bash-service-type and home-files-service-type.

Applied, thanks!

Ludo’.





bug#51639: The home-environment example on Guix manual has an error

2022-06-10 Thread Andrew Tropin
On 2021-11-06 09:50, Luis Henrique Gomes Higino wrote:

> Hi,
>
> the example present in the 11.1 section of the guix manual ((guix)
> Declaring the Home Environment) uses a list of strings in the
> bash-profile field of home-bash-configuration, which is incorrect, 
> as it
> expects a list of file-like objects.
>
> The example is as follows:
>
>   (use-modules (gnu home)
>(gnu home services)
>(gnu home services shells)
>(gnu services)
>(gnu packages admin)
>(guix gexp))
>   
>   
>   (home-environment
>(packages (list htop))
>(services
> (list
>  (service home-bash-service-type
>   (home-bash-configuration
>(guix-defaults? #t)
>(bash-profile '("\
>   export HISTFILE=$XDG_CACHE_HOME/.bash_history"
>   
>  (simple-service 'test-config
>  home-files-service-type
>  (list `("config/test.conf"
>  ,(plain-file "tmp-file.txt"
>   "the content of 
>   ~/.config/test.conf")))
>
> Running "guix home build" with a file containing this returns this 
> error:
>
>   building 
>   /gnu/store/cvmpzmvb0p73dvbf813rcmpplj6fnbk8-bash_profile.drv...
>   Backtrace:
>  8 (primitive-load 
>  "/gnu/store/w6nikzvdk66d1b8x579ra0vz0wl?")
>   In ice-9/ports.scm:
>  463:17  7 (call-with-output-file _ _ #:binary _ #:encoding _)
>   In ice-9/eval.scm:
>   159:9  6 (_ #(#(#) 
>   #))
>   163:9  5 (_ #(#(#) 
>   #))
>   155:9  4 (_ #(#(#) 
>   #))
>   159:9  3 (_ #(#(#) 
>   #))
>   In ice-9/boot-9.scm:
>   152:2  2 (with-fluid* _ _ _)
>   In ice-9/ports.scm:
>  440:11  1 (call-with-input-file " export 
>  HISTFILE=$XDG_CACHE?" ?)
>   In unknown file:
>  0 (open-file " export 
>  HISTFILE=$XDG_CACHE_HOME/.bash?" ?)
>   
>   ERROR: In procedure open-file:
>   In procedure open-file: No such file or directory: " export 
>   HISTFILE=$XDG_CACHE_HOME/.bash_history"
>   builder for 
>   `/gnu/store/cvmpzmvb0p73dvbf813rcmpplj6fnbk8-bash_profile.drv' 
>   failed with exit code 1
>
> I believe it should be changed to something like this:
>
>   (use-modules (gnu home)
>(gnu home services)
>(gnu home services shells)
>(gnu services)
>(gnu packages admin)
>(guix gexp))
>   
>   
>   (home-environment
>(packages (list htop))
>(services
> (list
>  (service home-bash-service-type
>   (home-bash-configuration
>(guix-defaults? #t)
>(bash-profile (list (plain-file "bash-profile" "\
>   export HISTFILE=$XDG_CACHE_HOME/.bash_history")
>   
>  (simple-service 'test-config
>  home-files-service-type
>  (list `("config/test.conf"
>  ,(plain-file "tmp-file.txt"
>   "the content of 
>   ~/.config/test.conf")))
>
> This manages to build correctly.
>
> Greetings,
> Luis

Hi, you are right!  Sorry for long reply.

From b1b448078a5382caf906c84064094f25aef7c689 Mon Sep 17 00:00:00 2001
From: Andrew Tropin 
Date: Fri, 10 Jun 2022 10:08:24 +0300
Subject: [PATCH] doc: Update example of a minimalistic home environment.

* doc/he-config-bare-bones.scm: Adujst example according to changes in
bash-service-type and home-files-service-type.
---
 doc/he-config-bare-bones.scm | 11 ++-
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/doc/he-config-bare-bones.scm b/doc/he-config-bare-bones.scm
index d2e4736e29..f948d85277 100644
--- a/doc/he-config-bare-bones.scm
+++ b/doc/he-config-bare-bones.scm
@@ -13,12 +13,13 @@
(service home-bash-service-type
 (home-bash-configuration
  (guix-defaults? #t)
- (bash-profile '("\
-export HISTFILE=$XDG_CACHE_HOME/.bash_history"
+ (bash-profile (list (plain-file "bash-profile" "\
+export HISTFILE=$XDG_CACHE_HOME/.bash_history")
 
(simple-service 'test-config
-   home-files-service-type
-   (list `("config/test.conf"
+   home-xdg-configuration-files-service-type
+   (list `("test.conf"
,(plain-file "tmp-file.txt"
-"the content of ~/.config/test.conf")))
+"the content of
+  ~/.config/test.conf")))
 
-- 
2.36.1


-- 
Best regards,
Andrew Tropin


signature.asc
Description: PGP signature