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
https://koji.fedoraproject.org/koji/taskinfo?taskID=19512313
Still FTBFS in rawhide.
https://docs.fedoraproject.org/en-US/packaging-guidelines/#_arch_specific_runtime_and_build_time_dependencies
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.