Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 268553 - www-servers/nginx-0.7.50+ can't compilied
Summary: www-servers/nginx-0.7.50+ can't compilied
Status: RESOLVED DUPLICATE of bug 266079
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: High critical
Assignee: Konstantin Arkhipov (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-04 04:15 UTC by Vladimir
Modified: 2009-10-14 21:50 UTC (History)
1 user (show)

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


Attachments
emerge --info (info.txt,9.45 KB, text/plain)
2009-05-04 04:16 UTC, Vladimir
Details
configure part (configure.txt,3.35 KB, text/plain)
2009-05-04 04:16 UTC, Vladimir
Details
make part (make.txt,19.75 KB, text/plain)
2009-05-04 04:17 UTC, Vladimir
Details
Fixed ebuild (nginx-0.7.55.ebuild,3.14 KB, text/plain)
2009-05-12 04:12 UTC, Vladimir
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir 2009-05-04 04:15:24 UTC
Trying to update from 0.7.43 to 0.7.54 (latest):

In file included from src/http/ngx_http_file_cache.c:10:
src/core/ngx_md5.h:18:17: error: md5.h: No such file or directory
In file included from src/http/ngx_http_file_cache.c:10:
src/core/ngx_md5.h:22: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ngx_md5_t'
src/http/ngx_http_file_cache.c: In function 'ngx_http_file_cache_create_key':
src/http/ngx_http_file_cache.c:120: error: 'ngx_md5_t' undeclared (first use in this function)
src/http/ngx_http_file_cache.c:120: error: (Each undeclared identifier is reported only once
src/http/ngx_http_file_cache.c:120: error: for each function it appears in.)
src/http/ngx_http_file_cache.c:120: error: expected ';' before 'md5'
src/http/ngx_http_file_cache.c:128: error: 'md5' undeclared (first use in this function)
x86_64-pc-linux-gnu-gcc -c -march=nocona -fomit-frame-pointer -pipe -O3  -I src/core -I src/event -I src/event/modules -I src/os/unix -I /usr/include -I objs -I src/http -I src/http/modules \
                -o objs/src/http/modules/ngx_http_gzip_filter_module.o \
                src/http/modules/ngx_http_gzip_filter_module.c
make[1]: *** [objs/src/http/ngx_http_file_cache.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/var/tmp/portage/www-servers/nginx-0.7.54/work/nginx-0.7.54'
make: *** [build] Error 2

There was the same error some weeks ago when updating to nginx-0.7.50.

Reproducible: Always

Steps to Reproduce:




# uname -a
Linux contek 2.6.25-gentoo-r6 #1 SMP Tue Jul 8 14:31:49 MSD 2008 x86_64 Intel(R) Core(TM)2 CPU 6420 @ 2.13GHz GenuineIntel GNU/Linux
Comment 1 Vladimir 2009-05-04 04:16:16 UTC
Created attachment 190281 [details]
emerge --info
Comment 2 Vladimir 2009-05-04 04:16:56 UTC
Created attachment 190282 [details]
configure part
Comment 3 Vladimir 2009-05-04 04:17:14 UTC
Created attachment 190283 [details]
make part
Comment 4 Vladimir 2009-05-04 04:37:14 UTC
Comments from Igor Sysoev, nginx's developer (http://www.lexa.ru/nginx-ru/msg23817.html):
Need to remove:
 --with-md5=/usr/include --with-md5-asm
 --with-sha1-asm --with-sha1=/usr/include 
Comment 5 Johan Bergström 2009-05-04 13:07:49 UTC
This is because nginx was built without the ssl flag. Newer versions of nginx fixed this.
Comment 6 Johan Bergström 2009-05-04 13:26:24 UTC
(In reply to comment #5)
> This is because nginx was built without the ssl flag. Newer versions of nginx
> fixed this.
> 

My bad. Newer versions _doesn't_ fix this – it just tries to find md5 headers but doesn't bail when nothing is to be found.
Comment 7 Vladimir 2009-05-06 03:51:03 UTC
Whats progress of this bug?
I can't install any nginx version newer than 0.7.43.
Comment 8 Vladimir 2009-05-12 04:12:35 UTC
Created attachment 190989 [details]
Fixed ebuild
Comment 9 Johan Bergström 2009-06-16 12:54:52 UTC
Konstantin: please remove 

--with-md5-asm --with-md5=/usr/include \

..so building without enabling ssl works. My system uses md5.h from crypto (kernel) if i disable ssl.
Comment 10 Johan Bergström 2009-07-20 15:28:04 UTC
Is there a reason this isn't committed?
Comment 11 Jakub Wasielewski 2009-07-21 12:01:05 UTC
Same with www-servers/nginx-0.7.61 without ssl use flag.
Should I file a nie bug report?

i686-pc-linux-gnu-gcc -c -O3 -march=pentium4 -mfpmath=sse -msse2 -mmmx -pipe -fomit-frame-pointer -s  -I src/core -I src/event -I src/event/modules -I src/os/unix -I /
usr/include -I objs -I src/http -I src/http/modules \
                -o objs/src/http/ngx_http_file_cache.o \
                src/http/ngx_http_file_cache.c
In file included from src/http/ngx_http_file_cache.c:10:
src/core/ngx_md5.h:18:17: error: md5.h: Nie ma takiego pliku ani katalogu
In file included from src/http/ngx_http_file_cache.c:10:
src/core/ngx_md5.h:22: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ngx_md5_t’
src/http/ngx_http_file_cache.c: In function ‘ngx_http_file_cache_create_key’:
src/http/ngx_http_file_cache.c:120: error: ‘ngx_md5_t’ undeclared (first use in this function)
src/http/ngx_http_file_cache.c:120: error: (Each undeclared identifier is reported only once
src/http/ngx_http_file_cache.c:120: error: for each function it appears in.)
src/http/ngx_http_file_cache.c:120: error: expected ‘;’ before ‘md5’
src/http/ngx_http_file_cache.c:128: error: ‘md5’ undeclared (first use in this function)
make[1]: *** [objs/src/http/ngx_http_file_cache.o] Błąd 1
make[1]: Opuszczenie katalogu `/var/tmp/portage/www-servers/nginx-0.7.61/work/nginx-0.7.61'
make: *** [build] Błąd 2
Comment 12 Johan Bergström 2009-07-21 13:15:48 UTC
This is a duplicate of http://bugs.gentoo.org/show_bug.cgi?id=266079 
Comment 13 Thilo Bangert (RETIRED) (RETIRED) gentoo-dev 2009-10-14 21:50:12 UTC
closing bug as dupe. please move your votes.

thanks for the report...

*** This bug has been marked as a duplicate of bug 266079 ***