Bug 1402580
| Summary: | trojita FTBFS on aarch64 and armv7hl | |||
|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Raphael Groner <projects.rg> | |
| Component: | trojita | Assignee: | Raphael Groner <projects.rg> | |
| Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | |
| Severity: | low | Docs Contact: | ||
| Priority: | unspecified | |||
| Version: | rawhide | CC: | extras-qa, kde-sig, kevin, projects.rg | |
| Target Milestone: | --- | Keywords: | FutureFeature | |
| Target Release: | --- | |||
| Hardware: | aarch64 | |||
| OS: | Linux | |||
| Whiteboard: | ||||
| Fixed In Version: | trojita-0.7.0.1-0.4.20191104git36b0587.fc32 | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | ||
| Clone Of: | 1402577 | |||
| : | 1450505 (view as bug list) | Environment: | ||
| Last Closed: | 2019-11-17 13:36:43 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: | ||||
| Bug Depends On: | ||||
| Bug Blocks: | 245418, 485251 | |||
This bug appears to have been reported against 'rawhide' during the Fedora 26 development cycle. Changing version to '26'. Still FTBFS in rawhide. Obviously an issue with ragel: http://www.colm.net/pipermail/ragel/2013-November/001633.html Propably also needed to fix not signed char: https://gerrit.vesnicky.cesnet.cz/r/#/c/986/ > /builddir/build/BUILD/trojita-0.7/src/Imap/Parser/Rfc5322HeaderParser.cpp:2238:3:
> error: narrowing conversion of '-1' from 'int' to 'char' inside { } [-Wnarrowing]
We see the same issue with armv7hl, after ragel is fixed.
The FTBFS is "fixed" by using pregenerated Ragel output instead of running Ragel: https://src.fedoraproject.org/rpms/trojita/c/2d4720eade078709e37e3c9d6da2cf07a693023d?branch=master I think they patched the pregenerated Ragel output to work around this Ragel bug. Ragel still needs to be fixed, but we need to file a bug against Ragel for that. |
Description of problem: trojita FTBFS on aarch64 /builddir/build/BUILD/trojita-0.7/src/Imap/Parser/Rfc5322HeaderParser.cpp:2238:3: error: narrowing conversion of '-1' from 'int' to 'char' inside { } [-Wnarrowing] Version-Release number of selected component (if applicable): 0.7-5 How reproducible: yes Steps to Reproduce: 1. koji build --scratch rawhide trojita-0.7-5.srpm 2. 3. Actual results: build.log has many times of the above mentioned error message. Expected results: builds successfully Additional info: Temporarily solved by adding ExcludeArch. http://koji.fedoraproject.org/koji/taskinfo?taskID=16790335