[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
174/376: build-remote.pl: UTF-8-decode errors
From: |
Ludovic Courtès |
Subject: |
174/376: build-remote.pl: UTF-8-decode errors |
Date: |
Wed, 28 Jan 2015 22:04:50 +0000 |
civodul pushed a commit to tag 1.8
in repository guix.
commit d2d5543625f93961b87812372858713b70a243d4
Author: Eelco Dolstra <address@hidden>
Date: Fri Sep 5 11:53:11 2014 +0200
build-remote.pl: UTF-8-decode errors
---
scripts/build-remote.pl.in | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/scripts/build-remote.pl.in b/scripts/build-remote.pl.in
index f74ba78..5f0c72b 100755
--- a/scripts/build-remote.pl.in
+++ b/scripts/build-remote.pl.in
@@ -8,6 +8,7 @@ use Nix::Config;
use Nix::SSH;
use Nix::CopyClosure;
use Nix::Store;
+use Encode;
no warnings('once');
STDERR->autoflush(1);
@@ -264,7 +265,7 @@ writeInt($maxSilentTime, $to);
writeInt($buildTimeout, $to);
my $res = readInt($from);
if ($res != 0) {
- my $msg = readString($from);
+ my $msg = decode("utf-8", readString($from));
print STDERR "error: $msg on ‘$hostName’\n";
exit $res;
}
- 166/376: Shut up "Wide character" warnings in Perl scripts, (continued)
- 166/376: Shut up "Wide character" warnings in Perl scripts, Ludovic Courtès, 2015/01/28
- 167/376: Add an 'optimiseStore' remote procedure call., Ludovic Courtès, 2015/01/28
- 171/376: Fix build-remote.pl, Ludovic Courtès, 2015/01/28
- 172/376: tests/remote-builds.nix: Time out faster, Ludovic Courtès, 2015/01/28
- 176/376: Add support for using a build directory, Ludovic Courtès, 2015/01/28
- 178/376: Support specifying a JAR manifest, Ludovic Courtès, 2015/01/28
- 181/376: Add some hyperlinks between NIXPATH and -I, Ludovic Courtès, 2015/01/28
- 165/376: Add disallowedReferences / disallowedRequisites, Ludovic Courtès, 2015/01/28
- 173/376: Tweak, Ludovic Courtès, 2015/01/28
- 168/376: Fix boost::too_many_args error, Ludovic Courtès, 2015/01/28
- 174/376: build-remote.pl: UTF-8-decode errors,
Ludovic Courtès <=
- 180/376: Don't rely on process substitution, Ludovic Courtès, 2015/01/28
- 177/376: Improved support for building JARs, Ludovic Courtès, 2015/01/28
- 187/376: Drop reference to FreeBSD, Ludovic Courtès, 2015/01/28
- 189/376: Tweak some chapter titles, Ludovic Courtès, 2015/01/28
- 175/376: Hack to prevent Makefile.config from being regenerated by "make clean", Ludovic Courtès, 2015/01/28
- 186/376: Remove pointless "license" section, Ludovic Courtès, 2015/01/28
- 190/376: Undocument NIX_OTHER_STORES, Ludovic Courtès, 2015/01/28
- 184/376: Nicer file names for the release notes, Ludovic Courtès, 2015/01/28
- 198/376: Derive Emacs nix-mode from prog-mode., Ludovic Courtès, 2015/01/28
- 179/376: Fix JAR installation, Ludovic Courtès, 2015/01/28