You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@yetus.apache.org by "Allen Wittenauer (JIRA)" <ji...@apache.org> on 2019/08/14 14:34:00 UTC
[jira] [Resolved] (YETUS-901) shellcheck install failing when
building docker image
[ https://issues.apache.org/jira/browse/YETUS-901?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Allen Wittenauer resolved YETUS-901.
------------------------------------
Resolution: Fixed
Assignee: Allen Wittenauer
> 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
> Assignee: Allen Wittenauer
> Priority: Major
> Fix For: 0.11.0
>
> Time Spent: 1h 10m
> Remaining Estimate: 0h
>
> 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...
> [91mcabal: Error: some packages failed [0m[91mto install:
> [0m[91mShellCheck-0.7.0[0m[91m failed durin[0m[91mg t[0m[91mhe [0m[91mconf[0m[91migure st[0m[91mep. The[0m[91m e[0m[91mxce[0m[91mpt[0m[91mi[0m[91mon was:
> [0m[91mExitFailure (-[0m[91m11[0m[91m)
> [0mThe 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)