Emacs and tree-sitter grammars
All versions of Emacs except emacs-minimal are built with tree-sitter support. But no grammar is added to propagated-inputs. Emacs version 29.1 ships with the following major modes: typescript-ts-mode c-ts-mode c++-ts-mode java-ts-mode python-ts-mode css-ts-mode json-ts-mode csharp-ts-mode bash-ts-mode dockerfile-ts-mode cmake-ts-mode go-ts-mode yaml-ts-mode rust-ts-mode ruby-ts-mode In version 30.0.50 more added: html-ts-mode heex-ts-mode elixir-ts-mode lua-ts-mode Maybe grammars for these modes should be added to propagated-inputs? -- Best regards, Aleksandr Vityazev
Re: RISC-V (riscv64-linux) substitutes are coming
On 2023-05-09, 16:41 +0100, Christopher Baines wrote: > Aleksandr Vityazev writes: > >>>> I've been having good luck with the visionfive1 as a build machine. My >>>> visionfive2 gets a little hot and I'm looking at getting a desk fan to >>>> blow at it and some of the other boards that get a bit hot while >>>> building. >> >> I also use visionfive2 as my build machine. Quite happy with it. I have >> a fairly large heatsink installed without a fan, the temperature does >> not exceed 60 degrees at full load. >> >>> Cool, well let me know if any of those can be hooked up to the build >>> farm. It's quite easy and obviously you can still use them (and just >>> stop the build coordinator agent) if you need to. >>> >> >> I'd give it a try. Although now there is only a 256GB ssd plugged in and >> no dedicated ip address. I don't know how the coordinator works, maybe >> it doesn't matter, I need to see how it all works. > > Cool :) 256GB is enough storage space, and there's no requirement for a > dedicated IP address. > I built guix-build-coordinator-agent-only version 0-75.d6ae42. Right now my system is on commit - 896982f357034e3e53fe05f86c416835adffda0c. Doing guix pull from 3f02f7d937a862d98367029e2d3506b228c6c80e, this will take a while. If the agent version is not important I can try to run the service. -- Best regards, Aleksandr Vityazev
Re: RISC-V (riscv64-linux) substitutes are coming
Hi, On 2023-05-09, 15:22 +0100, Christopher Baines wrote: > Efraim Flashner writes: > >> [[PGP Signed Part:Undecided]] >> On Tue, May 09, 2023 at 02:40:21PM +0100, Christopher Baines wrote: >>> Hey! >>> >>> Almost a year ago now [1] I mentioned that I had received a HiFive >>> Unmatched board, but I hadn't got it doing anything yet. >>> >>> 1: https://lists.gnu.org/archive/html/guix-devel/2021-06/msg00104.html >> >> Some would say that's almost two years ago! > > Indeed, I got my maths wrong! Time is really getting on :/ > >>> In the last few days I've made some time to take a look at it again and >>> try to get it connected up to the bordeaux build farm. >>> >>> This has been somewhat successful, you should be able to see the machine >>> (named rochor) on the prototype activity viewer [2]. >>> >>> 2: https://bordeaux.guix.gnu.org/activity >>> >>> Unfortunately it seems a bit stuck trying to upload the build results >>> back to the coordinator due to the suspendable ports issues in >>> guile-gnutls, but that should be fixed in the latest release so >>> hopefully I'll be able to deploy that fix soon. >>> >>> It's also just currently a bare board hooked up to a spare power supply >>> I have. I'll try and cost up a dedicated power supply plus case for it, >>> and if anyone has suggestions for minimal mini-itx compatible cases, >>> please let me know! >>> >>> This is a start, but more hardware will be needed to keep up with the >>> master branch, plus testing patches and other branches, so if you have >>> hardware to hand, or know of hardware available for purchase that might >>> be suitable, that would be really useful to know about. >> >> That's really exciting! >> >> I've been having good luck with the visionfive1 as a build machine. My >> visionfive2 gets a little hot and I'm looking at getting a desk fan to >> blow at it and some of the other boards that get a bit hot while >> building. I also use visionfive2 as my build machine. Quite happy with it. I have a fairly large heatsink installed without a fan, the temperature does not exceed 60 degrees at full load. > Cool, well let me know if any of those can be hooked up to the build > farm. It's quite easy and obviously you can still use them (and just > stop the build coordinator agent) if you need to. > I'd give it a try. Although now there is only a 256GB ssd plugged in and no dedicated ip address. I don't know how the coordinator works, maybe it doesn't matter, I need to see how it all works. -- Best regards, Aleksandr Vityazev
Re: RISC-V (riscv64-linux) substitutes are coming
On 2023-05-09, 18:57 +0300, Efraim Flashner wrote: > On Tue, May 09, 2023 at 06:24:11PM +0300, Aleksandr Vityazev wrote: >> Hi, >> >> On 2023-05-09, 15:22 +0100, Christopher Baines wrote: >> >> > Efraim Flashner writes: >> > >> >> [[PGP Signed Part:Undecided]] >> >> On Tue, May 09, 2023 at 02:40:21PM +0100, Christopher Baines wrote: >> >>> Hey! >> >>> >> >>> Almost a year ago now [1] I mentioned that I had received a HiFive >> >>> Unmatched board, but I hadn't got it doing anything yet. >> >>> >> >>> 1: https://lists.gnu.org/archive/html/guix-devel/2021-06/msg00104.html >> >> >> >> Some would say that's almost two years ago! >> > >> > Indeed, I got my maths wrong! Time is really getting on :/ >> > >> >>> In the last few days I've made some time to take a look at it again and >> >>> try to get it connected up to the bordeaux build farm. >> >>> >> >>> This has been somewhat successful, you should be able to see the machine >> >>> (named rochor) on the prototype activity viewer [2]. >> >>> >> >>> 2: https://bordeaux.guix.gnu.org/activity >> >>> >> >>> Unfortunately it seems a bit stuck trying to upload the build results >> >>> back to the coordinator due to the suspendable ports issues in >> >>> guile-gnutls, but that should be fixed in the latest release so >> >>> hopefully I'll be able to deploy that fix soon. >> >>> >> >>> It's also just currently a bare board hooked up to a spare power supply >> >>> I have. I'll try and cost up a dedicated power supply plus case for it, >> >>> and if anyone has suggestions for minimal mini-itx compatible cases, >> >>> please let me know! >> >>> >> >>> This is a start, but more hardware will be needed to keep up with the >> >>> master branch, plus testing patches and other branches, so if you have >> >>> hardware to hand, or know of hardware available for purchase that might >> >>> be suitable, that would be really useful to know about. >> >> >> >> That's really exciting! >> >> >> >> I've been having good luck with the visionfive1 as a build machine. My >> >> visionfive2 gets a little hot and I'm looking at getting a desk fan to >> >> blow at it and some of the other boards that get a bit hot while >> >> building. >> >> I also use visionfive2 as my build machine. Quite happy with it. I have >> a fairly large heatsink installed without a fan, the temperature does >> not exceed 60 degrees at full load. > > Where did you get the heatsink from? Something generic or from the > makers of the visionfive2? > I bought a generic one at the marketplace. >> > Cool, well let me know if any of those can be hooked up to the build >> > farm. It's quite easy and obviously you can still use them (and just >> > stop the build coordinator agent) if you need to. >> > >> >> I'd give it a try. Although now there is only a 256GB ssd plugged in and >> no dedicated ip address. I don't know how the coordinator works, maybe >> it doesn't matter, I need to see how it all works. -- Best regards, Aleksandr Vityazev
rrdtool hash mismatch
Hi, rrdtool package has not been updated for several years and according to ci.guix.gnu.org builds normally, but if you run: ./pre-inst-env guix build --no-substitutes --check --no-grafts rrdtool it outputs an error sha256 hash mismatch for /gnu/store/icyq4d3fsbbf2yw3dmg7cxgb05qzfd3q-rrdtool-1.7.2.tar.gz: expected hash: 1nsqra0g2nja19akmf9x5y9hhgc35ml3w9dcdz2ayz7zgvmzmm6d1 actual hash: 029r3h7l06m3sy9q0hr2krvinhzkqvyl14wj7qjck79bm7rdvp48 which looks strange to me. Maybe it's not, but I haven't figured out why? -- Best regards, Aleksandr Vityazev
Re: Guix release broken without substitutes on ungrafted openssl
Hi, On 2023-02-15, 12:15 -0500, Greg Hogan wrote: > Guix, > > Installing guix from source fails on the build of openssl@1.1.1l. I > see the same error on my working system (log attached) when executing > the command below. The issue looks to be caused by OpenSSL's expired > test certs fixed in 1.1.1p [0]. Guix currently grafts openssl 1.1.1s > but it seems grafts are not part of the bootstrap process (substitutes > disabled). > > If this is the correct diagnosis then we should be ungrafting before > future releases any bootstrap dependencies relating to build failures > (not necessarily for security updates). > > My personal fix was to adapt my installation script to iteratively set > back then reset the clock, as openssl only builds in the past but > diffutils-boot0 then fails due to newly created files being older than > distributed files. > > Greg I was recently building a deb pack of guix for riscv and encountered the same problem, so far I just turned off the tests for openssl@1.1.1l -- Best regards, Aleksandr Vityazev
match-record
Hi, Before cc9ee514e37f6ec74dd9cab91a13d51f7b8d47e7 commit the code below worked: #+begin_src scheme :scheme guile :season guile (define (iwd-etc-service config) (match-record config (config) `(("iwd/main.conf" ,(apply mixed-text-file "main.conf" (serialize-ini-config config)) #+end_src then this lead to an error: Syntax error: test.scm:109:44: lookup-field: unknown record type field in subform config of (lookup-field config (+ 1 (+ 1 (+ 1 0))) ()) If you fix the code to the following one, it will work. #+begin_src scheme :scheme guile :season guile (define (iwd-etc-service cfg) (match-record cfg (config) `(("iwd/main.conf" ,(apply mixed-text-file "main.conf" (serialize-ini-config config)) #+end_src Should the code from the first block work, or should I not write it that way? -- Best regards, Aleksandr Vityazev