Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at

Bug 1402580

Summary: trojita FTBFS on aarch64 and armv7hl
Product: [Fedora] Fedora Reporter: Raphael Groner <projects.rg>
Component: trojitaAssignee: Raphael Groner <projects.rg>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: unspecified    
Version: rawhideCC: extras-qa, kde-sig, kevin, projects.rg
Target Milestone: ---Keywords: FutureFeature
Target Release: ---   
Hardware: aarch64   
OS: Linux   
Fixed In Version: trojita- 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:
Bug Depends On:    
Bug Blocks: 245418, 485251    

Description Raphael Groner 2016-12-07 21:21:33 UTC
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):

How reproducible:

Steps to Reproduce:
1. koji build --scratch rawhide trojita-0.7-5.srpm

Actual results:
build.log has many times of the above mentioned error message.

Expected results:
builds successfully

Additional info:
Temporarily solved by adding ExcludeArch.

Comment 1 Fedora End Of Life 2017-02-28 10:44:37 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 26 development cycle.
Changing version to '26'.

Comment 2 Raphael Groner 2018-01-09 21:36:58 UTC
Still FTBFS in rawhide.

Comment 3 Raphael Groner 2018-02-03 18:11:18 UTC
Obviously an issue with ragel:

Propably also needed to fix not signed char:

Comment 4 Raphael Groner 2018-07-11 17:51:59 UTC
> /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.

Comment 5 Kevin Kofler 2019-11-17 14:47:28 UTC
The FTBFS is "fixed" by using pregenerated Ragel output instead of running Ragel:

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.