Bug 1027169

Summary: FTBFS: Illegal bang-pattern (use -XBangPatterns)
Product: [Fedora] Fedora Reporter: Karsten Hopp <karsten>
Component: ghc-language-javascriptAssignee: Rick Elrod <relrod>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: 20CC: haskell-devel, relrod
Target Milestone: ---   
Target Release: ---   
Hardware: powerpc   
OS: Linux   
Whiteboard:
Fixed In Version: ghc-language-javascript-0.5.8-2.fc20 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-11-26 04:07:27 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Karsten Hopp 2013-11-06 10:11:57 UTC
Description of problem:
[ 6 of 12] Compiling Language.JavaScript.Parser.Lexer ( src/Language/JavaScript/Parser/Lexer.hs, dist/build/Language/JavaScript/Parser/Lexer.o )
templates/GenericTemplate.hs:77:4:
    Illegal bang-pattern (use -XBangPatterns):
    ! i
error: Bad exit status from /var/tmp/rpm-tmp.ckwaaa (%build)

Version-Release number of selected component (if applicable):
ghc-language-javascript-0.5.7-2.fc20


Steps to Reproduce:
1. ppc-koji build --scratch f20 ghc-language-javascript-0.5.7-2.fc20.src.rpm
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Jens Petersen 2013-11-07 07:25:06 UTC
Thanks for reporting this.  I had actually already spotted this one,
but didn't have time to look at it more.

I added a patch for this from Debian, which hopefully should
fix the build.  I wasn't able to verify since the new ghc
and haskell-platform are not in f20 stable yet.

Comment 2 Jens Petersen 2013-11-07 07:30:28 UTC
Should be fixed in ghc-language-javascript-0.5.8-2.fc21.

Ricky any preference how to bring this back to F20?
It is currently a version behind rawhide.

Comment 3 Jens Petersen 2013-11-07 07:39:00 UTC
(Anyway just asking since if language-javascript gets bumped
then hjsmin will need to be rebuild too.)

Comment 4 Rick Elrod 2013-11-07 20:19:07 UTC
I'll go through and update both everywhere.

Comment 5 Fedora Update System 2013-11-07 21:18:41 UTC
ghc-language-javascript-0.5.8-2.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/ghc-language-javascript-0.5.8-2.fc20

Comment 6 Fedora Update System 2013-11-07 21:29:14 UTC
ghc-language-javascript-0.5.8-2.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/ghc-language-javascript-0.5.8-2.fc19

Comment 7 Fedora Update System 2013-11-07 23:29:13 UTC
ghc-language-javascript-0.5.8-2.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/ghc-language-javascript-0.5.8-2.fc18

Comment 8 Fedora Update System 2013-11-08 18:39:29 UTC
Package ghc-language-javascript-0.5.8-2.fc20:
* should fix your issue,
* was pushed to the Fedora 20 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing ghc-language-javascript-0.5.8-2.fc20'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-20945/ghc-language-javascript-0.5.8-2.fc20
then log in and leave karma (feedback).

Comment 9 Fedora Update System 2013-11-26 04:07:27 UTC
ghc-language-javascript-0.5.8-2.fc18 has been pushed to the Fedora 18 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 10 Fedora Update System 2013-11-26 04:13:38 UTC
ghc-language-javascript-0.5.8-2.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 11 Fedora Update System 2013-12-14 03:39:05 UTC
ghc-language-javascript-0.5.8-2.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.