Compile failed when upgrading nginx to 0.8.38 with all HTTP and MAIL modules enabled. # emerge -pv nginx [ebuild U ] www-servers/nginx-0.8.38 USE="aio http http-cache ipv6 pcre ssl vim-syntax -debug -libatomic" NGINX_MODULES_HTTP="access addition auth_basic autoindex browser charset dav degradation empty_gif fastcgi flv geo geoip gzip gzip_static headers_more image_filter limit_req limit_zone map memcached passenger perl proxy push random_index realip referer rewrite secure_link split_clients ssi stub_status sub upstream_ip_hash userid uwsgi xslt" NGINX_MODULES_MAIL="imap pop3 smtp" RUBY_TARGETS="ruby18" /tmp_portage/portage/www-servers/nginx-0.8.38/work/passenger-2.2.11/ext/nginx/StaticContentHandler.c: In function 'passenger_static_content_handler': /tmp_portage/portage/www-servers/nginx-0.8.38/work/passenger-2.2.11/ext/nginx/StaticContentHandler.c:69: error: 'ngx_http_request_t' has no member named 'zero_in_uri' make[1]: *** [objs/addon/nginx/StaticContentHandler.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make: *** [build] Error 2 * ERROR: www-servers/nginx-0.8.38 failed: Following the lead at http://h264.code-shop.com/trac/discussion/1/133 I have produced a small patch and a modified ebuild as attachments (to follow). Reproducible: Always
Created attachment 233527 [details, diff] nginx-0.3.38.ebuild diff -u
Created attachment 233529 [details, diff] nginx-0.8.38 StaticContentHandler.c patch
Also patched in Passenger 2.2.13: http://github.com/FooBarWidget/passenger/commit/745938abf5b8788891a9bd7fb590c4a2dff22d61
FYI: if 2.2.13 will be released in the next few days, i'll wait for that, otherwise i'll backport the patch
My mistake, it's actually fixed in the released 2.2.12.
(In reply to comment #5) > My mistake, it's actually fixed in the released 2.2.12. ah, thanks for noticing! :) 0.8.38 now ships with 2.2.12