Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1323763 - ShellCheck Package Missing From EPEL/RHEL
Summary: ShellCheck Package Missing From EPEL/RHEL
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: ShellCheck
Version: epel7
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jens Petersen
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On: 1200404
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-04-04 15:47 UTC by Steve Kuznetsov
Modified: 2017-02-15 00:20 UTC (History)
6 users (show)

Fixed In Version: ShellCheck-0.3.5-1.el7
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-02-15 00:20:00 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Steve Kuznetsov 2016-04-04 15:47:53 UTC
Description of problem:
ShellCheck is not available in the EPEL7/RHEL7 repositories, but it is available in Fedora.

Version-Release number of selected component (if applicable):
RHEL7

How reproducible:
Search for the package on RHEL7.

Steps to Reproduce:
1. yum search ShellCheck

Actual results:
========================================================================================================================= N/S matched: ShellCheck =========================================================================================================================
csmock-plugin-shellcheck.noarch : csmock plug-in providing the support for ShellCheck.

Expected results:
========================================================================================================================= N/S matched: ShellCheck =========================================================================================================================
csmock-plugin-shellcheck.noarch : csmock plug-in providing the support for ShellCheck.
ghc-ShellCheck.x86_64 : Haskell ShellCheck library
ghc-ShellCheck-devel.x86_64 : Haskell ShellCheck library development files
ShellCheck.x86_64 : Tool for checking common errors in POSIX shell scripts


Additional info:

Comment 1 Christopher Tubbs 2016-07-13 06:52:56 UTC
Is there anything preventing packaging for EPEL7, like a missing dependency? I'm not that familiar with Haskell, but I love this tool, so if there's any way I can help package it for EPEL7, let me know. At the very least, I'm willing to test and give karma. It looks like the branch exists for EPEL7, but nothing's been done with it yet.

Comment 2 Jens Petersen 2016-07-15 01:24:59 UTC
Unfortunately ppc64le has been blocking EPEL7 builds for some time: see bug 1200404.

Comment 3 Christopher Tubbs 2016-07-15 06:17:20 UTC
(In reply to Jens Petersen from comment #2)
> Unfortunately ppc64le has been blocking EPEL7 builds for some time: see bug
> 1200404.

I'm not sure I understand. Are you saying ghc isn't available at all for EPEL7, because it's not working on ppc64le? Or that this package is waiting on ppc64le support for ghc in EPEL7?

It's my understanding that EPEL7 is pretty much x86_64 only at this point. At the very least, ppc64le isn't a primary architecture, and it's not even supported by CentOS 7. In either case, I don't see why ppc64le should block ghc or ShellCheck from EPEL7 support today for x86_64, which are certainly EPEL7's largest user base.

What am I misunderstanding?

Comment 4 Jens Petersen 2016-07-15 10:15:45 UTC
It looks like the f22 branch with patched 0.3.5 should build at least (maybe even 0.3.6?).

Comment 5 Jens Petersen 2016-07-15 10:18:10 UTC
Christopher, ghc.epel7 has not been built yet for ppc64le therefore all Haskell builds for epel7 currently fail (unless they exclude ppc64le).

ppc64le is a primary arch for EPEL7 afaik.

Comment 7 Orion Poplawski 2016-07-15 21:46:10 UTC
It looks like we're also limited to ShellCheck-0.3.4 from F21 in EPEL7 due to 0.3.5+ requiring QuickCheck >= 2.7.4 (epel7 has 2.6).

Comment 8 Christopher Tubbs 2016-07-15 22:36:45 UTC
(In reply to Jens Petersen from comment #5)
> Christopher, ghc.epel7 has not been built yet for ppc64le therefore all
> Haskell builds for epel7 currently fail (unless they exclude ppc64le).
> 
> ppc64le is a primary arch for EPEL7 afaik.

Oh, I see. Well, I still think we can just omit the failing arches until the blocking dependencies are satisfied.

(In reply to Orion Poplawski from comment #7)
> It looks like we're also limited to ShellCheck-0.3.4 from F21 in EPEL7 due
> to 0.3.5+ requiring QuickCheck >= 2.7.4 (epel7 has 2.6).

QuickCheck could be updated. In the meantime, I think it'd be fine to ship the older ShellCheck version.

Comment 9 greg.hellings 2017-01-05 21:00:20 UTC
Any plans to ship this?

Comment 10 Jens Petersen 2017-01-10 02:23:58 UTC
Yes, ghc et al have been updated (rebuilt) to include ppc64le and aarch64 builds
(currenting in epel7-testing), so it should be possible to build ShellCheck
soon for epel7. :-)

Comment 11 Jens Petersen 2017-01-10 02:30:27 UTC
Greg, I see you have commit rights for epel7.

The big ghc Bodhi update should be able to go stable tomorrow.
After that I think you could build ShellCheck.
If you prefer I can also do the initial build for EPEL7, I don't mind.

(I would have included it in my update but missed it due to EPEL7
not being watched by haskell-sig.)

Comment 12 greg.hellings 2017-01-10 13:12:35 UTC
Jens, attempting to build 0.4.4 in EPEL7 mock right now is giving me the dependency error Christopher mentioned above.

Configuring ShellCheck-0.4.4...
Setup: At least the following dependencies are missing:
QuickCheck >=2.7.4, mtl >=2.2.1

It looks like you're the maintainer for both of those, so I'd need to wait for you to update those if we're going with the newer version. If you don't want to update them, I can roll the older version of ShellCheck now.

Comment 13 Jens Petersen 2017-01-13 08:08:18 UTC
(In reply to greg.hellings from comment #12)

I am afraid I don't have any plans to update them for the foreseeable future
(though I am pondering a rebase eventually for EPEL7). Both packages
are part of haskell-platform so it is a non-trivial amount of work.

So please go ahead with an older version of ShellCheck.
The EPEL7 Haskell rebuilds got pushed stable this week,
so you should be able to build for all arch's hopefully.

Comment 14 Fedora Update System 2017-02-13 09:02:34 UTC
ShellCheck-0.3.5-1.el7 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2017-294039bd18

Comment 15 Jens Petersen 2017-02-13 09:04:41 UTC
I went ahead, and merged and built the F22 branch:
0.3.5 seems the the be newest version that builds without
patching on our EPEL7 stack.

Comment 16 Fedora Update System 2017-02-13 23:19:15 UTC
ShellCheck-0.3.5-1.el7 has been pushed to the Fedora EPEL 7 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2017-294039bd18

Comment 17 Fedora Update System 2017-02-15 00:20:00 UTC
ShellCheck-0.3.5-1.el7 has been pushed to the Fedora EPEL 7 stable repository. If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.