5 messages in ru.sysoev.nginxRe: nginx 0.5.12 fails to build from ...
FromSent OnAttachments
Igor SysoevFeb 12, 2007 7:04 am 
Šime RamovFeb 12, 2007 9:16 am 
José ParrellaFeb 13, 2007 9:07 pm 
Igor SysoevFeb 14, 2007 5:30 am.txt
José ParrellaFeb 14, 2007 1:49 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: nginx 0.5.12 fails to build from source in MIPS[EL], HPPA and ARM -- was Re: nginx-0.5.12Actions...
From:Igor Sysoev (is-G@public.gmane.org)
Date:Feb 14, 2007 5:30:17 am
List:ru.sysoev.nginx
Attachments:

On Wed, Feb 14, 2007 at 01:07:25AM -0400, Jos?? Parrella wrote:

??ime Ramov escribi??:

And also thanks to the person who maintains Debian package at http://deb.wapper.ru/nginx/ and everyone involved...

0.5.12 has recently entered Debian Sid today, but it fails to build from source in MIPS, MIPSEL, HPPA and ARM since this warning is treated as an error:

src/event/ngx_event_accept.c: In function 'ngx_shmtx_trylock': src/core/ngx_shmtx.h:61: warning: control reaches end of non-void function make[2]: *** [objs/src/event/ngx_event_accept.o] Error 1

Build logs are available in [1] (browse all the way through the end of the page) -- I'm unable to point out what the problem might be, does anyone have any ideas regarding this?

The patch.

-- Igor Sysoev http://sysoev.ru/en/

Index: src/core/ngx_shmtx.h =================================================================== --- src/core/ngx_shmtx.h (revision 425) +++ src/core/ngx_shmtx.h (working copy) @@ -58,6 +58,8 @@ }

ngx_log_abort(err, ngx_trylock_fd_n " failed"); + + return 0; }