bug#19766: [gnu.org #979072] Broken download link in manual

2015-02-11 Thread Ludovic Courtès
"Quentin Pradet via RT"  skribis:

> In the System Installation part [0] of the GNU Guix Reference Manual,
> the download link [1] is broken. It links to
> gsd-usb-install-0.8.1.system.xz, but only
> gsd-usb-install-0.8.1.x86_64-linux.xz and
> gsd-usb-install-0.8.1.x86_64-linux.xz exist.

Indeed.  I fixed it and the code and will update the web page with the
next release.

Thanks!

Ludo’.





bug#19671: Raw binary data in build log from substitute-binary

2015-02-11 Thread Ludovic Courtès
Mark H Weaver  skribis:

> Mark H Weaver  writes:
>
>> While trying to install 'racket' using substitutes, several lines of the
>> form "substitute-binary: " were output.  See the
>> attachment for the precise output, captured via Emacs' shell mode.
>>
>> This was when running guix from git commit 2dfed64 on an i686 GSD
>> system.
>
> The same problem happened to me again, this time on git commit 710f3ce,
> while running 'guix system build'.  I've attached another transcript.
>
> The binary junk is immediately followed (with no intervening newline) by
> the message:
>
> http://hydra.gnu.org/2zadn0b2kljwlsyarr3j5rz44yi2pvs3.narinfo' failed: 502, 
> "Bad Gateway"
>
> This suggests that nginx had a problem fetching it from hydra-server on
> port 3000.  Repeating the same command worked properly.

I don’t see how the binary garbage could reach the stdout of ‘guix
substitute-binary’.  This happens when hydra.gnu.org is overloaded as
you suggest, so perhaps we have a connection closed unexpected or
something like that, but still.

Since this is the multithreaded ‘substitute-binary’, could there be
something fishy going on in wrt. threads?

Ludo’.





bug#18698: Our WindowMaker wrapper pollutes PATH in the entire X session

2015-02-11 Thread 宋文武
Ricardo Wurmus  writes:

> The fix may have resulted in unintended side-effects.  On a fresh
> installation of the System Distribution v0.8.1 WindowMaker is installed
> by default, but it is not completely functional.
>
> For example, the attempt to change the style via the menu results in
> this error to be displayed:
>
> Could not execute command:
> setstyle 
> /gnu/store/...windowmaker.../share/WindowMaker/Styles/Black.style
>
> Likewise, selecting "Configure Window Maker" from the right-click menu
> results in this error:
>
> Could not execute command: exec WPrefs
>
> The "setstyle" executable is located in
> /gnu/store/...windowmaker.../bin/, but is not in the PATH.
Yes, the $out/bin of windowmaker is not in $PATH, and same for sawfish.

Instead of wrapping every executable of session-type, we can:

#1: Add the package to system profile ('packages').
  It's not clear to me how to do it now, until we have something
  like the NixOS's module system.

#2: Make SLiM use '/run/current-system/profile/share/xsessions' as
session_dir.
  So simply add a package providing xsession file to 'packages' should
  make it available to SLiM.  And all DE and many window-managers provide
  xsession files already (eg: openbox, sawfish, xfce), we can patch
  the rest (eg: WindowMaker) to install one.

I would like to go #2, WDYT?





bug#19840: "Bad uri header component" when downloading from gitorious.org

2015-02-11 Thread Ricardo Wurmus
Downloading archives from gitorious fails:

~/dev/guix $ ./pre-inst-env guix download 
https://gitorious.org/lv2-synths/lv2-mdametapiano/archive/0.0.1.tar.gz
starting download of `/tmp/guix-file.gqYdZs' from 
`https://gitorious.org/lv2-synths/lv2-mdametapiano/archive/0.0.1.tar.gz'...
ERROR: Bad uri header component: 
/lv2-synths/lv2-mdametapiano/archive/ceb5345396425ad526be34c79eae2b4dfe886d5b.tar.gz

failed to download "/tmp/guix-file.gqYdZs" from 
"https://gitorious.org/lv2-synths/lv2-mdametapiano/archive/0.0.1.tar.gz";
guix download: error: 
https://gitorious.org/lv2-synths/lv2-mdametapiano/archive/0.0.1.tar.gz: 
download failed

Here the same with wget -S:

~/dev/guix $ wget -S 
https://gitorious.org/lv2-synths/lv2-mdametapiano/archive/0.0.1.tar.gz
--2015-02-11 20:48:30--  
https://gitorious.org/lv2-synths/lv2-mdametapiano/archive/0.0.1.tar.gz
Resolving gitorious.org (gitorious.org)... 87.238.52.168, 2a02:c0:1014::1
Connecting to gitorious.org (gitorious.org)|87.238.52.168|:443... connected.
HTTP request sent, awaiting response... 
  HTTP/1.1 302 Found
  Server: nginx
  Date: Wed, 11 Feb 2015 19:48:30 GMT
  Content-Type: text/html;charset=utf-8
  Content-Length: 211
  Connection: keep-alive
  Status: 302 Found
  Location: 
/lv2-synths/lv2-mdametapiano/archive/ceb5345396425ad526be34c79eae2b4dfe886d5b.tar.gz
  X-XSS-Protection: 1; mode=block
  X-Content-Type-Options: nosniff
  X-Frame-Options: SAMEORIGIN
  X-UA-Compatible: IE=Edge,chrome=1
  Cache-Control: no-cache
  Set-Cookie: 
_gitorious_session=BAh7BkkiD3Nlc3Npb25faWQGOgZFVEkiJTJhOTEzZTJmZTVjZjZhZDRkMDU2NTA1ZWQ1NDhhZDY1BjsAVA%3D%3D--dde27a4488e6aef56d25db1dbf58ee75f36fd1bf;
 domain=.gitorious.org; path=/; expires=Wed, 04-Mar-2015 19:48:30 GMT; secure; 
HttpOnly
  X-Request-Id: 55889cfebab9c8dc6e1745825510ae13
  X-Runtime: 0.015907
  Strict-Transport-Security: max-age=31536000
Location: 
/lv2-synths/lv2-mdametapiano/archive/ceb5345396425ad526be34c79eae2b4dfe886d5b.tar.gz
 [following]
--2015-02-11 20:48:30--  
https://gitorious.org/lv2-synths/lv2-mdametapiano/archive/ceb5345396425ad526be34c79eae2b4dfe886d5b.tar.gz
Reusing existing connection to gitorious.org:443.
HTTP request sent, awaiting response... 
  HTTP/1.1 200 OK
  Server: nginx
  Date: Wed, 11 Feb 2015 19:48:30 GMT
  Content-Type: application/x-gzip; charset=utf-8
  Content-Length: 1938720
  Connection: keep-alive
  Cache-Control: no-cache
  Set-Cookie: 
_gitorious_session=BAh7BkkiD3Nlc3Npb25faWQGOgZFVEkiJTJhOTEzZTJmZTVjZjZhZDRkMDU2NTA1ZWQ1NDhhZDY1BjsAVA%3D%3D--dde27a4488e6aef56d25db1dbf58ee75f36fd1bf;
 domain=.gitorious.org; path=/; expires=Wed, 04-Mar-2015 19:48:30 GMT; secure; 
HttpOnly
  Accept-Ranges: bytes
  Content-Disposition: attachment; 
filename=lv2-synths-lv2-mdametapiano-ceb5345396425ad526be34c79eae2b4dfe886d5b.tar.gz
  Last-Modified: Wed, 11 Feb 2015 19:34:43 GMT
  Strict-Transport-Security: max-age=31536000
Length: 1938720 (1.8M) [application/x-gzip]
Saving to: ‘0.0.1.tar.gz’

0.0.1.tar.gz100%[=>]   1.85M  1.36MB/s   in 
1.4s   

2015-02-11 20:48:32 (1.36 MB/s) - ‘0.0.1.tar.gz’ saved [1938720/1938720]