Bug 1402580 - trojita FTBFS on aarch64 and armv7hl
Summary: trojita FTBFS on aarch64 and armv7hl
Keywords:
Status: POST
Alias: None
Product: Fedora
Classification: Fedora
Component: trojita
Version: rawhide
Hardware: aarch64
OS: Linux
unspecified
low
Target Milestone: ---
Assignee: Raphael Groner
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: ARMTracker F-ExcludeArch-ARM
TreeView+ depends on / blocked
 
Reported: 2016-12-07 21:21 UTC by Raphael Groner
Modified: 2019-08-04 16:31 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1402577
: 1450505 (view as bug list)
Environment:
Last Closed:


Attachments (Terms of Use)


Links
System ID Priority Status Summary Last Updated
Red Hat Bugzilla 1401716 None CLOSED trojita: FTBFS in Fedora Rawhide 2019-10-10 18:43:08 UTC
Red Hat Bugzilla 1402577 None POST trojita FTBFS on ppc64 and ppc64le 2019-10-10 18:43:08 UTC
Red Hat Bugzilla 1402582 None CLOSED trojita FTBFS on armv7hl because ragel core dumps 2019-10-10 18:43:08 UTC
Red Hat Bugzilla 1450505 None POST trojita FTBFS on s390x 2019-10-10 18:43:08 UTC

Internal Links: 1401716 1402577 1402582 1450505

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):
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

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:
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/

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.


Note You need to log in before you can comment on or make changes to this bug.