Opened 9 years ago
Closed 9 years ago
#926 closed defect (invalid)
Broken RPM package with 1.9.12
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | other | Version: | 1.9.x |
Keywords: | Cc: | ||
uname -a: | Linux setup.airee.ru 2.6.32-504.16.2.el6.x86_64 #1 SMP Wed Apr 22 06:48:29 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux | ||
nginx -V: |
nginx version: nginx/1.9.12
built by gcc 4.8.2 20140120 (Red Hat 4.8.2-15) (GCC) built with OpenSSL 1.0.2e 3 Dec 2015 TLS SNI support enabled configure arguments: --prefix=/etc/nginx --sbin-path=/usr/sbin/nginx --conf-path=/etc/nginx/nginx.conf --error-log-path=/var/log/nginx/error.log --http-log-path=/var/log/nginx/access.log --pid-path=/var/run/nginx.pid --lock-path=/var/run/nginx.lock --http-client-body-temp-path=/var/cache/nginx/client_temp --http-proxy-temp-path=/var/cache/nginx/proxy_temp --http-fastcgi-temp-path=/var/cache/nginx/fastcgi_temp --http-uwsgi-temp-path=/var/cache/nginx/uwsgi_temp --http-scgi-temp-path=/var/cache/nginx/scgi_temp --user=nginx --group=nginx --with-ld-opt=-Wl,-rpath,/usr/local/lib --with-cc-opt='-DNGX_HAVE_ACCEPT4=0 -DTCP_FASTOPEN=23 -O2 -fomit-frame-pointer -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic' --add-module=../nginx_stuff/ngx_pagespeed --add-module=../nginx_stuff/ngx_devel_kit --add-module=../nginx_stuff/set-misc-nginx-module --add-module=../nginx_stuff/nginx-length-hiding-filter-module --add-module=../nginx_stuff/echo-nginx-module --add-module=../nginx_stuff/ngx_http_substitutions_filter_module --add-module=../nginx_stuff/replace-filter-nginx-module --with-ipv6 --with-http_v2_module --with-http_ssl_module --with-openssl=../nginx_stuff/openssl-1.0.2e --with-http_gzip_static_module --without-http_geo_module --without-http_access_module --without-http_auth_basic_module --without-http_autoindex_module --without-http_empty_gif_module --without-http_memcached_module --without-http_referer_module --without-http_scgi_module --without-http_split_clients_module --without-http_uwsgi_module --without-http_fastcgi_module |
Description
Hello. It seems something is broken with 1.9.12 (11+?) source. With rpmbuild 1.9.10 version goes well. But 1.9.12 is buggy (no support for some core modules - gzip, charset, etc).
Correct 1.9.10 shows
nginx version: nginx/1.9.10
built by gcc 4.8.2 20140120 (Red Hat 4.8.2-15) (GCC)
built with OpenSSL 1.0.2e 3 Dec 2015
TLS SNI support enabled
configure arguments: --prefix=/etc/nginx --sbin-path=/usr/sbin/nginx --conf-path=/etc/nginx/nginx.conf --error-log-path=/var/log/nginx/error.log --http-log-path=/var/log/nginx/access.log --pid-path=/var/run/nginx.pid --lock-path=/var/run/nginx.lock --http-client-body-temp-path=/var/cache/nginx/client_temp --http-proxy-temp-path=/var/cache/nginx/proxy_temp --http-fastcgi-temp-path=/var/cache/nginx/fastcgi_temp --http-uwsgi-temp-path=/var/cache/nginx/uwsgi_temp --http-scgi-temp-path=/var/cache/nginx/scgi_temp --user=nginx --group=nginx --with-ld-opt=-Wl,-rpath,/usr/local/lib --with-cc-opt='-DNGX_HAVE_ACCEPT4=0 -DTCP_FASTOPEN=23 -O2 -fomit-frame-pointer -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic' --add-module=../nginx_stuff/ngx_pagespeed --add-module=../nginx_stuff/ngx_devel_kit --add-module=../nginx_stuff/set-misc-nginx-module --add-module=../nginx_stuff/nginx-length-hiding-filter-module --add-module=../nginx_stuff/echo-nginx-module --add-module=../nginx_stuff/ngx_http_substitutions_filter_module --add-module=../nginx_stuff/replace-filter-nginx-module --with-ipv6 --with-http_v2_module --with-http_ssl_module --with-openssl=../nginx_stuff/openssl-1.0.2e --with-http_gzip_static_module --without-http_geo_module --without-http_access_module --without-http_auth_basic_module --without-http_autoindex_module --without-http_empty_gif_module --without-http_memcached_module --without-http_referer_module --without-http_scgi_module --without-http_split_clients_module --without-http_uwsgi_module --without-http_fastcgi_module
and everything is fine
Incorect 1.9.12 shows
nginx version: nginx/1.9.12
built by gcc 4.8.2 20140120 (Red Hat 4.8.2-15) (GCC)
built with OpenSSL 1.0.2e 3 Dec 2015
TLS SNI support enabled
configure arguments: --prefix=/etc/nginx --sbin-path=/usr/sbin/nginx --conf-path=/etc/nginx/nginx.conf --error-log-path=/var/log/nginx/error.log --http-log-path=/var/log/nginx/access.log --pid-path=/var/run/nginx.pid --lock-path=/var/run/nginx.lock --http-client-body-temp-path=/var/cache/nginx/client_temp --http-proxy-temp-path=/var/cache/nginx/proxy_temp --http-fastcgi-temp-path=/var/cache/nginx/fastcgi_temp --http-uwsgi-temp-path=/var/cache/nginx/uwsgi_temp --http-scgi-temp-path=/var/cache/nginx/scgi_temp --user=nginx --group=nginx --with-ld-opt=-Wl,-rpath,/usr/local/lib --with-cc-opt='-DNGX_HAVE_ACCEPT4=0 -DTCP_FASTOPEN=23 -O2 -fomit-frame-pointer -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic' --add-module=../nginx_stuff/ngx_pagespeed --add-module=../nginx_stuff/ngx_devel_kit --add-module=../nginx_stuff/set-misc-nginx-module --add-module=../nginx_stuff/nginx-length-hiding-filter-module --add-module=../nginx_stuff/echo-nginx-module --add-module=../nginx_stuff/ngx_http_substitutions_filter_module --add-module=../nginx_stuff/replace-filter-nginx-module --with-ipv6 --with-http_v2_module --with-http_ssl_module --with-openssl=../nginx_stuff/openssl-1.0.2e --with-http_gzip_static_module --without-http_geo_module --without-http_access_module --without-http_auth_basic_module --without-http_autoindex_module --without-http_empty_gif_module --without-http_memcached_module --without-http_referer_module --without-http_scgi_module --without-http_split_clients_module --without-http_uwsgi_module --without-http_fastcgi_module
and nginx -t gives
unknown directive "gzip" in /etc/nginx/nginx.conf
RPM spec is attached. Maybe some flags are required with new modular structure?
Attachments (1)
Change History (2)
by , 9 years ago
Attachment: | nginx.spec added |
---|
comment:1 by , 9 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
No new flags are required. However, some 3rd party modules used to dig into various nginx build internals, and this may break things due to changes made in nginx 1.9.11. Consider compiling nginx without 3rd party modules, it should help.