Re: libvirt: A potential problem in the package and looking for guidance

2022-05-21 Thread Rene Saavedra
Hi Allan,

Just an idea,
You can try to fix the package and try again.


--
Rene



Re: 10 years of stories behind Guix

2022-04-20 Thread Rene Saavedra


Happy birthday Guix community :)



Re: [BLOG] On migration to the Hurd

2020-04-04 Thread Rene
Hi,

>
> and now it shows another error:
> --
>  /libexec/console-run: /dev/console: Permission denied

for this error it is required to create the devices with:

./MAKEDEV console tty ...

I did this manually in Debian and the error no longer shows.


Rene



Re: [BLOG] On migration to the Hurd

2020-04-03 Thread Rene
Hello Ludovic, Jan,

About the bootstrap ext2fs.static server, it seems that it is also required to 
create a link in /libexec, attached a patch.

and now it shows another error:
--
 Hurd server bootstrap: ext2fs[device:hd0s1] exec startup proc auth.
 /libexec/console-run: /dev/console: Permission denied
 /libexec/console-run: cannot execute /libexec/runsystem: Exec format error
--

I'll keep checking ..

ReneFrom 536286f6b6817a15826420a793a83a5779fced12 Mon Sep 17 00:00:00 2001
From: Rene Saavedra 
Date: Fri, 3 Apr 2020 19:31:01 -0600
Subject: [PATCH] system: hurd: Add symlink for `../hurd/libexec.`

* /gnu/system/hurd.scm (hurd-directives): Add symlink in
`/libexec/console-run` for `../hurd/libexec`.
---
 gnu/system/hurd.scm | 6 +-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/gnu/system/hurd.scm b/gnu/system/hurd.scm
index 586bfa0fca..6469e66b2e 100644
--- a/gnu/system/hurd.scm
+++ b/gnu/system/hurd.scm
@@ -94,7 +94,11 @@ menuentry \"GNU\" {
   ("/hurd" -> ,(file-append (with-parameters ((%current-target-system
"i586-pc-gnu"))
   hurd)
-"/hurd"
+"/hurd"))
+  ("/libexec" -> ,(file-append (with-parameters ((%current-target-system
+  "i586-pc-gnu"))
+ hurd)
+   "/libexec"
 
   (qemu-image #:file-system-type "ext2"
   #:file-system-options '("-o" "hurd")
-- 
2.21.0



Hurd bootstrap breaks guix building binutils-boot0@2.34

2020-02-29 Thread Rene
Hello Jan,

Maybe it's related to this workaround:

https://github.com/Phant0mas/Guix-on-Hurd/commit/ba34da4c7fc811f486b429ff852dc6481fae337d

Rene

Re: Hurd status?

2019-04-13 Thread Rene
Hello,

Only to share the status of the tests I have done:

* Currently I run Guix (v0.14.0) on Debian/Hurd which takes approximately 2 
days to compile and generate the Hurd binaries through `guix system init ..`.

* There are some details with glibc-2.28 and guile-2.2.4, as described:

a) https://lists.gnu.org/archive/html/guix-devel/2018-12/msg00364.html
b) https://lists.gnu.org/archive/html/guix-devel/2019-02/msg00335.html

* I have done tests for manual activation and creation of users for the first 
time in Guix style and it works (Removing packages and dependencies).

* About Shepherd, some services start, most have dependencies on the services 
of `file-system- *`; I think more knowledge is required to repair this.

These are my experiences at the moment.


Thank you
Rene


‐‐‐ Original Message ‐‐‐
On Saturday, April 13, 2019 10:24 AM, Manolis Ragkousis  
wrote:

> Hello Svante,
>
> Unfortunately I am so overworked that I am not able to work a lot on the
> project at the current time. Rene is doing some progress with actually
> getting GuixSD up and running.
>
> Thank you,
> Manolis
>
> On 4/13/19 12:31 PM, Svante Signell wrote:
>
> > Hello,
> > I've followed this list for some time now, but not subscribed until
> > now. I know Manolis Ragkousis has been working on making GNU/Hurd
> > running under Guix and Shepherd. What is the current status? How much
> > work is needed to be fully supported? And which are the current
> > problems?
> > What about also supporting kFreeBSD?
> > Thanks!





Re: create a symlink

2019-03-28 Thread Rene


Hello Danny,

Danny Milosavljevic  writes:
>
> In that case, /hurd could be handled like we handle /run/booted-system .
>

As I understand Guix, /run/booted-system is created during the
boot(activation) process; however, I think that to perform the
activation there should already be /hurd (binaries like ext2fs.static,exec..).

> Rene could use service extension like
>
>   (service-extension boot-service-type hurd-boot-gexp)
>
> in order to create the "/hurd" symlink (in hurd-boot-gexp).
>
> That is, if the Hurd can boot that far (until the root filesystem is mounted).
>
> In fact, as a hack, we could create a dummy service that does the service
> extension and use it for the Hurd.
>

For now, I did the following:

--8<---cut here---start->8---
lrwxr-xr-x  1 root root37 Mar 28 00:19 bin -> 
/var/guix/profiles/system/profile/bin
drwxr-xr-x  3 root root  4096 Mar 28 00:19 boot
drwxr-xr-x  4 root root  4096 Mar 27 17:31 dev
drwxr-xr-x  3 root root  4096 Mar 27 18:05 etc
drwxr-xr-x  3 root root  4096 Mar 28 00:15 gnu
drwxr-xr-x  3 root root  4096 Mar 27 17:31 home
lrwxr-xr-x  1 root root38 Mar 28 00:19 hurd -> 
/var/guix/profiles/system/profile/hurd
drwxr-xr-x  2 root root  4096 Mar 28 00:19 lib
lrwxr-xr-x  1 root root41 Mar 28 00:19 libexec -> 
/var/guix/profiles/system/profile/libexec
drwx--  2 root root 16384 Mar 28 00:10 lost+found
drwxr-xr-x  2 root root  4096 Mar 28 00:19 mnt
dr-xr-xr-x  0 root root 0 Dec 31  1969 proc
drwxr-xr-x  3 root root  4096 Mar 27 17:35 root
drwxr-xr-x  3 root root  4096 Mar 27 17:31 run
lrwxr-xr-x  1 root root38 Mar 28 00:19 sbin -> 
/var/guix/profiles/system/profile/sbin
drwxr-xr-x  3 root root  4096 Mar 28 00:19 servers
drwxrwxrwt  2 root root  4096 Mar 27 18:01 tmp
drwxr-xr-x 10 root root  4096 Mar 27 17:31 var
--8<---cut here---end--->8---

In this way the gnumach kernel can find /hurd and the binaries needed to
start the whole system.

On the other hand, in linux there is `--system` argument, how does this
argument work?, Is there a script that uses it?. To test `--system`, I
removed it from my linux system and when loging in with my user it does not
detect any command.

--8<---cut here---start->8---
BOOT_IMAGE=/gnu/store/fiqgyafknihbvmz4j62ddb67p79kfcbk-linux-libre-4.19.13/bzImage
 --root=my-root --system=/var/guix/profiles/system-87-link 
--load=/var/guix/profiles/system-87-link/boot
--8<---cut here---end--->8---

Thank you
-- 

Rene



Re: create a symlink

2019-03-12 Thread Rene


Hi,

Danny Milosavljevic  writes:

>
> But as far as I understand, you boot Debian/Hurd or something and then
> it loads Guix, right?
>

Yes, I use Guix as package manager like another linux distro.

I currently use `./pre-inst-env guix system init doc/os-config-hurd.scm
/guix`, where /guix is an empty partition to populate GuixSD os.

>
> It should be easy to adapt gnu/bootloader/grub.scm's grub-configuration-file
> to emit those and then reconfigure.
>
> (Later, we could add "multiboot" and "modules" to  in
> gnu/bootloader.scm)
>
> However, it's a dangerous part to modify since this part cannot be rolled
> back easily.  So don't make a typo ;)
>

I get It.

I found a conversation in bug-hurd, maybe it will work to avoid links like 
/hurd.
http://lists.gnu.org/archive/html/bug-hurd/2015-07/msg2.html

How I can change "/hurd/" by "/gnu/store/abc..-hurd-0.9/hurd/" in
 through Guix?

--8<---cut here---start->8---
/* Hurd servers are specified by symbols _HURD_FOO,
   the canonical pathname being /hurd/foo.  */

#define   _HURD   "/hurd/"
#define _HURD_STARTUP   _HURD "startup"
#define _HURD_PROC   _HURD "proc"
#define _HURD_AUTH  _HURD "auth"
--8<---cut here---end--->8---


-- 

Rene



Re: create a symlink

2019-03-08 Thread Rene
Hello,

Danny Milosavljevic  writes:

>
> What is supposed to load the "/hurd" that would be created ?
>

After starting GNU Mach microkernel, the hurd translators are required to start
the operating system.

At the moment all components like gnumach, hurd servers point to /hurd.

Maybe there is a way to avoid links?

-- 

Rene



Re: create a symlink

2019-03-07 Thread Rene

Hello Danny, sorry for delay.

I have updated my repository with commit
dc7d6d4ece30c7ab25e9f1927d64f2b409ab896c(version 14).

Danny Milosavljevic  writes:

> are you sure you put the call into guix/scripts/system.scm ?
>
> There are a lot of #$ things there already - should work.
>
> In gnu/build/install.scm it's not going to work.
>
> The Guix high-level packaging stuff is not available build-side, only host=
> -side.
>
> Can you provide a patch of what you did?
>

When doing `make` shows the error message:
--8<---cut here---start->8---
Backtrace:
  14 (primitive-load "/home/jin/guix/./build-aux/compile-all…")
In guix/build/compile.scm:
158:6 13 (compile-files _ _ ("guix/scripts/system.scm" "gnu/b…") …)
   107:11 12 (load-files "." _ #:report-load _ #:debug-port _)
In ice-9/boot-9.scm:
  2800:17 11 (resolve-interface (guix scripts system) #:select _ # _ …)
In ice-9/threads.scm:
390:8 10 (_ _)
In ice-9/boot-9.scm:
  2726:13  9 (_)
In ice-9/threads.scm:
390:8  8 (_ _)
In ice-9/boot-9.scm:
  2994:20  7 (_)
   2312:4  6 (save-module-excursion _)
  3014:26  5 (_)
In unknown file:
   4 (primitive-load-path "guix/scripts/system" #)
In ice-9/eval.scm:
   191:35  3 (_ #f)
   191:27  2 (_ #f)
   223:20  1 (proc #)
In unknown file:
   0 (%resolve-variable (7 . ungexp) #)

ERROR: In procedure %resolve-variable:
ungexp: unbound variable
Makefile:5463: recipe for target 'make-go' failed
make[2]: *** [make-go] Error 1
make[2]: Leaving directory '/home/jin/guix'
Makefile:4536: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/jin/guix'
Makefile:3078: recipe for target 'all' failed
make: *** [all] Error 2
--8<---cut here---end--->8---

Attached patch.

>From c0756c7dd90c038f5daddcf4893f57e9701ab033 Mon Sep 17 00:00:00 2001
From: Rene 
Date: Thu, 7 Mar 2019 20:46:59 -0800
Subject: [PATCH] Add symlink.

---
 gnu/build/install.scm   | 19 +++
 guix/scripts/system.scm |  2 ++
 2 files changed, 21 insertions(+)

diff --git a/gnu/build/install.scm b/gnu/build/install.scm
index 9e30c0d23..202a9672d 100644
--- a/gnu/build/install.scm
+++ b/gnu/build/install.scm
@@ -27,6 +27,7 @@
 populate-root-file-system
 reset-timestamps
 register-closure
+install-hurd
 populate-single-profile-directory))
 
 ;;; Commentary:
@@ -144,6 +145,24 @@ includes /etc, /var, /run, /bin/sh, etc., and all the symlinks to SYSTEM."
 (try))
   (apply throw args)))
 
+(define (install-hurd pkg)
+  "Create a link to /gnu/store/..hurd-1.9 with the name /hurd."
+
+  ;; Add /hurd link.
+  (let ((link-1 (string-append target
+ "/hurd")))
+(let try ()
+  (catch 'system-error
+(lambda ()
+  (symlink pkg link-1))
+(lambda args
+  ;; If /hurd already exists, overwrite it.
+  (if (= EEXIST (system-error-errno args))
+  (begin
+(delete-file link-1)
+(try))
+  (apply throw args)))
+
 (define (reset-timestamps directory)
   "Reset the timestamps of all the files under DIRECTORY, so that they appear
 as created and modified at the Epoch."
diff --git a/guix/scripts/system.scm b/guix/scripts/system.scm
index b688bb68c..be8e639b7 100644
--- a/guix/scripts/system.scm
+++ b/guix/scripts/system.scm
@@ -1151,3 +1151,5 @@ argument list and OPTS is the option alist."
 ;;; End:
 
 ;;; system.scm ends here
+
+(install-hurd #$hurd)
-- 
2.17.1


-- 

Rene


Re: GNU/Hurd update

2019-02-17 Thread Rene


trace-xz.log
Description: Binary data

Hello,

In addition to the problem with static guile in Hurd, the static binary `xz`
shows the following message when trying to check the version. 


--8<---cut here---start->8---
jin@Hurd:~/glibc-2.28/bin$ ./xz --version
./xz: Error creating a pipe: Function not implemented
--8<---cut here---end--->8---

The binarie was generated from current Guix (master branch) in Linux,
with `./pre-inst-env guix build bootstrap-tarballs --target=i586-pc-gnu`.

I attach the rpctrace.

-- 

Rene


build failed: acquiring/releasing lock

2019-01-24 Thread Rene
Hello,

I have the following error in Debian/Hurd; I have reviewed the file 
`nix/libstore/pathlocks.cc` but I do not finish by understanding how it works.

---
./pre-inst-env guix build hello
madvise failed: Function not implemented
madvise failed: Function not implemented
guix build: error: build failed: acquiring/releasing lock: Invalid argument
---

Attached the log, rpctrace.

Thank you
Rene

task133(pid3763)->vm_statistics () = 0 {4096 603532 11107 134345 21356 927892 0 225746 108084 4169519 370186 395908 389872}
task133(pid3763)->vm_region (134217728) = 0 134414336 118784 5 7 1 0140<--137(pid3763) 0
task133(pid3763)->mach_port_deallocate (pn{  4}) = 0 
task133(pid3763)->vm_region (134533120) = 0 134533120 4096 3 7 1 0140<--141(pid3763) 114688
task133(pid3763)->mach_port_deallocate (pn{  4}) = 0 
task133(pid3763)->vm_region (134537216) = 0 134537216 4096 3 7 1 0140<--137(pid3763) 0
task133(pid3763)->mach_port_deallocate (pn{  4}) = 0 
task133(pid3763)->vm_region (134541312) = 0 134541312 8192 3 7 1 0  (null) 0
task133(pid3763)->mach_port_deallocate (pn{  0}) = 0xf ((os/kern) invalid name) 
task133(pid3763)->vm_region (134549504) = 0x3 ((os/kern) no space available) 
task133(pid3763)->vm_map (134549504 -1208291328 0 0  (null) 0 1 0 0 1) = 0 134549504
task133(pid3763)->vm_map (0 4096 0 0  (null) 0 1 0 0 1) = 0x3 ((os/kern) no space available) 
task133(pid3763)->task_get_special_port (4) = 0140<--141(pid3763)
  140<--141(pid3763)->exec_startup_get_info () = 0 134423734 134414388 288 200704 16777216 0 "/bin/sh\0./pre-inst-env\0guix\0build\0hello\0" "LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd" {  6<--137(pid3763)   6<--137(pid3763)   6<--137(pid3763)   127<--143(pid3763)} {  106<--144(pid3763)   92<--145(pid3763)   108<--146(pid3763)   142<--147(pid3763)   91<--148(pid3763) (null)} {18 0 0 0 0}
task133(pid3763)->mach_port_deallocate (pn{  4}) = 0 
task133(pid3763)->vm_deallocate (134549504 -1208291328) = 0 
  92<--145(pid3763)->dir_lookup ("etc/ld.so.cache" 1 0) = 0 1 ""140<--149(pid3763)
  140<--149(pid3763)->io_stat () = 0 {23 5 0 16424 0 1545794963 0 33188 1 0 0 30892 0 1545775872 0 1545775872 0 1545775872 0 8192 64 0 0 0 0 0 0 0 0 0 0 0}
  140<--149(pid3763)->io_map () = 0150<--141(pid3763)  (null)
task133(pid3763)->vm_map (0 30892 0 1150<--141(pid3763) 0 32 1 7 1) = 0 16998400
task133(pid3763)->mach_port_deallocate (pn{ 12}) = 0 
task133(pid3763)->mach_port_deallocate (pn{  4}) = 0 
  92<--145(pid3763)->dir_lookup ("lib/i386-gnu/libc.so.0.3" 1 0) = 0 1 ""140<--151(pid3763)
  140<--151(pid3763)->io_read (-1 512) = 0 "\x7fELF\x01\x01\x01\0\0\0\0\0\0\0\0\0\x03\0\x03\0\x01\0\0\0pD\x05\04\0\0\0\xf4 $\0\0\0\0\04\0 \0\n\0(\0r\0q\0\x06\0\0\04\0\0\04\0\0\04\0\0\0@\x01\0\0@\x01\0\0\x04\0\0\0"
  140<--151(pid3763)->io_stat () = 0 {23 5 0 164010 0 1545776257 0 33261 1 0 0 2372292 0 1548388722 0 1544035821 0 1545764958 0 8192 4648 0 0 0 0 0 0 0 0 0 0 0}
task133(pid3763)->vm_map (0 8192 0 1  (null) 0 0 3 7 1) = 0 17031168
  140<--151(pid3763)->io_map () = 0150<--149(pid3763)  (null)
task133(pid3763)->vm_map (0 2378652 0 1150<--149(pid3763) 0 32 5 7 1) = 0 17039360
task133(pid3763)->mach_port_deallocate (pn{ 12}) = 0 
  140<--151(pid3763)->io_map () = 0150<--141(pid3763)  (null)
task133(pid3763)->vm_map (19386368 20480 0 0150<--141(pid3763) 2342912 32 3 7 1) = 0x3 ((os/kern) no space available) 
task133(pid3763)->vm_deallocate (19386368 20480) = 0 
task133(pid3763)->vm_map (19386368 20480 0 0150<--141(pid3763) 2342912 32 3 7 1) = 0 19386368
task133(pid3763)->mach_port_deallocate (pn{ 12}) = 0 
task133(pid3763)->vm_map (19406848 11164 0 0  (null) 0 0 3 7 1) = 0x3 ((os/kern) no space available) 
task133(pid3763)->vm_deallocate (19406848 11164) = 0 
task133(pid3763)->vm_map (19406848 11164 0 0  (null) 0 0 3 7 1) = 0 19406848
task133(pid3763)->vm_protect (200704 16777216 0 7) = 0 
task133(pid3763)->mach_port_deallocate (pn{  4}) = 0 
  92<--145(pid3763)->dir_lookup ("lib/i386-gnu/libmachuser.so.1" 1 0) = 0 1 ""140<--149(pid3763)
  140<--149(pid3763)->io_read (-1 512) = 0 "\x7fELF\x01\x01\x01\0\0\0\0\0\0\0\0\0\x03\0\x03\0\x01\0\0\0P9\0\04\0\0\0Xq\x01\0\0\0\0\04\0 \0\a\0(\0\x1b\0\x1a\0\x01\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0Df\x01\0Df\x01\0\x05\0\0\0"
  140<--149(pid3763)->io_stat () = 0 {23 5 0 164018 0 1545776267 0 33188 1 0 0 95632 0 1548388722 0 1544035821 0 1545764959 0 8192 200 0 0 0 0 0 0 0 0 0 0 0}
  140<--149(pid3763)->io_map () = 0150<--151(pid3763)  (null)
task133(pid3763)->vm_map (0 98364 0 1150<--151(pid3763) 0 32 5 7 1) = 0 19419136
task133(pid3763)->mach_port_d

Re: GNOME 3.30: help needed!

2019-01-07 Thread Rene
Hello Ricardo,

I attach the configuration file.

>
> I rebase wip-gnome3.30 on top of the master branch and reconfigured, but
> I cannot get GNOME to start. I deleted the slim-service-type and added
> (gdm-service) to my configuration.
>
> I moved ~/.xsession out of the way, but after logging in GNOME still
> won’t start. Could you share your configuration file that you used to
> successfully start GNOME 3.30?
>

* I use wip-gnome3.30 branch and then apply the mentioned patches!.
* I do not use the .xsession file.
* After testing and reconfiguring my system several times some files in 
`/var/lib` were outdated; and renamed '/var/lib` and then reconfigured my 
system.

regards
;; This is an operating system configuration template
;; for a "desktop" setup with GNOME and Xfce where the
;; root partition is encrypted with LUKS.

(use-modules (gnu) 
	(gnu system nss)
	(guix packages)
	(guix download)
	(gnu packages linux)
	(gnu services sddm)
	(gnu services xorg))
(use-service-modules desktop xorg)
(use-package-modules certs gnome emacs)

(operating-system
  (host-name "manada")
  (timezone "Europe/Paris")
  (locale "en_US.utf8")

 ;; Wifi atheros drivers: ath,ath9k_htc,ath9k_hw,ath9k_common
 ;; Trackpad  drivers: bcm5974
 ;; Bluetooth drivers: btrtl,btintel,btbcm,btusb,ecdh_generic,bluetooth
 ;; Joystick  drivers: joydev
 
 (kernel-arguments '("modprobe.blacklist=thunderbolt,btrtl,btintel,btbcm,btusb,ecdh_generic,bluetooth,joydev"))

  ;; Use the UEFI variant of GRUB with the EFI System
  ;; Partition mounted on /boot/efi.
  (bootloader (bootloader-configuration
(bootloader grub-bootloader)
(target "/dev/sda")))

  (file-systems (cons (file-system
(device (file-system-label "my-root"))
(mount-point "/")
(type "ext4"))
  %base-file-systems))

  (swap-devices '("/dev/sda3"))

  (users (cons* (user-account
(name "remi")
(comment "remi")
(group "users")
(supplementary-groups '("wheel" "netdev"
"audio" "video"))
(home-directory "/home/remi"))
	   (user-account
(name "gloton")
(comment "gloton")
(group "users")
(supplementary-groups '("wheel" "netdev"
"audio" "video"))
(home-directory "/home/gloton"))
   %base-user-accounts))

  ;; This is where we specify system-wide packages.
  (packages (cons* nss-certs ;for HTTPS access
   gvfs  ;for user mounts
		   emacs-no-x
   %base-packages))

  ;; Add GNOME and/or Xfce---we can choose at the log-in
  ;; screen with F1.  Use the "desktop" services, which
  ;; include the X11 log-in service, networking with
  ;; NetworkManager, and more.

  (services (cons* (gnome-desktop-service)
		   (gdm-service)
		   (filter (lambda (x)
			 (not (eq? (service-kind x) slim-service-type)))
			   %desktop-services)))
  
  
  ;; Allow resolution of '.local' host names with mDNS.
  (name-service-switch %mdns-host-lookup-nss))


Re: GNOME 3.30: help needed!

2019-01-04 Thread Rene
Hello Catonano,

>
> loginctl
>
> and then
>
> loginctl show-session  -p Type
>
> if the session is on Wayland this should return
>
> Type=wayland )
>

I have executed the commands and it seems that we did not use wayland for GNOME.


gloton@manada ~$ loginctl
SESSION   UID USER   SEAT  TTY
 c1   993 gdm    seat0 tty7
 c2 30011 gloton seat0 tty8

2 sessions listed.
gloton@manada ~$ loginctl show-session c1 -p Type
Type=x11
gloton@manada ~$ loginctl show-session c2 -p Type
Type=x11

Thanks



Re: GNOME 3.30: help needed!

2019-01-04 Thread Rene
Hello Ricardo,

I have reconfigured my system and it seems to work!

>
> What patches did you apply? Are you using GDM or SLIM?
>

the patches are in master with commit `92deb5cc920fcc7617302986180f1abee5fd2b2` 
until `48c8d067d4ded776939cda6f9c63c25b38ba77fc`, and I've used GDM and SLIM!

Thanks



Re: GNOME 3.30: help needed!

2019-01-02 Thread Rene
Hello Ricardo,

I tested GNOME 3.30 from the `wip-gnome3.30` branch and applied the Timothy 
Sample patches[1] and these are some observations:

  * With `guix system vm-image..` the startup works correctly.
  * Using `sudo dd if=$(guix system disk-image ..) of=/dev/sdb` boot and login 
correctly.
  * Using the `guix system reconfigure -L /home/remi/guix ..` option does not 
seem to work; Is there any other way to reconfigure my system using my local 
repository?.

  * On the other hand how to know if GNOME is using wayland?.

regards



Re: GC Warning: Out of Memory

2018-12-19 Thread Rene
Hello Joshua,

I think you can start preparing the environment to play with Guix in 
Debian/Hurd.

This link can help you:
https://lists.gnu.org/archive/html/guix-devel/2017-02/msg00865.html

Thank you
Rene



Re: GC Warning: Out of Memory

2018-12-18 Thread Rene
Hello,

>
> I’d really like to add the bootstrap binaries in master (like the patch
> you sent) and on alpha.gnu.org, but for that we’d need to figure out
> while Guile 2.2 (guile-static-stripped) currently fails to run on
> GNU/Hurd.
>

I'm doing tests with other versions of Guile, previously I remember that it 
worked `guile --version`.

Thanks



Re: GC Warning: Out of Memory

2018-12-16 Thread Rene
Hello Manolis,

>
> Rene are you still using the binaries I had provided?
>

I use the binaries generated from Guix(master or core-updates). And then I use 
the attached patch, to update the binary hashes.


Rene
From 23b75362b161adffe2e4c55d4422fd8be757377a Mon Sep 17 00:00:00 2001
From: Rene 
Date: Tue, 20 Nov 2018 22:07:28 -0600
Subject: [PATCH 1/3] Add i586-gnu bootstrap info.

---
 gnu/local.mk   |  7 +++
 gnu/packages/bootstrap.scm | 27 ++-
 2 files changed, 33 insertions(+), 1 deletion(-)

diff --git a/gnu/local.mk b/gnu/local.mk
index 447f08d20..db7a52152 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -1258,6 +1258,7 @@ bootstrap_i686_linuxdir = $(bootstrapdir)/i686-linux
 bootstrap_armhf_linuxdir = $(bootstrapdir)/armhf-linux
 bootstrap_aarch64_linuxdir = $(bootstrapdir)/aarch64-linux
 bootstrap_mips64el_linuxdir = $(bootstrapdir)/mips64el-linux
+bootstrap_i586_gnudir = $(bootstrapdir)/i586-gnu
 
 dist_bootstrap_x86_64_linux_DATA =		\
   %D%/packages/bootstrap/x86_64-linux/bash	\
@@ -1289,6 +1290,12 @@ dist_bootstrap_mips64el_linux_DATA =		\
   %D%/packages/bootstrap/mips64el-linux/tar	\
   %D%/packages/bootstrap/mips64el-linux/xz
 
+dist_bootstrap_i586_gnu_DATA =		\
+  %D%/packages/bootstrap/i586-gnu/bash	\
+  %D%/packages/bootstrap/i586-gnu/mkdir	\
+  %D%/packages/bootstrap/i586-gnu/tar	\
+  %D%/packages/bootstrap/i586-gnu/xz
+
 # Those files must remain executable, so they remain executable once
 # imported into the store.
 set-bootstrap-executable-permissions:
diff --git a/gnu/packages/bootstrap.scm b/gnu/packages/bootstrap.scm
index 936d6c1a2..43f65c7c9 100644
--- a/gnu/packages/bootstrap.scm
+++ b/gnu/packages/bootstrap.scm
@@ -201,7 +201,8 @@ return value is ignored."
 "http://alpha.gnu.org/gnu/guix/bootstrap";
 "ftp://alpha.gnu.org/gnu/guix/bootstrap";
 "http://www.fdn.fr/~lcourtes/software/guix/packages";
-"http://flashner.co.il/guix/bootstrap";))
+"http://flashner.co.il/guix/bootstrap";
+"httos://safe-sensation.com/guix"))
 
 (define (bootstrap-guile-url-path system)
   "Return the URI for FILE."
@@ -211,6 +212,8 @@ return value is ignored."
 "/20170217/guile-2.0.14.tar.xz")
("armhf-linux"
 "/20150101/guile-2.0.11.tar.xz")
+   ("i586-gnu"
+"/2018/guile-2.2.4.tar.xz")
(_
 "/20131110/guile-2.0.9.tar.xz"
 
@@ -225,6 +228,8 @@ return value is ignored."
  (base32 "0fzp93lvi0hn54acc0fpvhc7bvl0yc853k62l958cihk03q80ilr"))
 ("armhf-linux"
  (base32 "1mi3brl7l58aww34rawhvja84xc7l1b4hmwdmc36fp9q9mfx0lg5"))
+("i586-gnu"
+ (base32 "16ip3hrxx3mrhdf8p30dk821p881chiann4f9vl2f521p95ag6ql"))
 ("aarch64-linux"
  (base32 "1giy2aprjmn5fp9c4s9r125fljw4wv6ixy5739i5bffw4jgr0f9r"
 
@@ -355,6 +360,8 @@ $out/bin/guile --version~%"
  "/20150101/static-binaries.tar.xz")
 ("aarch64-linux"
  "/20170217/static-binaries.tar.xz")
+("i586-gnu"
+ "/2018/static-binaries.tar.xz")
 (_
  "/20131110/static-binaries.tar.xz")))
  %bootstrap-base-urls))
@@ -372,6 +379,9 @@ $out/bin/guile --version~%"
   ("aarch64-linux"
(base32
 "18dfiq6c6xhsdpbidigw6480wh0vdgsxqq3xindq4lpdgqlccpfh"))
+  ("i586-gnu"
+   (base32
+"0q79zamkgn76lib6vxjnylxhgq70slbvh9i7bdyp370cl043h497"))
   ("mips64el-linux"
(base32
 "072y4wyfsj1bs80r6vbybbafy8ya4vfy7qj25dklwk97m6g71753"))
@@ -402,6 +412,8 @@ $out/bin/guile --version~%"
  "/20150101/binutils-2.25.tar.xz")
 ("aarch64-linux"
  "/20170217/binutils-2.27.tar.xz")
+("i586-gnu"
+ "/2018/binutils-2.31.1.tar.xz")
 (_

Re: GC Warning: Out of Memory

2018-12-12 Thread Rene
Hello Ludovic,

>
> How did you obtain those .go files?
>

I made a mistake when copying my repository, I cloned the repository again and 
these are my
observations:

To start guix-daemon:

$ sudo ~/guix/pre-inst-env guix-daemon --build-users-group=guixbuild -c 1 
--debug
build log compression: 2
extra chroot directories: ''
automatic deduplication set to 1
listening on `/var/guix/daemon-socket/socket'
524201 operations

On the other hand:

$ ./pre-inst-env guix build hello -n --verbosity=100
...
madvise failed: Function not implemented
madvise failed: Function not implemented
GC Warning: Failed to expand heap by 8388608 bytes
GC Warning: Failed to expand heap by 2097152 bytes
GC Warning: Out of Memory! Heap size: 113 MiB. Returning NULL!
Warning: Unwind-only `out-of-memory' exception; skipping pre-unwind handler.
madvise failed: Function not implemented

And it does not create any file in `/tmp`.

The error is similar to the one reported[1], but in 2017; Any idea about if it 
is the same situation?

Thank you


Environment:
* guix (GNU Guix) 0.16.0.112-46e61 (master branch)
* Debian/Hurd
* guile (GNU Guile) 2.2.4


[1]https://lists.gnu.org/archive/html/help-guix/2017-11/msg00016.html




GC Warning: Out of Memory

2018-11-20 Thread Rene
Hello,

In Debian/Hurd using commit `2d546858b139e5fcf2cbdf9958a17fd98803ac4c` from 
core-updates branch:

When I try to build hello package, Guix shows:

--     ;;; In procedure load-thunk-from-memory: ELF file does not have native 
word size
 ;;; WARNING: loading compiled file gnu/packages/wicd.go failed:
 ;;; In procedure load-thunk-from-memory: ELF file does not have native 
word size
 ;;; WARNING: loading compiled file /home/jin/guix/gnu/packages/xnee.go 
failed:
 ;;; In procedure load-thunk-from-memory: ELF file does not have native 
word size
 ;;; WARNING: loading compiled file gnu/packages/xnee.go failed:
 ;;; In procedure load-thunk-from-memory: ELF file does not have native 
word size
 ;;; WARNING: loading compiled file /home/jin/guix/gnu/packages/zile.go 
failed:
 ;;; In procedure load-thunk-from-memory: ELF file does not have native 
word size
 ;;; WARNING: loading compiled file gnu/packages/zile.go failed:
 ;;; In procedure load-thunk-from-memory: ELF file does not have native 
word size
..     GC Warning: Failed to grow mark stack to 262144 frames
 GC Warning: Failed to grow mark stack to 262144 frames
 GC Warning: Failed to grow mark stack to 262144 frames
 GC Warning: Failed to expand heap by 8388608 bytes   
 GC Warning: Failed to expand heap by 901120 bytes
 GC Warning: Out of Memory! Heap size: 122 MiB. Returning NULL!
 Warning: Unwind-only `out-of-memory' exception; skipping pre-unwind 
handler.
--

Steps to reproduce the error:
a)   ./bootstrap.sh
b)  ./configure --localstatedir=/var --with-courage
c)    make
d)  start guix-daemon
e)  run `./pre-inst-env guix build hello --fallback`
And nothing happens!

The guile version installed in Debian is:
guile (GNU Guile) 2.2.3

Any advice?

Thank you
Rene



guix system init question

2018-08-24 Thread Rene
Hello,

I'm updating my guix repository in Debian/Hurd with the commit 
40f5c53d89da266055a1dd6571c380f5c57fe5f9.
When I run `sudo ./pre-inst-env guix system init doc/os-config-hurd.scm /guix 
--fallback --no-substitutes --no-build-hook` show the error:

`
Backtrace:
  10 (primitive-load "/home/jin/guix/scripts/guix")
In guix/ui.scm:
  1452:12  9 (run-guix-command _ . _)
In ice-9/boot-9.scm:
    829:9  8 (catch _ _ # …)
    829:9  7 (catch _ _ # …)
In guix/scripts/system.scm:
   1109:8  6 (_)
    983:6  5 (process-action _ _ _)
In guix/store.scm:
  1444:24  4 (run-with-store _ _ #:guile-for-build _ #:system _ # _)
In guix/scripts/system.scm:
    714:2  3 (_ _)
In gnu/services.scm:
    317:2  2 (_ _)
In gnu/system.scm:
   434:28  1 (_ _)
   996:34  0 (operating-system-boot-parameters-file #< …)

gnu/system.scm:996:34: In procedure operating-system-boot-parameters-file:
In procedure struct_vtable: Wrong type argument in position 1 (expecting 
struct): #f
`
I have reviewed the code in (scripts system), but I have not had luck; Any idea 
what's happening?

Attachment operating system configuration template.

Thank you
Rene
(use-modules (gnu))
(use-package-modules hurd)

(operating-system
  (host-name "antelope")
  (timezone "Europe/Paris")
  (locale "en_US.utf8")
  
  ;; Assuming /dev/sdX is the target hard disk, and "my-root" is
  ;; the label of the target root file system.
  (bootloader (bootloader-configuration
   (bootloader grub-bootloader)
   (target "/dev/hd2s1")))
  
  (kernel gnumach)
  
  (file-systems (cons (file-system
(device "my-root")
(title 'label)
(mount-point "/guix")
(type "ext2"))
  %base-file-systems))
  
  (users (cons (user-account
(name "prometheus")
(comment "Welcome to the Hurd")
(group "users")
(home-directory "/home/prometheus"))
   %base-user-accounts))

  (packages (cons* 
	 %base-packages-hurd))
  
  (services %base-services-hurd))


Re: About GCC-5.5.0

2018-05-29 Thread Rene
Hello Ludovic,

> 
> So it looks like the right-hand size of the ‘libc_undefs’ assignment
> 
> expands to the empty string.
> 
> Could you check the value of $NM in there? Could it be that it got it
> 
> wrong?
> 

In the config.log file the $NM value is: NM='nm'


Thank you



Re: About GCC-5.5.0

2018-05-24 Thread Rene
In this new execution, I have set CFLAGS='-fno-stack-protector', but the 
variable  stack_protector still with null value (stack_protector='' ).

Attached log files.
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by GNU C Library configure (see version.h), which was
generated by GNU Autoconf 2.69.  Invocation command line was

  $ ../glibc-2.23-hurd+libpthread-20161218/configure CONFIG_SHELL=/gnu/store/xdgs5mxay8a9bvhh07c8k5i0ms1027sz-bootstrap-binaries-0/bin/bash SHELL=/gnu/store/xdgs5mxay8a9bvhh07c8k5i0ms1027sz-bootstrap-binaries-0/bin/bash --prefix=/gnu/store/b9rkk630drw4p7bappdb17piz0wibs9k-glibc-intermediate-2.23 --enable-fast-install --build=i586-unknown-gnu --host=i586-guix-gnu --build=i586-unknown-gnu --enable-obsolete-rpc --disable-stack-protector --enable-stack-protector=no --disable-stack-protector-all --disable-stack-protector-strong CFLAGS=-fno-stack-protector --host=i586-pc-gnu --enable-pt_chown --disable-werror --disable-nscd --enable-add-ons --sysconfdir=/etc libc_cv_complocaledir=/run/current-system/locale/2.26 --with-headers=/gnu/store/c9h0i188sli0bb0s6nfs096wsmvx4zkd-hurd-core-headers-0.9/include BASH_SHELL=/gnu/store/xdgs5mxay8a9bvhh07c8k5i0ms1027sz-bootstrap-binaries-0/bin/bash libc_cv_ssp=no libc_cv_ssp_strong=no

## - ##
## Platform. ##
## - ##

hostname = Hurd
uname -m = i686-AT386
uname -r = 0.9
uname -s = GNU
uname -v = GNU-Mach 1.8+git20170609-486/Hurd-0.9

/usr/bin/uname -p = unknown
/bin/uname -X = unknown

/bin/arch  = unknown
/usr/bin/arch -k   = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo  = unknown
/bin/machine   = unknown
/usr/bin/oslevel   = unknown
/bin/universe  = unknown

PATH: /gnu/store/a88rb5jz1ymc417lfcgzc25gn5hlfy34-texinfo-6.5/bin
PATH: /gnu/store/bddl4pa579yvy4l3kfxbk13pxmg6bsq5-perl-boot0-5.26.1/bin
PATH: /gnu/store/3k8431g54gj3d65k9slbbf6w274zfw6d-gcc-cross-boot0-5.5.0/bin
PATH: /gnu/store/p0w3z8vg8g33azgs14w4zq569k38qn06-ld-wrapper-boot0-0/bin
PATH: /gnu/store/4xjychl22p1620vpnjcgi9f3iflnqkj8-binutils-cross-boot0-2.28.1/bin
PATH: /gnu/store/y0zagc1y50dk2rf6amcr2cikx32pdd6g-make-boot0-4.2.1/bin
PATH: /gnu/store/nmx44r1360ikfnrcad62za0d9lbnwwl6-diffutils-boot0-3.6/bin
PATH: /gnu/store/qd300gsh0gd634akszms1x70psmqd3qs-findutils-boot0-4.6.0/bin
PATH: /gnu/store/lhxih6bp4hd85r1h208fmrigm5zi9afx-file-boot0-5.32/bin
PATH: /gnu/store/xaijd1mmjsi4kkim8nl41a9h4ks5mkd6-gcc-bootstrap-0/bin
PATH: /gnu/store/xdgs5mxay8a9bvhh07c8k5i0ms1027sz-bootstrap-binaries-0/bin
PATH: /gnu/store/8zqksqw8miagwcg4cvz3sx0q263f5x2k-mig-1.8/bin
PATH: /gnu/store/c9h0i188sli0bb0s6nfs096wsmvx4zkd-hurd-core-headers-0.9/bin


## --- ##
## Core tests. ##
## --- ##

configure:2189: checking build system type
configure:2203: result: i586-unknown-gnu
configure:2223: checking host system type
configure:2236: result: i586-pc-gnu
configure:2265: checking for i586-pc-gnu-gcc
configure:2281: found /gnu/store/xaijd1mmjsi4kkim8nl41a9h4ks5mkd6-gcc-bootstrap-0/bin/i586-pc-gnu-gcc
configure:2292: result: i586-pc-gnu-gcc
configure:2561: checking for C compiler version
configure:2570: i586-pc-gnu-gcc --version >&5
i586-pc-gnu-gcc (GCC) 5.4.0
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:2581: $? = 0
configure:2570: i586-pc-gnu-gcc -v >&5
Using built-in specs.
COLLECT_GCC=i586-pc-gnu-gcc
COLLECT_LTO_WRAPPER=/gnu/store/xaijd1mmjsi4kkim8nl41a9h4ks5mkd6-gcc-bootstrap-0/bin/../libexec/gcc/i586-pc-gnu/5.4.0/lto-wrapper
Target: i586-pc-gnu
Configured with: 
Thread model: posix
gcc version 5.4.0 (GCC) 
configure:2581: $? = 0
configure:2570: i586-pc-gnu-gcc -V >&5
i586-pc-gnu-gcc: error: unrecognized command line option '-V'
i586-pc-gnu-gcc: fatal error: no input files
compilation terminated.
configure:2581: $? = 1
configure:2570: i586-pc-gnu-gcc -qversion >&5
i586-pc-gnu-gcc: error: unrecognized command line option '-qversion'
i586-pc-gnu-gcc: fatal error: no input files
compilation terminated.
configure:2581: $? = 1
configure:2586: checking for suffix of object files
configure:2608: i586-pc-gnu-gcc -c -fno-stack-protector  conftest.c >&5
configure:2612: $? = 0
configure:2633: result: o
configure:2637: checking whether we are using the GNU C compiler
configure:2656: i586-pc-gnu-gcc -c -fno-stack-protector  conftest.c >&5
configure:2656: $? = 0
configure:2665: result: yes
configure:2674: checking whether i586-pc-gnu-gcc accepts -g
configure:2694: i586-pc-gnu-gcc -c -g  conftest.c >&5
configure:2694: $? = 0
configure:2735: result: yes
configure:2764: checking for gcc
configure:2780: found /gnu/store/xaijd1mmjsi4kkim8nl41a9h4ks5mkd6-gcc-bootstrap-0/bin/gcc
configure:2791: result: gcc
configure:2815: checking for i586-pc-gnu-readelf
configure:2845: result: no
configure:2855: che

Re: About GCC-5.5.0

2018-05-24 Thread Rene
Hello Samuel,

yes, I attach the log file.


​Thank you
Rene

> > 
> > Any idea of how we can approach it?
> 
> Getting the config.log would allow to have more ideas :)
>
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by GNU C Library configure (see version.h), which was
generated by GNU Autoconf 2.69.  Invocation command line was

  $ ../glibc-2.23-hurd+libpthread-20161218/configure CONFIG_SHELL=/gnu/store/xdgs5mxay8a9bvhh07c8k5i0ms1027sz-bootstrap-binaries-0/bin/bash SHELL=/gnu/store/xdgs5mxay8a9bvhh07c8k5i0ms1027sz-bootstrap-binaries-0/bin/bash --prefix=/gnu/store/0h1887n99w6gzng4yfshld33567kak5p-glibc-intermediate-2.23 --enable-fast-install --build=i586-unknown-gnu --host=i586-guix-gnu --build=i586-unknown-gnu --enable-obsolete-rpc --disable-stack-protector --enable-stack-protector=no --disable-stack-protector-all --disable-stack-protector-strong --host=i586-pc-gnu --enable-pt_chown --disable-werror --disable-nscd --enable-add-ons --sysconfdir=/etc libc_cv_complocaledir=/run/current-system/locale/2.26 --with-headers=/gnu/store/c9h0i188sli0bb0s6nfs096wsmvx4zkd-hurd-core-headers-0.9/include BASH_SHELL=/gnu/store/xdgs5mxay8a9bvhh07c8k5i0ms1027sz-bootstrap-binaries-0/bin/bash libc_cv_ssp=no libc_cv_ssp_strong=no

## - ##
## Platform. ##
## - ##

hostname = Hurd
uname -m = i686-AT386
uname -r = 0.9
uname -s = GNU
uname -v = GNU-Mach 1.8+git20170609-486/Hurd-0.9

/usr/bin/uname -p = unknown
/bin/uname -X = unknown

/bin/arch  = unknown
/usr/bin/arch -k   = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo  = unknown
/bin/machine   = unknown
/usr/bin/oslevel   = unknown
/bin/universe  = unknown

PATH: /gnu/store/a88rb5jz1ymc417lfcgzc25gn5hlfy34-texinfo-6.5/bin
PATH: /gnu/store/bddl4pa579yvy4l3kfxbk13pxmg6bsq5-perl-boot0-5.26.1/bin
PATH: /gnu/store/3k8431g54gj3d65k9slbbf6w274zfw6d-gcc-cross-boot0-5.5.0/bin
PATH: /gnu/store/p0w3z8vg8g33azgs14w4zq569k38qn06-ld-wrapper-boot0-0/bin
PATH: /gnu/store/4xjychl22p1620vpnjcgi9f3iflnqkj8-binutils-cross-boot0-2.28.1/bin
PATH: /gnu/store/y0zagc1y50dk2rf6amcr2cikx32pdd6g-make-boot0-4.2.1/bin
PATH: /gnu/store/nmx44r1360ikfnrcad62za0d9lbnwwl6-diffutils-boot0-3.6/bin
PATH: /gnu/store/qd300gsh0gd634akszms1x70psmqd3qs-findutils-boot0-4.6.0/bin
PATH: /gnu/store/lhxih6bp4hd85r1h208fmrigm5zi9afx-file-boot0-5.32/bin
PATH: /gnu/store/xaijd1mmjsi4kkim8nl41a9h4ks5mkd6-gcc-bootstrap-0/bin
PATH: /gnu/store/xdgs5mxay8a9bvhh07c8k5i0ms1027sz-bootstrap-binaries-0/bin
PATH: /gnu/store/8zqksqw8miagwcg4cvz3sx0q263f5x2k-mig-1.8/bin
PATH: /gnu/store/c9h0i188sli0bb0s6nfs096wsmvx4zkd-hurd-core-headers-0.9/bin


## --- ##
## Core tests. ##
## --- ##

configure:2189: checking build system type
configure:2203: result: i586-unknown-gnu
configure:2223: checking host system type
configure:2236: result: i586-pc-gnu
configure:2265: checking for i586-pc-gnu-gcc
configure:2281: found /gnu/store/xaijd1mmjsi4kkim8nl41a9h4ks5mkd6-gcc-bootstrap-0/bin/i586-pc-gnu-gcc
configure:2292: result: i586-pc-gnu-gcc
configure:2561: checking for C compiler version
configure:2570: i586-pc-gnu-gcc --version >&5
i586-pc-gnu-gcc (GCC) 5.4.0
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:2581: $? = 0
configure:2570: i586-pc-gnu-gcc -v >&5
Using built-in specs.
COLLECT_GCC=i586-pc-gnu-gcc
COLLECT_LTO_WRAPPER=/gnu/store/xaijd1mmjsi4kkim8nl41a9h4ks5mkd6-gcc-bootstrap-0/bin/../libexec/gcc/i586-pc-gnu/5.4.0/lto-wrapper
Target: i586-pc-gnu
Configured with: 
Thread model: posix
gcc version 5.4.0 (GCC) 
configure:2581: $? = 0
configure:2570: i586-pc-gnu-gcc -V >&5
i586-pc-gnu-gcc: error: unrecognized command line option '-V'
i586-pc-gnu-gcc: fatal error: no input files
compilation terminated.
configure:2581: $? = 1
configure:2570: i586-pc-gnu-gcc -qversion >&5
i586-pc-gnu-gcc: error: unrecognized command line option '-qversion'
i586-pc-gnu-gcc: fatal error: no input files
compilation terminated.
configure:2581: $? = 1
configure:2586: checking for suffix of object files
configure:2608: i586-pc-gnu-gcc -c   conftest.c >&5
configure:2612: $? = 0
configure:2633: result: o
configure:2637: checking whether we are using the GNU C compiler
configure:2656: i586-pc-gnu-gcc -c   conftest.c >&5
configure:2656: $? = 0
configure:2665: result: yes
configure:2674: checking whether i586-pc-gnu-gcc accepts -g
configure:2694: i586-pc-gnu-gcc -c -g  conftest.c >&5
configure:2694: $? = 0
configure:2735: result: yes
configure:2764: checking for gcc
configure:2780: found /gnu/store/xaijd1mmjsi4kkim8nl41a9h4ks5mkd6-gcc-bootstrap-0/bin/gcc
configure:2791: result: gcc
configure:2815: checking for i586-pc-gnu-readelf
config

About GCC-5.5.0

2018-05-23 Thread Rene
Hello,

I am updating my Guix repository on Debian/Hurd and I have the following error 
in the 'configure' phase of glibc(glibc-intermediate-2.23).
We have tried to add the flag '-fno-stack-protector' to glibc, however the 
error remains.

Any idea of how we can approach it?

---

  checking if i586-pc-gnu-gcc accepts 
-fno-tree-loop-distribute-patterns with __at

  tribute__ ((__optimize__))... yes

  checking for libgd... no

  checking for is_selinux_enabled in -lselinux... no

  checking for _FORTIFY_SOURCE predefine... no

  checking whether i586-pc-gnu-gcc implicitly enables 
-fstack-protector... configu

  re: error: unexpected symbols in test:

---

Thank you

Rene

ikjy1spij14bjhxx30nmh14n076hb8-glibc-intermediate-2.23.drv.bz2
Description: application/bzip


Re: create a symlink

2018-04-26 Thread Rene
Hello Danny,

after adding the line (install-hurd #$hurd), I have an error, I'm missing some 
module?


-
1238: 15 [run-guix-command system "init" ...]
In ice-9/boot-9.scm:
 157: 14 [catch srfi-34 # ...]
 157: 13 [catch system-error # 
...]
In ice-9/eval.scm:
 481: 12 [lp (#) (#t)]
In ice-9/r4rs.scm:
  90: 11 [dynamic-wind # ...]
In guix/store.scm:
1250: 10 [run-with-store # # # 
...]
In ice-9/eval.scm:
 386: 9 [eval # <1>) <0>)> (# #t # ...)]
 387: 8 [eval # #]
 387: 7 [eval # #]
 432: 6 [eval # #]
In ice-9/boot-9.scm:
 157: 5 [catch system-error # 
...]
In ice-9/eval.scm:
 387: 4 [eval # #]
 387: 3 [eval # #]
 386: 2 [eval # #]
 393: 1 [eval # #]
In unknown file:
   ?: 0 [memoize-variable-access! # #]

ERROR: In procedure memoize-variable-access!:
ERROR: Unbound variable: ungexp
-




‐‐‐ Original Message ‐‐‐

On April 19, 2018 1:26 AM, Danny Milosavljevic  wrote:

> Hi Rene,
> 
> > But Guix waits for a string, is it possible to use a package to do the 
> > symlink?
> 
> Not directly - but you can "convert" a package to a string by putting in 
> guix/scripts/system.scm :
> 
> (install-hurd #$hurd)
> 
> or so (where "install-hurd" is your procedure in gnu/build/install.scm).




Re: create a symlink

2018-04-21 Thread Rene
Hi Joshua,

On top of Debian/Hurd, We are trying to populate a partition with the binaries 
required to boot GNU Mach and GNU Hurd, through Guix with:

'guix system init'

You can see more on guix-devel mailing list and here:

https://github.com/Phant0mas/Guix-on-Hurd
https://github.com/methalo/guix.git




create a symlink

2018-04-18 Thread Rene
Hello,

In 'gnu/build/install.scm', I try to create a symlink from 
'/gnu/store/..hurd-0.9' to /hurd during 'guix system init  '.

But Guix waits for a string, is it possible to use a package to do the symlink?

CODE---

(let ((hurd-1 (string-append target

 "/hurd")))

(let try ()

  (catch 'system-error

 (lambda ()

   (symlink hurd hurd-1))

 (lambda args

   ;; If hurd-1 already exists, overwrite it.

   (if (= EEXIST (system-error-errno args))

   (begin

 (delete-file hurd-1)

 (try))

   (apply throw args))

---

---ERROR-

In guix/scripts/system.scm:

181: 4 [# #]

In ice-9/eval.scm:

432: 3 [eval # #]

In ice-9/boot-9.scm:

157: 2 [catch system-error # ...]

157: 1 [catch system-error # ...]

In unknown file:

   ?: 0 [symlink # "/home/jin/subhurd/rfs/hurd"]

ERROR: In procedure symlink:

ERROR: Wrong type (expecting string): #

--

Thank you

Rene

Re: Looking for Thunderbird/Icedove

2018-04-03 Thread Rene
Hello,

GNOME Evolution is another graphical mail-reader;
currently it is not packaged, but the important part is that it requires the 
evolution-data-server service that does not exist either.

See more:
https://wiki.gnome.org/Apps/Evolution

boot guixsd

2018-03-02 Thread Rene
Hello,
I'm reviewing how GNU GuixSD/Linux boot,

$ cat /proc/cmdline
BOOT_IMAGE=/gnu/store/jnww66749r8ck6l2rwgvpzzbnazs0392-linux-libre-4.15.5/bzImage
 --root=root --system=/gnu/store/qcia33hqzi6md3q18frs16piis6xxy9i-system 
--load=/gnu/store/qcia33hqzi6md3q18frs16piis6xxy9i-system/boot

To perform the activation is done as a parameter through the scheme file 
'/var/guix/profiles/system/boot'.

In GNU Hurd as a workaround I add the lines to the '/libexec/rc' file:
--
echo running GuixSD boot ..
guile -s /var/guix/profiles/system/boot
--

After loading GNU Mach and GNU Hurd it shows:
--
In unknown file:
 ?: 9 [apply-smob/1 #]
  In ice-9/boot-9.scm:
66: 8 [call-with-prompt prompt0 ...]
  In ice-9/eval.scm:
   432: 7 [eval # #]
  In ice-9/boot-9.scm:
  2412: 6 [save-module-excursion #
  ]
  4089: 5 [#]
  In /var/guix/profiles/system/boot:
 1: 4 [#]
  In unknown file:
 ?: 3 [primitive-load 
"/gnu/store/rjp22rca3gv8lrrbb9j4sry9i3n1bvlp-activate"]
  In ice-9/eval.scm:
   432: 2 [eval # ()]
  In 
/gnu/store/6dvydkcda77dxkpbn5jsj4vsmr19gb7v-module-import/gnu/build/activatio
  n.scm:
   449: 1 [activate-current-system #f]
  In unknown file:
 ?: 0 [symlink #f "/run/current-system.new"]

  ERROR: In procedure symlink:
  ERROR: Wrong type (expecting string): #f
--

I have the following questions:

a) In GNU Hurd, how should activation be done?
b) Regarding the error assuming that I start reading from the bottom up 'ERROR: 
In procedure symlink',
in GNU Hurd I guess I should try 'symlink' through guile to see if the 
procedure exists.

Some thoughts?

Thank you
Rene

About guix system init

2018-02-13 Thread Rene
Hello,

I am currently running 'guix system init doc/os-config-hurd.scm /guix' on 
Debian/Hurd;

Some of the things that I have observed:

* Only the directories '/gnu/store' and 'var' are populated.
* The directories: bin, etc, home, mnt, root, run and tmp are created but 
without configuration.

However, there is no error at the end of the command, is there a way to debug 
to identify which part is being omitted?

About GNU Shepherd,
'shepherd -c /guix/gnu/store/naxj2x6i83bba7a2h5dmpz4sclxqifxk-shepherd.conf -l 
/home/jin/shepherd.log'
sample:

starting services...
Service root-file-system has been started.
Service user-file-systems has been started.
failed to start service 'file-systems'
failed to start service 'file-system-/dev/pts'
failed to start service 'file-system-/dev/shm'
failed to start service 'file-system-/gnu/store'
failed to start service 'file-system-/sys/fs/cgroup'
failed to start service 'file-system-/sys/fs/cgroup/cpuset'
failed to start service 'file-system-/sys/fs/cgroup/cpu'
failed to start service 'file-system-/sys/fs/cgroup/cpuacct'
failed to start service 'file-system-/sys/fs/cgroup/memory'
failed to start service 'file-system-/sys/fs/cgroup/devices'
failed to start service 'file-system-/sys/fs/cgroup/freezer'
failed to start service 'file-system-/sys/fs/cgroup/blkio'
failed to start service 'file-system-/sys/fs/cgroup/perf_event'
failed to start service 'file-system-/sys/fs/cgroup/hugetlb'
failed to start service 'user-processes'
Service host-name has been started.
failed to start service 'user-homes'
failed to start service 'nscd'
failed to start service 'guix-daemon'
failed to start service 'urandom-seed'
failed to start service 'syslogd'
failed to start service 'loopback'

Is it necessary to have the services started correctly to run 'guix system init 
..' ?

Thank you
Rene