Bug 1304549

Summary: psi: FTBFS in rawhide on armhfp
Product: [Fedora] Fedora Reporter: Raphael Groner <projects.rg>
Component: psiAssignee: Ivan Romanov <drizt72>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: rawhideCC: drizt72, projects.rg, sven
Target Milestone: ---   
Target Release: ---   
Hardware: armhfp   
OS: Linux   
URL: https://apps.fedoraproject.org/koschei/package/psi
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-02-05 12:44:30 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: 1305208    
Attachments:
Description Flags
build.log none

Description Raphael Groner 2016-02-03 23:44:55 UTC
Created attachment 1120937 [details]
build.log

Description of problem:
Package psi fails to build from source in rawhide.

Version-Release number of selected component (if applicable):
0.15-16.fc24

Steps to Reproduce:
koji build --scratch f24 psi-0.15-16.fc24.src.rpm

Additional info:
This package is tracked by Koschei. See:
https://apps.fedoraproject.org/koschei/package/psi

Comment 1 Raphael Groner 2016-02-03 23:46:41 UTC
The interesting part of build.log:

g++ -c -pipe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fPIC -Wall -W -D_REENTRANT -DIRISNET_STATIC -DHAVE_XSS -DHAVE_ENCHANT -DHAVE_CONFIG -DIRIS_XMPP_JID_DEPRECATED -DXMPP_TEST -DQT_NO_DEBUG -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/lib/qt4/mkspecs/linux-g++ -I. -I/usr/include/QtCore -I/usr/include/QtNetwork -I/usr/include/QtGui -I/usr/include/QtXml -I/usr/include -I/usr/include/QtCrypto -I/usr/include/minizip -I/usr/include/jdns -I/usr/include/enchant -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I../irisnet/corelib -I../irisnet/noncore -I../irisnet/noncore/legacy -I../irisnet/noncore/cutestuff -I../../src -I../../src -I../../src -I../../src -I../../src -I../../src -I. -I../../src -Ixmpp-core -Ixmpp-im -I.moc -o .obj/jid.o jid/jid.cpp
base64/base64.cpp: In static member function 'static QByteArray XMPP::Base64::decode(const QString&)':
base64/base64.cpp:65:2: error: narrowing conversion of '-1' from 'int' to 'char' inside { } [-Wnarrowing]
  };
  ^
base64/base64.cpp:65:2: error: narrowing conversion of '-1' from 'int' to 'char' inside { } [-Wnarrowing]

…
base64/base64.cpp:65:2: error: narrowing conversion of '-1' from 'int' to 'char' inside { } [-Wnarrowing]
Makefile:570: recipe for target '.obj/base64.o' failed
make[3]: *** [.obj/base64.o] Error 1

Comment 2 Raphael Groner 2016-02-03 23:51:00 UTC
From koschei log:
2016-01-29 11:56:02 
 libgcc 	5.3.1-3.fc24 	> 	6.0.0-0.5.fc24 	
 libstdc++ 	5.3.1-3.fc24 	> 	6.0.0-0.5.fc24
 gcc    	5.3.1-3.fc24 	> 	6.0.0-0.5.fc24 	
 gcc-c++ 	5.3.1-3.fc24 	> 	6.0.0-0.5.fc24 	
 go-srpm-macros	2-4.fc24 	> 	2-5.fc24

Comment 3 Raphael Groner 2016-02-04 10:54:23 UTC
Fixed.
http://koji.fedoraproject.org/koji/taskinfo?taskID=12845266