Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1162268 - Misspelling in patch file causes failure to build against older OpenSSL releases
Misspelling in patch file causes failure to build against older OpenSSL releases
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: httpd (Show other bugs)
6.6
Unspecified Unspecified
unspecified Severity unspecified
: rc
: ---
Assigned To: Web Stack Team
Filip Holec
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2014-11-10 12:15 EST by John Conroy
Modified: 2016-04-18 06:27 EDT (History)
4 users (show)

See Also:
Fixed In Version: httpd-2.2.15-41.el6
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2015-07-22 01:53:39 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2015:1249 normal SHIPPED_LIVE Low: httpd security, bug fix, and enhancement update 2015-07-20 13:50:12 EDT

  None (edit)
Description John Conroy 2014-11-10 12:15:48 EST
Description of problem:
When attempting to build this package against older (< 1.0.0) releases of OpenSSL, an error occurs.

Version-Release number of selected component (if applicable):
httpd-2.2.15-39.el6

How reproducible:
Always when building against OpenSSL < 1.0.0

Steps to Reproduce:
1.  Easiest, attempt to build on EL5 (OpenSSL 0.9.8e)
2.
3.

Actual results:
DEBUG: Building shared: mod_ssl.la
DEBUG: make[4]: Entering directory `/builddir/build/BUILD/httpd-2.2.15/prefork/modules/ssl'
DEBUG: /usr/lib/apr-1/build/libtool --silent --mode=compile gcc -Werror-implicit-function-declaration  -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -Wformat-security -fno-strict-aliasing  -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE    -I. -I/builddir/build/BUILD/httpd-2.2.15/prefork/include -I/builddir/build/BUILD/httpd-2.2.15/os/unix -I/builddir/build/BUILD/httpd-2.2.15/server/mpm/prefork -I/builddir/build/BUILD/httpd-2.2.15/modules/http -I/builddir/build/BUILD/httpd-2.2.15/modules/filters -I/builddir/build/BUILD/httpd-2.2.15/modules/proxy -I/builddir/build/BUILD/httpd-2.2.15/include -I/builddir/build/BUILD/httpd-2.2.15/modules/generators -I/builddir/build/BUILD/httpd-2.2.15/modules/mappers -I/builddir/build/BUILD/httpd-2.2.15/modules/database -I/usr/include/apr-1 -I/builddir/build/BUILD/httpd-2.2.15/prefork/server -I/builddir/build/BUILD/httpd-2.2.15/modules/proxy/../generators -I/usr/kerberos/include -I/builddir/build/BUILD/httpd-2.2.15/modules/ssl -I/builddir/build/BUILD/httpd-2.2.15/modules/dav/main -prefer-pic -c /builddir/build/BUILD/httpd-2.2.15/modules/ssl/mod_ssl.c && touch mod_ssl.slo
DEBUG: In file included from /builddir/build/BUILD/httpd-2.2.15/modules/ssl/mod_ssl.c:27:
DEBUG: /builddir/build/BUILD/httpd-2.2.15/modules/ssl/ssl_private.h:685: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
DEBUG: make[4]: *** [mod_ssl.slo] Error 1
DEBUG: make[4]: Leaving directory `/builddir/build/BUILD/httpd-2.2.15/prefork/modules/ssl'

Expected results:
A successful build

Additional info:
There is a misspelling in the following patch file:
httpd-2.2.15-r1542327.patch

>DH           *ssl_dh_GetParamFromFile(const char *);
>#ifndef OPNESSL_NO_EC
>EC_GROUP     *ssl_ec_GetParamFromFile(const char *);
>#endif

The above should be -> OPENSSL_NO_EC
Comment 2 Joe Orton 2014-12-02 05:09:28 EST
Since it's a patch in the typo we can correct that, but, I'll note that building RHEL source RPMs on older versions of RHEL is not supported nor expected to work in general.
Comment 3 Joe Orton 2014-12-02 05:10:08 EST
"a patch in the typo" ... or something like that.
Comment 8 errata-xmlrpc 2015-07-22 01:53:39 EDT
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHSA-2015-1249.html

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