Description of problem: Package opencv fails to build from source in Fedora Rawhide. /usr/include/OpenEXR/ImathFun.h:135:17: error: macro "iszero" passed 2 arguments, but takes just 1 iszero (T a, T t) ^ ... /usr/include/OpenEXR/ImathFun.h:135:1: error: 'Imath_2_2::iszero' declared as an 'inline' variable iszero (T a, T t) ^~~~~~ /usr/include/OpenEXR/ImathFun.h:137:5: error: expected primary-expression before 'return' return (IMATH_INTERNAL_NAMESPACE::abs (a) <= t) ? 1 : 0; ^~~~~~ /usr/include/OpenEXR/ImathFun.h:137:5: error: expected '}' before 'return' /usr/include/OpenEXR/ImathFun.h:137:5: error: expected ';' before 'return' /usr/include/OpenEXR/ImathFun.h: In function 'bool finitef(float)': /usr/include/OpenEXR/ImathFun.h:249:1: error: ambiguating new declaration of 'bool finitef(float)' finitef (float f) ^~~~~~~ ... /usr/include/OpenEXR/ImathFun.h: In function 'bool finited(double)': /usr/include/OpenEXR/ImathFun.h:260:22: error: 'Int64' does not name a type union {double d; Int64 i;} u; ^~~~~ /usr/include/OpenEXR/ImathFun.h:263:15: error: 'union finited(double)::<anonymous>' has no member named 'i' return (u.i & 0x7ff0000000000000LL) != 0x7ff0000000000000LL; ^ ... /usr/include/OpenEXR/ImathFun.h: At global scope: /usr/include/OpenEXR/ImathFun.h:267:1: error: expected declaration before '}' token IMATH_INTERNAL_NAMESPACE_HEADER_EXIT ^ Dependency changes in buildroot since last success build glibc 2.24.90-8.fc26 > 2.24.90-9.fc26 libdrm-devel 2.4.70-2.fc26 > 2.4.71-1.fc26 mariadb-libs 3:10.1.17-1.fc26 > 3:10.1.18-1.fc26 kernel-headers 4.8.0-1.fc26 > 4.9.0-0.rc0.git1.1.... glibc-common 2.24.90-8.fc26 > 2.24.90-9.fc26 libdrm 2.4.70-2.fc26 > 2.4.71-1.fc26 libcrypt-nss 2.24.90-8.fc26 > 2.24.90-9.fc26 python2-pillow 3.4.0-1.fc26 > 3.4.1-1.fc26 glibc-devel 2.24.90-8.fc26 > 2.24.90-9.fc26 cups-libs 1:2.2.0-2.fc26 > 1:2.2.1-1.fc26 libselinux 2.5-11.fc26 > 2.5-12.fc26 glibc-all-langpacks 2.24.90-8.fc26 > 2.24.90-9.fc26 grep 2.25-1.fc25 > 2.26-1.fc26 tzdata 2016f-1.fc25 > 2016g-1.fc26 mariadb-common 3:10.1.17-1.fc26 > 3:10.1.18-1.fc26 glibc-headers 2.24.90-8.fc26 > 2.24.90-9.fc26 libsepol 2.5-9.fc26 > 2.5-10.fc26 ca-certificates 2016.2.9-3.fc26 > 2016.2.10-2.fc26 hwdata 0.292-1.fc26 > 0.293-1.fc26 mariadb-config 3:10.1.17-1.fc26 > 3:10.1.18-1.fc26 libsemanage 2.5-7.fc26 > 2.5-8.fc26 Additional info: This package is tracked by Koschei. See: http://apps.fedoraproject.org/koschei/package/opencv
Josef Ridky, Jozef Mlich or Pavel Kajaba can you take care of it ? Thanks
This is a glibc change, which adds an "iszero" macro that breaks anything trying to define "iszero" as an identifier.
(In reply to Jonathan Wakely from comment #2) > This is a glibc change, which adds an "iszero" macro that breaks anything > trying to define "iszero" as an identifier. Can you make and attach here one patch ? please . Thanks.
If you rebuild against glibc-2.24.90-12.fc26 in a couple of hours, this issue should be gone.
Fixed by newer glibc. See: http://apps.fedoraproject.org/koschei/package/opencv