Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 584133 - Can't build fence without removing -Wstrict-prototypes due to nss issue
Can't build fence without removing -Wstrict-prototypes due to nss issue
Status: CLOSED ERRATA
Product: Red Hat Cluster Suite
Classification: Retired
Component: fence (Show other bugs)
4
All Linux
urgent Severity urgent
: ---
: ---
Assigned To: Chris Feist
Cluster QE
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2010-04-20 16:07 EDT by Chris Feist
Modified: 2011-02-16 11:15 EST (History)
3 users (show)

See Also:
Fixed In Version: fence-1.32.67-5.el4
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2011-02-16 11:15:30 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
Patch to fix bz (430 bytes, patch)
2010-04-20 16:07 EDT, Chris Feist
no flags Details | Diff


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2011:0266 normal SHIPPED_LIVE Low: fence security, bug fix, and enhancement update 2011-02-16 11:14:08 EST

  None (edit)
Description Chris Feist 2010-04-20 16:07:01 EDT
Created attachment 407916 [details]
Patch to fix bz

The NSS package changed causing a build error when trying to build fence for 4.9

gcc -Wall -I../../include -I../../config -I/usr/include/nss3 -I/usr/include/nspr4   -I../../../ccs/lib -DFENCE_RELEASE_NAME=\"1.32.67\" -Wall -Werror -Wstrict-prototypes -Wshadow -ggdb -D_GNU_SOURCE -c -o fence_xvm.o fence_xvm.c 
In file included from /usr/include/nss3/secport.h:47,
                 from /usr/include/nss3/seccomon.h:62,
                 from /usr/include/nss3/nss.h:78,
                 from fence_xvm.c:47:
/usr/include/nspr4/prlink.h:52: warning: function declaration isn't a prototype
/usr/include/nspr4/prlink.h:211: warning: function declaration isn't a prototype
make[2]: *** [fence_xvm.o] Error 1
make[2]: Leaving directory `/builddir/build/BUILD/fence-1.32.67/agents/xvm'
make[1]: *** [copytobin] Error 2
make[1]: Leaving directory `/builddir/build/BUILD/fence-1.32.67/agents'
make: *** [copytobin] Error 2

This is referred to in bz#584100 and bz#453577, however it appears as though this will not be fixed, so we need to fix our build to not require script prototypes.
Comment 1 Chris Feist 2010-04-21 12:04:11 EDT
Note that this is to fix an internal build issue so it most likely does not need a special note in the errata.
Comment 3 errata-xmlrpc 2011-02-16 11:15:30 EST
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHSA-2011-0266.html

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