Sean Busbey created YETUS-901:
---------------------------------

             Summary: shellcheck install failing when building docker image
                 Key: YETUS-901
                 URL: https://issues.apache.org/jira/browse/YETUS-901
             Project: Yetus
          Issue Type: Bug
          Components: Precommit
    Affects Versions: 0.11.0
            Reporter: Sean Busbey
             Fix For: 0.11.0


New-ish version of shellcheck. maybe needs a newer version of cabal to install?

{code}

Downloading ShellCheck-0.7.0...
Configuring ShellCheck-0.7.0...
Failed to install ShellCheck-0.7.0
Build log ( /root/.cabal/logs/ShellCheck-0.7.0.log ):
[1 of 1] Compiling Main             ( 
/tmp/cabal-tmp-369/ShellCheck-0.7.0/dist/setup/setup.hs, 
/tmp/cabal-tmp-369/ShellCheck-0.7.0/dist/setup/Main.o )
Linking /tmp/cabal-tmp-369/ShellCheck-0.7.0/dist/setup/setup ...
Warning: ShellCheck.cabal: Ignoring unknown section type: custom-setup
Configuring ShellCheck-0.7.0...
cabal: Error: some packages failed to install:
ShellCheck-0.7.0 failed during the 
configure step. The 
exception was:
ExitFailure (-11)
The command '/bin/bash -o pipefail -c apt-get -q update && apt-get -q 
install --no-install-recommends -y cabal-install     && apt-get clean     && rm 
-rf /var/lib/apt/lists/*     && cabal update     && cabal install -j ShellCheck 
    && cp -p /root/.cabal/bin/shellcheck /usr/local/bin/shellcheck     && apt 
remove -y ghc cabal-install     && apt autoremove -y     && rm -rf 
/root/.cabal' returned a non-zero code: 1
ERROR: Docker failed to build yetus/yetus:de5900d.
{code}



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

Reply via email to