Bug 1144919 - ShellCheck 0.3.4 fails to build on ARM due to TemplateHaskell
Summary: ShellCheck 0.3.4 fails to build on ARM due to TemplateHaskell
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: ShellCheck
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Dridi Boukelmoune
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-09-22 02:25 UTC by Jens Petersen
Modified: 2014-10-26 20:46 UTC (History)
2 users (show)

Fixed In Version: ShellCheck-0.3.4-1.fc22
Clone Of:
Environment:
Last Closed: 2014-10-01 03:05:34 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Jens Petersen 2014-09-22 02:25:03 UTC
Description of problem:
Thanks for updating ShellCheck master to 0.3.4.
However I noticed the build failed on ARM :-(
http://koji.fedoraproject.org/koji/taskinfo?taskID=7572307 [1]
due to the use of TemplateHaskell it seems.

AFAICT template-haskell is only being used for some
QuickCheck tests that are defined in several of the
library modules... so a workaround for now seems
to be to skip though test functions on ARM
though it is not ideal.

I am hoping that ghc-7.8.3 (coming soon to Rawhide)
may fix some of the TemplateHaskell issues we have
been seeing on ARM.


[4 of 6] Compiling ShellCheck.Parser ( ShellCheck/Parser.hs, dist/build/ShellCheck/Parser.o )
Loading package ghc-prim ... linking ... done.
Loading package integer-gmp ... linking ... done.
Loading package base ... linking ... done.
Loading package array-0.4.0.1 ... linking ... done.
Loading package deepseq-1.3.0.1 ... linking ... done.
Loading package bytestring-0.10.0.2 ... linking ... done.
Loading package containers-0.5.0.0 ... linking ... done.
Loading package transformers-0.3.0.0 ... linking ... done.
Loading package mtl-2.1.2 ... linking ... done.
Loading package regex-base-0.93.2 ... linking ... done.
Loading package regex-posix-0.95.2 ... linking ... done.
Loading package regex-compat-0.95.1 ... linking ... done.
Loading package text-0.11.3.1 ... linking ... done.
Loading package parsec-3.1.3 ... linking ... done.
Loading package pretty-1.1.1.0 ... linking ... done.
Loading package syb-0.4.0 ... linking ... done.
Loading package json-0.7 ... linking ... done.
Loading package filepath-1.3.0.1 ... linking ... done.
Loading package old-locale-1.0.0.5 ... linking ... done.
Loading package time-1.4.0.1 ... linking ... done.
Loading package unix-2.6.0.1 ... linking ... done.
Loading package directory-1.2.0.1 ... linking ... done.
Loading package random-1.0.1.1 ... linking ... done.
Loading package template-haskell ... linking ... done.
Loading package QuickCheck-2.6 ... linking ... done.
error: Bad exit status from /var/tmp/rpm-tmp.IjpneL (%build)
    Bad exit status from /var/tmp/rpm-tmp.IjpneL (%build)

Comment 1 Jens Petersen 2014-09-22 03:28:07 UTC
Okay I went ahead and "commented" out on ARM the runTests which are
triggering the TemplateHaskell, which fixes the build. :)

http://koji.fedoraproject.org/koji/taskinfo?taskID=7646140

Comment 2 Jens Petersen 2014-10-01 03:05:34 UTC
http://koji.fedoraproject.org/koji/buildinfo?buildID=576956

Maybe good to build 0.3.4 for F21 too?

Comment 3 Dridi Boukelmoune 2014-10-26 20:46:32 UTC
Hi Jens,

Thank you for having taken care of the ARM issue. I currently don't have much time to give to my packages but I'll submit updates this evening. Already did a vcsh update, now I'll do ShellCheck.

Dridi


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