Your package 0ad failed to build from source in current rawhide. https://koji.fedoraproject.org/koji/taskinfo?taskID=17709990 For details on mass rebuild see https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
Created attachment 1251366 [details] build.log
Created attachment 1251367 [details] root.log
Created attachment 1251368 [details] state.log
../../../source/gui/CDropDown.cpp: In member function 'virtual InReaction CDropDown::ManuallyHandleEvent(const SDL_Event_*)': ../../../source/gui/CDropDown.cpp:348:94: error: call of overloaded 'abs(unsigned int)' is ambiguous diff = abs(pList->m_Items[i].GetOriginalString().LowerCase()[j] - (int)m_InputBuffer[j]); ^ This is documented at https://gcc.gnu.org/gcc-7/porting_to.html#cmath
This bug appears to have been reported against 'rawhide' during the Fedora 26 development cycle. Changing version to '26'.
A right, this only happens on arm, where 'char' is 'unsigned char', while most other architectures have 'char' which is 'signed char'. The code is subtracting (unsigned char) - (int), which is promoted to unsigned int, and abs((unsigned int)) is undefined. So the fix would be: - diff = abs(pList->m_Items[i].GetOriginalString().LowerCase()[j] - (int)m_InputBuffer[j]); + diff = abs((int) pList->m_Items[i].GetOriginalString().LowerCase()[j] - (int)m_InputBuffer[j]); Should be easy enough.
(In reply to Zbigniew Jędrzejewski-Szmek from comment #6) > A right, this only happens on arm, where 'char' is 'unsigned char', while > most other architectures have 'char' which is 'signed char'. The code is Strictly speaking char is signed or unsigned, but is not signed char or unsigned char. It's always a distinct type. > subtracting (unsigned char) - (int), which is promoted to unsigned int, and > abs((unsigned int)) is undefined. > > So the fix would be: > > - diff = abs(pList->m_Items[i].GetOriginalString().LowerCase()[j] - > (int)m_InputBuffer[j]); > + diff = abs((int) > pList->m_Items[i].GetOriginalString().LowerCase()[j] - > (int)m_InputBuffer[j]); > > Should be easy enough. Looks good to me.
I need to rebuild this for Boost 1.64 anyway, so I'll make that change.
Fixed https://koji.fedoraproject.org/koji/buildinfo?buildID=919640