Welcome to Centmin Mod Community
Register Now

Nginx Unable to upgrade nginx

Discussion in 'Nginx, PHP-FPM & MariaDB MySQL' started by denellum, Mar 22, 2017.

  1. denellum

    denellum Member Premium Member

    79
    19
    8
    May 11, 2016
    Dallas
    Ratings:
    +24
    Local Time:
    8:28 AM
    1.11.10
    10.1.21
    Please fill in any relevant information that applies to you:
    • CentOS Version: CentOS 7 64bit
    • Centmin Mod Version Installed: 123.09beta01
    • Nginx Version Installed: 1.11.10
    • PHP Version Installed: 7.0.15
    • MariaDB MySQL Version Installed: 10.1.21
    • When was last time updated Centmin Mod code base ? : today
    • Persistent Config: No
    When trying to upgrade to nginx 1.11.11 I'm getting the following error :
    Code:
    ccache /usr/bin/clang -ferror-limit=0 -c -pipe  -O -Wall -Wextra -Wpointer-arith -Wconditional-uninitialized -Wno-unused-parameter -Werror -g -m64 -mtune=native -mfpmath=sse -g -O3 -fstack-protector -fuse-ld=gold --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wno-sign-compare -Wno-string-plus-int -Wno-deprecated-declarations -Wno-unused-parameter -Wno-unused-const-variable -Wno-conditional-uninitialized -Wno-mismatched-tags -Wno-sometimes-uninitialized -Wno-parentheses-equality -Wno-tautological-compare -Wno-self-assign -Wno-deprecated-register -Wno-deprecated -Wno-invalid-source-encoding -Wno-pointer-sign -Wno-parentheses -Wno-enum-conversion -Wno-c++11-compat-deprecated-writable-strings -Wno-write-strings -gsplit-dwarf -DNDK_SET_VAR -DNDK_UPSTREAM_LIST  -I src/core -I src/event -I src/event/modules -I src/os/unix -I ../ngx_devel_kit-0.3.0/objs -I objs/addon/ndk -I ../pcre-8.40 -I ../libressl-2.4.5/.openssl/include -I ../zlib-1.2.11 -I objs -I src/http -I src/http/modules -I src/http/v2 -I ../ngx_devel_kit-0.3.0/src -I ../ngx_devel_kit-0.3.0/src -I ../ngx_devel_kit-0.3.0/objs -I objs/addon/ndk -I src/stream \
            -o objs/addon/src/ngx_http_redis2_module.o \
            ../redis2-nginx-module-0.13/src/ngx_http_redis2_module.c
    ../echo-nginx-module-0.60/src/ngx_http_echo_request_info.c:219:15: error: assigning to 'ngx_buf_t *' (aka 'struct ngx_buf_s *') from incompatible type 'ngx_chain_t' (aka 'struct ngx_chain_s')
                b = hc->busy[i];
                  ^ ~~~~~~~~~~~
    ../echo-nginx-module-0.60/src/ngx_http_echo_request_info.c:284:15: error: assigning to 'ngx_buf_t *' (aka 'struct ngx_buf_s *') from incompatible type 'ngx_chain_t' (aka 'struct ngx_chain_s')
                b = hc->busy[i];
                  ^ ~~~~~~~~~~~
    2 errors generated.
    make[1]: *** [objs/addon/src/ngx_http_echo_request_info.o] Error 1
    make[1]: *** Waiting for unfinished jobs....
    make[1]: Leaving directory `/svr-setup/nginx-1.11.11'
    make: *** [build] Error 2
    
    real    0m39.205s
    user    1m32.671s
    sys     0m21.620s
    
    strip nginx binary...
    ls: cannot access objs/nginx: No such file or directory
    strip: 'objs/nginx': No such file
    ls: cannot access objs/nginx: No such file or directory
    
    
    Tue Mar 21 15:20:41 CDT 2017
    Error: 2, Nginx make failed
    
    report errors on the forums at community.centminmod.com/forums/8/
    
                  total        used        free      shared  buff/cache   available
    Mem:           8192        1152        5945           2        1094        6782
    Swap:             0           0           0
    
    CPU: Intel(R) Xeon(R) CPU E5-2667 v4 @ 3.20GHz (4)
    
    version increment history
    1.2.3-eva2000.09.004 #Tue Mar  7 15:56:49 CST 2017
    1.2.3-eva2000.09.004 #Mon Mar 20 09:46:31 CDT 2017
    1.2.3-eva2000.09.004 #Mon Mar 20 09:46:52 CDT 2017
    1.2.3-eva2000.09.004 #Tue Mar 21 15:15:46 CDT 2017
    1.2.3-eva2000.09.004 #Tue Mar 21 15:15:51 CDT 2017
    
    last Centmin Mod local git commit entry
    /usr/local/src/centminmod /svr-setup/nginx-1.11.11
    
    f0232b4 George Liu Mon, 20 Mar 2017 20:18:43 +1000 
    memcached 1.4.36 default
    
    1       1       centmin.sh
    1       1       example/custom_config.inc
     2 files changed, 2 insertions(+), 2 deletions(-)
    /svr-setup/nginx-1.11.11
    Total Nginx Upgrade Time: 287.845794338 seconds
    [\code]

     
  2. prometheus

    prometheus Member

    39
    4
    8
    Jan 24, 2015
    Greece
    Ratings:
    +9
    Local Time:
    4:28 PM
    1.9.9
    10.1
    I have the exactly same problem too
     
    • Informative Informative x 1
  3. pamamolf

    pamamolf Well-Known Member

    2,682
    240
    63
    May 31, 2014
    Ratings:
    +427
    Local Time:
    4:28 PM
    Nginx-1.13.x
    MariaDB 10.1.x
  4. eva2000

    eva2000 Administrator Staff Member

    29,763
    6,721
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,035
    Local Time:
    11:28 PM
    Nginx 1.13.x
    MariaDB 5.5