Bug 1423469

Summary: ragel: FTBFS (for only armv7hl) in Fedora Rawhide
Product: [Fedora] Fedora Reporter: Jun Aruga <jaruga>
Component: ragelAssignee: Jeremy Hinegardner <jeremy>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: ignatenko, jeremy, jtfas90, vondruch
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
URL: http://apps.fedoraproject.org/koschei/package/ragel
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-02-17 12:29:45 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:
Embargoed:

Description Jun Aruga 2017-02-17 11:50:33 UTC
Description of problem:
Package ragel fails to build from source in Fedora Rawhide.

I got build error in rubygem-puma package scratch build that is using ragel for only armhfp build environment.

I tried 3 times. and I got same result.
https://koji.fedoraproject.org/koji/taskinfo?taskID=17901210
https://kojipkgs.fedoraproject.org//work/tasks/1216/17901216/build.log

```
+ ragel ext/puma_http11/http11_parser.rl -C -G2 -I ext/puma_http11 -o ext/puma_http11/http11_parser.c
ragel: tree.c:958: colm_tree_downref: Assertion `tree->refs > 0' failed.
RPM build errors:
/var/tmp/rpm-tmp.PAP6p7: line 46:  6134 Aborted                 (core dumped) ragel ext/puma_http11/http11_parser.rl -C -G2 -I ext/puma_http11 -o ext/puma_http11/http11_parser.c
```

Then I tried scratch build for ragel.
Then I got an error for only armhfp.
https://koji.fedoraproject.org/koji/taskinfo?taskID=17915903
https://kojipkgs.fedoraproject.org//work/tasks/5909/17915909/build.log

```
colm: tree.c:958: colm_tree_downref: Assertion `tree->refs > 0' failed.
make[2]: *** [Makefile:2285: parse.c] Aborted (core dumped)
```

So, I want you to fix the ragel issue.

Thank you.

Version-Release number of selected component (if applicable):
ragel-7.0.0.9-2.fc26

Steps to Reproduce:
$ fedpkg scratch-build --srpm

Additional info:
https://apps.fedoraproject.org/koschei/package/ragel

Comment 1 Vít Ondruch 2017-02-17 12:29:45 UTC

*** This bug has been marked as a duplicate of bug 1402582 ***