guix package: error: build failed: opening lock file?

2018-04-05 Thread myglc2
I am running a 'guix system vm' and 'guix package -i' fails ...

g1@server17 ~$ guix package -i icecat
guix package: error: build failed: opening lock file
`/gnu/store/4iznqdzql2cp4l2jkr09jn10xxw861c4-mirrors.lock': Read-only
file system

Any idea what I am doing wrong? Here are the details ...

guix system vm -M 4 -c 4 /home/g1/src/vm/vms/server17/server17.scm

sudo /gnu/store/1vnsn52grzvpzrdndv1f3nkf7mdwd5wk-run-vm.sh -name
server17 -net
tap,ifname=server17,script=/home/g1/src/vm/qemu-ifup,downscript=/home/g1/src/vm/qemu-ifdn
-daemonize -display none

TIA - George



server17.scm
Description: Binary data


Instantiating the OS declaration after a small change

2018-04-05 Thread Arnaud B
Hello everyone,

Context :
In the process of trying to build packages, through the use of guix
environments, I need more space on my home partition.
To do so, deleting former generations followed by 'guix gc' was not enough,
and I need to move things to my external ntfs drive (please don't ask why I
have to use that file system...).
As I'm regularly going to mount it, I added a file-system declaration in my
config.scm.

Question :
Do I have to apply 'guix system reconfigure', a lenghty process (on my
computer at least) for such a small change, especially if I did not write
it correctly, or is there another possibility ?  I actually just want to
test that file system declaration.
>From 6.2.13 of the manual, I'm thinking about 'guix system build'. Or could
I do it temporarily in another scm file ?

Many thanks in advance,

Arnaud


Re: How to install prerelease package versions (particularly Emacs)

2018-04-05 Thread Jorge
March 27, 2018 6:51 AM, l...@gnu.org wrote:
> Pierre Neidhardt  skribis:
> 
>> Considering the importance of Emacs in this community, I think it would
>> make sense to provide a cutting-edge version.
> 
> Do you mean a snapshot of the ‘master’ branch?
> 
> We don’t do that usually, and I would instead suggest using
> ‘--with-source’ for people who would like that.
> 
> What do people think?
I am sorry for having taken this long to reply.  I (the original poster) was
thinking not of ‘master’ branch snapshots.  GNU Emacs has already branched the
upcoming Emacs 26, and the ‘master’ branch has been opened for the development
of what will be Emacs 27.  I was thinking of the latest official pretest version
of the almost-released branch (currently Emacs 26.0.91).  In my experience so
far, these pretest versions are reliable enough for daily usage.

Providing Emacs pretest versions would enable a larger audience to test them,
thus helping the GNU project.  It would also enable more people to
get Emacs from Guix; I need Emacs 26 for its better proxy support (so I can
install ELPA packages from my work desktop) and I really like its many other
features, so if Guix only has 25.3, I will continue to compile 26.0.9x manually
(and miss the Guix features).

I think it would be clearly beneficial to package 26.0.9x, unless Guix lacks the
manpower.  I unfortunately don't think I'll be able to help much, beyond testing
and filing bug reports.

Regards

- I am Brazilian.  I hope my English is correct and I welcome feedback
- Please adopt free formats like PDF, ODF, Org, LaTeX, Opus, WebM and 7z
- Free/libre software for Android: https://f-droid.org/
- [[https://www.gnu.org/philosophy/free-sw.html][What is free software?]]



Re: Test fail

2018-04-05 Thread Ludovic Courtès
Hello,

Gábor Boskovits  skribis:

> Ludovic Courtès  ezt írta (időpont: 2018. márc. 30., P 18:39):
>
>> Hi Maria,
>>
>> Thanks for your report.  In practice you can safely ignore this test
>> failure.  We had a similar report earlier that this fails on Ubuntu:
>> .
>>
>> Something we should do, though, is to at least skip the test when we
>> know we’re using a faulty kernel.  Currently we already have:
>>
>>   ;; XXX: Skip this test when running Linux > 4.7.5 to work around
>>   ;; .
>>   (when (or (not perform-container-tests?)
>> (version>? (utsname:release (uname)) "4.7.5"))
>> (test-skip 1))
>>
>> Gábor, given what you wrote about Ubuntu’s 4.4 kernel, should we
>> explicitly flag “4.4.0-116-generic” in a similar way?  Would it be
>> enough?
>>
>>
>>
> Yes, it seems that would be enough.
> We also have this "4.4.0-21-generic" for not x86.

OK, done.

As time passes, this test can no longer run given the constraints
above.  We should probably rethink it…

> Alternatively we can point Ubuntu users to the LTSEnablementStack.
> This provides a 4.8 kernel since 16.04.2. (feb. 2017.)

Yeah, well, no big deal.

Thanks,
Ludo’.



Re: Вопрос по опциям монтирования SSD и logrotate

2018-04-05 Thread Pierre Neidhardt

Ludovic Courtès  writes:

> Alternately, you can inspect the ‘%desktop-services’ variable at the REPL:
>
> --8<---cut here---start->8---
> $ guile
> GNU Guile 2.2.3
> Copyright (C) 1995-2017 Free Software Foundation, Inc.
>
> Guile comes with ABSOLUTELY NO WARRANTY; for details type `,show w'.
> This program is free software, and you are welcome to redistribute it
> under certain conditions; type `,show c' for details.
>
> Enter `,help' for help.
> scheme@(guile-user)> ,use(gnu services desktop)
> scheme@(guile-user)> ,use(gnu services)
> scheme@(guile-user)> (map (compose service-type-name service-kind) 
> %desktop-services)
> $1 = (slim screen-locker screen-locker mtp network-manager wpa-supplicant 
> avahi udisks upower accountsservice colord geoclue polkit elogind dbus ntp 
> login console-fonts agetty mingetty mingetty mingetty mingetty mingetty 
> mingetty static-networking syslog urandom-seed guix nscd udev special-files)
> --8<---cut here---end--->8---

This is exactly what I was looking for.  Thanks!

-- 
Pierre Neidhardt


signature.asc
Description: PGP signature


Re: Вопрос по опциям монтирования SSD и logrotate

2018-04-05 Thread Ludovic Courtès
Hello,

Pierre Neidhardt  skribis:

> Oleg Pykhalov  writes:
>
 Хорошо, мы можем выполнять trim по cron (mcron).  Этот сервис есть в
 %desktop-services?
>>>
>>> Нет.
>>>
>>> Список сервисов ‘%desktop-services’ можно посмотреть в
>>> ‘gnu/services/desktop.scm’ [2] или вызвав Guile:
>>>
>>> guile -e '(@@ (gnu services desktop) %desktop-services)'
>>>
 Или я должен явно прописывать это? 
>>>
>>> Да, примеры есть в документации Guix [3].
>>
>> The question was about how to check what services contains
>> ‘%desktop-services’ variable.
>
> Is there a convenient way to get a pretty print out of the result?

You can use ‘guix system extension-graph’ to view the graph of services
of your system:

  https://www.gnu.org/software/guix/manual/html_node/Invoking-guix-system.html

Alternately, you can inspect the ‘%desktop-services’ variable at the REPL:

--8<---cut here---start->8---
$ guile
GNU Guile 2.2.3
Copyright (C) 1995-2017 Free Software Foundation, Inc.

Guile comes with ABSOLUTELY NO WARRANTY; for details type `,show w'.
This program is free software, and you are welcome to redistribute it
under certain conditions; type `,show c' for details.

Enter `,help' for help.
scheme@(guile-user)> ,use(gnu services desktop)
scheme@(guile-user)> ,use(gnu services)
scheme@(guile-user)> (map (compose service-type-name service-kind) 
%desktop-services)
$1 = (slim screen-locker screen-locker mtp network-manager wpa-supplicant avahi 
udisks upower accountsservice colord geoclue polkit elogind dbus ntp login 
console-fonts agetty mingetty mingetty mingetty mingetty mingetty mingetty 
static-networking syslog urandom-seed guix nscd udev special-files)
--8<---cut here---end--->8---

HTH,
Ludo’.