Summary: | cannot rpmbuild - Installed (but unpackaged) file(s) found mod_socache_redis.so | ||
---|---|---|---|
Product: | Apache httpd-2 | Reporter: | danie.dejager |
Component: | Build | Assignee: | Apache HTTPD Bugs Mailing List <bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | pprokopi |
Priority: | P2 | ||
Version: | 2.4.39 | ||
Target Milestone: | --- | ||
Hardware: | PC | ||
OS: | Linux |
Description
danie.dejager
2019-07-29 17:27:57 UTC
This made no difference: Modified: httpd/httpd/branches/2.4.x/build/rpm/httpd.spec.in URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.4.x/build/rpm/httpd.spec.in?rev=1856868&r1=1856867&r2=1856868&view=diff ============================================================================== --- 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 Adding mod_socache_redis.so to %files fixed the issue after I replicated it %{_libdir}/httpd/modules/mod_mpm_prefork.so %{_libdir}/httpd/modules/mod_mpm_worker.so +%{_libdir}/httpd/modules/mod_socache_redis.so Used httpd-2.4.39.tar.gz and httpd-2.4.39.tar.bz2 from http://www.apache.org/dist/httpd/?C=M;O=D Sidenote: I had to comment out mod_mpm_event.so because it wasn't being installed, I didn't try to find out why. It gave me the following error: error: File not found: /home/pprokopi/rpmbuild/BUILDROOT/httpd-2.4.39-1.x86_64/usr/lib64/httpd/modules/mod_mpm_event.so So I changed the line -%{_libdir}/httpd/modules/mod_mpm_event.so +#%{_libdir}/httpd/modules/mod_mpm_event.so Besides that, no other changes were made to httpd.spec. diff --git a/httpd.spec2 b/httpd.spec index 903d36d..7c32378 100644 --- a/httpd.spec2 +++ b/httpd.spec @@ -359,9 +359,10 @@ rm -rf $RPM_BUILD_ROOT %{_libdir}/httpd/modules/mod_macro.so %{_libdir}/httpd/modules/mod_mime_magic.so %{_libdir}/httpd/modules/mod_mime.so -%{_libdir}/httpd/modules/mod_mpm_event.so +#%{_libdir}/httpd/modules/mod_mpm_event.so %{_libdir}/httpd/modules/mod_mpm_prefork.so %{_libdir}/httpd/modules/mod_mpm_worker.so +%{_libdir}/httpd/modules/mod_socache_redis.so %{_libdir}/httpd/modules/mod_negotiation.so %{_libdir}/httpd/modules/mod_proxy_ajp.so %{_libdir}/httpd/modules/mod_proxy_balancer.so Could you share the %files part of your specfile ? (please do not set status to RESOLVED until a fix is committed, or clearly stated that nothing needs to be done. Based on comment #0 and comment #2, it looks that something has to be fixed) (In reply to Christophe JAILLET from comment #3) > (please do not set status to RESOLVED until a fix is committed, or clearly > stated that nothing needs to be done. Based on comment #0 and comment #2, it > looks that something has to be fixed) The fix for this particular issue has already been applied. http://svn.apache.org/viewvc/httpd/httpd/branches/2.4.x/build/rpm/httpd.spec.in?view=diff&r1=1856867&r2=1856868&pathrev=1856868 In case you are referring to the line +#%{_libdir}/httpd/modules/mod_mpm_event.so in my previous comment, which is not addressed by the existing fix, I haven't confirmed if it's an actual issue. If it is, perhaps I should open a separate ticket to track it ? Fixed in r1856868. (In reply to Petros Marios Prokopiou from comment #5) > In case you are referring to the line > > +#%{_libdir}/httpd/modules/mod_mpm_event.so > > in my previous comment, which is not addressed by the existing fix, I > haven't confirmed if it's an actual issue. > If it is, perhaps I should open a separate ticket to track it ? Yes please. |