DevHeads.net

rpmbuild for httpd-2.4.23 failed missing mod_proxy_fdpass.so

I tried to rpmbuild the former version httpd-2.4.20.tar.bz2 in the same
machine. The result was successful without error. So, the rpmbuild
failure of httpd-2.4.23 missing mod_proxy_fdpass.so is not due to my
rebuild environment. All previous versions gave also successful results.

Messages output during rpmbuild of httpd-2.4.20 are little different
from httpd-2.4.23.

[httpd-2.4.20]
checking whether to enable mod_proxy_fdpass... checking dependencies
checking whether CMSG_DATA is declared... yes
checking whether to enable mod_proxy_fdpass... shared (all)

[httpd-2.4.23]
checking whether to enable mod_proxy_fdpass... no

[httpd-2.4.20]
Building shared: mod_proxy.la mod_proxy_connect.la mod_proxy_ftp.la
mod_proxy_http.la mod_proxy_fcgi.la mod_proxy_scgi.la
mod_proxy_fdpass.la mod_proxy_wstunnel.la mod_proxy_ajp.la
mod_proxy_balancer.la mod_proxy_express.la

[httpd-2.4.23] mod_porxy_fdpass.la is missing
Building shared: mod_proxy.la mod_proxy_connect.la mod_proxy_ftp.la
mod_proxy_http.la mod_proxy_fcgi.la mod_proxy_scgi.la
mod_proxy_wstunnel.la mod_proxy_ajp.la mod_proxy_balancer.la
mod_proxy_express.la mod_proxy_hcheck.la

[httpd-2.4.20]
/usr/lib64/apr/build-1/libtool --silent --mode=compile gcc -std=gnu99
-pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches
-m64 -mtune=generic -DLINUX -D_REENTRANT -D_GNU_SOURCE -I.
-I/home/webadmin/rpmbuild/BUILD/httpd-2.4.20/os/unix
-I/home/webadmin/rpmbuild/BUILD/httpd-2.4.20/include
-I/usr/include/apr-1
-I/home/webadmin/rpmbuild/BUILD/httpd-2.4.20/modules/aaa
-I/home/webadmin/rpmbuild/BUILD/httpd-2.4.20/modules/cache
-I/home/webadmin/rpmbuild/BUILD/httpd-2.4.20/modules/core
-I/home/webadmin/rpmbuild/BUILD/httpd-2.4.20/modules/database
-I/home/webadmin/rpmbuild/BUILD/httpd-2.4.20/modules/filters
-I/home/webadmin/rpmbuild/BUILD/httpd-2.4.20/modules/ldap
-I/home/webadmin/rpmbuild/BUILD/httpd-2.4.20/server
-I/home/webadmin/rpmbuild/BUILD/httpd-2.4.20/modules/loggers
-I/home/webadmin/rpmbuild/BUILD/httpd-2.4.20/modules/lua
-I/home/webadmin/rpmbuild/BUILD/httpd-2.4.20/modules/proxy
-I/home/webadmin/rpmbuild/BUILD/httpd-2.4.20/modules/session
-I/home/webadmin/rpmbuild/BUILD/httpd-2.4.20/modules/ssl
-I/home/webadmin/rpmbuild/BUILD/httpd-2.4.20/modules/test
-I/home/webadmin/rpmbuild/BUILD/httpd-2.4.20/server
-I/home/webadmin/rpmbuild/BUILD/httpd-2.4.20/modules/arch/unix
-I/home/webadmin/rpmbuild/BUILD/httpd-2.4.20/modules/dav/main
-I/home/webadmin/rpmbuild/BUILD/httpd-2.4.20/modules/generators
-I/home/webadmin/rpmbuild/BUILD/httpd-2.4.20/modules/mappers -prefer-pic
-c mod_proxy_fdpass.c && touch mod_proxy_fdpass.slo
/usr/lib64/apr/build-1/libtool --silent --mode=link gcc -std=gnu99
-pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches
-m64 -mtune=generic -Wl,-z,relro -o mod_proxy_fdpass.la -rpath
/usr/lib64/httpd/modules -module -avoid-version mod_proxy_fdpass.lo

[httpd-2.4.23]
no complile, no link

[httpd-2.4.20]
/usr/lib64/apr/build-1/libtool --silent --mode=install install
mod_proxy_fdpass.la
/home/webadmin/rpmbuild/BUILDROOT/httpd-2.4.20-1.x86_64/usr/lib64/httpd/modules/

[httpd-2.4.23]
no install

I hope these findings would be a little help to understand the rpmbuild
error.

Yours truly,
Kazuhiko Kohmoto

Comments

Re: rpmbuild for httpd-2.4.23 failed missing mod_p

By William A. Rowe Jr. at 07/17/2016 - 05:49

This is a dev@ level regression, sharing with that list. Please confirm you
are using httpd's own rpm. If not, the specific --enable-modules provided
for your rpm.spec file may be at issue.

Re: rpmbuild for httpd-2.4.23 failed missing mod_p

By kohmoto at 07/17/2016 - 19:35

Thank you for your response. Yes, I use httpd's own rpm.
I just use the following command.

$rpmbuild -tb --clean httpd-2.4.23.tar.bz2

Up to httpd-2.4.20.tar.bz2, this command functioned and rpm files were
obtained without problem.

My environments:
CentOS Linux release 7.2.1511
linux kernel 3.10.0-327.22.2.el7.x86_64

On 2016/07/17 19:49, William A Rowe Jr wrote:
Yours truly,
Kazuhiko Kohmoto