Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 286772 - www-servers/nginx - troubles when compiled under et_EE locale
Summary: www-servers/nginx - troubles when compiled under et_EE locale
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Benedikt Böhm (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-28 14:57 UTC by Priit Laes (IRC: plaes)
Modified: 2010-03-07 10:43 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Priit Laes (IRC: plaes) 2009-09-28 14:57:39 UTC
When building nginx under et_EE locale, some functionality is having some issues (ie - /etc/init.d/nginx reload shows errors).

The workaround is to force C locale when building it, and the fix would be to get replace a-z and A-Z style regular expressions in nginx's build configuration.
Comment 1 Justin Lecher (RETIRED) gentoo-dev 2009-10-09 17:53:25 UTC
Please attach a concrete error.
Comment 2 Priit Laes (IRC: plaes) 2009-10-10 12:58:50 UTC
plaes@server ~ $ sudo /etc/init.d/nginx reload 
 * Caching service dependencies ...                                                                                                         [ ok ]
 * Checking nginx' configuration ...
[alert]: could not open error log file: open() "--prefix/usr/--error-log-pat/var/log/nginx/error_log" failed (2: No such file or directory)
the configuration file /etc/nginx/nginx.conf syntax is ok
2009/10/10 15:57:57 [emerg] 26223#0: open() "--prefix/usr/--pid-pat/var/run/nginx.pid" failed (2: No such file or directory)
configuration file /etc/nginx/nginx.conf test failed
 * failed, please correct errors above                                                                                                      [ !! ]
Comment 3 Priit Laes (IRC: plaes) 2009-10-10 13:02:10 UTC
And everything works when nginx is compiled with other locales:
plaes@server ~ # /etc/init.d/nginx reload
 * Caching service dependencies ...                                                                                                [ok ]
 * Checking nginx' configuration ...
the configuration file /etc/nginx/nginx.conf syntax is ok
configuration file /etc/nginx/nginx.conf test is successful                                                               [ ok ]
 * Refreshing nginx' configuration ...                                                                                              [ ok ]
Comment 4 Benedikt Böhm (RETIRED) gentoo-dev 2010-03-07 10:43:32 UTC
fixed in 0.8.34-r1, thanks