Re: Guix System video review on YouTube

2020-04-27 Thread Danny Milosavljevic
Hi, On Mon, 27 Apr 2020 00:32:27 +0200 Jonathan Brielmaier wrote: > XFCE: no network-manager installed by default (seems not so important on > a QEMU image) Yeah, but it would be nice if we could warn the user if he tries to install some package manually (using guix install) that would require

Re: branch master updated: gnu: Add musl-cross.

2020-05-03 Thread Danny Milosavljevic
Hi Ludo, On Sun, 03 May 2020 21:26:23 +0200 Ludovic Courtès wrote: > I understand cross-base.scm is becoming messy and we would need an > abstraction to facilitate its use. Still, to me it sounds like a better > option over big monolithic packages. > > WDYT? In general I'm all for using our c

Re: branch master updated: gnu: gnome-todo: Fix build.

2020-05-06 Thread Danny Milosavljevic
Hi Marius, On Wed, 06 May 2020 17:43:18 +0200 Marius Bakke wrote: > Can you add a short comment at the top of the patch file explaining what > this does, along with links to relevant upstream commits/issues (if > applicable)? Whoops. Sure. Added in guix master commit 426adb4fc50cdfbc29fdc6ab6

Re: [PATCH] cuirass: Perform some database "optimization" at startup.

2020-05-25 Thread Danny Milosavljevic
Hi Chris, the docs at https://www.sqlite.org/pragma.html#pragma_optimize suggest to run "PRAGMA optimize" at the end of the connection, or periodically--not at the beginning. That makes sense since it has to be able to see which queries are emitted in order to know what to optimize. Also, docs s

Re: [OUTREACHY]: Integration of desktop environments into GNU Guix

2020-05-25 Thread Danny Milosavljevic
Hi Raghav, in malcontent, please don't do + (substitute* "libmalcontent/tests/app-filter.c" + (((string-append "g_test_add_func \\(\"/app-filter/appinfo\"," +" test_app_filter_appinfo\\);")) "")) Rather do it without string-append. If t

Re: [OUTREACHY]: Integration of desktop environments into GNU Guix

2020-05-25 Thread Danny Milosavljevic
Pushed all those to wip-desktop branch. pgpsopO9SnwLe.pgp Description: OpenPGP digital signature

Re: [OUTREACHY]: Integration of desktop environments into GNU Guix

2020-05-25 Thread Danny Milosavljevic
Also, gnome-photos doesn't set PYTHONPATH, so it won't be able to use pygobject, right? Pushed both gnome-music and gnome-photos to wip-desktop regardless. pgpPafT_gCICy.pgp Description: OpenPGP digital signature

Re: Kernel module configuration service

2020-05-26 Thread Danny Milosavljevic
Hi Brice, On Fri, 15 May 2020 19:31:51 + Brice Waegeneire wrote: > (1) Generate a config directory for modrope to use > (2) Load loadable kernel module by extending 'kernel-module-loader-service' [...] > ATM I need help with point number 1 in regard to putting in place the > config directory

Re: Kernel module configuration service

2020-05-26 Thread Danny Milosavljevic
Could also have modprobe-config-directory-service and extra KMCS service and load them at different times in the boot process, I guess. pgprPG9vf0IBS.pgp Description: OpenPGP digital signature

Re: [OUTREACHY]: Integration of desktop environments into GNU Guix

2020-05-28 Thread Danny Milosavljevic
Hi RG, thanks for the patches! In my opinion, in patch 1 you are goading Guix to keep a reference to .../bin/true . coreutils is an implicit build input anyway, so no need to do that stuff. And if you do it, it looks as if you want it to keep a reference to coreutils at runtime (it doesn't, but

Re: [OUTREACHY]: Integration of desktop environments into GNU Guix

2020-05-29 Thread Danny Milosavljevic
Hi Raghav, On Fri, 29 May 2020 17:01:26 -0400 Raghav Gururajan wrote: > > Please if you update the actual package from upstream, mention that fact in > > the commit log. If the actual upstream package changes, that's a serious > > change, right? People might wanna know where that happens. >

Re: [OUTREACHY]: Integration of desktop environments into GNU Guix

2020-05-31 Thread Danny Milosavljevic
Hi Raghav, for dconf: * What does patch-timeout-tests do and why? For nuspell: * Why doesn't ronn work? Is it also because of hpricot being missing? For enchant-1.6: * I've re-added disable-static. We generally don't use static libraries in Guix. Pushed these to guix wip-desktop. pgprB7

Re: [OUTREACHY]: Integration of desktop environments into GNU Guix

2020-06-04 Thread Danny Milosavljevic
Thanks! Changes sourceforge URL in presage to use mirrors. This set of packages causes rebuild of 2400 other packages. (Leaving gdk-pixbuf and gdk-pixbuf+svg off for testing purposes would drop it to 388 packages) Pushed to wip-desktop. pgpdnNaNHHaEo.pgp Description: OpenPGP digital signatur

Guile-SQLite3 0.1.1 released

2020-06-09 Thread Danny Milosavljevic
I’m pleased to announce Guile-SQLite3 version 0.1.1: git clone https://notabug.org/guile-sqlite3/guile-sqlite3.git cd guile-sqlite3 git checkout v0.1.1 git tag -v v0.1.1 The ‘git tag -v’ command checks the authenticity of your checkout. You may need to retrieve the signing key first: g

Guile-SQLite3 0.1.2 released

2020-06-13 Thread Danny Milosavljevic
I’m pleased to announce Guile-SQLite3 version 0.1.2: git clone https://notabug.org/guile-sqlite3/guile-sqlite3.git cd guile-sqlite3 git checkout v0.1.2 git tag -v v0.1.2 The ‘git tag -v’ command checks the authenticity of your checkout. You may need to retrieve the signing key first: gpg --key

Re: Blog post on Further reduced bootstrap seed to 25%

2020-06-15 Thread Danny Milosavljevic
Hi Janneke, On Mon, 15 Jun 2020 14:54:39 +0200 Jan Nieuwenhuizen wrote: > I’ve published a post about the second big reduction of the Guix > bootstrap binaries > > https://guix.gnu.org/blog/2020/guix-further-reduces-bootstrap-seed-to-25/ "again decided to sponsor this work" link is broken

Re: [OUTREACHY]: Integration of desktop environments into GNU Guix

2020-06-24 Thread Danny Milosavljevic
Hi RG, I've changed guix wip-desktop to use guix master commit c03cefc3d8dd826c4a74abbfe2b235525dca50fb as base (made a rebase). Then I tested and applied the patches from your E-Mail this is an answer to. That means a few of your patches didn't apply--which is not your fault. Could you please

Re: [OUTREACHY]: Integration of desktop environments into GNU Guix

2020-06-24 Thread Danny Milosavljevic
Hi RG, * In ruby-slim: Why are tests disabled? There are tests. * In libmpeg3: Could you unbundle a52dec-0.7.3? It's bundled right now. * In flux, a git commit is used. We usually don't package non-releases. Is there a good reason? * 0019-gnu-Add-asciidoctor.patch does some other stuff to ot

Re: [OUTREACHY]: Integration of desktop environments into GNU Guix

2020-06-25 Thread Danny Milosavljevic
Hi RG, On Thu, 25 Jun 2020 00:04:50 -0400 Raghav Gururajan wrote: > Please find the attached patches. Thanks. > > * gstreamer Please add a comment on why this is here: >+ (search-paths native-search-paths) > > * libvisual >+ (search-paths native-search-paths) Same > > * libvisual

Re: [OUTREACHY]: Integration of desktop environments into GNU Guix

2020-06-25 Thread Danny Milosavljevic
Please, when you remove patch references from (gnu packages ...), also remove the actual patch files using "git rm -f" and also remove the reference to the actual patch files from gnu/local.mk . Likewise, when you are adding patch references to (gnu packages ...), also add the reference to the act

Re: [GSOC 2020] network-boot-service

2020-07-02 Thread Danny Milosavljevic
Hi Brice, On Thu, 02 Jul 2020 10:11:28 + Brice Waegeneire wrote: > My issue building a static 'nfs-utils' is that it can't find > 'getrpcbynumber{,_r}' “configure: error: Neither getrpcbynumber_r nor > getrpcbynumber are available”. This function should be provided by the > libc > or by libt

Re: [OUTREACHY]: Integration of desktop environments into GNU Guix

2020-07-05 Thread Danny Milosavljevic
I've applied most to wip-desktop, with the following changes/comments: nanomsg: not reproducible nng: not reproducible libmpeg3 lots of "undeclared" warnings libtimidity test failed "Could not initialise libTiMidity" in playmidi directfb not reproducible │ │ │ -DirectFB/Core: %s Application Core.

Re: [OUTREACHY]: Integration of desktop environments into GNU Guix

2020-07-06 Thread Danny Milosavljevic
When trying to build gtk+ I get: /tmp/guix-build-libsoup-2.70.0.drv-0 --- stderr --- ** ERROR:../libsoup-2.70.0/tests/ssl-test.c:394:do_tls_interaction_test: Unexpected status 7 Connection terminated unexpectedly (expected 6 SSL handshake failed) --- Full log written to /tmp/guix-build-li

Re: [OUTREACHY]: Integration of desktop environments into GNU Guix

2020-07-17 Thread Danny Milosavljevic
Pushed to wip-desktop. Comments: * Why is libcamera in (gnu packages networking)? It sounds like it has digital camera libraries. * libcamera:doc is not reproducible. * building zentiy has webkitgtk as dependencies. pgpEy7dn9YaPc.pgp Description: OpenPGP digital signature

Re: [OUTREACHY]: Integration of desktop environments into GNU Guix

2020-07-18 Thread Danny Milosavljevic
Hi RG, since cairo is meant to be a portable and backend-agnostic vector graphics library, I find it hard to believe it needs to propagate fontconfig, freetype, glib, libpng, pixman, x11, xcb, xext and xrender. Are you sure that cairo actually exposes those libraries' interfaces to its users? Th

Re: [OUTREACHY]: Integration of desktop environments into GNU Guix

2020-07-19 Thread Danny Milosavljevic
Hi RG, On Sat, 18 Jul 2020 16:18:53 -0400 Raghav Gururajan wrote: > >> Also, please do not make libsigc++ public twice. It's already in the > >> module's #:export list. > >> > >> Same for glibmm and maybe others. > > > > Hmm. Without that, I get "package not found" while doing `./pre-inst-en

Re: [OUTREACHY]: Integration of desktop environments into GNU Guix

2020-07-19 Thread Danny Milosavljevic
Hi RG, On Sat, 18 Jul 2020 16:18:53 -0400 Raghav Gururajan wrote: > Please find the revised patched for libsigc++ and glibmm, attached with > this email. Applied to wip-desktop pgpY2zXGHscS7.pgp Description: OpenPGP digital signature

Re: [OUTREACHY]: Integration of desktop environments into GNU Guix

2020-07-19 Thread Danny Milosavljevic
Hi RG, applied the patches to wip-desktop, with libsigc++ and glibmm replaced by your newer patches. I'm still not sure about the propagated-inputs but I left them as-is for the time being. pgpVVtnO4xMh2.pgp Description: OpenPGP digital signature

Re: [OUTREACHY]: Integration of desktop environments into GNU Guix

2020-08-03 Thread Danny Milosavljevic
Hi RG, pushed this patchset to wip-desktop with small changes. I have the following comments/point out the following problems: * gtksourceview depends on icedtea (Java) (because it has groovy as native-input), which is not reproducible and only works on x86_64. Please make it not depend on ic

Re: [OUTREACHY]: Integration of desktop environments into GNU Guix

2020-08-05 Thread Danny Milosavljevic
Hi RG, pushed those to wip-desktop with small changes to the commit message. pgpz3Y_typ_Q5.pgp Description: OpenPGP digital signature

Re: [OUTREACHY]: Integration of desktop environments into GNU Guix

2020-08-09 Thread Danny Milosavljevic
Hi Raghav, applied these to wip-desktop except for 0030-gnu-seed-Disable-tests.patch (I still want to look into it) and 0026-gnu-flatpak-Update-package-definition.patch (there's a newer flatpak in the master I rebased to). Had to adapt the libostree patch slightly because half was already applied

Re: [OUTREACHY]: Integration of desktop environments into GNU Guix

2020-08-12 Thread Danny Milosavljevic
Hi RG, pushed that patchset to wip-desktop. I've changed liblouis output "louis" to "python" to do it the same way as other packages do it. Thanks! pgpUTTccoZDv_.pgp Description: OpenPGP digital signature

Re: Linux-libre git repository

2020-08-14 Thread Danny Milosavljevic
Hi Vagrant, On Thu, 13 Aug 2020 09:47:21 -0700 Vagrant Cascadian wrote: > The source checkout was quite slow to download, and took up ~1GB in the > store once completed. I'm not sure how guix's git origin works exactly; git init git remote add origin if git fetch --depth 1 origin then git c

Re: linux-module-builder leads to huge store items

2020-09-10 Thread Danny Milosavljevic
Hi Ludo, On Thu, 10 Sep 2020 10:09:11 +0200 Ludovic Courtès wrote: > Surely we don’t need that much just to build a kernel module. :-) Since Linux is a monolithic kernel and since C has no modules: Yes, yes we do--in the general case. Linux kernel developers have no interest in supporting out

Re: linux-module-builder leads to huge store items

2020-09-11 Thread Danny Milosavljevic
Hi Ludo, On Thu, 10 Sep 2020 18:26:57 +0200 Ludovic Courtès wrote: > > 150 MB > > a2fs24bgghjvlzq5lzr6zki7mqxx8mpi-linux-libre-module-builder-5.8.7/lib/modules/build/drivers/gpu/drm/amd/include/asic_reg > > 30 MB > > a2fs24bgghjvlzq5lzr6zki7mqxx8mpi-linux-libre-module-builder-5.8.7/lib/modules

Re: linux-module-builder leads to huge store items

2020-09-11 Thread Danny Milosavljevic
>Could you give it a try? ... I did. See footnote 2. [2] https://debbugs.gnu.org/cgi/bugreport.cgi?bug=43332 pgpTAWG_ImLeN.pgp Description: OpenPGP digital signature

Spooky problem in "nfs-root-os" system test

2020-09-13 Thread Danny Milosavljevic
Hi, I've got some spooky problem in the NFS root test (or in the VM setup by Guix, really). It seems to hang the system test in a part I cannot change (so it's not inside the test script). In order to reproduce, start with guix master commit 898fbb60b2354e82e5b7f259b44dbfed112a83aa--or any recen

Re: guile-sqlite3 trace support

2020-09-17 Thread Danny Milosavljevic
Hi Mathieu, thanks for telling me. For some reason I do not get notification E-Mails when someone posts a pull request there. I've searched the preferences, but nothing about that anywhere. My E-Mail address IS set up there (this one, but with +a suffix). I've now changed it not to use a plus s

Releasing guix binary in Docker format too?

2020-09-22 Thread Danny Milosavljevic
Hello, I'm working with Heads on using Guix to build Heads' source code reproducibly. Now, Heads has most of its stuff on CI servers that use Docker for a lot of things. Therefore, I used Guix pack in the usual way to create a recent Guix binary release and then just loaded that into a docker co

Re: Releasing guix binary in Docker format too?

2020-09-24 Thread Danny Milosavljevic
Also, while doing that, using the guix binary 1.1.0 tarball from the website and issuing guix pull (ONLY), a lot of weird stuff is updated, like libx11, fribidi, graphviz, cairo, pixman, libjpeg-turbo, pango etc. Is that really necessary? I guess it's because of the profile hooks, but still... why

Problem bootstrapping Guix - "make update-guix-package" result: no code for module (gcrypt hash)

2020-09-24 Thread Danny Milosavljevic
Hi, I'm trying to bootstrap current Guix (master) from Guix past (1.1.0 binary tarball). The goal is: I want to have only guix-the-package-manager at a specific guix commit (!) available inside a Docker image. Because the package "guix" in guix is always behind a little bit, that means I have to

Re: Release v1.2 timetable

2020-09-29 Thread Danny Milosavljevic
Hi Zimoun, On Tue, 29 Sep 2020 14:16:30 +0200 zimoun wrote: > b. fix bugs severity:important,serious [3,4] or report Bug #43513 means that all armhf substitutes built for armhf on anything else than armhf (especially those built on aarch64) are untrustworthy. I'm working on fixing it (Patch #

Re: u-boot for beagleboard

2020-10-04 Thread Danny Milosavljevic
Hi Vagrant, On Thu, 01 Oct 2020 10:15:40 -0700 Vagrant Cascadian wrote: > Maybe make-u-boot-package should be extended to support passing a list > of "common" names for boards, which could then be appended to the > description? Translators should say what they think about that. (Long ago, I st

Re: Release v1.2 timetable

2020-10-07 Thread Danny Milosavljevic
Hi, On Wed, 7 Oct 2020 16:51:46 +0200 zimoun wrote: > I have read Bug #43513 and Patch #43591 [1,2] and the table [3] is not > really encouraging. :-( This bug has serious repercussions for bootstrapping--and thus for the entire GNU Guix distribution (not to mention those other distributions wh

Continuous integration - automatic EMAIL

2020-10-07 Thread Danny Milosavljevic
Hi, please, let's improve building and testing processes. Please, can we have the build servers send build failures to guix-devel instead of hoping that people check manually? I have other things to do in my life than to poll random servers every few hours. If you don't want to send e-mail on a

Weird things found while fixing basic Guix packages

2020-10-07 Thread Danny Milosavljevic
Hi, because I don't have another place to put this, here are some weird things I found while I was fixing basic Guix packages (for fixing bug #43513), which have nothing specifically to do with bug #43513: * curl[-minimal]: Needs (delete-file "tests/data/test1094") to fix a test failure: ;; "t

Re: Release v1.2 timetable

2020-10-07 Thread Danny Milosavljevic
Hi zimoun, On Wed, 7 Oct 2020 17:39:44 +0200 Danny Milosavljevic wrote: > > BTW, is this Bug #43720 [5] blocking for the release too? > > > > Well, what is the status and the plan about this armhf topic? The short term plan is to only build 32 bit releases on 32 bit m

Re: Release v1.2 timetable

2020-10-07 Thread Danny Milosavljevic
Hi, On Wed, 7 Oct 2020 16:51:46 +0200 zimoun wrote: > BTW, is this Bug #43720 [5] blocking for the release too? I'd say yes. If homedirs are not created, one can't use the shiny new Guix system, now can one? pgpD0bhyarlf9.pgp Description: OpenPGP digital signature

Re: Release v1.2 timetable

2020-10-09 Thread Danny Milosavljevic
On Fri, 9 Oct 2020 20:25:57 +0200 Andreas Enge wrote: > On Tue, Oct 06, 2020 at 09:57:20AM +0200, Mathieu Othacehe wrote: > > The CI is already building substitutes for two images > > (hurd-barebones-qcow2-image and pine64-barebones-raw-image). We could > > maybe release 1.2 version of those imag

Re: Problem bootstrapping Guix - "make update-guix-package" result: no code for module (gcrypt hash)

2020-10-12 Thread Danny Milosavljevic
Hi Ludo, On Mon, 05 Oct 2020 14:20:08 +0200 Ludovic Courtès wrote: > Danny Milosavljevic skribis: > > > I'm trying to bootstrap current Guix (master) from Guix past (1.1.0 binary > > tarball). > > > > The goal is: I want to have only guix-the-package-ma

Re: Shipping more installer images?

2020-10-12 Thread Danny Milosavljevic
Hi Ludo, On Mon, 12 Oct 2020 13:47:25 +0200 Ludovic Courtès wrote: > Mathieu Othacehe skribis: > > Keep in mind that images use space at ftp.gnu.org and also take time to > build (having CI up-to-date helps with that, but it doesn’t not > eliminate build times due to the ‘update-guix-package’

Re: Shipping more installer images?

2020-10-13 Thread Danny Milosavljevic
Hi Ludo, On Tue, 13 Oct 2020 15:51:19 +0200 Ludovic Courtès wrote: > > IMO there are only very few RYF-worthy ARM devices--and we should support > > at least those, if we support any ARM devices at all. That includes > > providing images for those few (at least A20-EOMA68, A?0*Olinuxino*, and >

Re: Using #true and #false everywhere?

2020-10-16 Thread Danny Milosavljevic
Hi Ludo, On Fri, 16 Oct 2020 12:38:23 +0200 Ludovic Courtès wrote: > As for the manual, I’m afraid it’ll make every msgid that contains > @code{#t} stale. So maybe now’s not a good time to make this change? Now's definitely not a good time to make this change. I think it's a good idea to make

Importing package-overlay-for-Nix - How?

2020-10-20 Thread Danny Milosavljevic
Hi, since the Raspberry Pi open firmware effort has unstalled https://github.com/librerpi/rpi-open-firmware/ I want to eventually package it in Guix. It turns out that there are already config files for nix in the project above. And we have a nix importer in Guix. How do I use it guix im

Re: Packaging Python projects managed with Poetry

2020-10-22 Thread Danny Milosavljevic
Hi, On Thu, 22 Oct 2020 17:15:20 +0200 Tanguy Le Carrour wrote: > does not contain a `setup.py` file –because Poetry does not use it!—, and >the `python-build-system` fails. > I haven't wrap my head around this yet and I'm not sure what would be > the proper way to do it? >Write a `python-poetr

Re: Guix Front End (GUI) and making it more mainstream, popular in scientific community.

2020-10-29 Thread Danny Milosavljevic
Hello everyone, On Thu, 29 Oct 2020 21:55:10 +0530 Aniket Patil wrote: >If we build a GUI frontend then we can attract more > people who don't identify themselves with CLI users. As such there are many > people like writers, Graphic Designers, General users, etc. who don't > bother about CLI, wi

Re: Outdated avr-toolchain

2020-10-30 Thread Danny Milosavljevic
Hi, On Fri, 30 Oct 2020 12:47:18 +0530 Arun Isaac wrote: > Our avr-toolchain is very old and outdated. Our version is 5.5.0, > whereas the latest seems to be 10.2.0. We also have multiple versions of > the avr-toolchain packages along with functions to produce those > multiple versions. Can we r

Re: A better way to access records.

2020-10-30 Thread Danny Milosavljevic
Hi Brendan, On Fri, 30 Oct 2020 21:59:59 +1100 Brendan Tildesley wrote: > No I didn't want to specify the fields at all, just have all of them > automatically defined. I think that that is a bad idea for maintenance reasons. This totally would hide variables from the enclosing context without

GNOME in Guix

2020-11-02 Thread Danny Milosavljevic
Hi, On Mon, 02 Nov 2020 08:44:29 +0100 Pierre Neidhardt wrote: > Danny Milosavljevic writes: > > Not much more works yet because I've hit this (design) bug in Guix and/or > > GNOME: > > > > * https://github.com/spk121/guile-gi/issues/96 > > Have you tr

Gtk via the web

2020-11-02 Thread Danny Milosavljevic
Hi Ludo, On Sun, 01 Nov 2020 22:53:26 +0100 Ludovic Courtès wrote: > Lars-Dominik Braun skribis: > > Long ago Dave Thompson wrote guix-web, which allowed you to install > packages (you’d run it as your user): > > > https://archive.softwareheritage.org/browse/origin/directory/?origin_url=ht

Re: GNOME in Guix

2020-11-03 Thread Danny Milosavljevic
ver again. I want there to be an automated check in place so if there are problems, they are automatically detected. In this case I want dlopen to fail in this case and not be able to load a second libgobject in the first place--neither directly nor indirectly. (Evidently, programs and *GNOME's o

Re: GNOME in Guix

2020-11-03 Thread Danny Milosavljevic
Hi Leo, On Tue, 03 Nov 2020 14:41:31 +0100 Leo Prikler wrote: > > (note: "-l guix.scm") > > > > seems to have fixed most of the problems. > > (There is no automated diagnostic--so who knows whether it did fix > > them for real?) > What diagnostic would you want here? Whether there exist pa

Re: GNOME in Guix

2020-11-04 Thread Danny Milosavljevic
Hi, I've checked guile-gi test/insanity.scm again to find "hard" evidence. For that, I've just checked out guile-gi anew, then ran test/insanity.scm. Steps: (1) git clone https://github.com/spk121/guile-gi.git guile-gi (2) cd guile-gi (3) git checkout b454a99b65f927e947faab17d25bd3499829c1b4 #

Re: GNOME in Guix

2020-11-04 Thread Danny Milosavljevic
Hi, On Wed, 04 Nov 2020 10:45:06 +0100 Leo Prikler wrote: > But we already know all this from our earlier discussion. I *know* you already know that--but "we" don't. I want someone to actually proceed further, because I cannot. Hence I posted this on guix-devel (for the first time with an eas

Re: Releasing guix binary in Docker format too?

2020-11-04 Thread Danny Milosavljevic
Hi Ludo, On Wed, 21 Oct 2020 17:42:36 +0200 Ludovic Courtès wrote: > zimoun skribis: > > > The tool is 'skopeo' and packaged in Guix. > > > > However, push to DockerHub requires an account (by Guix project) which > > requires... probably non-free JS, at least once. > > Hmm OK. Users of Doc

Re: Release: Docker Image? DockerHub? skopeo?

2020-11-04 Thread Danny Milosavljevic
Hi zimoun, On Wed, 04 Nov 2020 12:05:28 +0100 zimoun wrote: > Some days ago, we discussed on #guix about releasing Docker images > ready-to-use. And you pointed your project: > > https://gitlab.com/daym/guix-on-docker/ > > First question for Danny: is it ready to include it to the release?

Re: Releasing guix binary in Docker format too?

2020-11-06 Thread Danny Milosavljevic
Hi, On Fri, 06 Nov 2020 13:47:02 +0100 zimoun wrote: > On Fri, 06 Nov 2020 at 10:59, Ludovic Courtès wrote: > > > guix pack guix -f docker -S /bin=bin \ > >--entry-point="bin/guix-daemon --disable-chroot" Why --disable-chroot here? (I'm not objecting to it) > > might work, right? > > >

Re: Discoverability at the REPL level

2020-11-15 Thread Danny Milosavljevic
Hi zimoun, On Sun, 15 Nov 2020 14:02:04 +0100 zimoun wrote: > In an ideal world, the first ’,a’ could provide hint for the module to > ’,use’ There is no "the" module. Any number of modules could have your searched-for symbol--and the procedures so found could do completely unrelated things.

Re: A plan for parameterized packages

2020-11-15 Thread Danny Milosavljevic
Hi Ludo, nice feature! On Sun, 15 Nov 2020 17:33:28 +0100 Ludovic Courtès wrote: > An important question: do we have examples of packages for which we’d > like to have parameters? For the embedded/flash rom side: * Enable/disable building the documentation. I really don't need a 40 MiB manua

Re: Release: Docker Image? DockerHub? skopeo?

2020-11-17 Thread Danny Milosavljevic
Hi, On Sun, 15 Nov 2020 22:30:51 +0100 zimoun wrote: > Wow! The image is huge: > > 5.23GB registry.gitlab.com/daym/guix-on-docker latest 884b4a4ddf61 > > Is it expected? Yes, because Docker is silly. It will continue to grow. It should be better when you use an external volume as /gnu/stor

Re: Releasing guix binary in Docker format too?

2020-11-17 Thread Danny Milosavljevic
Hi, On Sun, 15 Nov 2020 19:30:44 +0100 zimoun wrote: > $ docker exec guix guix pack hello > user with UID 0 not found Docker needs to generate a /etc/passwd with uid 0 and the guix build user accounts, and a /etc/group with the guixbuild group; and whatever other users the things that are com

Re: Release: Docker Image? DockerHub? skopeo?

2020-11-17 Thread Danny Milosavljevic
Hi, > Yeah, someone needs to create /tmp. That someone is not Guix (it would be > weird). There is a workaround in /with-guix-daemon.scm in that guix-on-docker container, which is how I'm using it. The entrypoint I'm using (with the unmodified guix-on-docker image) is ["guix", "repl", "--"

Re: Release: Docker Image? DockerHub? skopeo?

2020-11-17 Thread Danny Milosavljevic
Hi zimoun, On Tue, 17 Nov 2020 18:30:57 +0100 zimoun wrote: > > Yeah, someone needs to create /tmp. That someone is not Guix (it > > would be weird). > > Created where? Created when creating the docker image--presumably by Docker when evaluating Composefile. AFAIK Docker images are suppose

Re: Release: Docker Image? DockerHub? skopeo?

2020-11-17 Thread Danny Milosavljevic
Hmm, maybe I'm misunderstanding what Docker compose does entirely. Reading the docs it seems to just manage multiple isolated Docker images and deploy new ones? What then is used to do the equivalent of a guix profile with multiple packages in a Docker image? pgpxTzXrSUfaY.pgp Description: Open

Re: Release: Docker Image? DockerHub? skopeo?

2020-11-19 Thread Danny Milosavljevic
Hi zimoun, On Thu, 19 Nov 2020 10:21:16 +0100 zimoun wrote: > Let’s postpone this Docker image work and start a new fresh thread once > v1.2.0 is published and the goal to have something for v1.3.0, well > that’s my point of view. After Ryan Prior's E-Mail I'm pretty sure my workaround of creat

Re: guix depends on openldap?

2020-11-19 Thread Danny Milosavljevic
Hi Efraim, On Thu, 19 Nov 2020 15:56:34 +0200 Efraim Flashner wrote: > I think a better question is can cmake-minimal depend on a new > curl-minimal, or does it even need curl at all? In the course of debugging the "32 bit ARM on 64 bit host can't read directories" problem ("json-c") and start

Re: /etc/passwd & co. in Docker images

2020-11-22 Thread Danny Milosavljevic
Hi Ludo, On Fri, 20 Nov 2020 12:34:07 +0100 Ludovic Courtès wrote: > Danny Milosavljevic skribis: > > > After Ryan Prior's E-Mail I'm pretty sure my workaround of creating /tmp, > > /etc/passwd, /etc/group etc is what Docker actually expects one to do. > &

Re: Phases and snippets no longer returning a Boolean

2020-11-25 Thread Danny Milosavljevic
Hi Ludo, On Wed, 25 Nov 2020 00:17:41 +0100 Ludovic Courtès wrote: > With these changes, the return value of origin snippets and build phases > is now ignored. Good riddance :) No, seriously, good change. > I only removed trailing #t in a couple of files unlikely to result in > merge conflict

Xen hypervisor

2020-11-26 Thread Danny Milosavljevic
Hi Janneke, with our (gnu bootloader grub) already supporting multiboot, it would be easy for us to add official support for the Xen hypervisor & Linux. I've already packaged xen and it's ready to be used. In order to boot Xen, the grub config should read something like this: menuentry 'Guix wi

Re: /etc/passwd & co. in Docker images

2020-11-29 Thread Danny Milosavljevic
On the other hand, we have this: (define-public network-manager-openconnect (package (name "network-manager-openconnect") [...] (properties `([...] ;; The 'etc/dbus-1/system.d/nm-openconnect-service.conf' ;; file refers to account "nm-openconnect". Sp

Re: Questionable "cosmetic changes" commits

2020-12-04 Thread Danny Milosavljevic
Hi Raghav, first, let me say that as far as I'm concerned, you did nothing wrong--although it caused a lot of work for you to do the rearranging in the first place (and also some work for us). Guix irregularities also annoy the hell out of me. You can check out some earlier patches by me (when I

Question about Guix on Novena - mainly U-Boot

2020-12-04 Thread Danny Milosavljevic
Hi, I'm still in the process of setting up the Novena as a GNU Mes for ARM build machine. Guix system on Novena from sd card finally works. Now I want to make it boot it from SATA instead. So I did the following: (1) Used cp -a to copy over everything from the sd card / to the sata drive parti

Re: Question about Guix on Novena - mainly U-Boot

2020-12-04 Thread Danny Milosavljevic
For reference, the config.scm I used was: (use-modules (gnu) (gnu bootloader u-boot)) (use-service-modules networking ssh desktop) (use-package-modules bootloaders screen ssh linux) ;;; Note: Maybe better: linux-libre-arm-generic ;;; Note: Novena upstream uses Kernel 3.19 (operating-system (host

Re: gnu-build-system not handling pkg-config properly in package definition

2020-12-24 Thread Danny Milosavljevic
Hi, try util-linux's "lib" output: (inputs `(("util-linux" ,util-linux "lib"))) After that, you need (string-append "CC=" ,(cc-for-target)) in make-flags, and then add a phase before install that creates $output/sbin . pgp6XAiuynXzX.pgp Description: OpenPGP digital signature

Re: ZFS on Guix

2021-01-03 Thread Danny Milosavljevic
Hi, the reason is that our "zfs" package uses ("util-linux" ,util-linux "lib") and then does (substitute* "lib/libzfs/libzfs_mount.c" (("/bin/mount") (string-append util-linux "/bin/mount")) (("/bin/umount") (string-append util-linux "/bin/umou

Re: [bootstrappable] Re: wip-full-source-bootstrap: from a 357-byte `hex0' to 'hello'

2021-01-07 Thread Danny Milosavljevic
Oops, g...@gitlab.com:janneke/tinycc.git in branch "mes-0.23" pgpUsxbrGINDP.pgp Description: OpenPGP digital signature

Re: [bootstrappable] Re: wip-full-source-bootstrap: from a 357-byte `hex0' to 'hello'

2021-01-07 Thread Danny Milosavljevic
Hi Janneke, I just found the bug in tinycc that caused failed our ARM bootstrap to fail. I use the following reproducer: int main() { double f = 1.0; return 0; } and then invoke tcc a.c on ARM (32) using your patched tcc. (but it's also broken in the unpatched tcc) (tcc cr

Re: [Tinycc-devel] [bootstrappable] Re: wip-full-source-bootstrap: from a 357-byte `hex0' to 'hello'

2021-01-08 Thread Danny Milosavljevic
Hi grischka, Hi Janneke, On Fri, 08 Jan 2021 08:16:29 +0100 grischka wrote: > But no such thing happens in this case. The 'ptr' in init_putv() > comes from > > ptr = sec->data + c; > > and it seems that if tcc is doing the right thing then 'c' cannot > be misaligned, and if malloc/re

Re: [bootstrappable] Re: wip-full-source-bootstrap: from a 357-byte `hex0' to 'hello'

2021-01-08 Thread Danny Milosavljevic
Hi Janneke, On Fri, 08 Jan 2021 07:25:52 +0100 Jan Nieuwenhuizen wrote: > > Alignment could be disabled on the CPU > > > > > > https://developer.arm.com/documentation/ddi0464/f/system-control/register-descriptions/system-control-register > > > > but I don't think EABI wants that. > > Hmm,

Re: [bootstrappable] Re: wip-full-source-bootstrap: from a 357-byte `hex0' to 'hello'

2021-01-08 Thread Danny Milosavljevic
Hi Janneke, I propose to, instead, change mes libc to align stuff malloc returns like this: That should fix it. diff --git a/include/stddef.h b/include/stddef.h index a597c9bb..a682d726 100644 --- a/include/stddef.h +++ b/include/stddef.h @@ -37,6 +37,10 @@ #endif // !__MESC__ #endif // offset

Re: [bootstrappable] Re: wip-full-source-bootstrap: from a 357-byte `hex0' to 'hello'

2021-01-08 Thread Danny Milosavljevic
Hi Janneke, On Fri, 08 Jan 2021 17:15:24 +0100 Jan Nieuwenhuizen wrote: > > +/* TODO: On armhf gcc, max_align_t is 16 Byte big instead. Use that? */ > > + > > +typedef double max_align_t; > > + > > #endif // ! SYSTEM_LIBC > > Is this something you can get more info on, or do we just try it

Re: [bootstrappable] Re: wip-full-source-bootstrap: from a 357-byte `hex0' to 'hello'

2021-01-08 Thread Danny Milosavljevic
Hi Janneke, On Fri, 8 Jan 2021 19:56:19 +0100 Danny Milosavljevic wrote: > The CI on nanana is currently building and running the tests. > > I'm curious what it will say. Tests succeeded. Pushed to mes on savannah as commit 10c38e112f177bc0b01ecf107d193e4c6b13

ARM Unified Assembly Language - GNU as does some weird stuff

2021-01-25 Thread Danny Milosavljevic
Hello Paul, we are now implementing ARM inline assembly in TinyCC. The traditional ARM inline assembler is finished now. Now we started implementing the Unified Assembly Language dialect. I'd like to have some help which constructs are valid and which are not. (GNU as 2.34 seems to have some b

Re: ARM Unified Assembly Language - GNU as does some weird stuff

2021-01-25 Thread Danny Milosavljevic
> (1) b #60 > > It seems that GNU as ignores the immediate entirely and just always encodes > #0 (to test, do ".syntax unified" and then "b #60" in GNU as). WTF? > > Likewise with bl, blx. > > It seems that the debug info still has the user-specified immediate value--but > the executable object

Re: ZFS on Guix

2021-02-07 Thread Danny Milosavljevic
I just wanted to say that I'm not ignoring your patch, I'm just not qualified to review it. I hope someone steps up to it--otherwise I can't really tell whether (mbegin %state-monad...) inside a random service procedure is a good idea. Then again, provenance-service-type does it and there it seem

Re: Update on wip-arm-bootstrap

2021-02-18 Thread Danny Milosavljevic
Hi Janneke, On Thu, 18 Feb 2021 22:52:57 +0100 Jan Nieuwenhuizen wrote: > # CONFIG_OABI_COMPAT is not set > > ...certainly a lot easier to find when you know what you're looking > for. > > @Danny: I'm wondering if we could (should?) try a kernel with OABI > compatibility? I suppose it would b

Re: Update on wip-arm-bootstrap

2021-02-21 Thread Danny Milosavljevic
> > Does that mean there are no old reference binaries known to work on > > Novena? > > Not if they are binaries from before Lenny (2009), unless we compile the > kernel with OABI support, which as I understand from Danny, is a bad > idea. Weird. It backdoors https://en.wikipedia.org/wiki/Secc

Re: Update on wip-arm-bootstrap

2021-02-21 Thread Danny Milosavljevic
Hi Janneke, Nice! Patch review: >+#if __ARM_EABI__ >+#define CLEAR_CACHE(BEG,END) \ >+{ \ >+ register unsigned long _beg __asm ("a1") = (unsigned long)(BEG);\ >+ register unsigned l

Re: Update on wip-arm-bootstrap

2021-02-21 Thread Danny Milosavljevic
Hi Janneke, I get gcc-mesboot.sh: line 20: 9438 Illegal instruction (core dumped) ./a.out │ 0x276b8 <__writev+32> svc 0x0014 │ │ >0x276bc <__writev+36> mov r4, r0 │ The actual problem is at the first lin

Re: Cuirass build notifications.

2021-02-22 Thread Danny Milosavljevic
Hi Mathieu, that is awesome! Thank you! pgp9pGP0xSjH_.pgp Description: OpenPGP digital signature

<    1   2   3   4   5   6   7   8   9   10   >