Bug 1190816 - perl-Crypt-OpenSSL-X509-1.803-4.fc22 FTBFS: X509.xs:184:12: error: logical not is only applied to the left hand side of comparison [-Werror=logical-not-parentheses]
Summary: perl-Crypt-OpenSSL-X509-1.803-4.fc22 FTBFS: X509.xs:184:12: error: logical no...
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: perl-Crypt-OpenSSL-X509
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Petr Pisar
QA Contact: Fedora Extras Quality Assurance
URL: http://koji.fedoraproject.org/koji/ta...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-02-09 16:39 UTC by Petr Pisar
Modified: 2015-02-11 13:34 UTC (History)
2 users (show)

Fixed In Version: perl-Crypt-OpenSSL-X509-1.803-5.fc23
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-02-11 13:34:37 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Petr Pisar 2015-02-09 16:39:58 UTC
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

Comment 1 Petr Pisar 2015-02-11 12:01:53 UTC
Reported to upstream <https://github.com/dsully/perl-crypt-openssl-x509/issues/39> as a real bug.

Comment 2 Petr Pisar 2015-02-11 13:34:37 UTC
Fixed as perl-Crypt-OpenSSL-X509-1.803-5.fc22 in F22.


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