Re: error setting console font in system.scm

2020-06-13 Thread John Soo
Hello Fullbert,

Fulbert  writes:

>   Trying to change console font with the following in "services" section
> of my system configuration file :
>
> 
> …
>   (services (append (list
> …
> (service console-font-service-type
>   `(("tty3" . ,(file-append font-terminus 
> "/share/consolefonts/ter-128n"
>   ) %desktop-services))
> …
> 
>
> which results in the following error when reconfiguring the system :
>
> 
> $ sudo guix system --dry-run reconfigure /etc/config.scm
> guix system: error: service 'console-font-tty3' provided more than once
> 

This is because there is already a console-font-service-type in
%desktop-services. You will need to modify the existing service instead
like below. Note I have not tested this myself but something like it can be
found in the documentation of guile association lists

https://www.gnu.org/software/guile/manual/html_node/Adding-or-Setting-Alist-Entries.html

;; At the top of the file
(use-modules
  ...
  (ice-9 match))

;; Replace %desktop-services with this:

(modify-services %desktop-services
  (console-font-service-type
configuration =>
(map
  (match-lambda
(("tty3" . f)
  `("tty3" . (file-append font-terminus 
"/share/consolefonts/ter-128n")))
((tty . font) `(,tty . ,font)))
  configuration)))

>   I probably missunderstand something and/or ill-format the
> configuration…?… Help appreciated.

No problem. The error message is saying that such a service would
conflict with the existing one. The aim of the snippet is to keep the
other tty fonts and update the one on tty3.

Hope that helps!

- John



Re: Failed to install ungoogled-chromium

2020-06-13 Thread Ricardo Wurmus


ark...@disroot.org writes:

> I am trying to install ungoogled-chromium, but when I start applying
> the patches it gives the following error:

As of commit ea7882b2e397633eccf2ec7205404bec30f74312 I don’t see any
problems in building ungoogled-chromium.  I’m getting a substitute from 
ci.guix.gnu.org. 

-- 
Ricardo



BPF in linux-libre

2020-06-13 Thread John Soo
Hi Guix,

I was in the mood to try some of these new bpf tools. Does the linux libre 
kernel support it?

Thanks!

John


Re: Failed to install ungoogled-chromium

2020-06-13 Thread Dmitry Alexandrov
ark...@disroot.org wrote:
> https://bin.disroot.org/?a5a35c2c0b751c30#AdWvRzuXMWfWe5cYN21CAcnXaR9iPw1BhjxftDqw3xtx

All it says is:
| JavaScript is required for PrivateBin to work. Sorry for the inconvenience.

In any case, this is not IRC.  Pastebins have no use here.

patch-shebang: ./v8/tools/unittests/v8_presubmit_test.py: changing `/usr/bin/env python' to `/gnu/store/ln0jd0k32xbr2jyha1sdaynllkazgmsi-python2-2.7.17/bin/python'
patch-shebang: ./v8/tools/update-object-macros-undef.py: warning: no binary for interpreter `python3' found in $PATH
patch-shebang: ./v8/tools/v8_presubmit.py: changing `/usr/bin/env python' to `/gnu/store/ln0jd0k32xbr2jyha1sdaynllkazgmsi-python2-2.7.17/bin/python'
patch-shebang: ./v8/tools/wasm-compilation-hints/inject-compilation-hints.py: changing `/usr/bin/env python' to `/gnu/store/ln0jd0k32xbr2jyha1sdaynllkazgmsi-python2-2.7.17/bin/python'
patch-shebang: ./v8/tools/wasm-compilation-hints/wasm-objdump-compilation-hints.py: changing `/usr/bin/env python' to `/gnu/store/ln0jd0k32xbr2jyha1sdaynllkazgmsi-python2-2.7.17/bin/python'
patch-shebang: ./v8/tools/wasm-compilation-hints/wasm.py: changing `/usr/bin/env python' to `/gnu/store/ln0jd0k32xbr2jyha1sdaynllkazgmsi-python2-2.7.17/bin/python'
patch-shebang: ./v8/tools/wasm/update-wasm-fuzzers.sh: changing `/bin/bash' to `/gnu/store/pwcp239kjf7lnj5i4lkdzcfcxwcfyk72-bash-minimal-5.0.16/bin/bash'
patch-shebang: ./v8/tools/wasm/update-wasm-spec-tests.sh: changing `/bin/bash' to `/gnu/store/pwcp239kjf7lnj5i4lkdzcfcxwcfyk72-bash-minimal-5.0.16/bin/bash'
patch-shebang: ./weblayer/tools/run_weblayer_shell.py: changing `/usr/bin/env python' to `/gnu/store/ln0jd0k32xbr2jyha1sdaynllkazgmsi-python2-2.7.17/bin/python'
phase `patch-source-shebangs' succeeded after 30.9 seconds
starting phase `prepare-build-environment'
Backtrace:
  14 (primitive-load "/gnu/store/fckx2i51pixnh5dn6dl1rclafa2…")
In ice-9/eval.scm:
   191:35 13 (_ _)
In guix/build/gnu-build-system.scm:
838:2 12 (gnu-build #:source _ #:outputs _ #:inputs _ #:phases . #)
In ice-9/boot-9.scm:
  1736:10 11 (with-exception-handler _ _ #:unwind? _ # _)
In srfi/srfi-1.scm:
   857:16 10 (every1 # …)
In guix/build/gnu-build-system.scm:
   847:30  9 (_ _)
In ice-9/eval.scm:
619:8  8 (_ #(#(#) (# # …)))
In ice-9/boot-9.scm:
  1736:10  7 (with-exception-handler _ _ #:unwind? _ # _)
In ice-9/ports.scm:
   445:17  6 (call-with-input-file _ _ #:binary _ #:encoding _ # _)
In guix/build/utils.scm:
   741:26  5 (_ _)
   767:26  4 (_ # …)
In srfi/srfi-1.scm:
   460:18  3 (fold # …)
In unknown file:
   2 (string-concatenate-reverse ("'\n" #f "return '") # #)
In ice-9/boot-9.scm:
  1669:16  1 (raise-exception _ #:continuable? _)
  1669:16  0 (raise-exception _ #:continuable? _)

ice-9/boot-9.scm:1669:16: In procedure raise-exception:
In procedure string-append: Wrong type (expecting string): #f
builder for `/gnu/store/hr5qklnqbgbp2in7l91r873f8xq44plf-ungoogled-chromium-81.0.4044.138-0.c2a89fb.drv' failed with exit code 1
la construcción de /gnu/store/hr5qklnqbgbp2in7l91r873f8xq44plf-ungoogled-chromium-81.0.4044.138-0.c2a89fb.drv falló
Muestra el registro de construcción en '/var/log/guix/drvs/hr/5qklnqbgbp2in7l91r873f8xq44plf-ungoogled-chromium-81.0.4044.138-0.c2a89fb.drv.bz2'.
guix install: error: build of `/gnu/store/hr5qklnqbgbp2in7l91r873f8xq44plf-ungoogled-chromium-81.0.4044.138-0.c2a89fb.drv' failed

signature.asc
Description: PGP signature


error setting console font in system.scm

2020-06-13 Thread Fulbert


  Hi Guixers,

  (define myself (guix-noob-user (not (programmer

  Trying to change console font with the following in "services" section
of my system configuration file :


…
  (services (append (list
…
(service console-font-service-type
  `(("tty3" . ,(file-append font-terminus 
"/share/consolefonts/ter-128n"
  ) %desktop-services))
…


which results in the following error when reconfiguring the system :


$ sudo guix system --dry-run reconfigure /etc/config.scm
guix system: error: service 'console-font-tty3' provided more than once


  I probably missunderstand something and/or ill-format the
configuration…?… Help appreciated.

  Below is the related [(guix) Base services] Texinfo section.


--scheme Variable: console-font-service-type
Install the given fonts on the specified ttys (fonts are per
virtual console on the kernel Linux).  The value of this service is
a list of tty/font pairs.  The font can be the name of a font
provided by the ‘kbd’ package or any valid argument to ‘setfont’,
as in this example:
  `(("tty1" . "LatGrkCyr-8x16")
("tty2" . ,(file-append
  font-tamzen
  "/share/kbd/consolefonts/TamzenForPowerline10x20.psf"))
("tty3" . ,(file-append
  font-terminus
  "/share/consolefonts/ter-132n"))) ; for HDPI




error setting console font in system.scm

2020-06-13 Thread Fulbert

  Hi Guixers,

  (define myself (guix-noob-user (not (programmer

  Trying to change console font with the following in "services" section
of my system configuration file :


…
  (services (append (list
…
(service console-font-service-type
  `(("tty3" . ,(file-append font-terminus 
"/share/consolefonts/ter-128n"
  ) %desktop-services))
…


which results in the following error when reconfiguring the system :


$ sudo guix system --dry-run reconfigure /etc/config.scm
guix system: error: service 'console-font-tty3' provided more than once


  I probably missunderstand something and/or ill-format the
configuration…?… Help appreciated.

  Below is the related [(guix) Base services] Texinfo section.


--scheme Variable: console-font-service-type
Install the given fonts on the specified ttys (fonts are per
virtual console on the kernel Linux).  The value of this service is
a list of tty/font pairs.  The font can be the name of a font
provided by the ‘kbd’ package or any valid argument to ‘setfont’,
as in this example:
  `(("tty1" . "LatGrkCyr-8x16")
("tty2" . ,(file-append
  font-tamzen
  "/share/kbd/consolefonts/TamzenForPowerline10x20.psf"))
("tty3" . ,(file-append
  font-terminus
  "/share/consolefonts/ter-132n"))) ; for HDPI

Hi Guixers,

(define myself (guix-noob-user (not (programmer

Trying to change console font with the following in "services" section of my sys
tem configuration file :

…
  (services (append (list
…
(service console-font-service-type
  `(("tty3" . ,(file-append font-terminus "/share/consolefonts/ter-128n"

  ) %desktop-services))
…

which results in the following error when reconfiguring the system :

$ sudo guix system --dry-run reconfigure /etc/config.scm
guix system: error: service 'console-font-tty3' provided more than once

I probably missunderstand something and/or ill-format the configuration…?

Below is the related [(guix) Base services] Texinfo section.

--scheme Variable: console-font-service-type
Install the given fonts on the specified ttys (fonts are per
virtual console on the kernel Linux).  The value of this service is
a list of tty/font pairs.  The font can be the name of a font
provided by the ‘kbd’ package or any valid argument to ‘setfont’,
as in this example:
  `(("tty1" . "LatGrkCyr-8x16")
("tty2" . ,(file-append
  font-tamzen
  "/share/kbd/consolefonts/TamzenForPowerline10x20.psf"))
("tty3" . ,(file-append
  font-terminus
  "/share/consolefonts/ter-132n"))) ; for HDPI
 __

   Last updated 2020-06-13 12:52:15 CEST


Failed to install ungoogled-chromium

2020-06-13 Thread arkhan
Cheers,

I am trying to install ungoogled-chromium, but when I start applying the 
patches it gives the following error:

https://bin.disroot.org/?a5a35c2c0b751c30#AdWvRzuXMWfWe5cYN21CAcnXaR9iPw1BhjxftDqw3xtx

Thanks for the help