[Bug 210689] devel/nginx-devel: dynamic modules create invalid paths

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Jun 29 09:46:41 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=210689

            Bug ID: 210689
           Summary: devel/nginx-devel: dynamic modules create invalid
                    paths
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs at FreeBSD.org
          Reporter: roberto at FreeBSD.org

I'm compiling ports through poudriere and installing them on jails.  I recently
added Brotli compression support for nginx-devel and it is not working.  While
investigating, I noticed these invalid paths in the binary:

nginx version: nginx/1.11.1
built with OpenSSL 1.0.2h  3 May 2016
TLS SNI support enabled
configure arguments: --prefix=/usr/local/etc/nginx --with-cc-opt='-I
/usr/local/include' --with-ld-opt='-L /usr/local/lib'
--conf-path=/usr/local/etc/nginx/nginx.conf --sbin-path=/usr/local/sbin/nginx
--pid-path=/var/run/nginx.pid --error-log-path=/var/log/nginx-error.log
--user=www --group=www --modules-path=/usr/local/libexec/nginx --with-file-aio
--with-ipv6 --with-google_perftools_module
--http-client-body-temp-path=/var/tmp/nginx/client_body_temp
--http-fastcgi-temp-path=/var/tmp/nginx/fastcgi_temp
--http-proxy-temp-path=/var/tmp/nginx/proxy_temp
--http-scgi-temp-path=/var/tmp/nginx/scgi_temp
--http-uwsgi-temp-path=/var/tmp/nginx/uwsgi_temp
--http-log-path=/var/log/nginx-access.log
--add-module=/data/work/obj/usr/ports/www/nginx-devel/work/nginx-http-auth-digest-4edfb18
--add-module=/data/work/obj/usr/ports/www/nginx-devel/work/ngx_http_auth_pam_module-1.2
--with-http_dav_module
--add-module=/data/work/obj/usr/ports/www/nginx-devel/work/nginx-dav-ext-module-0.0.3
--with-http_gzip_static_module --with-http_gunzip_module
--with-http_realip_module --with-http_slice_module
--with-http_stub_status_module --with-pcre
--add-module=/data/work/obj/usr/ports/www/nginx-devel/work/xss-nginx-module-0.04
--with-http_v2_module --with-stream=dynamic --with-stream_ssl_module
--with-threads --with-http_ssl_module
--add-dynamic-module=/data/work/obj/usr/ports/www/nginx-devel/work/ngx_brotli-4f08382

1209 [11:37] roberto at www> ll =nginx
-r-xr-xr-x  1 root  wheel  909112 Jun 29 11:15 /usr/local/sbin/nginx*

1210 [11:39] roberto at www> ls
/data/work/obj/usr/ports/www/nginx-devel/work/ngx_brotli-4f08382
ls: /data/work/obj/usr/ports/www/nginx-devel/work/ngx_brotli-4f08382: No such
file or directory

The paths are only valid throughout the compilation process and have no way of
being ever valid in an installation, even less in a jail.

Note sure how to make it work.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list