Builder Client encounters errors like:
builder-client: fd:11: hGetLine: resource exhausted (Resource temporarily unavailable)
The string resource exhausted comes from the Show instance for IOErrorType:
| --- settings.in 2017-07-23 14:25:55.733820769 +0000 | |
| +++ settings.in.patched 2017-07-23 14:26:39.156012024 +0000 | |
| @@ -1,33 +1,33 @@ | |
| [("GCC extra via C opts", "@GccExtraViaCOpts@"), | |
| ("C compiler command", "@SettingsCCompilerCommand@"), | |
| ("C compiler flags", "@SettingsCCompilerFlags@"), | |
| - ("C compiler link flags", "@SettingsCCompilerLinkFlags@"), | |
| + ("C compiler link flags", "@SettingsCCompilerLinkFlags@ -lssp"), | |
| ("Haskell CPP command","@SettingsHaskellCPPCommand@"), | |
| ("Haskell CPP flags","@SettingsHaskellCPPFlags@"), |
| #!/bin/bash | |
| # | |
| # chkconfig: 235 10 90 | |
| # description: TeamCity startup script | |
| # | |
| TEAMCITY_USER=teamcity | |
| TEAMCITY_DIR=/home/teamcity/TeamCity/ | |
| TEAMCITY_SERVER=bin/teamcity-server.sh |
| #!/usr/sbin/dtrace -s | |
| syscall::read:return | |
| /errno != 0/ | |
| { | |
| trace(execname); | |
| printf("errno=%d\n", errno); | |
| ustack(); | |
| } |
| #!/usr/sbin/dtrace -s | |
| syscall::open:entry | |
| /arg0 != NULL/ | |
| { | |
| self->pathptr = arg0; | |
| self->oflag = arg1; | |
| } | |
| syscall::open:return |
Builder Client encounters errors like:
builder-client: fd:11: hGetLine: resource exhausted (Resource temporarily unavailable)
The string resource exhausted comes from the Show instance for IOErrorType:
| #!/bin/sh | |
| set -o xtrace | |
| # A script to bootstrap cabal-install. | |
| # It works by downloading and installing the Cabal, zlib and | |
| # HTTP packages. It then installs cabal-install itself. | |
| # It expects to be run inside the cabal-install directory. | |
| # install settings, you can override these by setting environment vars |
| import java.util.Set; | |
| import java.util.concurrent.ConcurrentHashMap; | |
| public class HelloCovariance { | |
| public static void main(String[] args) { | |
| ConcurrentHashMap<String, String> properties = new ConcurrentHashMap<>(); | |
| Set<String> keySet = properties.keySet(); | |
| } | |
| } |
EPoll is now available, but epoll.h is missing #include <sys/stdint.h>
wesolows suggested that a lofs mount would let me alter the content of that file.
I could create a corrected epoll.h and lofs mount it into my builder zones.
20140501T225642Z and 20140515T211957Z are the only affected platform images. Hopefully the next release will include a fix for this.
| pkgin -y update | |
| pkgin -y full-upgrade | |
| pkgin -y install haskell-platform build-essential pkg-config gsasl gnutls xml2 zlib | |
| export PATH=~/.cabal/bin:$PATH | |
| cabal update | |
| cabal install cabal-install | |
| cabal update | |
| cabal install c2hs -j8 | |
| cabal install git-annex -j8 | |
| git-annex help |