bug#29905: No icons in Krita

2018-01-01 Thread Marius Bakke
Ricardo Wurmus  writes:

> Leo Famulari  writes:
>
>> I installed Krita, hicolor-icon-theme, adwaita-icon-theme, and
>> oxygens-icons into my profile on a Debian system.
>>
>> Krita starts, and it can open files, but there are no icons in the Krita
>> toolbox.
>
> It may require wrapping as in commit
> 9cc51d16cb22f8a0c50fe81c98abb3b9108db9ff.  Before this commit librecad
> would not be able to render its icons as it had no runtime support for
> plugins provided by qtsvg, which are accessed via QT_PLUGIN_PATH.

It looks like propagating qtsvg would work too (which adds a search path
for QT_PLUGIN_PATH).  Maybe we should do that on packages that installs
icons as SVG files?


signature.asc
Description: PGP signature


bug#29905: No icons in Krita

2018-01-01 Thread Marius Bakke
Marius Bakke  writes:

> Ricardo Wurmus  writes:
>
>> Leo Famulari  writes:
>>
>>> I installed Krita, hicolor-icon-theme, adwaita-icon-theme, and
>>> oxygens-icons into my profile on a Debian system.
>>>
>>> Krita starts, and it can open files, but there are no icons in the Krita
>>> toolbox.
>>
>> It may require wrapping as in commit
>> 9cc51d16cb22f8a0c50fe81c98abb3b9108db9ff.  Before this commit librecad
>> would not be able to render its icons as it had no runtime support for
>> plugins provided by qtsvg, which are accessed via QT_PLUGIN_PATH.
>
> It looks like propagating qtsvg would work too (which adds a search path
> for QT_PLUGIN_PATH).  Maybe we should do that on packages that installs
> icons as SVG files?

Leo: Does installing qtsvg into your profile fix the problem?


signature.asc
Description: PGP signature


bug#29933: can't login in a virtual machine

2018-01-01 Thread Catonano
I can't login in the virtual machine I created

I used this line

./pre-inst-env guix system vm ~/configs/vm-config-desktop.scm \
   --image-size=10GB \
   --expose=$HOME \
   --share=$HOME/tmp=/exchange

In the resulting virtual machine, a graphical login manager pops up

I type "root" as user, empty password
the login starts but then the screen stays black and after a while the
login screen pops up again

This is where I am

$ git describe
v0.13.0-5123-g95bdcc21e

Thanks


bug#29858: guix import hackage monadplus fails with a syntax error.

2018-01-01 Thread Ludovic Courtès
Hi Alex,

Alex ter Weele  skribis:

> Here is what I tried:
>
>   $ guix import hackage monadplus
>   Syntax error: unexpected end of input
>   guix import: error: failed to download cabal file for package 'monadplus'
>
> I also tried manually downloading the cabal file and importing that:
>
>   $ guix import hackage -s < ~/Downloads/monadplus.cabal
>   Syntax error: unexpected end of input
>   guix import: error: failed to import cabal file from standard input

Could this be a duplicate of ?

Essentially our Cabal parser doesn’t support the full syntax, which is
why some imports fail.  Would be nice to fix!

Ludo’.





bug#29076: [PATCH core-updates v2] build-system/glib-or-gtk: Don't generate 'icon-theme.cache'.

2018-01-01 Thread Ludovic Courtès
Danny Milosavljevic  skribis:

> * guix/build-system/glib-or-gtk.scm (glib-or-gtk-build): Don't generate
> 'icon-theme.cache'.
> ---
>  guix/build-system/glib-or-gtk.scm | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/guix/build-system/glib-or-gtk.scm 
> b/guix/build-system/glib-or-gtk.scm
> index d585d84f2..621e68e0a 100644
> --- a/guix/build-system/glib-or-gtk.scm
> +++ b/guix/build-system/glib-or-gtk.scm
> @@ -110,7 +110,8 @@
>  (outputs '("out"))
>  (search-paths '())
>  (configure-flags ''())
> -(make-flags ''())
> +;; Disable icon theme cache generation.
> +(make-flags ''("gtk_update_icon_cache=true"))

I’ve pushed it on your behalf so I could start a new evaluation.  \o/

Thanks!

Ludo’.





bug#29903: Guile modules compilation fails on master

2018-01-01 Thread Ludovic Courtès
Hello,

Mathieu Lirzin  skribis:

> I am trying to build Guix master branch (commit
> e2f37d6ab7427946e6c68ebaecc97c85d5217234) on Fedora 25.  Here is the
> issue I have:

[...]

>   LOAD guix/utils.scm
>   LOAD guix/sets.scm
>   LOAD guix/modules.scm
>   LOAD guix/download.scm
> ice-9/psyntax.scm:1558:32: In procedure expand-macro:
> ice-9/psyntax.scm:1558:32: Syntax error:
> unknown location: error: no 'ungexp' substitution (ungexp %utils-module)
> Makefile:5314 : la recette pour la cible « make-go » a échouée

Is it reproducible?

This looks like , though in this case you
appear to be building things sequentially (-j1; and the “load” phase is
sequential anyway.)

Thanks,
Ludo’.





bug#29892: dvtm does not properly export terminfo

2018-01-01 Thread Ludovic Courtès
Hi!

Jelle Licht  skribis:

> As far as I can see, the current version of dvtm does not work properly
> with programs such as htop etc.
>
> To reproduce:
> ```
> $ guix package -i dvtm
> $ dvtm
> $ htop
> ```
> It only worked properly once I added something like:
> `export TERMINFO_DIRS="/home/jelle/.guix-profile/share/terminfo"`.
>
> Would a proper fix be to simply add a native-search-path declaration to the
> dvtm package? If so, I can prepare a patch this weekend.

‘TERMINFO_DIRS’ is a search path of ncurses.  However, because search
paths of dependencies are not honored, it doesn’t get set:

  https://bugs.gnu.org/22138

This is what we should fix.

It would feel wrong to add ‘TERMINFO_DIRS’ as a search path of dvtm and
everything that depends on ncurses.

Thanks,
Ludo’.





bug#29904: README is not up-to-date

2018-01-01 Thread Ludovic Courtès
Hi,

Mathieu Lirzin  skribis:

> The README requirements part is not up-to-date since GnuTLS is not
> optional anymore and Guile-Git is a dependency.

Good catch.  Applied, thanks!

Ludo’.





bug#29840: guix pull failed

2018-01-01 Thread Ludovic Courtès
Fis Trivial  skribis:

> On 12/27/2017 03:14 AM, Leo Famulari wrote:
>> On Sun, Dec 24, 2017 at 05:33:21PM +, Fis Trivial wrote:
>>
>> Hi, thanks for this report!
>>
>>> Runing `guix pull` generates the following error message:
>>>
>>>
>>> Updating from Git repository at
>>> 'https://git.savannah.gnu.org/git/guix.git'...
>>> Building from Git commit b982fb1c09573f4638324d7809ec18d0c9956d11...
>>> The following derivation will be built:
>>>      /gnu/store/d8gx000cbyihr3x3gggnm9d61adjb0s3-guix-latest.drv
>>> copying and compiling to
>>> '/gnu/store/42n0q7dhq5l7yd0hd550m80zw2z256fy-guix-latest' with Guile
>>> 2.2.2...
>>> loading...     26.3% of 659 filesrandom seed for tests: 1514135440
>>> compiling...    100.0% of 659 files
>>> Backtrace:
>>> Exception thrown while printing backtrace:
>>> ERROR: In procedure private-lookup: Module named (guile) does not exist
>> I successfully did `guix pull` based on that commit (b982fb1c095).
>>
>>> Platform:
>>>
>>> I am currently running guix on top of Fedora 26 x86_64. The native
>>> version of
>>>
>>> guile is 2.0.14, and the guile used in compilation is 2.2.2 (reading from
>>> the error message).
>> The Guile provided by the host system is not used for `guix pull` as far
>> as I can tell, so I'm not sure what's going on here.
>>
>> I'm curious, how did you install Guix? That is, from a Fedora package,
>> our manual's instructions, etc?
> Thanks for the reply. I installed Guix according to the Guix manual.
> The next pull for another commit was successful. I am not sure if
> this sill worth investigating.

This could be an instance of .

I’m closing the bug now, but do tell us if it shows up again!

Thanks,
Ludo’.





bug#27144: guix publish: “mutex already locked by thread”

2018-01-01 Thread Ludovic Courtès
l...@gnu.org (Ludovic Courtès) skribis:

> l...@gnu.org (Ludovic Courtès) skribis:
>
>> Seen on hydra.gnu.org:
>>
>> GET /jkpcipgxfyfb60pr4b5n4x4j9k5mcxpp.narinfo
>> In ice-9/boot-9.scm:
>>  160: 5 [catch #t # ...]
>> In unknown file:
>>?: 4 [apply-smob/1 #]
>> In guix/workers.scm:
>>   84: 3 [#]
>>   72: 2 [loop]
>>   76: 1 [# 
>> misc-error ...]
>> In unknown file:
>>?: 0 [make-stack #t]
>> ERROR: In procedure make-stack:
>> ERROR: Throw to key `misc-error' with args `("mutex already locked by 
>> thread")'.
>>
>> This is with
>> /gnu/store/cxmj38x6rh0ykq3d5dlqbxr5h1zgiiaf-guile2.0-guix-0.13.0-1.a6d728b.
>
> My suspicion is that this is a Guile 2.0 bug (the mutex implementation
> differs from that of 2.2), and we haven’t seen it yet with Guix-on-2.2.
>
> Let’s wait a little longer and see…

I haven’t seen any such error since the original report, so I’m closing
the bug.

Ludo’.





bug#29860: guix package -i jupyter fails

2018-01-01 Thread Ludovic Courtès
Hi Johannes,

Johannes Laute  skribis:

> "guix package -i jupyter" fails with the following error:
>
> guix package: error: profile contains conflicting entries for
> python-jupyter-console
> package: error:   first entry: python-jupyter-console@5.0.0
> /gnu/store/f0hzkjw58ys9qm2hf209vfdnbmm24zan-python-jupyter-console-5.0.0
> guix package: error:... propagated from jupyter@1.0.0
> guix package: error:   second entry: python-jupyter-console@5.0.0
> /gnu/store/315alfzrhisyrkh6mhz4a1y8gj1ljxlr-python-jupyter-console-5.0.0
> guix package: error:... propagated from python-ipython@5.3.0
> guix package: error:... propagated from python-notebook@4.2.3
> guix package: error:... propagated from jupyter@1.0.0
> hint: You cannot have two different versions or variants of `jupyter' in
> the same profile.
>
> As I dont have two different versions of jupyter I think it is due to the
> fact that two different "python-jupyter-console" packages exist in
> /gnu/packages/python.scm.

Indeed.  Fixed:

  
https://git.savannah.gnu.org/cgit/guix.git/commit/?id=a5e3d59bb3281fffd26dfd4bd8a23567e5940e80

Thanks!

Ludo’.





bug#29933: can't login in a virtual machine

2018-01-01 Thread Catonano
2018-01-01 21:46 GMT+01:00 Danny Milosavljevic :

> Difficult to say.  What does /var/log contain?  Any interesting messages
> there?
>

How can I send the key combination Ctrl-Alt-F1 to the machine inside Qemu ?

I tried but that was received by the host (my laptop) instead :-/


bug#29757: wxwidgets does not install 'include/wx/setup.h'

2018-01-01 Thread nee
I'm closing this because I asked in the wxwidgets irc and apparently
there is no bug and 'lib/wx/include/gtk3-unicode-3.1/wx/setup.h' is
indeed the correct install location. The guix package currently installs
it there.

The problem I had with my WIP trenchbroom package was that trenchbroom
called wx-config in a wrong way when a certain makeflag was not set,
which caused it to not find this header there.





bug#29934: in virtual machines the graphical dektop environment randomly fails to show up

2018-01-01 Thread Catonano
2018-01-01 21:47 GMT+01:00 Danny Milosavljevic :

> Can you try to make it not show up and then check the log files in the
> guest?
>
> Also, how does vm-config-desktop.scm look?
>


This is the vm-config-desktop.scm file
https://paste.freshbakedyams.com/paste/J93D5MQD

As for the log in the guest, how wold I copy and paste it ?


bug#29936: "guix package -s emacs" crashes

2018-01-01 Thread Danny Milosavljevic
Yeah, sorry, that was my fault ("description" contains texinfo markup where a 
literal "@" has to be escaped - which I didn't do).

Marius has fixed it in commit 5859fd6c9ec14152cc2f342480ff45e29607eebc, though.

Try guix pull?





bug#29934: in virtual machines the graphical dektop environment randomly fails to show up

2018-01-01 Thread Catonano
I created a virtual machine with this command

./pre-inst-env guix system vm ~/configs/vm-config-desktop.scm \
   --image-size=10GB \
   --expose=$HOME \
   --share=$HOME/tmp=/exchange

I run this virtual machine with this command

/gnu/store/zlnjsjgw8d0b6p1p7c3dbh4g6x80mrq6-run-vm.sh

Sometimes the graphical login screen comes up

Sometimes it doesn't and a login form in a terminal gets proposed

This happens randomly


bug#29936: "guix package -s emacs" crashes

2018-01-01 Thread Catonano
I run this command

[env]$ ./pre-inst-env guix package -s emacs

I'd like to see informations about Emacs

and I get this

Backtrace:
In guix/ui.scm:
  1474:12 19 (run-guix-command _ . _)
In ice-9/boot-9.scm:
829:9 18 (catch _ _ # …)
829:9 17 (catch _ _ # …)
In guix/scripts/package.scm:
   912:10 16 (_)
770:9 15 (process-query _)
In ice-9/boot-9.scm:
829:9 14 (catch _ _ # …)
In guix/scripts/package.scm:
   772:24 13 (_)
   249:17 12 (find-packages-by-description _)
In guix/discovery.scm:
137:3 11 (fold-module-public-variables _ _ _)
In guix/combinators.scm:
45:26 10 (fold2 # …)
45:26  9 (fold2 # …)
In guix/discovery.scm:
   140:33  8 (_ # …)
In guix/scripts/package.scm:
   250:34  7 (_ # …)
In srfi/srfi-1.scm:
   466:18  6 (fold # …)
In guix/ui.scm:
  1146:13  5 (_ _ 0)
  1025:23  4 (texi->plain-text _)
In texinfo.scm:
  1131:22  3 (parse _)
   979:31  2 (loop # (*fragment*) _ _ _)
   868:21  1 (visit example # #f ((para #) #))
   675:23  0 (complete-start-command _ #)

texinfo.scm:675:23: In procedure complete-start-command:
Throw to key `parser-error' with args `(# "@-command
didn't expect more args" example (".com --connect"))'.

[env]$ git describe
v0.14.0-635-gc3e224220


bug#29934: in virtual machines the graphical dektop environment randomly fails to show up

2018-01-01 Thread Danny Milosavljevic
Can you try to make it not show up and then check the log files in the guest?

Also, how does vm-config-desktop.scm look?





bug#29933: can't login in a virtual machine

2018-01-01 Thread Danny Milosavljevic
Difficult to say.  What does /var/log contain?  Any interesting messages there?