Bug 1306632 - crypto-utils-2.4.1-60.fc24 FTBFS: statement is indented as if it were guarded by... [-Werror=misleading-indentation]
Summary: crypto-utils-2.4.1-60.fc24 FTBFS: statement is indented as if it were guarded...
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: crypto-utils
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Joe Orton
QA Contact: Fedora Extras Quality Assurance
URL: https://koji.fedoraproject.org/koji/t...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-02-11 13:48 UTC by Petr Pisar
Modified: 2016-02-11 16:48 UTC (History)
2 users (show)

Fixed In Version: crypto-utils-2.4.1-61.fc24
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-02-11 16:48:45 UTC
Type: Bug


Attachments (Terms of Use)

Description Petr Pisar 2016-02-11 13:48:25 UTC
crypto-utils-2.4.1-60.fc24 fails to build in F24:

+ cc -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 -m64 -mtune=generic -Wall -Werror=implicit-function-declaration -Werror -I/usr/include/nspr4 -I/usr/include/nss3 keyutil.c certext.c secutil.c -o keyutil -lplc4 -lnspr4 -lnss3
keyutil.c: In function 'CertReq':
keyutil.c:705:6: error: statement is indented as if it were guarded by... [-Werror=misleading-indentation]
      country = CERT_GetCountryName(subject);
      ^~~~~~~
keyutil.c:702:9: note: ...this 'if' clause, but it is not
         if (!state)
         ^~
cc1: all warnings being treated as errors
error: Bad exit status from /var/tmp/rpm-tmp.7FLViK (%build)

This seems to be triggered by GCC 6 that enabled a new warnings.

Comment 2 Joe Orton 2016-02-11 15:23:20 UTC
Package: crypto-utils-2.4.1-61.fc24
Build: https://koji.fedoraproject.org/koji/buildinfo?buildID=734994

Comment 3 Joe Orton 2016-02-11 16:48:45 UTC
Thanks Petr.


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