Bug 1450505
| Summary: | trojita FTBFS on s390x | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Raphael Groner <projects.rg> |
| Component: | trojita | Assignee: | Kevin Kofler <kevin> |
| Status: | POST --- | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | low | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | extras-qa, kde-sig, kevin, lxqt-sig, projects.rg |
| Target Milestone: | --- | Keywords: | FutureFeature |
| Target Release: | --- | ||
| Hardware: | s390x | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Enhancement | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | 1402580 | Environment: | |
| Last Closed: | 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: | 1402577 | ||
| Bug Blocks: | 485231 | ||
Still FTBFS in rawhide. This package has changed maintainer in the Fedora. Reassigning to the new maintainer of this component. This package has changed maintainer in the Fedora. Reassigning to the new maintainer of this component. > /builddir/build/BUILD/trojita-0.7/src/Imap/Parser/Rfc5322HeaderParser.cpp:2238:3: error: narrowing conversion of '-1' from 'int' to 'char' inside { } [-Wnarrowing] Wiki page for s390x tells me that char is unsigned by default, see some FAQ. But meanwhile it might be outdated information. https://www.arm.linux.org.uk/docs/faqs/signedchar.php Not sure why you are putting me on needinfo here. Yes, this is clearly a bug related to unsigned char. See also bug #1402580, which is the same on ARM, where char is also unsigned by default. The bug there was "fixed" by using pregenerated Ragel output. That should fix this issue on s390x too, so if this still FTBFS on s390x, there is another reason. |
Description of problem: trojita FTBFS on s309x /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-7 How reproducible: yes Steps to Reproduce: 1. koji build --scratch rawhide trojita-0.7-7.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. https://koji.fedoraproject.org/koji/taskinfo?taskID=19492104