Opened 7 years ago
Last modified 7 years ago
#1532 closed defect
nginx not build on fedora28 — at Initial Version
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | major | Milestone: | |
Component: | nginx-core | Version: | |
Keywords: | Cc: | ||
uname -a: | Linux delta.vc.org.ua 4.16.2-300.fc28.x86_64 #1 SMP Thu Apr 12 14:58:07 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux | ||
nginx -V: | нету.. |
Description
В fedora28 используется не glibc'шный crypt_r, поэтому там нет current_salt.
Не собираются как минимум 1.12, 1.13 и 1.14.
cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -mcet -fcf-protection -fPIC -Wimplicit-fallthrough=0 -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
-o objs/src/core/ngx_thread_pool.o \
src/core/ngx_thread_pool.c
src/os/unix/ngx_user.c: In function 'ngx_libc_crypt':
src/os/unix/ngx_user.c:26:7: error: 'struct crypt_data' has no member named 'current_salt'
cd.current_salt[0] = ~salt[0];
make[1]: * [objs/Makefile:902: objs/src/os/unix/ngx_user.o] Error 1
make[1]: * Waiting for unfinished jobs....
make[1]: Leaving directory '/home/vc/rpmbuild/BUILD/nginx-1.14.0'
make: * [Makefile:8: build] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.6rXf4K (%build)