perl-Crypt-OpenSSL-X509-1.803-4.fc22 fails to build in F22 with GCC 5.0: gcc -c -I/usr/include/openssl -I/usr/local/include/ssl -I/usr/local/ssl/include -D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -Wall -Werror -DVERSION=\"1.803\" -DXS_VERSION=\"1.803\" -fPIC "-I/usr/lib64/perl5/CORE" X509.c X509.xs: In function 'hv_exts': X509.xs:184:12: error: logical not is only applied to the left hand side of comparison [-Werror=logical-not-parentheses] if ( ! c > 0 ) { ^ X509.xs: In function 'XS_Crypt__OpenSSL__X509_extension': X509.xs:863:10: error: logical not is only applied to the left hand side of comparison [-Werror=logical-not-parentheses] if (!c > 0) { ^ cc1: all warnings being treated as errors Makefile:347: recipe for target 'X509.o' failed Difference between working and failing build root is: libgcc 4.9.2-5.fc22 > 5.0.0-0.7.fc22 libstdc++ 4.9.2-5.fc22 > 5.0.0-0.7.fc22 libstdc++-devel 4.9.2-5.fc22 > 5.0.0-0.7.fc22 libblkid 2.26-0.2.fc22 > 2.26-0.3.fc22 libuuid 2.26-0.2.fc22 > 2.26-0.3.fc22 libfdisk 2.26-0.2.fc22 > 2.26-0.3.fc22 libgomp 4.9.2-5.fc22 > 5.0.0-0.7.fc22 libmount 2.26-0.2.fc22 > 2.26-0.3.fc22 libsmartcols 2.26-0.2.fc22 > 2.26-0.3.fc22 isl > 0.14-3.fc22 cpp 4.9.2-5.fc22 > 5.0.0-0.7.fc22 util-linux 2.26-0.2.fc22 > 2.26-0.3.fc22 gcc-c++ 4.9.2-5.fc22 > 5.0.0-0.7.fc22 gcc 4.9.2-5.fc22 > 5.0.0-0.7.fc22
Reported to upstream <https://github.com/dsully/perl-crypt-openssl-x509/issues/39> as a real bug.
Fixed as perl-Crypt-OpenSSL-X509-1.803-5.fc22 in F22.