DevHeads.net

apache 2.4.39 rpm package generation error

Hello,
Looks like I found the bug in httpd 2.4.39 release, during generation of rpm package using

rpmbuild -tb SOURCES/apr-1.6.5.tar.bz2

Checking for unpackaged file(s): /usr/lib/rpm/check-files /root/rpmbuild/BUILDROOT/httpd-2.4.39-1.x86_64
error: Installed (but unpackaged) file(s) found:
/usr/lib64/httpd/modules/mod_socache_redis.so

To fix it need to add mod_socache_redis.so in httpd.spec file:
...
%{_libdir}/httpd/modules/mod_socache_memcache.so
%{_libdir}/httpd/modules/mod_socache_redis.so
%{_libdir}/httpd/modules/mod_socache_shmcb.so
...

Dmitry Stoyanov

Comments

Re: apache 2.4.39 rpm package generation error

By Rainer Jung at 04/10/2019 - 05:50

That was fixed shortly after the release by:

Author: ylavic
New Revision: 1856868

URL: <a href="http://svn.apache.org/viewvc?rev=1856868&amp;view=rev" title="http://svn.apache.org/viewvc?rev=1856868&amp;view=rev">http://svn.apache.org/viewvc?rev=1856868&amp;view=rev</a>
Log:
Merge r1825375 from trunk:

rpm: Add mod_socache_redis to the build.

Submitted by: minfrin

Modified:
httpd/httpd/branches/2.4.x/ (props changed)
httpd/httpd/branches/2.4.x/build/rpm/httpd.spec.in

Propchange: httpd/httpd/branches/2.4.x/
Modified: httpd/httpd/branches/2.4.x/build/rpm/httpd.spec.in
URL:
<a href="http://svn.apache.org/viewvc/httpd/httpd/branches/2.4.x/build/rpm/httpd.spec.in?rev=1856868&amp;r1=1856867&amp;r2=1856868&amp;view=diff" title="http://svn.apache.org/viewvc/httpd/httpd/branches/2.4.x/build/rpm/httpd.spec.in?rev=1856868&amp;r1=1856867&amp;r2=1856868&amp;view=diff">http://svn.apache.org/viewvc/httpd/httpd/branches/2.4.x/build/rpm/httpd....</a>
==============================================================================
--- httpd/httpd/branches/2.4.x/build/rpm/httpd.spec.in (original)
+++ httpd/httpd/branches/2.4.x/build/rpm/httpd.spec.in Wed Apr 3
10:01:47 2019
@@ -392,6 +392,7 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/httpd/modules/mod_slotmem_shm.so
%{_libdir}/httpd/modules/mod_socache_dbm.so
%{_libdir}/httpd/modules/mod_socache_memcache.so
+%{_libdir}/httpd/modules/mod_socache_redis.so
%{_libdir}/httpd/modules/mod_socache_shmcb.so
%{_libdir}/httpd/modules/mod_speling.so
%{_libdir}/httpd/modules/mod_status.so

Regards,

Rainer

Am 10.04.2019 um 10:38 schrieb Dmitry Stoyanov:

RE: apache 2.4.39 rpm package generation error

By Dmitry Stoyanov at 04/10/2019 - 05:58

Thank you,
But it is still not fixed in release sources which can be downloaded here:
<a href="http://httpd.apache.org/download.cgi#apache24" title="http://httpd.apache.org/download.cgi#apache24">http://httpd.apache.org/download.cgi#apache24</a>
within Source: httpd-2.4.39.tar.bz2

Am I right, that in such case it will be fixed only in next release?

Best Regards,
Dmitry Stoyanov

That was fixed shortly after the release by:

Author: ylavic
New Revision: 1856868

URL: <a href="http://svn.apache.org/viewvc?rev=1856868&amp;view=rev" title="http://svn.apache.org/viewvc?rev=1856868&amp;view=rev">http://svn.apache.org/viewvc?rev=1856868&amp;view=rev</a>
Log:
Merge r1825375 from trunk:

rpm: Add mod_socache_redis to the build.

Submitted by: minfrin

Modified:
httpd/httpd/branches/2.4.x/ (props changed)
httpd/httpd/branches/2.4.x/build/rpm/httpd.spec.in

Propchange: httpd/httpd/branches/2.4.x/
Modified: httpd/httpd/branches/2.4.x/build/rpm/httpd.spec.in
URL:
<a href="http://svn.apache.org/viewvc/httpd/httpd/branches/2.4.x/build/rpm/httpd.spec.in?rev=1856868&amp;r1=1856867&amp;r2=1856868&amp;view=diff" title="http://svn.apache.org/viewvc/httpd/httpd/branches/2.4.x/build/rpm/httpd.spec.in?rev=1856868&amp;r1=1856867&amp;r2=1856868&amp;view=diff">http://svn.apache.org/viewvc/httpd/httpd/branches/2.4.x/build/rpm/httpd....</a>
==============================================================================
--- httpd/httpd/branches/2.4.x/build/rpm/httpd.spec.in (original)
+++ httpd/httpd/branches/2.4.x/build/rpm/httpd.spec.in Wed Apr 3
10:01:47 2019
@@ -392,6 +392,7 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/httpd/modules/mod_slotmem_shm.so
%{_libdir}/httpd/modules/mod_socache_dbm.so
%{_libdir}/httpd/modules/mod_socache_memcache.so
+%{_libdir}/httpd/modules/mod_socache_redis.so
%{_libdir}/httpd/modules/mod_socache_shmcb.so
%{_libdir}/httpd/modules/mod_speling.so
%{_libdir}/httpd/modules/mod_status.so

Regards,

Rainer

Am 10.04.2019 um 10:38 schrieb Dmitry Stoyanov:

Re: apache 2.4.39 rpm package generation error

By Rainer Jung at 04/10/2019 - 06:14

Yes, exactly.

Am 10.04.2019 um 11:58 schrieb Dmitry Stoyanov:

RE: apache 2.4.39 rpm package generation error

By Dmitry Stoyanov at 04/10/2019 - 06:17

Thank you

DMITRY STOYANOV
Lead Systems Engineer

Yes, exactly.

Am 10.04.2019 um 11:58 schrieb Dmitry Stoyanov: