Nginx核心模块
一、编译安装nginx
./nginx_install.sh
#!/bin/bash NGINX_FILE=nginx-1.22.0 #NGINX_FILE=nginx-1.20.2 #NGINX_FILE=nginx-1.18.0 NGINX_URL=http://nginx.org/download/ TAR=.tar.gz SRC_DIR=/usr/local/src NGINX_INSTALL_DIR=/apps/nginx CPUS=`lscpu |awk '/^CPU\(s\)/{print $2}'` . /etc/os-release color () { RES_COL=60 MOVE_TO_COL="echo -en \\033[${RES_COL}G" SETCOLOR_SUCCESS="echo -en \\033[1;32m" SETCOLOR_FAILURE="echo -en \\033[1;31m" SETCOLOR_WARNING="echo -en \\033[1;33m" SETCOLOR_NORMAL="echo -en \E[0m" echo -n "$1" && $MOVE_TO_COL echo -n "[" if [ $2 = "success" -o $2 = "0" ] ;then ${SETCOLOR_SUCCESS} echo -n $" OK " elif [ $2 = "failure" -o $2 = "1" ] ;then ${SETCOLOR_FAILURE} echo -n $"FAILED" else ${SETCOLOR_WARNING} echo -n $"WARNING" fi ${SETCOLOR_NORMAL} echo -n "]" echo } check () { [ -e ${NGINX_INSTALL_DIR} ] && { color "nginx 已安装,请卸载后再安装" 1; exit; } cd ${SRC_DIR} if [ -e ${NGINX_FILE}${TAR} ];then color "相关文件已准备好" 0 else color '开始下载 nginx 源码包' 0 wget ${NGINX_URL}${NGINX_FILE}${TAR} [ $? -ne 0 ] && { color "下载 ${NGINX_FILE}${TAR}文件失败" 1; exit; } fi } install () { color "开始安装 nginx" 0 if id nginx &> /dev/null;then color "nginx 用户已存在" 1 else useradd -s /sbin/nologin -r nginx color "创建 nginx 用户" 0 fi color "开始安装 nginx 依赖包" 0 if [ $ID == "centos" ] ;then if [[ $VERSION_ID =~ ^7 ]];then yum -y install gcc make pcre-devel openssl-devel zlib-devel perl-ExtUtils-Embed elif [[ $VERSION_ID =~ ^8 ]];then yum -y install make gcc-c++ libtool pcre pcre-devel zlib zlib-devel openssl openssl-devel perl-ExtUtils-Embed else color '不支持此系统!' 1 exit fi elif [ $ID == "rocky" ];then yum -y install gcc make gcc-c++ libtool pcre pcre-devel zlib zlib-devel openssl openssl-devel perl-ExtUtils-Embed else apt update apt -y install gcc make libpcre3 libpcre3-dev openssl libssl-dev zlib1g-dev fi cd $SRC_DIR tar xf ${NGINX_FILE}${TAR} NGINX_DIR=`echo ${NGINX_FILE}${TAR}| sed -nr 's/^(.*[0-9]).*/\1/p'` cd ${NGINX_DIR} ./configure --prefix=${NGINX_INSTALL_DIR} --user=nginx --group=nginx --with-http_ssl_module --with-http_v2_module --with-http_realip_module --with-http_stub_status_module --with-http_gzip_static_module --with-pcre --with-stream --with-stream_ssl_module --with-stream_realip_module make -j $CPUS && make install [ $? -eq 0 ] && color "nginx 编译安装成功" 0 || { color "nginx 编译安装失败,退出!" 1 ;exit; } chown -R nginx.nginx ${NGINX_INSTALL_DIR} echo "PATH=${NGINX_INSTALL_DIR}/sbin:${PATH}" > /etc/profile.d/nginx.sh cat > /lib/systemd/system/nginx.service <<EOF [Unit] Description=The nginx HTTP and reverse proxy server After=network.target remote-fs.target nss-lookup.target [Service] Type=forking PIDFile=${NGINX_INSTALL_DIR}/logs/nginx.pid ExecStartPre=/bin/rm -f ${NGINX_INSTALL_DIR}/logs/nginx.pid ExecStartPre=${NGINX_INSTALL_DIR}/sbin/nginx -t ExecStart=${NGINX_INSTALL_DIR}/sbin/nginx ExecReload=/bin/kill -s HUP \$MAINPID KillSignal=SIGQUIT TimeoutStopSec=5 KillMode=process PrivateTmp=true LimitNOFILE=100000 [Install] WantedBy=multi-user.target EOF systemctl daemon-reload systemctl enable --now nginx &> /dev/null systemctl is-active nginx &> /dev/null || { color "nginx 启动失败,退出!" 1 ; exit; } color "nginx 安装完成" 0 } check install
1.1、rocky8.6编译安装过程
![](https://images.cnblogs.com/OutliningIndicators/ContractedBlock.gif)
[root@rocky8-nginx ~]# ./nginx_install.sh 开始下载 nginx 源码包 [ OK ] --2022-09-15 10:25:04-- http://nginx.org/download/nginx-1.22.0.tar.gz Resolving nginx.org (nginx.org)... 3.125.197.172, 52.58.199.22, 2a05:d014:edb:5704::6, ... Connecting to nginx.org (nginx.org)|3.125.197.172|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 1073322 (1.0M) [application/octet-stream] Saving to: ‘nginx-1.22.0.tar.gz’ nginx-1.22.0.tar.gz 100%[===================================================================================================================>] 1.02M 981KB/s in 1.1s 2022-09-15 10:25:07 (981 KB/s) - ‘nginx-1.22.0.tar.gz’ saved [1073322/1073322] 开始安装 nginx [ OK ] 创建 nginx 用户 [ OK ] 开始安装 nginx 依赖包 [ OK ] Rocky Linux 8 - AppStream 34 kB/s | 4.8 kB 00:00 Rocky Linux 8 - AppStream 514 kB/s | 9.7 MB 00:19 Rocky Linux 8 - BaseOS 38 kB/s | 4.3 kB 00:00 Rocky Linux 8 - BaseOS 729 kB/s | 6.7 MB 00:09 Rocky Linux 8 - Extras 30 kB/s | 3.5 kB 00:00 Rocky Linux 8 - Extras 43 kB/s | 12 kB 00:00 Docker CE Stable - x86_64 35 kB/s | 3.5 kB 00:00 Docker CE Stable - x86_64 105 kB/s | 27 kB 00:00 Extra Packages for Enterprise Linux 8 - x86_64 1.0 kB/s | 25 kB 00:24 Extra Packages for Enterprise Linux 8 - x86_64 542 kB/s | 13 MB 00:24 Extra Packages for Enterprise Linux Modular 8 - x86_64 2.3 kB/s | 25 kB 00:10 Extra Packages for Enterprise Linux Modular 8 - x86_64 18 kB/s | 733 kB 00:40 Package make-1:4.2.1-11.el8.x86_64 is already installed. Package pcre-8.42-6.el8.x86_64 is already installed. Package zlib-1.2.11-18.el8_5.x86_64 is already installed. Package openssl-1:1.1.1k-6.el8_5.x86_64 is already installed. Dependencies resolved. ================================================================================================================================================================================================================= Package Architecture Version Repository Size ================================================================================================================================================================================================================= Installing: gcc x86_64 8.5.0-10.1.el8_6 appstream 23 M gcc-c++ x86_64 8.5.0-10.1.el8_6 appstream 12 M libtool x86_64 2.4.6-25.el8 appstream 708 k openssl-devel x86_64 1:1.1.1k-7.el8_6 baseos 2.3 M pcre-devel x86_64 8.42-6.el8 baseos 550 k perl-ExtUtils-Embed noarch 1.34-421.el8 appstream 78 k zlib-devel x86_64 1.2.11-18.el8_5 baseos 57 k Upgrading: libgcc x86_64 8.5.0-10.1.el8_6 baseos 79 k libgomp x86_64 8.5.0-10.1.el8_6 baseos 206 k libstdc++ x86_64 8.5.0-10.1.el8_6 baseos 453 k openssl x86_64 1:1.1.1k-7.el8_6 baseos 708 k openssl-libs x86_64 1:1.1.1k-7.el8_6 baseos 1.5 M Installing dependencies: annobin x86_64 10.29-3.el8 appstream 115 k autoconf noarch 2.69-29.el8 appstream 709 k automake noarch 1.16.1-7.el8 appstream 712 k cpp x86_64 8.5.0-10.1.el8_6 appstream 10 M dwz x86_64 0.12-10.el8 appstream 108 k efi-srpm-macros noarch 3-3.el8 appstream 21 k emacs-filesystem noarch 1:26.1-7.el8 baseos 69 k ghc-srpm-macros noarch 1.4.2-7.el8 appstream 8.3 k glibc-devel x86_64 2.28-189.1.el8 baseos 78 k glibc-headers x86_64 2.28-189.1.el8 baseos 482 k go-srpm-macros noarch 2-17.el8 appstream 12 k isl x86_64 0.16.1-6.el8 appstream 834 k kernel-headers x86_64 4.18.0-372.19.1.el8_6 baseos 9.4 M keyutils-libs-devel x86_64 1.5.10-9.el8 baseos 47 k krb5-devel x86_64 1.18.2-14.el8 baseos 559 k libcom_err-devel x86_64 1.45.6-4.el8 baseos 37 k libkadm5 x86_64 1.18.2-14.el8 baseos 186 k libmpc x86_64 1.1.0-9.1.el8 appstream 60 k libpkgconf x86_64 1.4.2-1.el8 baseos 34 k libselinux-devel x86_64 2.9-5.el8 baseos 199 k libsepol-devel x86_64 2.9-3.el8 baseos 86 k libstdc++-devel x86_64 8.5.0-10.1.el8_6 appstream 2.0 M libverto-devel x86_64 0.3.0-5.el8 baseos 17 k libxcrypt-devel x86_64 4.1.1-6.el8 baseos 24 k ocaml-srpm-macros noarch 5-4.el8 appstream 8.3 k openblas-srpm-macros noarch 2-2.el8 appstream 6.9 k pcre-cpp x86_64 8.42-6.el8 baseos 46 k pcre-utf16 x86_64 8.42-6.el8 baseos 194 k pcre-utf32 x86_64 8.42-6.el8 baseos 185 k pcre2-devel x86_64 10.32-2.el8 baseos 604 k pcre2-utf16 x86_64 10.32-2.el8 baseos 228 k pcre2-utf32 x86_64 10.32-2.el8 baseos 219 k perl-CPAN-Meta-Requirements noarch 2.140-396.el8 appstream 36 k perl-CPAN-Meta-YAML noarch 0.018-397.el8 appstream 32 k perl-Carp noarch 1.42-396.el8 baseos 29 k perl-Data-Dumper x86_64 2.167-399.el8 baseos 57 k perl-Digest noarch 1.17-395.el8 appstream 26 k perl-Digest-MD5 x86_64 2.55-396.el8 appstream 36 k perl-Encode x86_64 4:2.97-3.el8 baseos 1.5 M perl-Errno x86_64 1.28-421.el8 baseos 75 k perl-Exporter noarch 5.72-396.el8 baseos 33 k perl-ExtUtils-Command noarch 1:7.34-1.el8 appstream 18 k perl-ExtUtils-Install noarch 2.14-4.el8 appstream 45 k perl-ExtUtils-MakeMaker noarch 1:7.34-1.el8 appstream 299 k perl-ExtUtils-Manifest noarch 1.70-395.el8 appstream 35 k perl-ExtUtils-ParseXS noarch 1:3.35-2.el8 appstream 82 k perl-File-Path noarch 2.15-2.el8 baseos 37 k perl-File-Temp noarch 0.230.600-1.el8 baseos 62 k perl-Getopt-Long noarch 1:2.50-4.el8 baseos 62 k perl-HTTP-Tiny noarch 0.074-1.el8 baseos 57 k perl-IO x86_64 1.38-421.el8 baseos 141 k perl-JSON-PP noarch 1:2.97.001-3.el8 appstream 67 k perl-MIME-Base64 x86_64 3.15-396.el8 baseos 30 k perl-Math-BigInt noarch 1:1.9998.11-7.el8 baseos 194 k perl-Math-Complex noarch 1.59-421.el8 baseos 108 k perl-Net-SSLeay x86_64 1.88-2.module+el8.6.0+957+15d660ad appstream 378 k perl-PathTools x86_64 3.74-1.el8 baseos 89 k perl-Pod-Escapes noarch 1:1.07-395.el8 baseos 19 k perl-Pod-Perldoc noarch 3.28-396.el8 baseos 85 k perl-Pod-Simple noarch 1:3.35-395.el8 baseos 212 k perl-Pod-Usage noarch 4:1.69-395.el8 baseos 33 k perl-Scalar-List-Utils x86_64 3:1.49-2.el8 baseos 67 k perl-Socket x86_64 4:2.027-3.el8 baseos 58 k perl-Storable x86_64 1:3.11-3.el8 baseos 97 k perl-Term-ANSIColor noarch 4.06-396.el8 baseos 45 k perl-Term-Cap noarch 1.17-395.el8 baseos 22 k perl-Test-Harness noarch 1:3.42-1.el8 appstream 278 k perl-Text-ParseWords noarch 3.30-395.el8 baseos 17 k perl-Text-Tabs+Wrap noarch 2013.0523-395.el8 baseos 23 k perl-Thread-Queue noarch 3.13-1.el8 appstream 23 k perl-Time-Local noarch 1:1.280-1.el8 baseos 32 k perl-URI noarch 1.73-3.el8 appstream 115 k perl-Unicode-Normalize x86_64 1.25-396.el8 baseos 81 k perl-constant noarch 1.33-396.el8 baseos 24 k perl-devel x86_64 4:5.26.3-421.el8 appstream 598 k perl-interpreter x86_64 4:5.26.3-421.el8 baseos 6.3 M perl-libnet noarch 3.11-3.el8 appstream 120 k perl-libs x86_64 4:5.26.3-421.el8 baseos 1.6 M perl-macros x86_64 4:5.26.3-421.el8 baseos 71 k perl-parent noarch 1:0.237-1.el8 baseos 19 k perl-podlators noarch 4.11-1.el8 baseos 117 k perl-srpm-macros noarch 1-25.el8 appstream 9.7 k perl-threads x86_64 1:2.21-2.el8 baseos 60 k perl-threads-shared x86_64 1.58-2.el8 baseos 47 k perl-version x86_64 6:0.99.24-1.el8 appstream 66 k pkgconf x86_64 1.4.2-1.el8 baseos 37 k pkgconf-m4 noarch 1.4.2-1.el8 baseos 16 k pkgconf-pkg-config x86_64 1.4.2-1.el8 baseos 14 k python-rpm-macros noarch 3-41.el8 appstream 14 k python-srpm-macros noarch 3-41.el8 appstream 13 k python3-pyparsing noarch 2.1.10-7.el8 baseos 140 k python3-rpm-macros noarch 3-41.el8 appstream 13 k qt5-srpm-macros noarch 5.15.2-1.el8.0.1 appstream 9.5 k redhat-rpm-config noarch 129-1.el8 appstream 87 k rust-srpm-macros noarch 5-2.el8 appstream 8.2 k systemtap-sdt-devel x86_64 4.6-4.el8 appstream 85 k unzip x86_64 6.0-46.el8 baseos 195 k zip x86_64 3.0-23.el8 baseos 269 k Installing weak dependencies: perl-CPAN-Meta noarch 2.150010-396.el8 appstream 190 k perl-Encode-Locale noarch 1.05-10.module+el8.6.0+965+850557f9 appstream 21 k perl-IO-Socket-IP noarch 0.39-5.el8 appstream 46 k perl-IO-Socket-SSL noarch 2.066-4.module+el8.6.0+957+15d660ad appstream 297 k perl-Mozilla-CA noarch 20160104-7.module+el8.6.0+965+850557f9 appstream 14 k perl-Time-HiRes x86_64 4:1.9758-2.el8 appstream 60 k Enabling module streams: perl 5.26 perl-IO-Socket-SSL 2.066 perl-libwww-perl 6.34 Transaction Summary ================================================================================================================================================================================================================= Install 111 Packages Upgrade 5 Packages Total download size: 85 M Downloading Packages: (1/116): annobin-10.29-3.el8.x86_64.rpm 275 kB/s | 115 kB 00:00 (2/116): autoconf-2.69-29.el8.noarch.rpm 349 kB/s | 709 kB 00:02 (3/116): automake-1.16.1-7.el8.noarch.rpm 345 kB/s | 712 kB 00:02 (4/116): efi-srpm-macros-3-3.el8.noarch.rpm 272 kB/s | 21 kB 00:00 (5/116): dwz-0.12-10.el8.x86_64.rpm 361 kB/s | 108 kB 00:00 (6/116): cpp-8.5.0-10.1.el8_6.x86_64.rpm 366 kB/s | 10 MB 00:29 (7/116): ghc-srpm-macros-1.4.2-7.el8.noarch.rpm 178 kB/s | 8.3 kB 00:00 (8/116): go-srpm-macros-2-17.el8.noarch.rpm 186 kB/s | 12 kB 00:00 (9/116): isl-0.16.1-6.el8.x86_64.rpm 372 kB/s | 834 kB 00:02 (10/116): libmpc-1.1.0-9.1.el8.x86_64.rpm 331 kB/s | 60 kB 00:00 (11/116): gcc-c++-8.5.0-10.1.el8_6.x86_64.rpm 375 kB/s | 12 MB 00:33 (12/116): libtool-2.4.6-25.el8.x86_64.rpm 367 kB/s | 708 kB 00:01 (13/116): ocaml-srpm-macros-5-4.el8.noarch.rpm 207 kB/s | 8.3 kB 00:00 (14/116): libstdc++-devel-8.5.0-10.1.el8_6.x86_64.rpm 371 kB/s | 2.0 MB 00:05 (15/116): openblas-srpm-macros-2-2.el8.noarch.rpm 175 kB/s | 6.9 kB 00:00 (16/116): perl-CPAN-Meta-Requirements-2.140-396.el8.noarch.rpm 275 kB/s | 36 kB 00:00 (17/116): perl-CPAN-Meta-YAML-0.018-397.el8.noarch.rpm 310 kB/s | 32 kB 00:00 (18/116): perl-Digest-1.17-395.el8.noarch.rpm 310 kB/s | 26 kB 00:00 (19/116): perl-Digest-MD5-2.55-396.el8.x86_64.rpm 259 kB/s | 36 kB 00:00 (20/116): perl-CPAN-Meta-2.150010-396.el8.noarch.rpm 352 kB/s | 190 kB 00:00 (21/116): perl-Encode-Locale-1.05-10.module+el8.6.0+965+850557f9.noarch.rpm 281 kB/s | 21 kB 00:00 (22/116): perl-ExtUtils-Command-7.34-1.el8.noarch.rpm 178 kB/s | 18 kB 00:00 (23/116): perl-ExtUtils-Embed-1.34-421.el8.noarch.rpm 349 kB/s | 78 kB 00:00 (24/116): perl-ExtUtils-Install-2.14-4.el8.noarch.rpm 323 kB/s | 45 kB 00:00 (25/116): perl-ExtUtils-Manifest-1.70-395.el8.noarch.rpm 286 kB/s | 35 kB 00:00 (26/116): perl-ExtUtils-ParseXS-3.35-2.el8.noarch.rpm 304 kB/s | 82 kB 00:00 (27/116): perl-IO-Socket-IP-0.39-5.el8.noarch.rpm 324 kB/s | 46 kB 00:00 (28/116): perl-ExtUtils-MakeMaker-7.34-1.el8.noarch.rpm 368 kB/s | 299 kB 00:00 (29/116): perl-JSON-PP-2.97.001-3.el8.noarch.rpm 316 kB/s | 67 kB 00:00 (30/116): perl-Mozilla-CA-20160104-7.module+el8.6.0+965+850557f9.noarch.rpm 256 kB/s | 14 kB 00:00 (31/116): perl-IO-Socket-SSL-2.066-4.module+el8.6.0+957+15d660ad.noarch.rpm 364 kB/s | 297 kB 00:00 (32/116): perl-Net-SSLeay-1.88-2.module+el8.6.0+957+15d660ad.x86_64.rpm 359 kB/s | 378 kB 00:01 (33/116): perl-Test-Harness-3.42-1.el8.noarch.rpm 354 kB/s | 278 kB 00:00 (34/116): perl-Thread-Queue-3.13-1.el8.noarch.rpm 237 kB/s | 23 kB 00:00 (35/116): perl-Time-HiRes-1.9758-2.el8.x86_64.rpm 333 kB/s | 60 kB 00:00 (36/116): perl-URI-1.73-3.el8.noarch.rpm 360 kB/s | 115 kB 00:00 (37/116): perl-libnet-3.11-3.el8.noarch.rpm 346 kB/s | 120 kB 00:00 (38/116): perl-srpm-macros-1-25.el8.noarch.rpm 186 kB/s | 9.7 kB 00:00 (39/116): perl-version-0.99.24-1.el8.x86_64.rpm 344 kB/s | 66 kB 00:00 (40/116): python-rpm-macros-3-41.el8.noarch.rpm 205 kB/s | 14 kB 00:00 (41/116): python-srpm-macros-3-41.el8.noarch.rpm 169 kB/s | 13 kB 00:00 (42/116): python3-rpm-macros-3-41.el8.noarch.rpm 189 kB/s | 13 kB 00:00 (43/116): qt5-srpm-macros-5.15.2-1.el8.0.1.noarch.rpm 190 kB/s | 9.5 kB 00:00 (44/116): redhat-rpm-config-129-1.el8.noarch.rpm 345 kB/s | 87 kB 00:00 (45/116): rust-srpm-macros-5-2.el8.noarch.rpm 157 kB/s | 8.2 kB 00:00 (46/116): systemtap-sdt-devel-4.6-4.el8.x86_64.rpm 347 kB/s | 85 kB 00:00 (47/116): emacs-filesystem-26.1-7.el8.noarch.rpm 331 kB/s | 69 kB 00:00 (48/116): perl-devel-5.26.3-421.el8.x86_64.rpm 315 kB/s | 598 kB 00:01 (49/116): glibc-devel-2.28-189.1.el8.x86_64.rpm 300 kB/s | 78 kB 00:00 (50/116): glibc-headers-2.28-189.1.el8.x86_64.rpm 356 kB/s | 482 kB 00:01 (51/116): keyutils-libs-devel-1.5.10-9.el8.x86_64.rpm 301 kB/s | 47 kB 00:00 (52/116): krb5-devel-1.18.2-14.el8.x86_64.rpm 369 kB/s | 559 kB 00:01 (53/116): libcom_err-devel-1.45.6-4.el8.x86_64.rpm 303 kB/s | 37 kB 00:00 (54/116): libkadm5-1.18.2-14.el8.x86_64.rpm 361 kB/s | 186 kB 00:00 (55/116): libpkgconf-1.4.2-1.el8.x86_64.rpm 158 kB/s | 34 kB 00:00 (56/116): libselinux-devel-2.9-5.el8.x86_64.rpm 369 kB/s | 199 kB 00:00 (57/116): libsepol-devel-2.9-3.el8.x86_64.rpm 349 kB/s | 86 kB 00:00 (58/116): libverto-devel-0.3.0-5.el8.x86_64.rpm 268 kB/s | 17 kB 00:00 (59/116): libxcrypt-devel-4.1.1-6.el8.x86_64.rpm 292 kB/s | 24 kB 00:00 (60/116): openssl-devel-1.1.1k-7.el8_6.x86_64.rpm 375 kB/s | 2.3 MB 00:06 (61/116): pcre-cpp-8.42-6.el8.x86_64.rpm 313 kB/s | 46 kB 00:00 (62/116): pcre-devel-8.42-6.el8.x86_64.rpm 365 kB/s | 550 kB 00:01 (63/116): pcre-utf16-8.42-6.el8.x86_64.rpm 352 kB/s | 194 kB 00:00 (64/116): pcre-utf32-8.42-6.el8.x86_64.rpm 359 kB/s | 185 kB 00:00 (65/116): pcre2-devel-10.32-2.el8.x86_64.rpm 369 kB/s | 604 kB 00:01 (66/116): pcre2-utf16-10.32-2.el8.x86_64.rpm 370 kB/s | 228 kB 00:00 (67/116): pcre2-utf32-10.32-2.el8.x86_64.rpm 329 kB/s | 219 kB 00:00 (68/116): perl-Carp-1.42-396.el8.noarch.rpm 294 kB/s | 29 kB 00:00 (69/116): perl-Data-Dumper-2.167-399.el8.x86_64.rpm 335 kB/s | 57 kB 00:00 (70/116): perl-Encode-2.97-3.el8.x86_64.rpm 369 kB/s | 1.5 MB 00:04 (71/116): perl-Errno-1.28-421.el8.x86_64.rpm 330 kB/s | 75 kB 00:00 (72/116): perl-Exporter-5.72-396.el8.noarch.rpm 295 kB/s | 33 kB 00:00 (73/116): perl-File-Path-2.15-2.el8.noarch.rpm 309 kB/s | 37 kB 00:00 (74/116): perl-File-Temp-0.230.600-1.el8.noarch.rpm 325 kB/s | 62 kB 00:00 (75/116): perl-Getopt-Long-2.50-4.el8.noarch.rpm 341 kB/s | 62 kB 00:00 (76/116): perl-HTTP-Tiny-0.074-1.el8.noarch.rpm 335 kB/s | 57 kB 00:00 (77/116): perl-IO-1.38-421.el8.x86_64.rpm 331 kB/s | 141 kB 00:00 (78/116): perl-MIME-Base64-3.15-396.el8.x86_64.rpm 296 kB/s | 30 kB 00:00 (79/116): perl-Math-BigInt-1.9998.11-7.el8.noarch.rpm 348 kB/s | 194 kB 00:00 (80/116): perl-Math-Complex-1.59-421.el8.noarch.rpm 347 kB/s | 108 kB 00:00 (81/116): gcc-8.5.0-10.1.el8_6.x86_64.rpm 373 kB/s | 23 MB 01:04 (82/116): perl-Pod-Escapes-1.07-395.el8.noarch.rpm 240 kB/s | 19 kB 00:00 (83/116): perl-PathTools-3.74-1.el8.x86_64.rpm 343 kB/s | 89 kB 00:00 (84/116): perl-Pod-Perldoc-3.28-396.el8.noarch.rpm 332 kB/s | 85 kB 00:00 (85/116): perl-Pod-Usage-1.69-395.el8.noarch.rpm 314 kB/s | 33 kB 00:00 (86/116): perl-Scalar-List-Utils-1.49-2.el8.x86_64.rpm 329 kB/s | 67 kB 00:00 (87/116): perl-Pod-Simple-3.35-395.el8.noarch.rpm 352 kB/s | 212 kB 00:00 (88/116): perl-Socket-2.027-3.el8.x86_64.rpm 315 kB/s | 58 kB 00:00 (89/116): perl-Storable-3.11-3.el8.x86_64.rpm 348 kB/s | 97 kB 00:00 (90/116): perl-Term-ANSIColor-4.06-396.el8.noarch.rpm 327 kB/s | 45 kB 00:00 (91/116): perl-Term-Cap-1.17-395.el8.noarch.rpm 287 kB/s | 22 kB 00:00 (92/116): perl-Text-ParseWords-3.30-395.el8.noarch.rpm 215 kB/s | 17 kB 00:00 (93/116): perl-Text-Tabs+Wrap-2013.0523-395.el8.noarch.rpm 282 kB/s | 23 kB 00:00 (94/116): perl-Time-Local-1.280-1.el8.noarch.rpm 309 kB/s | 32 kB 00:00 (95/116): perl-constant-1.33-396.el8.noarch.rpm 288 kB/s | 24 kB 00:00 (96/116): perl-Unicode-Normalize-1.25-396.el8.x86_64.rpm 343 kB/s | 81 kB 00:00 (97/116): kernel-headers-4.18.0-372.19.1.el8_6.x86_64.rpm 361 kB/s | 9.4 MB 00:26 (98/116): perl-macros-5.26.3-421.el8.x86_64.rpm 323 kB/s | 71 kB 00:00 (99/116): perl-parent-0.237-1.el8.noarch.rpm 225 kB/s | 19 kB 00:00 (100/116): perl-podlators-4.11-1.el8.noarch.rpm 341 kB/s | 117 kB 00:00 (101/116): perl-threads-2.21-2.el8.x86_64.rpm 308 kB/s | 60 kB 00:00 (102/116): perl-threads-shared-1.58-2.el8.x86_64.rpm 297 kB/s | 47 kB 00:00 (103/116): pkgconf-1.4.2-1.el8.x86_64.rpm 174 kB/s | 37 kB 00:00 (104/116): pkgconf-m4-1.4.2-1.el8.noarch.rpm 128 kB/s | 16 kB 00:00 (105/116): pkgconf-pkg-config-1.4.2-1.el8.x86_64.rpm 101 kB/s | 14 kB 00:00 (106/116): python3-pyparsing-2.1.10-7.el8.noarch.rpm 348 kB/s | 140 kB 00:00 (107/116): unzip-6.0-46.el8.x86_64.rpm 301 kB/s | 195 kB 00:00 (108/116): perl-libs-5.26.3-421.el8.x86_64.rpm 361 kB/s | 1.6 MB 00:04 (109/116): zlib-devel-1.2.11-18.el8_5.x86_64.rpm 311 kB/s | 57 kB 00:00 (110/116): libgcc-8.5.0-10.1.el8_6.x86_64.rpm 335 kB/s | 79 kB 00:00 (111/116): zip-3.0-23.el8.x86_64.rpm 323 kB/s | 269 kB 00:00 (112/116): libgomp-8.5.0-10.1.el8_6.x86_64.rpm 359 kB/s | 206 kB 00:00 (113/116): libstdc++-8.5.0-10.1.el8_6.x86_64.rpm 359 kB/s | 453 kB 00:01 (114/116): openssl-1.1.1k-7.el8_6.x86_64.rpm 377 kB/s | 708 kB 00:01 (115/116): openssl-libs-1.1.1k-7.el8_6.x86_64.rpm 372 kB/s | 1.5 MB 00:04 (116/116): perl-interpreter-5.26.3-421.el8.x86_64.rpm 373 kB/s | 6.3 MB 00:17 ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Total 1.0 MB/s | 85 MB 01:25 Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Preparing : 1/1 Upgrading : openssl-libs-1:1.1.1k-7.el8_6.x86_64 1/121 Running scriptlet: openssl-libs-1:1.1.1k-7.el8_6.x86_64 1/121 Upgrading : libgcc-8.5.0-10.1.el8_6.x86_64 2/121 Running scriptlet: libgcc-8.5.0-10.1.el8_6.x86_64 2/121 Upgrading : libstdc++-8.5.0-10.1.el8_6.x86_64 3/121 Running scriptlet: libstdc++-8.5.0-10.1.el8_6.x86_64 3/121 Installing : libmpc-1.1.0-9.1.el8.x86_64 4/121 Installing : python-srpm-macros-3-41.el8.noarch 5/121 Installing : python-rpm-macros-3-41.el8.noarch 6/121 Installing : python3-rpm-macros-3-41.el8.noarch 7/121 Installing : cpp-8.5.0-10.1.el8_6.x86_64 8/121 Running scriptlet: cpp-8.5.0-10.1.el8_6.x86_64 8/121 Installing : libstdc++-devel-8.5.0-10.1.el8_6.x86_64 9/121 Installing : pcre-cpp-8.42-6.el8.x86_64 10/121 Installing : libkadm5-1.18.2-14.el8.x86_64 11/121 Upgrading : openssl-1:1.1.1k-7.el8_6.x86_64 12/121 Installing : perl-Digest-1.17-395.el8.noarch 13/121 Installing : perl-Digest-MD5-2.55-396.el8.x86_64 14/121 Installing : perl-Data-Dumper-2.167-399.el8.x86_64 15/121 Installing : perl-libnet-3.11-3.el8.noarch 16/121 Installing : perl-Net-SSLeay-1.88-2.module+el8.6.0+957+15d660ad.x86_64 17/121 Installing : perl-URI-1.73-3.el8.noarch 18/121 Installing : perl-Pod-Escapes-1:1.07-395.el8.noarch 19/121 Installing : perl-Mozilla-CA-20160104-7.module+el8.6.0+965+850557f9.noarch 20/121 Installing : perl-IO-Socket-IP-0.39-5.el8.noarch 21/121 Installing : perl-Time-Local-1:1.280-1.el8.noarch 22/121 Installing : perl-IO-Socket-SSL-2.066-4.module+el8.6.0+957+15d660ad.noarch 23/121 Installing : perl-Term-ANSIColor-4.06-396.el8.noarch 24/121 Installing : perl-Term-Cap-1.17-395.el8.noarch 25/121 Installing : perl-File-Temp-0.230.600-1.el8.noarch 26/121 Installing : perl-Pod-Simple-1:3.35-395.el8.noarch 27/121 Installing : perl-HTTP-Tiny-0.074-1.el8.noarch 28/121 Installing : perl-podlators-4.11-1.el8.noarch 29/121 Installing : perl-Pod-Perldoc-3.28-396.el8.noarch 30/121 Installing : perl-Text-ParseWords-3.30-395.el8.noarch 31/121 Installing : perl-Pod-Usage-4:1.69-395.el8.noarch 32/121 Installing : perl-MIME-Base64-3.15-396.el8.x86_64 33/121 Installing : perl-Storable-1:3.11-3.el8.x86_64 34/121 Installing : perl-Getopt-Long-1:2.50-4.el8.noarch 35/121 Installing : perl-Errno-1.28-421.el8.x86_64 36/121 Installing : perl-Socket-4:2.027-3.el8.x86_64 37/121 Installing : perl-Encode-4:2.97-3.el8.x86_64 38/121 Installing : perl-Carp-1.42-396.el8.noarch 39/121 Installing : perl-Exporter-5.72-396.el8.noarch 40/121 Installing : perl-libs-4:5.26.3-421.el8.x86_64 41/121 Installing : perl-Scalar-List-Utils-3:1.49-2.el8.x86_64 42/121 Installing : perl-parent-1:0.237-1.el8.noarch 43/121 Installing : perl-macros-4:5.26.3-421.el8.x86_64 44/121 Installing : perl-Text-Tabs+Wrap-2013.0523-395.el8.noarch 45/121 Installing : perl-Unicode-Normalize-1.25-396.el8.x86_64 46/121 Installing : perl-File-Path-2.15-2.el8.noarch 47/121 Installing : perl-IO-1.38-421.el8.x86_64 48/121 Installing : perl-PathTools-3.74-1.el8.x86_64 49/121 Installing : perl-constant-1.33-396.el8.noarch 50/121 Installing : perl-threads-1:2.21-2.el8.x86_64 51/121 Installing : perl-threads-shared-1.58-2.el8.x86_64 52/121 Installing : perl-interpreter-4:5.26.3-421.el8.x86_64 53/121 Installing : perl-version-6:0.99.24-1.el8.x86_64 54/121 Installing : perl-CPAN-Meta-Requirements-2.140-396.el8.noarch 55/121 Installing : perl-ExtUtils-ParseXS-1:3.35-2.el8.noarch 56/121 Installing : perl-Time-HiRes-4:1.9758-2.el8.x86_64 57/121 Installing : perl-Test-Harness-1:3.42-1.el8.noarch 58/121 Installing : perl-CPAN-Meta-YAML-0.018-397.el8.noarch 59/121 Installing : perl-Encode-Locale-1.05-10.module+el8.6.0+965+850557f9.noarch 60/121 Installing : perl-ExtUtils-Command-1:7.34-1.el8.noarch 61/121 Installing : perl-ExtUtils-Manifest-1.70-395.el8.noarch 62/121 Installing : perl-Math-Complex-1.59-421.el8.noarch 63/121 Installing : perl-Math-BigInt-1:1.9998.11-7.el8.noarch 64/121 Installing : perl-JSON-PP-1:2.97.001-3.el8.noarch 65/121 Installing : perl-CPAN-Meta-2.150010-396.el8.noarch 66/121 Installing : perl-Thread-Queue-3.13-1.el8.noarch 67/121 Upgrading : libgomp-8.5.0-10.1.el8_6.x86_64 68/121 Running scriptlet: libgomp-8.5.0-10.1.el8_6.x86_64 68/121 Installing : unzip-6.0-46.el8.x86_64 69/121 Installing : zip-3.0-23.el8.x86_64 70/121 Installing : python3-pyparsing-2.1.10-7.el8.noarch 71/121 Installing : systemtap-sdt-devel-4.6-4.el8.x86_64 72/121 Installing : pkgconf-m4-1.4.2-1.el8.noarch 73/121 Installing : pcre2-utf32-10.32-2.el8.x86_64 74/121 Installing : pcre2-utf16-10.32-2.el8.x86_64 75/121 Installing : pcre-utf32-8.42-6.el8.x86_64 76/121 Installing : pcre-utf16-8.42-6.el8.x86_64 77/121 Installing : libpkgconf-1.4.2-1.el8.x86_64 78/121 Installing : pkgconf-1.4.2-1.el8.x86_64 79/121 Installing : pkgconf-pkg-config-1.4.2-1.el8.x86_64 80/121 Installing : libcom_err-devel-1.45.6-4.el8.x86_64 81/121 Installing : libsepol-devel-2.9-3.el8.x86_64 82/121 Installing : libverto-devel-0.3.0-5.el8.x86_64 83/121 Installing : pcre2-devel-10.32-2.el8.x86_64 84/121 Installing : libselinux-devel-2.9-5.el8.x86_64 85/121 Installing : zlib-devel-1.2.11-18.el8_5.x86_64 86/121 Installing : keyutils-libs-devel-1.5.10-9.el8.x86_64 87/121 Installing : krb5-devel-1.18.2-14.el8.x86_64 88/121 Installing : kernel-headers-4.18.0-372.19.1.el8_6.x86_64 89/121 Running scriptlet: glibc-headers-2.28-189.1.el8.x86_64 90/121 Installing : glibc-headers-2.28-189.1.el8.x86_64 90/121 Installing : libxcrypt-devel-4.1.1-6.el8.x86_64 91/121 Installing : glibc-devel-2.28-189.1.el8.x86_64 92/121 Running scriptlet: glibc-devel-2.28-189.1.el8.x86_64 92/121 Installing : emacs-filesystem-1:26.1-7.el8.noarch 93/121 Installing : autoconf-2.69-29.el8.noarch 94/121 Running scriptlet: autoconf-2.69-29.el8.noarch 94/121 Installing : automake-1.16.1-7.el8.noarch 95/121 Installing : rust-srpm-macros-5-2.el8.noarch 96/121 Installing : qt5-srpm-macros-5.15.2-1.el8.0.1.noarch 97/121 Installing : perl-srpm-macros-1-25.el8.noarch 98/121 Installing : openblas-srpm-macros-2-2.el8.noarch 99/121 Installing : ocaml-srpm-macros-5-4.el8.noarch 100/121 Installing : isl-0.16.1-6.el8.x86_64 101/121 Running scriptlet: isl-0.16.1-6.el8.x86_64 101/121 Installing : gcc-8.5.0-10.1.el8_6.x86_64 102/121 Running scriptlet: gcc-8.5.0-10.1.el8_6.x86_64 102/121 Installing : annobin-10.29-3.el8.x86_64 103/121 Installing : go-srpm-macros-2-17.el8.noarch 104/121 Installing : ghc-srpm-macros-1.4.2-7.el8.noarch 105/121 Installing : efi-srpm-macros-3-3.el8.noarch 106/121 Installing : dwz-0.12-10.el8.x86_64 107/121 Installing : redhat-rpm-config-129-1.el8.noarch 108/121 Installing : perl-ExtUtils-Install-2.14-4.el8.noarch 109/121 Installing : perl-devel-4:5.26.3-421.el8.x86_64 110/121 Installing : perl-ExtUtils-MakeMaker-1:7.34-1.el8.noarch 111/121 Installing : perl-ExtUtils-Embed-1.34-421.el8.noarch 112/121 Installing : gcc-c++-8.5.0-10.1.el8_6.x86_64 113/121 Installing : libtool-2.4.6-25.el8.x86_64 114/121 Running scriptlet: libtool-2.4.6-25.el8.x86_64 114/121 Installing : openssl-devel-1:1.1.1k-7.el8_6.x86_64 115/121 Installing : pcre-devel-8.42-6.el8.x86_64 116/121 Cleanup : openssl-1:1.1.1k-6.el8_5.x86_64 117/121 Cleanup : libstdc++-8.5.0-10.el8.x86_64 118/121 Running scriptlet: libstdc++-8.5.0-10.el8.x86_64 118/121 Cleanup : libgcc-8.5.0-10.el8.x86_64 119/121 Running scriptlet: libgcc-8.5.0-10.el8.x86_64 119/121 Cleanup : openssl-libs-1:1.1.1k-6.el8_5.x86_64 120/121 Running scriptlet: openssl-libs-1:1.1.1k-6.el8_5.x86_64 120/121 Running scriptlet: libgomp-8.5.0-10.el8.x86_64 121/121 Cleanup : libgomp-8.5.0-10.el8.x86_64 121/121 Running scriptlet: libgomp-8.5.0-10.el8.x86_64 121/121 Verifying : annobin-10.29-3.el8.x86_64 1/121 Verifying : autoconf-2.69-29.el8.noarch 2/121 Verifying : automake-1.16.1-7.el8.noarch 3/121 Verifying : cpp-8.5.0-10.1.el8_6.x86_64 4/121 Verifying : dwz-0.12-10.el8.x86_64 5/121 Verifying : efi-srpm-macros-3-3.el8.noarch 6/121 Verifying : gcc-8.5.0-10.1.el8_6.x86_64 7/121 Verifying : gcc-c++-8.5.0-10.1.el8_6.x86_64 8/121 Verifying : ghc-srpm-macros-1.4.2-7.el8.noarch 9/121 Verifying : go-srpm-macros-2-17.el8.noarch 10/121 Verifying : isl-0.16.1-6.el8.x86_64 11/121 Verifying : libmpc-1.1.0-9.1.el8.x86_64 12/121 Verifying : libstdc++-devel-8.5.0-10.1.el8_6.x86_64 13/121 Verifying : libtool-2.4.6-25.el8.x86_64 14/121 Verifying : ocaml-srpm-macros-5-4.el8.noarch 15/121 Verifying : openblas-srpm-macros-2-2.el8.noarch 16/121 Verifying : perl-CPAN-Meta-2.150010-396.el8.noarch 17/121 Verifying : perl-CPAN-Meta-Requirements-2.140-396.el8.noarch 18/121 Verifying : perl-CPAN-Meta-YAML-0.018-397.el8.noarch 19/121 Verifying : perl-Digest-1.17-395.el8.noarch 20/121 Verifying : perl-Digest-MD5-2.55-396.el8.x86_64 21/121 Verifying : perl-Encode-Locale-1.05-10.module+el8.6.0+965+850557f9.noarch 22/121 Verifying : perl-ExtUtils-Command-1:7.34-1.el8.noarch 23/121 Verifying : perl-ExtUtils-Embed-1.34-421.el8.noarch 24/121 Verifying : perl-ExtUtils-Install-2.14-4.el8.noarch 25/121 Verifying : perl-ExtUtils-MakeMaker-1:7.34-1.el8.noarch 26/121 Verifying : perl-ExtUtils-Manifest-1.70-395.el8.noarch 27/121 Verifying : perl-ExtUtils-ParseXS-1:3.35-2.el8.noarch 28/121 Verifying : perl-IO-Socket-IP-0.39-5.el8.noarch 29/121 Verifying : perl-IO-Socket-SSL-2.066-4.module+el8.6.0+957+15d660ad.noarch 30/121 Verifying : perl-JSON-PP-1:2.97.001-3.el8.noarch 31/121 Verifying : perl-Mozilla-CA-20160104-7.module+el8.6.0+965+850557f9.noarch 32/121 Verifying : perl-Net-SSLeay-1.88-2.module+el8.6.0+957+15d660ad.x86_64 33/121 Verifying : perl-Test-Harness-1:3.42-1.el8.noarch 34/121 Verifying : perl-Thread-Queue-3.13-1.el8.noarch 35/121 Verifying : perl-Time-HiRes-4:1.9758-2.el8.x86_64 36/121 Verifying : perl-URI-1.73-3.el8.noarch 37/121 Verifying : perl-devel-4:5.26.3-421.el8.x86_64 38/121 Verifying : perl-libnet-3.11-3.el8.noarch 39/121 Verifying : perl-srpm-macros-1-25.el8.noarch 40/121 Verifying : perl-version-6:0.99.24-1.el8.x86_64 41/121 Verifying : python-rpm-macros-3-41.el8.noarch 42/121 Verifying : python-srpm-macros-3-41.el8.noarch 43/121 Verifying : python3-rpm-macros-3-41.el8.noarch 44/121 Verifying : qt5-srpm-macros-5.15.2-1.el8.0.1.noarch 45/121 Verifying : redhat-rpm-config-129-1.el8.noarch 46/121 Verifying : rust-srpm-macros-5-2.el8.noarch 47/121 Verifying : systemtap-sdt-devel-4.6-4.el8.x86_64 48/121 Verifying : emacs-filesystem-1:26.1-7.el8.noarch 49/121 Verifying : glibc-devel-2.28-189.1.el8.x86_64 50/121 Verifying : glibc-headers-2.28-189.1.el8.x86_64 51/121 Verifying : kernel-headers-4.18.0-372.19.1.el8_6.x86_64 52/121 Verifying : keyutils-libs-devel-1.5.10-9.el8.x86_64 53/121 Verifying : krb5-devel-1.18.2-14.el8.x86_64 54/121 Verifying : libcom_err-devel-1.45.6-4.el8.x86_64 55/121 Verifying : libkadm5-1.18.2-14.el8.x86_64 56/121 Verifying : libpkgconf-1.4.2-1.el8.x86_64 57/121 Verifying : libselinux-devel-2.9-5.el8.x86_64 58/121 Verifying : libsepol-devel-2.9-3.el8.x86_64 59/121 Verifying : libverto-devel-0.3.0-5.el8.x86_64 60/121 Verifying : libxcrypt-devel-4.1.1-6.el8.x86_64 61/121 Verifying : openssl-devel-1:1.1.1k-7.el8_6.x86_64 62/121 Verifying : pcre-cpp-8.42-6.el8.x86_64 63/121 Verifying : pcre-devel-8.42-6.el8.x86_64 64/121 Verifying : pcre-utf16-8.42-6.el8.x86_64 65/121 Verifying : pcre-utf32-8.42-6.el8.x86_64 66/121 Verifying : pcre2-devel-10.32-2.el8.x86_64 67/121 Verifying : pcre2-utf16-10.32-2.el8.x86_64 68/121 Verifying : pcre2-utf32-10.32-2.el8.x86_64 69/121 Verifying : perl-Carp-1.42-396.el8.noarch 70/121 Verifying : perl-Data-Dumper-2.167-399.el8.x86_64 71/121 Verifying : perl-Encode-4:2.97-3.el8.x86_64 72/121 Verifying : perl-Errno-1.28-421.el8.x86_64 73/121 Verifying : perl-Exporter-5.72-396.el8.noarch 74/121 Verifying : perl-File-Path-2.15-2.el8.noarch 75/121 Verifying : perl-File-Temp-0.230.600-1.el8.noarch 76/121 Verifying : perl-Getopt-Long-1:2.50-4.el8.noarch 77/121 Verifying : perl-HTTP-Tiny-0.074-1.el8.noarch 78/121 Verifying : perl-IO-1.38-421.el8.x86_64 79/121 Verifying : perl-MIME-Base64-3.15-396.el8.x86_64 80/121 Verifying : perl-Math-BigInt-1:1.9998.11-7.el8.noarch 81/121 Verifying : perl-Math-Complex-1.59-421.el8.noarch 82/121 Verifying : perl-PathTools-3.74-1.el8.x86_64 83/121 Verifying : perl-Pod-Escapes-1:1.07-395.el8.noarch 84/121 Verifying : perl-Pod-Perldoc-3.28-396.el8.noarch 85/121 Verifying : perl-Pod-Simple-1:3.35-395.el8.noarch 86/121 Verifying : perl-Pod-Usage-4:1.69-395.el8.noarch 87/121 Verifying : perl-Scalar-List-Utils-3:1.49-2.el8.x86_64 88/121 Verifying : perl-Socket-4:2.027-3.el8.x86_64 89/121 Verifying : perl-Storable-1:3.11-3.el8.x86_64 90/121 Verifying : perl-Term-ANSIColor-4.06-396.el8.noarch 91/121 Verifying : perl-Term-Cap-1.17-395.el8.noarch 92/121 Verifying : perl-Text-ParseWords-3.30-395.el8.noarch 93/121 Verifying : perl-Text-Tabs+Wrap-2013.0523-395.el8.noarch 94/121 Verifying : perl-Time-Local-1:1.280-1.el8.noarch 95/121 Verifying : perl-Unicode-Normalize-1.25-396.el8.x86_64 96/121 Verifying : perl-constant-1.33-396.el8.noarch 97/121 Verifying : perl-interpreter-4:5.26.3-421.el8.x86_64 98/121 Verifying : perl-libs-4:5.26.3-421.el8.x86_64 99/121 Verifying : perl-macros-4:5.26.3-421.el8.x86_64 100/121 Verifying : perl-parent-1:0.237-1.el8.noarch 101/121 Verifying : perl-podlators-4.11-1.el8.noarch 102/121 Verifying : perl-threads-1:2.21-2.el8.x86_64 103/121 Verifying : perl-threads-shared-1.58-2.el8.x86_64 104/121 Verifying : pkgconf-1.4.2-1.el8.x86_64 105/121 Verifying : pkgconf-m4-1.4.2-1.el8.noarch 106/121 Verifying : pkgconf-pkg-config-1.4.2-1.el8.x86_64 107/121 Verifying : python3-pyparsing-2.1.10-7.el8.noarch 108/121 Verifying : unzip-6.0-46.el8.x86_64 109/121 Verifying : zip-3.0-23.el8.x86_64 110/121 Verifying : zlib-devel-1.2.11-18.el8_5.x86_64 111/121 Verifying : libgcc-8.5.0-10.1.el8_6.x86_64 112/121 Verifying : libgcc-8.5.0-10.el8.x86_64 113/121 Verifying : libgomp-8.5.0-10.1.el8_6.x86_64 114/121 Verifying : libgomp-8.5.0-10.el8.x86_64 115/121 Verifying : libstdc++-8.5.0-10.1.el8_6.x86_64 116/121 Verifying : libstdc++-8.5.0-10.el8.x86_64 117/121 Verifying : openssl-1:1.1.1k-7.el8_6.x86_64 118/121 Verifying : openssl-1:1.1.1k-6.el8_5.x86_64 119/121 Verifying : openssl-libs-1:1.1.1k-7.el8_6.x86_64 120/121 Verifying : openssl-libs-1:1.1.1k-6.el8_5.x86_64 121/121 Upgraded: libgcc-8.5.0-10.1.el8_6.x86_64 libgomp-8.5.0-10.1.el8_6.x86_64 libstdc++-8.5.0-10.1.el8_6.x86_64 openssl-1:1.1.1k-7.el8_6.x86_64 openssl-libs-1:1.1.1k-7.el8_6.x86_64 Installed: annobin-10.29-3.el8.x86_64 autoconf-2.69-29.el8.noarch automake-1.16.1-7.el8.noarch cpp-8.5.0-10.1.el8_6.x86_64 dwz-0.12-10.el8.x86_64 efi-srpm-macros-3-3.el8.noarch emacs-filesystem-1:26.1-7.el8.noarch gcc-8.5.0-10.1.el8_6.x86_64 gcc-c++-8.5.0-10.1.el8_6.x86_64 ghc-srpm-macros-1.4.2-7.el8.noarch glibc-devel-2.28-189.1.el8.x86_64 glibc-headers-2.28-189.1.el8.x86_64 go-srpm-macros-2-17.el8.noarch isl-0.16.1-6.el8.x86_64 kernel-headers-4.18.0-372.19.1.el8_6.x86_64 keyutils-libs-devel-1.5.10-9.el8.x86_64 krb5-devel-1.18.2-14.el8.x86_64 libcom_err-devel-1.45.6-4.el8.x86_64 libkadm5-1.18.2-14.el8.x86_64 libmpc-1.1.0-9.1.el8.x86_64 libpkgconf-1.4.2-1.el8.x86_64 libselinux-devel-2.9-5.el8.x86_64 libsepol-devel-2.9-3.el8.x86_64 libstdc++-devel-8.5.0-10.1.el8_6.x86_64 libtool-2.4.6-25.el8.x86_64 libverto-devel-0.3.0-5.el8.x86_64 libxcrypt-devel-4.1.1-6.el8.x86_64 ocaml-srpm-macros-5-4.el8.noarch openblas-srpm-macros-2-2.el8.noarch openssl-devel-1:1.1.1k-7.el8_6.x86_64 pcre-cpp-8.42-6.el8.x86_64 pcre-devel-8.42-6.el8.x86_64 pcre-utf16-8.42-6.el8.x86_64 pcre-utf32-8.42-6.el8.x86_64 pcre2-devel-10.32-2.el8.x86_64 pcre2-utf16-10.32-2.el8.x86_64 pcre2-utf32-10.32-2.el8.x86_64 perl-CPAN-Meta-2.150010-396.el8.noarch perl-CPAN-Meta-Requirements-2.140-396.el8.noarch perl-CPAN-Meta-YAML-0.018-397.el8.noarch perl-Carp-1.42-396.el8.noarch perl-Data-Dumper-2.167-399.el8.x86_64 perl-Digest-1.17-395.el8.noarch perl-Digest-MD5-2.55-396.el8.x86_64 perl-Encode-4:2.97-3.el8.x86_64 perl-Encode-Locale-1.05-10.module+el8.6.0+965+850557f9.noarch perl-Errno-1.28-421.el8.x86_64 perl-Exporter-5.72-396.el8.noarch perl-ExtUtils-Command-1:7.34-1.el8.noarch perl-ExtUtils-Embed-1.34-421.el8.noarch perl-ExtUtils-Install-2.14-4.el8.noarch perl-ExtUtils-MakeMaker-1:7.34-1.el8.noarch perl-ExtUtils-Manifest-1.70-395.el8.noarch perl-ExtUtils-ParseXS-1:3.35-2.el8.noarch perl-File-Path-2.15-2.el8.noarch perl-File-Temp-0.230.600-1.el8.noarch perl-Getopt-Long-1:2.50-4.el8.noarch perl-HTTP-Tiny-0.074-1.el8.noarch perl-IO-1.38-421.el8.x86_64 perl-IO-Socket-IP-0.39-5.el8.noarch perl-IO-Socket-SSL-2.066-4.module+el8.6.0+957+15d660ad.noarch perl-JSON-PP-1:2.97.001-3.el8.noarch perl-MIME-Base64-3.15-396.el8.x86_64 perl-Math-BigInt-1:1.9998.11-7.el8.noarch perl-Math-Complex-1.59-421.el8.noarch perl-Mozilla-CA-20160104-7.module+el8.6.0+965+850557f9.noarch perl-Net-SSLeay-1.88-2.module+el8.6.0+957+15d660ad.x86_64 perl-PathTools-3.74-1.el8.x86_64 perl-Pod-Escapes-1:1.07-395.el8.noarch perl-Pod-Perldoc-3.28-396.el8.noarch perl-Pod-Simple-1:3.35-395.el8.noarch perl-Pod-Usage-4:1.69-395.el8.noarch perl-Scalar-List-Utils-3:1.49-2.el8.x86_64 perl-Socket-4:2.027-3.el8.x86_64 perl-Storable-1:3.11-3.el8.x86_64 perl-Term-ANSIColor-4.06-396.el8.noarch perl-Term-Cap-1.17-395.el8.noarch perl-Test-Harness-1:3.42-1.el8.noarch perl-Text-ParseWords-3.30-395.el8.noarch perl-Text-Tabs+Wrap-2013.0523-395.el8.noarch perl-Thread-Queue-3.13-1.el8.noarch perl-Time-HiRes-4:1.9758-2.el8.x86_64 perl-Time-Local-1:1.280-1.el8.noarch perl-URI-1.73-3.el8.noarch perl-Unicode-Normalize-1.25-396.el8.x86_64 perl-constant-1.33-396.el8.noarch perl-devel-4:5.26.3-421.el8.x86_64 perl-interpreter-4:5.26.3-421.el8.x86_64 perl-libnet-3.11-3.el8.noarch perl-libs-4:5.26.3-421.el8.x86_64 perl-macros-4:5.26.3-421.el8.x86_64 perl-parent-1:0.237-1.el8.noarch perl-podlators-4.11-1.el8.noarch perl-srpm-macros-1-25.el8.noarch perl-threads-1:2.21-2.el8.x86_64 perl-threads-shared-1.58-2.el8.x86_64 perl-version-6:0.99.24-1.el8.x86_64 pkgconf-1.4.2-1.el8.x86_64 pkgconf-m4-1.4.2-1.el8.noarch pkgconf-pkg-config-1.4.2-1.el8.x86_64 python-rpm-macros-3-41.el8.noarch python-srpm-macros-3-41.el8.noarch python3-pyparsing-2.1.10-7.el8.noarch python3-rpm-macros-3-41.el8.noarch qt5-srpm-macros-5.15.2-1.el8.0.1.noarch redhat-rpm-config-129-1.el8.noarch rust-srpm-macros-5-2.el8.noarch systemtap-sdt-devel-4.6-4.el8.x86_64 unzip-6.0-46.el8.x86_64 zip-3.0-23.el8.x86_64 zlib-devel-1.2.11-18.el8_5.x86_64 Complete! checking for OS + Linux 4.18.0-372.9.1.el8.x86_64 x86_64 checking for C compiler ... found + using GNU C compiler + gcc version: 8.5.0 20210514 (Red Hat 8.5.0-10) (GCC) checking for gcc -pipe switch ... found checking for -Wl,-E switch ... found checking for gcc builtin atomic operations ... found checking for C99 variadic macros ... found checking for gcc variadic macros ... found checking for gcc builtin 64 bit byteswap ... found checking for unistd.h ... found checking for inttypes.h ... found checking for limits.h ... found checking for sys/filio.h ... not found checking for sys/param.h ... found checking for sys/mount.h ... found checking for sys/statvfs.h ... found checking for crypt.h ... found checking for Linux specific features checking for epoll ... found checking for EPOLLRDHUP ... found checking for EPOLLEXCLUSIVE ... found checking for eventfd() ... found checking for O_PATH ... found checking for sendfile() ... found checking for sendfile64() ... found checking for sys/prctl.h ... found checking for prctl(PR_SET_DUMPABLE) ... found checking for prctl(PR_SET_KEEPCAPS) ... found checking for capabilities ... found checking for crypt_r() ... found checking for sys/vfs.h ... found checking for poll() ... found checking for /dev/poll ... not found checking for kqueue ... not found checking for crypt() ... not found checking for crypt() in libcrypt ... found checking for F_READAHEAD ... not found checking for posix_fadvise() ... found checking for O_DIRECT ... found checking for F_NOCACHE ... not found checking for directio() ... not found checking for statfs() ... found checking for statvfs() ... found checking for dlopen() ... not found checking for dlopen() in libdl ... found checking for sched_yield() ... found checking for sched_setaffinity() ... found checking for SO_SETFIB ... not found checking for SO_REUSEPORT ... found checking for SO_ACCEPTFILTER ... not found checking for SO_BINDANY ... not found checking for IP_TRANSPARENT ... found checking for IP_BINDANY ... not found checking for IP_BIND_ADDRESS_NO_PORT ... found checking for IP_RECVDSTADDR ... not found checking for IP_SENDSRCADDR ... not found checking for IP_PKTINFO ... found checking for IPV6_RECVPKTINFO ... found checking for TCP_DEFER_ACCEPT ... found checking for TCP_KEEPIDLE ... found checking for TCP_FASTOPEN ... found checking for TCP_INFO ... found checking for accept4() ... found checking for int size ... 4 bytes checking for long size ... 8 bytes checking for long long size ... 8 bytes checking for void * size ... 8 bytes checking for uint32_t ... found checking for uint64_t ... found checking for sig_atomic_t ... found checking for sig_atomic_t size ... 4 bytes checking for socklen_t ... found checking for in_addr_t ... found checking for in_port_t ... found checking for rlim_t ... found checking for uintptr_t ... uintptr_t found checking for system byte ordering ... little endian checking for size_t size ... 8 bytes checking for off_t size ... 8 bytes checking for time_t size ... 8 bytes checking for AF_INET6 ... found checking for setproctitle() ... not found checking for pread() ... found checking for pwrite() ... found checking for pwritev() ... found checking for strerrordesc_np() ... not found checking for sys_nerr ... found checking for localtime_r() ... found checking for clock_gettime(CLOCK_MONOTONIC) ... found checking for posix_memalign() ... found checking for memalign() ... found checking for mmap(MAP_ANON|MAP_SHARED) ... found checking for mmap("/dev/zero", MAP_SHARED) ... found checking for System V shared memory ... found checking for POSIX semaphores ... not found checking for POSIX semaphores in libpthread ... found checking for struct msghdr.msg_control ... found checking for ioctl(FIONBIO) ... found checking for ioctl(FIONREAD) ... found checking for struct tm.tm_gmtoff ... found checking for struct dirent.d_namlen ... not found checking for struct dirent.d_type ... found checking for sysconf(_SC_NPROCESSORS_ONLN) ... found checking for sysconf(_SC_LEVEL1_DCACHE_LINESIZE) ... found checking for openat(), fstatat() ... found checking for getaddrinfo() ... found checking for PCRE2 library ... found checking for OpenSSL library ... found checking for zlib library ... found creating objs/Makefile Configuration summary + using system PCRE2 library + using system OpenSSL library + using system zlib library nginx path prefix: "/apps/nginx" nginx binary file: "/apps/nginx/sbin/nginx" nginx modules path: "/apps/nginx/modules" nginx configuration prefix: "/apps/nginx/conf" nginx configuration file: "/apps/nginx/conf/nginx.conf" nginx pid file: "/apps/nginx/logs/nginx.pid" nginx error log file: "/apps/nginx/logs/error.log" nginx http access log file: "/apps/nginx/logs/access.log" nginx http client request body temporary files: "client_body_temp" nginx http proxy temporary files: "proxy_temp" nginx http fastcgi temporary files: "fastcgi_temp" nginx http uwsgi temporary files: "uwsgi_temp" nginx http scgi temporary files: "scgi_temp" make -f objs/Makefile make[1]: Entering directory '/usr/local/src/nginx-1.22.0' cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/core/nginx.o \ src/core/nginx.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/core/ngx_log.o \ src/core/ngx_log.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/core/ngx_palloc.o \ src/core/ngx_palloc.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/core/ngx_array.o \ src/core/ngx_array.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/core/ngx_list.o \ src/core/ngx_list.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/core/ngx_hash.o \ src/core/ngx_hash.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/core/ngx_buf.o \ src/core/ngx_buf.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/core/ngx_queue.o \ src/core/ngx_queue.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/core/ngx_output_chain.o \ src/core/ngx_output_chain.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/core/ngx_string.o \ src/core/ngx_string.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/core/ngx_parse.o \ src/core/ngx_parse.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/core/ngx_parse_time.o \ src/core/ngx_parse_time.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/core/ngx_inet.o \ src/core/ngx_inet.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/core/ngx_file.o \ src/core/ngx_file.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/core/ngx_crc32.o \ src/core/ngx_crc32.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/core/ngx_murmurhash.o \ src/core/ngx_murmurhash.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/core/ngx_md5.o \ src/core/ngx_md5.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/core/ngx_sha1.o \ src/core/ngx_sha1.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/core/ngx_rbtree.o \ src/core/ngx_rbtree.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/core/ngx_radix_tree.o \ src/core/ngx_radix_tree.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/core/ngx_slab.o \ src/core/ngx_slab.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/core/ngx_times.o \ src/core/ngx_times.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/core/ngx_shmtx.o \ src/core/ngx_shmtx.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/core/ngx_connection.o \ src/core/ngx_connection.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/core/ngx_cycle.o \ src/core/ngx_cycle.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/core/ngx_spinlock.o \ src/core/ngx_spinlock.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/core/ngx_rwlock.o \ src/core/ngx_rwlock.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/core/ngx_cpuinfo.o \ src/core/ngx_cpuinfo.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/core/ngx_conf_file.o \ src/core/ngx_conf_file.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/core/ngx_module.o \ src/core/ngx_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/core/ngx_resolver.o \ src/core/ngx_resolver.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/core/ngx_open_file_cache.o \ src/core/ngx_open_file_cache.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/core/ngx_crypt.o \ src/core/ngx_crypt.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/core/ngx_proxy_protocol.o \ src/core/ngx_proxy_protocol.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/core/ngx_syslog.o \ src/core/ngx_syslog.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/event/ngx_event.o \ src/event/ngx_event.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/event/ngx_event_timer.o \ src/event/ngx_event_timer.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/event/ngx_event_posted.o \ src/event/ngx_event_posted.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/event/ngx_event_accept.o \ src/event/ngx_event_accept.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/event/ngx_event_udp.o \ src/event/ngx_event_udp.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/event/ngx_event_connect.o \ src/event/ngx_event_connect.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/event/ngx_event_pipe.o \ src/event/ngx_event_pipe.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/os/unix/ngx_time.o \ src/os/unix/ngx_time.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/os/unix/ngx_errno.o \ src/os/unix/ngx_errno.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/os/unix/ngx_alloc.o \ src/os/unix/ngx_alloc.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/os/unix/ngx_files.o \ src/os/unix/ngx_files.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/os/unix/ngx_socket.o \ src/os/unix/ngx_socket.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/os/unix/ngx_recv.o \ src/os/unix/ngx_recv.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/os/unix/ngx_readv_chain.o \ src/os/unix/ngx_readv_chain.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/os/unix/ngx_udp_recv.o \ src/os/unix/ngx_udp_recv.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/os/unix/ngx_send.o \ src/os/unix/ngx_send.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/os/unix/ngx_writev_chain.o \ src/os/unix/ngx_writev_chain.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/os/unix/ngx_udp_send.o \ src/os/unix/ngx_udp_send.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/os/unix/ngx_udp_sendmsg_chain.o \ src/os/unix/ngx_udp_sendmsg_chain.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/os/unix/ngx_channel.o \ src/os/unix/ngx_channel.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/os/unix/ngx_shmem.o \ src/os/unix/ngx_shmem.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/os/unix/ngx_process.o \ src/os/unix/ngx_process.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/os/unix/ngx_daemon.o \ src/os/unix/ngx_daemon.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/os/unix/ngx_setaffinity.o \ src/os/unix/ngx_setaffinity.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/os/unix/ngx_setproctitle.o \ src/os/unix/ngx_setproctitle.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/os/unix/ngx_posix_init.o \ src/os/unix/ngx_posix_init.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/os/unix/ngx_user.o \ src/os/unix/ngx_user.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/os/unix/ngx_dlopen.o \ src/os/unix/ngx_dlopen.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/os/unix/ngx_process_cycle.o \ src/os/unix/ngx_process_cycle.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/os/unix/ngx_linux_init.o \ src/os/unix/ngx_linux_init.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/event/modules/ngx_epoll_module.o \ src/event/modules/ngx_epoll_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/os/unix/ngx_linux_sendfile_chain.o \ src/os/unix/ngx_linux_sendfile_chain.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/event/ngx_event_openssl.o \ src/event/ngx_event_openssl.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/event/ngx_event_openssl_stapling.o \ src/event/ngx_event_openssl_stapling.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/core/ngx_regex.o \ src/core/ngx_regex.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \ -o objs/src/http/ngx_http.o \ src/http/ngx_http.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \ -o objs/src/http/ngx_http_core_module.o \ src/http/ngx_http_core_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \ -o objs/src/http/ngx_http_special_response.o \ src/http/ngx_http_special_response.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \ -o objs/src/http/ngx_http_request.o \ src/http/ngx_http_request.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \ -o objs/src/http/ngx_http_parse.o \ src/http/ngx_http_parse.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \ -o objs/src/http/modules/ngx_http_log_module.o \ src/http/modules/ngx_http_log_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \ -o objs/src/http/ngx_http_request_body.o \ src/http/ngx_http_request_body.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \ -o objs/src/http/ngx_http_variables.o \ src/http/ngx_http_variables.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \ -o objs/src/http/ngx_http_script.o \ src/http/ngx_http_script.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \ -o objs/src/http/ngx_http_upstream.o \ src/http/ngx_http_upstream.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \ -o objs/src/http/ngx_http_upstream_round_robin.o \ src/http/ngx_http_upstream_round_robin.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \ -o objs/src/http/ngx_http_file_cache.o \ src/http/ngx_http_file_cache.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \ -o objs/src/http/ngx_http_huff_decode.o \ src/http/ngx_http_huff_decode.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \ -o objs/src/http/ngx_http_huff_encode.o \ src/http/ngx_http_huff_encode.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \ -o objs/src/http/ngx_http_write_filter_module.o \ src/http/ngx_http_write_filter_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \ -o objs/src/http/ngx_http_header_filter_module.o \ src/http/ngx_http_header_filter_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \ -o objs/src/http/modules/ngx_http_chunked_filter_module.o \ src/http/modules/ngx_http_chunked_filter_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \ -o objs/src/http/v2/ngx_http_v2_filter_module.o \ src/http/v2/ngx_http_v2_filter_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \ -o objs/src/http/modules/ngx_http_range_filter_module.o \ src/http/modules/ngx_http_range_filter_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \ -o objs/src/http/modules/ngx_http_gzip_filter_module.o \ src/http/modules/ngx_http_gzip_filter_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \ -o objs/src/http/ngx_http_postpone_filter_module.o \ src/http/ngx_http_postpone_filter_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \ -o objs/src/http/modules/ngx_http_ssi_filter_module.o \ src/http/modules/ngx_http_ssi_filter_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \ -o objs/src/http/modules/ngx_http_charset_filter_module.o \ src/http/modules/ngx_http_charset_filter_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \ -o objs/src/http/modules/ngx_http_userid_filter_module.o \ src/http/modules/ngx_http_userid_filter_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \ -o objs/src/http/modules/ngx_http_headers_filter_module.o \ src/http/modules/ngx_http_headers_filter_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \ -o objs/src/http/ngx_http_copy_filter_module.o \ src/http/ngx_http_copy_filter_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \ -o objs/src/http/modules/ngx_http_not_modified_filter_module.o \ src/http/modules/ngx_http_not_modified_filter_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \ -o objs/src/http/v2/ngx_http_v2.o \ src/http/v2/ngx_http_v2.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \ -o objs/src/http/v2/ngx_http_v2_table.o \ src/http/v2/ngx_http_v2_table.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \ -o objs/src/http/v2/ngx_http_v2_encode.o \ src/http/v2/ngx_http_v2_encode.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \ -o objs/src/http/v2/ngx_http_v2_module.o \ src/http/v2/ngx_http_v2_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \ -o objs/src/http/modules/ngx_http_static_module.o \ src/http/modules/ngx_http_static_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \ -o objs/src/http/modules/ngx_http_gzip_static_module.o \ src/http/modules/ngx_http_gzip_static_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \ -o objs/src/http/modules/ngx_http_autoindex_module.o \ src/http/modules/ngx_http_autoindex_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \ -o objs/src/http/modules/ngx_http_index_module.o \ src/http/modules/ngx_http_index_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \ -o objs/src/http/modules/ngx_http_mirror_module.o \ src/http/modules/ngx_http_mirror_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \ -o objs/src/http/modules/ngx_http_try_files_module.o \ src/http/modules/ngx_http_try_files_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \ -o objs/src/http/modules/ngx_http_auth_basic_module.o \ src/http/modules/ngx_http_auth_basic_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \ -o objs/src/http/modules/ngx_http_access_module.o \ src/http/modules/ngx_http_access_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \ -o objs/src/http/modules/ngx_http_limit_conn_module.o \ src/http/modules/ngx_http_limit_conn_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \ -o objs/src/http/modules/ngx_http_limit_req_module.o \ src/http/modules/ngx_http_limit_req_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \ -o objs/src/http/modules/ngx_http_realip_module.o \ src/http/modules/ngx_http_realip_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \ -o objs/src/http/modules/ngx_http_geo_module.o \ src/http/modules/ngx_http_geo_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \ -o objs/src/http/modules/ngx_http_map_module.o \ src/http/modules/ngx_http_map_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \ -o objs/src/http/modules/ngx_http_split_clients_module.o \ src/http/modules/ngx_http_split_clients_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \ -o objs/src/http/modules/ngx_http_referer_module.o \ src/http/modules/ngx_http_referer_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \ -o objs/src/http/modules/ngx_http_rewrite_module.o \ src/http/modules/ngx_http_rewrite_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \ -o objs/src/http/modules/ngx_http_ssl_module.o \ src/http/modules/ngx_http_ssl_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \ -o objs/src/http/modules/ngx_http_proxy_module.o \ src/http/modules/ngx_http_proxy_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \ -o objs/src/http/modules/ngx_http_fastcgi_module.o \ src/http/modules/ngx_http_fastcgi_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \ -o objs/src/http/modules/ngx_http_uwsgi_module.o \ src/http/modules/ngx_http_uwsgi_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \ -o objs/src/http/modules/ngx_http_scgi_module.o \ src/http/modules/ngx_http_scgi_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \ -o objs/src/http/modules/ngx_http_grpc_module.o \ src/http/modules/ngx_http_grpc_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \ -o objs/src/http/modules/ngx_http_memcached_module.o \ src/http/modules/ngx_http_memcached_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \ -o objs/src/http/modules/ngx_http_empty_gif_module.o \ src/http/modules/ngx_http_empty_gif_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \ -o objs/src/http/modules/ngx_http_browser_module.o \ src/http/modules/ngx_http_browser_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \ -o objs/src/http/modules/ngx_http_upstream_hash_module.o \ src/http/modules/ngx_http_upstream_hash_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \ -o objs/src/http/modules/ngx_http_upstream_ip_hash_module.o \ src/http/modules/ngx_http_upstream_ip_hash_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \ -o objs/src/http/modules/ngx_http_upstream_least_conn_module.o \ src/http/modules/ngx_http_upstream_least_conn_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \ -o objs/src/http/modules/ngx_http_upstream_random_module.o \ src/http/modules/ngx_http_upstream_random_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \ -o objs/src/http/modules/ngx_http_upstream_keepalive_module.o \ src/http/modules/ngx_http_upstream_keepalive_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \ -o objs/src/http/modules/ngx_http_upstream_zone_module.o \ src/http/modules/ngx_http_upstream_zone_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \ -o objs/src/http/modules/ngx_http_stub_status_module.o \ src/http/modules/ngx_http_stub_status_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/stream \ -o objs/src/stream/ngx_stream.o \ src/stream/ngx_stream.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/stream \ -o objs/src/stream/ngx_stream_variables.o \ src/stream/ngx_stream_variables.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/stream \ -o objs/src/stream/ngx_stream_script.o \ src/stream/ngx_stream_script.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/stream \ -o objs/src/stream/ngx_stream_handler.o \ src/stream/ngx_stream_handler.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/stream \ -o objs/src/stream/ngx_stream_core_module.o \ src/stream/ngx_stream_core_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/stream \ -o objs/src/stream/ngx_stream_log_module.o \ src/stream/ngx_stream_log_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/stream \ -o objs/src/stream/ngx_stream_proxy_module.o \ src/stream/ngx_stream_proxy_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/stream \ -o objs/src/stream/ngx_stream_upstream.o \ src/stream/ngx_stream_upstream.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/stream \ -o objs/src/stream/ngx_stream_upstream_round_robin.o \ src/stream/ngx_stream_upstream_round_robin.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/stream \ -o objs/src/stream/ngx_stream_write_filter_module.o \ src/stream/ngx_stream_write_filter_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/stream \ -o objs/src/stream/ngx_stream_ssl_module.o \ src/stream/ngx_stream_ssl_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/stream \ -o objs/src/stream/ngx_stream_realip_module.o \ src/stream/ngx_stream_realip_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/stream \ -o objs/src/stream/ngx_stream_limit_conn_module.o \ src/stream/ngx_stream_limit_conn_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/stream \ -o objs/src/stream/ngx_stream_access_module.o \ src/stream/ngx_stream_access_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/stream \ -o objs/src/stream/ngx_stream_geo_module.o \ src/stream/ngx_stream_geo_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/stream \ -o objs/src/stream/ngx_stream_map_module.o \ src/stream/ngx_stream_map_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/stream \ -o objs/src/stream/ngx_stream_split_clients_module.o \ src/stream/ngx_stream_split_clients_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/stream \ -o objs/src/stream/ngx_stream_return_module.o \ src/stream/ngx_stream_return_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/stream \ -o objs/src/stream/ngx_stream_set_module.o \ src/stream/ngx_stream_set_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/stream \ -o objs/src/stream/ngx_stream_upstream_hash_module.o \ src/stream/ngx_stream_upstream_hash_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/stream \ -o objs/src/stream/ngx_stream_upstream_least_conn_module.o \ src/stream/ngx_stream_upstream_least_conn_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/stream \ -o objs/src/stream/ngx_stream_upstream_random_module.o \ src/stream/ngx_stream_upstream_random_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/stream \ -o objs/src/stream/ngx_stream_upstream_zone_module.o \ src/stream/ngx_stream_upstream_zone_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/ngx_modules.o \ objs/ngx_modules.c sed -e "s|%%PREFIX%%|/apps/nginx|" \ -e "s|%%PID_PATH%%|/apps/nginx/logs/nginx.pid|" \ -e "s|%%CONF_PATH%%|/apps/nginx/conf/nginx.conf|" \ -e "s|%%ERROR_LOG_PATH%%|/apps/nginx/logs/error.log|" \ < man/nginx.8 > objs/nginx.8 cc -o objs/nginx \ objs/src/core/nginx.o \ objs/src/core/ngx_log.o \ objs/src/core/ngx_palloc.o \ objs/src/core/ngx_array.o \ objs/src/core/ngx_list.o \ objs/src/core/ngx_hash.o \ objs/src/core/ngx_buf.o \ objs/src/core/ngx_queue.o \ objs/src/core/ngx_output_chain.o \ objs/src/core/ngx_string.o \ objs/src/core/ngx_parse.o \ objs/src/core/ngx_parse_time.o \ objs/src/core/ngx_inet.o \ objs/src/core/ngx_file.o \ objs/src/core/ngx_crc32.o \ objs/src/core/ngx_murmurhash.o \ objs/src/core/ngx_md5.o \ objs/src/core/ngx_sha1.o \ objs/src/core/ngx_rbtree.o \ objs/src/core/ngx_radix_tree.o \ objs/src/core/ngx_slab.o \ objs/src/core/ngx_times.o \ objs/src/core/ngx_shmtx.o \ objs/src/core/ngx_connection.o \ objs/src/core/ngx_cycle.o \ objs/src/core/ngx_spinlock.o \ objs/src/core/ngx_rwlock.o \ objs/src/core/ngx_cpuinfo.o \ objs/src/core/ngx_conf_file.o \ objs/src/core/ngx_module.o \ objs/src/core/ngx_resolver.o \ objs/src/core/ngx_open_file_cache.o \ objs/src/core/ngx_crypt.o \ objs/src/core/ngx_proxy_protocol.o \ objs/src/core/ngx_syslog.o \ objs/src/event/ngx_event.o \ objs/src/event/ngx_event_timer.o \ objs/src/event/ngx_event_posted.o \ objs/src/event/ngx_event_accept.o \ objs/src/event/ngx_event_udp.o \ objs/src/event/ngx_event_connect.o \ objs/src/event/ngx_event_pipe.o \ objs/src/os/unix/ngx_time.o \ objs/src/os/unix/ngx_errno.o \ objs/src/os/unix/ngx_alloc.o \ objs/src/os/unix/ngx_files.o \ objs/src/os/unix/ngx_socket.o \ objs/src/os/unix/ngx_recv.o \ objs/src/os/unix/ngx_readv_chain.o \ objs/src/os/unix/ngx_udp_recv.o \ objs/src/os/unix/ngx_send.o \ objs/src/os/unix/ngx_writev_chain.o \ objs/src/os/unix/ngx_udp_send.o \ objs/src/os/unix/ngx_udp_sendmsg_chain.o \ objs/src/os/unix/ngx_channel.o \ objs/src/os/unix/ngx_shmem.o \ objs/src/os/unix/ngx_process.o \ objs/src/os/unix/ngx_daemon.o \ objs/src/os/unix/ngx_setaffinity.o \ objs/src/os/unix/ngx_setproctitle.o \ objs/src/os/unix/ngx_posix_init.o \ objs/src/os/unix/ngx_user.o \ objs/src/os/unix/ngx_dlopen.o \ objs/src/os/unix/ngx_process_cycle.o \ objs/src/os/unix/ngx_linux_init.o \ objs/src/event/modules/ngx_epoll_module.o \ objs/src/os/unix/ngx_linux_sendfile_chain.o \ objs/src/event/ngx_event_openssl.o \ objs/src/event/ngx_event_openssl_stapling.o \ objs/src/core/ngx_regex.o \ objs/src/http/ngx_http.o \ objs/src/http/ngx_http_core_module.o \ objs/src/http/ngx_http_special_response.o \ objs/src/http/ngx_http_request.o \ objs/src/http/ngx_http_parse.o \ objs/src/http/modules/ngx_http_log_module.o \ objs/src/http/ngx_http_request_body.o \ objs/src/http/ngx_http_variables.o \ objs/src/http/ngx_http_script.o \ objs/src/http/ngx_http_upstream.o \ objs/src/http/ngx_http_upstream_round_robin.o \ objs/src/http/ngx_http_file_cache.o \ objs/src/http/ngx_http_huff_decode.o \ objs/src/http/ngx_http_huff_encode.o \ objs/src/http/ngx_http_write_filter_module.o \ objs/src/http/ngx_http_header_filter_module.o \ objs/src/http/modules/ngx_http_chunked_filter_module.o \ objs/src/http/v2/ngx_http_v2_filter_module.o \ objs/src/http/modules/ngx_http_range_filter_module.o \ objs/src/http/modules/ngx_http_gzip_filter_module.o \ objs/src/http/ngx_http_postpone_filter_module.o \ objs/src/http/modules/ngx_http_ssi_filter_module.o \ objs/src/http/modules/ngx_http_charset_filter_module.o \ objs/src/http/modules/ngx_http_userid_filter_module.o \ objs/src/http/modules/ngx_http_headers_filter_module.o \ objs/src/http/ngx_http_copy_filter_module.o \ objs/src/http/modules/ngx_http_not_modified_filter_module.o \ objs/src/http/v2/ngx_http_v2.o \ objs/src/http/v2/ngx_http_v2_table.o \ objs/src/http/v2/ngx_http_v2_encode.o \ objs/src/http/v2/ngx_http_v2_module.o \ objs/src/http/modules/ngx_http_static_module.o \ objs/src/http/modules/ngx_http_gzip_static_module.o \ objs/src/http/modules/ngx_http_autoindex_module.o \ objs/src/http/modules/ngx_http_index_module.o \ objs/src/http/modules/ngx_http_mirror_module.o \ objs/src/http/modules/ngx_http_try_files_module.o \ objs/src/http/modules/ngx_http_auth_basic_module.o \ objs/src/http/modules/ngx_http_access_module.o \ objs/src/http/modules/ngx_http_limit_conn_module.o \ objs/src/http/modules/ngx_http_limit_req_module.o \ objs/src/http/modules/ngx_http_realip_module.o \ objs/src/http/modules/ngx_http_geo_module.o \ objs/src/http/modules/ngx_http_map_module.o \ objs/src/http/modules/ngx_http_split_clients_module.o \ objs/src/http/modules/ngx_http_referer_module.o \ objs/src/http/modules/ngx_http_rewrite_module.o \ objs/src/http/modules/ngx_http_ssl_module.o \ objs/src/http/modules/ngx_http_proxy_module.o \ objs/src/http/modules/ngx_http_fastcgi_module.o \ objs/src/http/modules/ngx_http_uwsgi_module.o \ objs/src/http/modules/ngx_http_scgi_module.o \ objs/src/http/modules/ngx_http_grpc_module.o \ objs/src/http/modules/ngx_http_memcached_module.o \ objs/src/http/modules/ngx_http_empty_gif_module.o \ objs/src/http/modules/ngx_http_browser_module.o \ objs/src/http/modules/ngx_http_upstream_hash_module.o \ objs/src/http/modules/ngx_http_upstream_ip_hash_module.o \ objs/src/http/modules/ngx_http_upstream_least_conn_module.o \ objs/src/http/modules/ngx_http_upstream_random_module.o \ objs/src/http/modules/ngx_http_upstream_keepalive_module.o \ objs/src/http/modules/ngx_http_upstream_zone_module.o \ objs/src/http/modules/ngx_http_stub_status_module.o \ objs/src/stream/ngx_stream.o \ objs/src/stream/ngx_stream_variables.o \ objs/src/stream/ngx_stream_script.o \ objs/src/stream/ngx_stream_handler.o \ objs/src/stream/ngx_stream_core_module.o \ objs/src/stream/ngx_stream_log_module.o \ objs/src/stream/ngx_stream_proxy_module.o \ objs/src/stream/ngx_stream_upstream.o \ objs/src/stream/ngx_stream_upstream_round_robin.o \ objs/src/stream/ngx_stream_write_filter_module.o \ objs/src/stream/ngx_stream_ssl_module.o \ objs/src/stream/ngx_stream_realip_module.o \ objs/src/stream/ngx_stream_limit_conn_module.o \ objs/src/stream/ngx_stream_access_module.o \ objs/src/stream/ngx_stream_geo_module.o \ objs/src/stream/ngx_stream_map_module.o \ objs/src/stream/ngx_stream_split_clients_module.o \ objs/src/stream/ngx_stream_return_module.o \ objs/src/stream/ngx_stream_set_module.o \ objs/src/stream/ngx_stream_upstream_hash_module.o \ objs/src/stream/ngx_stream_upstream_least_conn_module.o \ objs/src/stream/ngx_stream_upstream_random_module.o \ objs/src/stream/ngx_stream_upstream_zone_module.o \ objs/ngx_modules.o \ -ldl -lpthread -lcrypt -lpcre2-8 -lssl -lcrypto -ldl -lpthread -lz \ -Wl,-E make[1]: Leaving directory '/usr/local/src/nginx-1.22.0' make -f objs/Makefile install make[1]: Entering directory '/usr/local/src/nginx-1.22.0' test -d '/apps/nginx' || mkdir -p '/apps/nginx' test -d '/apps/nginx/sbin' \ || mkdir -p '/apps/nginx/sbin' test ! -f '/apps/nginx/sbin/nginx' \ || mv '/apps/nginx/sbin/nginx' \ '/apps/nginx/sbin/nginx.old' cp objs/nginx '/apps/nginx/sbin/nginx' test -d '/apps/nginx/conf' \ || mkdir -p '/apps/nginx/conf' cp conf/koi-win '/apps/nginx/conf' cp conf/koi-utf '/apps/nginx/conf' cp conf/win-utf '/apps/nginx/conf' test -f '/apps/nginx/conf/mime.types' \ || cp conf/mime.types '/apps/nginx/conf' cp conf/mime.types '/apps/nginx/conf/mime.types.default' test -f '/apps/nginx/conf/fastcgi_params' \ || cp conf/fastcgi_params '/apps/nginx/conf' cp conf/fastcgi_params \ '/apps/nginx/conf/fastcgi_params.default' test -f '/apps/nginx/conf/fastcgi.conf' \ || cp conf/fastcgi.conf '/apps/nginx/conf' cp conf/fastcgi.conf '/apps/nginx/conf/fastcgi.conf.default' test -f '/apps/nginx/conf/uwsgi_params' \ || cp conf/uwsgi_params '/apps/nginx/conf' cp conf/uwsgi_params \ '/apps/nginx/conf/uwsgi_params.default' test -f '/apps/nginx/conf/scgi_params' \ || cp conf/scgi_params '/apps/nginx/conf' cp conf/scgi_params \ '/apps/nginx/conf/scgi_params.default' test -f '/apps/nginx/conf/nginx.conf' \ || cp conf/nginx.conf '/apps/nginx/conf/nginx.conf' cp conf/nginx.conf '/apps/nginx/conf/nginx.conf.default' test -d '/apps/nginx/logs' \ || mkdir -p '/apps/nginx/logs' test -d '/apps/nginx/logs' \ || mkdir -p '/apps/nginx/logs' test -d '/apps/nginx/html' \ || cp -R html '/apps/nginx' test -d '/apps/nginx/logs' \ || mkdir -p '/apps/nginx/logs' make[1]: Leaving directory '/usr/local/src/nginx-1.22.0' nginx 编译安装成功 [ OK ] nginx 安装完成 [ OK ] [root@rocky8-nginx ~]#
1.2、ubuntu22.04编译安装过程
![](https://images.cnblogs.com/OutliningIndicators/ContractedBlock.gif)
[root@ubuntu22-nginx ~]# ./nginx_install.sh 开始下载 nginx 源码包 [ OK ] --2022-09-15 02:26:27-- http://nginx.org/download/nginx-1.22.0.tar.gz Resolving nginx.org (nginx.org)... 3.125.197.172, 52.58.199.22, 2a05:d014:edb:5704::6, ... Connecting to nginx.org (nginx.org)|3.125.197.172|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 1073322 (1.0M) [application/octet-stream] Saving to: ‘nginx-1.22.0.tar.gz’ nginx-1.22.0.tar.gz 100%[===================================================================================================================>] 1.02M 475KB/s in 2.2s 2022-09-15 02:26:31 (475 KB/s) - ‘nginx-1.22.0.tar.gz’ saved [1073322/1073322] 开始安装 nginx [ OK ] 创建 nginx 用户 [ OK ] 开始安装 nginx 依赖包 [ OK ] Hit:1 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy InRelease Get:2 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-updates InRelease [114 kB] Get:3 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-backports InRelease [99.8 kB] Get:4 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-security InRelease [110 kB] Get:5 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-updates/main amd64 Packages [553 kB] Get:6 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-updates/main Translation-en [131 kB] Get:7 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-updates/main amd64 c-n-f Metadata [8,320 B] Get:8 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-updates/restricted amd64 Packages [310 kB] Get:9 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-updates/restricted Translation-en [48.0 kB] Get:10 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-updates/restricted amd64 c-n-f Metadata [524 B] Get:11 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-updates/universe amd64 Packages [274 kB] Get:12 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-updates/universe Translation-en [88.7 kB] Get:13 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-updates/universe amd64 c-n-f Metadata [4,404 B] Get:14 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-updates/multiverse amd64 Packages [7,000 B] Get:15 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-updates/multiverse Translation-en [2,264 B] Get:16 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-updates/multiverse amd64 c-n-f Metadata [420 B] Get:17 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-backports/main amd64 Packages [3,008 B] Get:18 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-backports/main Translation-en [1,432 B] Get:19 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-backports/main amd64 c-n-f Metadata [272 B] Get:20 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-backports/universe amd64 Packages [6,752 B] Get:21 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-backports/universe Translation-en [9,216 B] Get:22 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-backports/universe amd64 c-n-f Metadata [352 B] Get:23 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-security/main amd64 Packages [302 kB] Get:24 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-security/main Translation-en [70.9 kB] Get:25 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-security/main amd64 c-n-f Metadata [3,924 B] Get:26 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-security/restricted amd64 Packages [277 kB] Get:27 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-security/restricted Translation-en [42.8 kB] Get:28 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-security/restricted amd64 c-n-f Metadata [524 B] Get:29 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-security/universe amd64 Packages [139 kB] Get:30 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-security/universe Translation-en [46.2 kB] Get:31 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-security/universe amd64 c-n-f Metadata [2,408 B] Get:32 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-security/multiverse amd64 Packages [4,192 B] Get:33 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-security/multiverse amd64 c-n-f Metadata [228 B] Fetched 2,662 kB in 2s (1,323 kB/s) Reading package lists... Done Building dependency tree... Done Reading state information... Done 108 packages can be upgraded. Run 'apt list --upgradable' to see them. Reading package lists... Done Building dependency tree... Done Reading state information... Done The following additional packages will be installed: cpp cpp-11 fontconfig-config fonts-dejavu-core gcc-11 gcc-11-base libasan6 libatomic1 libc-dev-bin libc-devtools libc6 libc6-dev libcc1-0 libcrypt-dev libdeflate0 libfontconfig1 libgcc-11-dev libgd3 libgomp1 libisl23 libitm1 libjbig0 libjpeg-turbo8 libjpeg8 liblsan0 libmpc3 libnsl-dev libpcre16-3 libpcre32-3 libpcrecpp0v5 libquadmath0 libssl3 libtiff5 libtirpc-common libtirpc-dev libtirpc3 libtsan0 libubsan1 libwebp7 libxpm4 linux-libc-dev manpages-dev rpcsvc-proto zlib1g Suggested packages: cpp-doc gcc-11-locales gcc-multilib autoconf automake libtool flex bison gdb gcc-doc gcc-11-multilib gcc-11-doc glibc-doc libgd-tools libssl-doc make-doc Recommended packages: libnss-nis libnss-nisplus The following NEW packages will be installed: cpp cpp-11 fontconfig-config fonts-dejavu-core gcc gcc-11 gcc-11-base libasan6 libatomic1 libc-dev-bin libc-devtools libc6-dev libcc1-0 libcrypt-dev libdeflate0 libfontconfig1 libgcc-11-dev libgd3 libgomp1 libisl23 libitm1 libjbig0 libjpeg-turbo8 libjpeg8 liblsan0 libmpc3 libnsl-dev libpcre16-3 libpcre3-dev libpcre32-3 libpcrecpp0v5 libquadmath0 libssl-dev libtiff5 libtirpc-dev libtsan0 libubsan1 libwebp7 libxpm4 linux-libc-dev make manpages-dev rpcsvc-proto zlib1g-dev The following packages will be upgraded: libc6 libpcre3 libssl3 libtirpc-common libtirpc3 openssl zlib1g 7 upgraded, 44 newly installed, 0 to remove and 101 not upgraded. Need to get 55.5 MB/58.9 MB of archives. After this operation, 169 MB of additional disk space will be used. Get:1 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-updates/main amd64 libc6 amd64 2.35-0ubuntu3.1 [3,235 kB] Get:2 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-updates/main amd64 zlib1g amd64 1:1.2.11.dfsg-2ubuntu9.1 [58.4 kB] Get:3 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy/main amd64 gcc-11-base amd64 11.2.0-19ubuntu1 [20.8 kB] Get:4 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy/main amd64 libisl23 amd64 0.24-2build1 [727 kB] Get:5 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy/main amd64 libmpc3 amd64 1.2.1-2build1 [46.9 kB] Get:6 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy/main amd64 cpp-11 amd64 11.2.0-19ubuntu1 [9,966 kB] Get:7 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy/main amd64 cpp amd64 4:11.2.0-1ubuntu1 [27.7 kB] Get:8 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy/main amd64 fonts-dejavu-core all 2.37-2build1 [1,041 kB] Get:9 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy/main amd64 fontconfig-config all 2.13.1-4.2ubuntu5 [29.1 kB] Get:10 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy/main amd64 libcc1-0 amd64 12-20220319-1ubuntu1 [47.2 kB] Get:11 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy/main amd64 libgomp1 amd64 12-20220319-1ubuntu1 [126 kB] Get:12 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy/main amd64 libitm1 amd64 12-20220319-1ubuntu1 [30.2 kB] Get:13 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy/main amd64 libatomic1 amd64 12-20220319-1ubuntu1 [10.4 kB] Get:14 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy/main amd64 libasan6 amd64 11.2.0-19ubuntu1 [2,283 kB] Get:15 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy/main amd64 liblsan0 amd64 12-20220319-1ubuntu1 [1,069 kB] Get:16 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy/main amd64 libtsan0 amd64 11.2.0-19ubuntu1 [2,261 kB] Get:17 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy/main amd64 libubsan1 amd64 12-20220319-1ubuntu1 [976 kB] Get:18 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy/main amd64 libquadmath0 amd64 12-20220319-1ubuntu1 [154 kB] Get:19 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy/main amd64 libgcc-11-dev amd64 11.2.0-19ubuntu1 [2,526 kB] Get:20 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy/main amd64 gcc-11 amd64 11.2.0-19ubuntu1 [20.1 MB] Get:21 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy/main amd64 gcc amd64 4:11.2.0-1ubuntu1 [5,112 B] Get:22 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-updates/main amd64 libc-dev-bin amd64 2.35-0ubuntu3.1 [20.4 kB] Get:23 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy/main amd64 libfontconfig1 amd64 2.13.1-4.2ubuntu5 [131 kB] Get:24 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy/main amd64 libjpeg-turbo8 amd64 2.1.2-0ubuntu1 [134 kB] Get:25 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy/main amd64 libjpeg8 amd64 8c-2ubuntu10 [2,264 B] Get:26 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy/main amd64 libdeflate0 amd64 1.10-2 [70.9 kB] Get:27 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy/main amd64 libjbig0 amd64 2.1-3.1build3 [28.9 kB] Get:28 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy/main amd64 libwebp7 amd64 1.2.2-2 [206 kB] Get:29 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy/main amd64 libtiff5 amd64 4.3.0-6 [183 kB] Get:30 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy/main amd64 libxpm4 amd64 1:3.5.12-1build2 [36.2 kB] Get:31 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy/main amd64 libgd3 amd64 2.3.0-2ubuntu2 [129 kB] Get:32 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-updates/main amd64 libc-devtools amd64 2.35-0ubuntu3.1 [28.9 kB] Get:33 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-updates/main amd64 linux-libc-dev amd64 5.15.0-47.51 [1,325 kB] Get:34 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy/main amd64 libcrypt-dev amd64 1:4.4.27-1 [112 kB] Get:35 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy/main amd64 rpcsvc-proto amd64 1.4.2-0ubuntu6 [68.5 kB] Get:36 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-updates/main amd64 libtirpc-dev amd64 1.3.2-2ubuntu0.1 [192 kB] Get:37 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy/main amd64 libnsl-dev amd64 1.3.0-2build2 [71.3 kB] Get:38 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-updates/main amd64 libc6-dev amd64 2.35-0ubuntu3.1 [2,099 kB] Get:39 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-updates/main amd64 libpcre16-3 amd64 2:8.39-13ubuntu0.22.04.1 [164 kB] Get:40 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-updates/main amd64 libpcre32-3 amd64 2:8.39-13ubuntu0.22.04.1 [155 kB] Get:41 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-updates/main amd64 libpcrecpp0v5 amd64 2:8.39-13ubuntu0.22.04.1 [16.5 kB] Get:42 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-updates/main amd64 libpcre3-dev amd64 2:8.39-13ubuntu0.22.04.1 [579 kB] Get:43 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-updates/main amd64 libssl-dev amd64 3.0.2-0ubuntu1.6 [2,370 kB] Get:44 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy/main amd64 make amd64 4.3-4.1build1 [180 kB] Get:45 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy/main amd64 manpages-dev all 5.10-1ubuntu1 [2,309 kB] Get:46 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-updates/main amd64 zlib1g-dev amd64 1:1.2.11.dfsg-2ubuntu9.1 [164 kB] Fetched 55.5 MB in 21s (2,653 kB/s) Extracting templates from packages: 100% Preconfiguring packages ... (Reading database ... 73607 files and directories currently installed.) Preparing to unpack .../libc6_2.35-0ubuntu3.1_amd64.deb ... Unpacking libc6:amd64 (2.35-0ubuntu3.1) over (2.35-0ubuntu3) ... Setting up libc6:amd64 (2.35-0ubuntu3.1) ... (Reading database ... 73607 files and directories currently installed.) Preparing to unpack .../libpcre3_2%3a8.39-13ubuntu0.22.04.1_amd64.deb ... Unpacking libpcre3:amd64 (2:8.39-13ubuntu0.22.04.1) over (2:8.39-13build5) ... Setting up libpcre3:amd64 (2:8.39-13ubuntu0.22.04.1) ... (Reading database ... 73607 files and directories currently installed.) Preparing to unpack .../libssl3_3.0.2-0ubuntu1.6_amd64.deb ... Unpacking libssl3:amd64 (3.0.2-0ubuntu1.6) over (3.0.2-0ubuntu1) ... Setting up libssl3:amd64 (3.0.2-0ubuntu1.6) ... (Reading database ... 73607 files and directories currently installed.) Preparing to unpack .../libtirpc-common_1.3.2-2ubuntu0.1_all.deb ... Unpacking libtirpc-common (1.3.2-2ubuntu0.1) over (1.3.2-2build1) ... Setting up libtirpc-common (1.3.2-2ubuntu0.1) ... (Reading database ... 73607 files and directories currently installed.) Preparing to unpack .../libtirpc3_1.3.2-2ubuntu0.1_amd64.deb ... Unpacking libtirpc3:amd64 (1.3.2-2ubuntu0.1) over (1.3.2-2build1) ... Setting up libtirpc3:amd64 (1.3.2-2ubuntu0.1) ... (Reading database ... 73607 files and directories currently installed.) Preparing to unpack .../zlib1g_1%3a1.2.11.dfsg-2ubuntu9.1_amd64.deb ... Unpacking zlib1g:amd64 (1:1.2.11.dfsg-2ubuntu9.1) over (1:1.2.11.dfsg-2ubuntu9) ... Setting up zlib1g:amd64 (1:1.2.11.dfsg-2ubuntu9.1) ... (Reading database ... 73607 files and directories currently installed.) Preparing to unpack .../00-openssl_3.0.2-0ubuntu1.6_amd64.deb ... Unpacking openssl (3.0.2-0ubuntu1.6) over (3.0.2-0ubuntu1) ... Selecting previously unselected package gcc-11-base:amd64. Preparing to unpack .../01-gcc-11-base_11.2.0-19ubuntu1_amd64.deb ... Unpacking gcc-11-base:amd64 (11.2.0-19ubuntu1) ... Selecting previously unselected package libisl23:amd64. Preparing to unpack .../02-libisl23_0.24-2build1_amd64.deb ... Unpacking libisl23:amd64 (0.24-2build1) ... Selecting previously unselected package libmpc3:amd64. Preparing to unpack .../03-libmpc3_1.2.1-2build1_amd64.deb ... Unpacking libmpc3:amd64 (1.2.1-2build1) ... Selecting previously unselected package cpp-11. Preparing to unpack .../04-cpp-11_11.2.0-19ubuntu1_amd64.deb ... Unpacking cpp-11 (11.2.0-19ubuntu1) ... Selecting previously unselected package cpp. Preparing to unpack .../05-cpp_4%3a11.2.0-1ubuntu1_amd64.deb ... Unpacking cpp (4:11.2.0-1ubuntu1) ... Selecting previously unselected package fonts-dejavu-core. Preparing to unpack .../06-fonts-dejavu-core_2.37-2build1_all.deb ... Unpacking fonts-dejavu-core (2.37-2build1) ... Selecting previously unselected package fontconfig-config. Preparing to unpack .../07-fontconfig-config_2.13.1-4.2ubuntu5_all.deb ... Unpacking fontconfig-config (2.13.1-4.2ubuntu5) ... Selecting previously unselected package libcc1-0:amd64. Preparing to unpack .../08-libcc1-0_12-20220319-1ubuntu1_amd64.deb ... Unpacking libcc1-0:amd64 (12-20220319-1ubuntu1) ... Selecting previously unselected package libgomp1:amd64. Preparing to unpack .../09-libgomp1_12-20220319-1ubuntu1_amd64.deb ... Unpacking libgomp1:amd64 (12-20220319-1ubuntu1) ... Selecting previously unselected package libitm1:amd64. Preparing to unpack .../10-libitm1_12-20220319-1ubuntu1_amd64.deb ... Unpacking libitm1:amd64 (12-20220319-1ubuntu1) ... Selecting previously unselected package libatomic1:amd64. Preparing to unpack .../11-libatomic1_12-20220319-1ubuntu1_amd64.deb ... Unpacking libatomic1:amd64 (12-20220319-1ubuntu1) ... Selecting previously unselected package libasan6:amd64. Preparing to unpack .../12-libasan6_11.2.0-19ubuntu1_amd64.deb ... Unpacking libasan6:amd64 (11.2.0-19ubuntu1) ... Selecting previously unselected package liblsan0:amd64. Preparing to unpack .../13-liblsan0_12-20220319-1ubuntu1_amd64.deb ... Unpacking liblsan0:amd64 (12-20220319-1ubuntu1) ... Selecting previously unselected package libtsan0:amd64. Preparing to unpack .../14-libtsan0_11.2.0-19ubuntu1_amd64.deb ... Unpacking libtsan0:amd64 (11.2.0-19ubuntu1) ... Selecting previously unselected package libubsan1:amd64. Preparing to unpack .../15-libubsan1_12-20220319-1ubuntu1_amd64.deb ... Unpacking libubsan1:amd64 (12-20220319-1ubuntu1) ... Selecting previously unselected package libquadmath0:amd64. Preparing to unpack .../16-libquadmath0_12-20220319-1ubuntu1_amd64.deb ... Unpacking libquadmath0:amd64 (12-20220319-1ubuntu1) ... Selecting previously unselected package libgcc-11-dev:amd64. Preparing to unpack .../17-libgcc-11-dev_11.2.0-19ubuntu1_amd64.deb ... Unpacking libgcc-11-dev:amd64 (11.2.0-19ubuntu1) ... Selecting previously unselected package gcc-11. Preparing to unpack .../18-gcc-11_11.2.0-19ubuntu1_amd64.deb ... Unpacking gcc-11 (11.2.0-19ubuntu1) ... Selecting previously unselected package gcc. Preparing to unpack .../19-gcc_4%3a11.2.0-1ubuntu1_amd64.deb ... Unpacking gcc (4:11.2.0-1ubuntu1) ... Selecting previously unselected package libc-dev-bin. Preparing to unpack .../20-libc-dev-bin_2.35-0ubuntu3.1_amd64.deb ... Unpacking libc-dev-bin (2.35-0ubuntu3.1) ... Selecting previously unselected package libfontconfig1:amd64. Preparing to unpack .../21-libfontconfig1_2.13.1-4.2ubuntu5_amd64.deb ... Unpacking libfontconfig1:amd64 (2.13.1-4.2ubuntu5) ... Selecting previously unselected package libjpeg-turbo8:amd64. Preparing to unpack .../22-libjpeg-turbo8_2.1.2-0ubuntu1_amd64.deb ... Unpacking libjpeg-turbo8:amd64 (2.1.2-0ubuntu1) ... Selecting previously unselected package libjpeg8:amd64. Preparing to unpack .../23-libjpeg8_8c-2ubuntu10_amd64.deb ... Unpacking libjpeg8:amd64 (8c-2ubuntu10) ... Selecting previously unselected package libdeflate0:amd64. Preparing to unpack .../24-libdeflate0_1.10-2_amd64.deb ... Unpacking libdeflate0:amd64 (1.10-2) ... Selecting previously unselected package libjbig0:amd64. Preparing to unpack .../25-libjbig0_2.1-3.1build3_amd64.deb ... Unpacking libjbig0:amd64 (2.1-3.1build3) ... Selecting previously unselected package libwebp7:amd64. Preparing to unpack .../26-libwebp7_1.2.2-2_amd64.deb ... Unpacking libwebp7:amd64 (1.2.2-2) ... Selecting previously unselected package libtiff5:amd64. Preparing to unpack .../27-libtiff5_4.3.0-6_amd64.deb ... Unpacking libtiff5:amd64 (4.3.0-6) ... Selecting previously unselected package libxpm4:amd64. Preparing to unpack .../28-libxpm4_1%3a3.5.12-1build2_amd64.deb ... Unpacking libxpm4:amd64 (1:3.5.12-1build2) ... Selecting previously unselected package libgd3:amd64. Preparing to unpack .../29-libgd3_2.3.0-2ubuntu2_amd64.deb ... Unpacking libgd3:amd64 (2.3.0-2ubuntu2) ... Selecting previously unselected package libc-devtools. Preparing to unpack .../30-libc-devtools_2.35-0ubuntu3.1_amd64.deb ... Unpacking libc-devtools (2.35-0ubuntu3.1) ... Selecting previously unselected package linux-libc-dev:amd64. Preparing to unpack .../31-linux-libc-dev_5.15.0-47.51_amd64.deb ... Unpacking linux-libc-dev:amd64 (5.15.0-47.51) ... Selecting previously unselected package libcrypt-dev:amd64. Preparing to unpack .../32-libcrypt-dev_1%3a4.4.27-1_amd64.deb ... Unpacking libcrypt-dev:amd64 (1:4.4.27-1) ... Selecting previously unselected package rpcsvc-proto. Preparing to unpack .../33-rpcsvc-proto_1.4.2-0ubuntu6_amd64.deb ... Unpacking rpcsvc-proto (1.4.2-0ubuntu6) ... Selecting previously unselected package libtirpc-dev:amd64. Preparing to unpack .../34-libtirpc-dev_1.3.2-2ubuntu0.1_amd64.deb ... Unpacking libtirpc-dev:amd64 (1.3.2-2ubuntu0.1) ... Selecting previously unselected package libnsl-dev:amd64. Preparing to unpack .../35-libnsl-dev_1.3.0-2build2_amd64.deb ... Unpacking libnsl-dev:amd64 (1.3.0-2build2) ... Selecting previously unselected package libc6-dev:amd64. Preparing to unpack .../36-libc6-dev_2.35-0ubuntu3.1_amd64.deb ... Unpacking libc6-dev:amd64 (2.35-0ubuntu3.1) ... Selecting previously unselected package libpcre16-3:amd64. Preparing to unpack .../37-libpcre16-3_2%3a8.39-13ubuntu0.22.04.1_amd64.deb ... Unpacking libpcre16-3:amd64 (2:8.39-13ubuntu0.22.04.1) ... Selecting previously unselected package libpcre32-3:amd64. Preparing to unpack .../38-libpcre32-3_2%3a8.39-13ubuntu0.22.04.1_amd64.deb ... Unpacking libpcre32-3:amd64 (2:8.39-13ubuntu0.22.04.1) ... Selecting previously unselected package libpcrecpp0v5:amd64. Preparing to unpack .../39-libpcrecpp0v5_2%3a8.39-13ubuntu0.22.04.1_amd64.deb ... Unpacking libpcrecpp0v5:amd64 (2:8.39-13ubuntu0.22.04.1) ... Selecting previously unselected package libpcre3-dev:amd64. Preparing to unpack .../40-libpcre3-dev_2%3a8.39-13ubuntu0.22.04.1_amd64.deb ... Unpacking libpcre3-dev:amd64 (2:8.39-13ubuntu0.22.04.1) ... Selecting previously unselected package libssl-dev:amd64. Preparing to unpack .../41-libssl-dev_3.0.2-0ubuntu1.6_amd64.deb ... Unpacking libssl-dev:amd64 (3.0.2-0ubuntu1.6) ... Selecting previously unselected package make. Preparing to unpack .../42-make_4.3-4.1build1_amd64.deb ... Unpacking make (4.3-4.1build1) ... Selecting previously unselected package manpages-dev. Preparing to unpack .../43-manpages-dev_5.10-1ubuntu1_all.deb ... Unpacking manpages-dev (5.10-1ubuntu1) ... Selecting previously unselected package zlib1g-dev:amd64. Preparing to unpack .../44-zlib1g-dev_1%3a1.2.11.dfsg-2ubuntu9.1_amd64.deb ... Unpacking zlib1g-dev:amd64 (1:1.2.11.dfsg-2ubuntu9.1) ... Setting up libpcrecpp0v5:amd64 (2:8.39-13ubuntu0.22.04.1) ... Setting up gcc-11-base:amd64 (11.2.0-19ubuntu1) ... Setting up manpages-dev (5.10-1ubuntu1) ... Setting up libxpm4:amd64 (1:3.5.12-1build2) ... Setting up libpcre16-3:amd64 (2:8.39-13ubuntu0.22.04.1) ... Setting up libdeflate0:amd64 (1.10-2) ... Setting up linux-libc-dev:amd64 (5.15.0-47.51) ... Setting up libgomp1:amd64 (12-20220319-1ubuntu1) ... Setting up libjbig0:amd64 (2.1-3.1build3) ... Setting up libasan6:amd64 (11.2.0-19ubuntu1) ... Setting up libtirpc-dev:amd64 (1.3.2-2ubuntu0.1) ... Setting up rpcsvc-proto (1.4.2-0ubuntu6) ... Setting up make (4.3-4.1build1) ... Setting up libquadmath0:amd64 (12-20220319-1ubuntu1) ... Setting up libssl-dev:amd64 (3.0.2-0ubuntu1.6) ... Setting up libpcre32-3:amd64 (2:8.39-13ubuntu0.22.04.1) ... Setting up libmpc3:amd64 (1.2.1-2build1) ... Setting up libatomic1:amd64 (12-20220319-1ubuntu1) ... Setting up fonts-dejavu-core (2.37-2build1) ... Setting up libjpeg-turbo8:amd64 (2.1.2-0ubuntu1) ... Setting up libwebp7:amd64 (1.2.2-2) ... Setting up libubsan1:amd64 (12-20220319-1ubuntu1) ... Setting up libnsl-dev:amd64 (1.3.0-2build2) ... Setting up libcrypt-dev:amd64 (1:4.4.27-1) ... Setting up libisl23:amd64 (0.24-2build1) ... Setting up libc-dev-bin (2.35-0ubuntu3.1) ... Setting up openssl (3.0.2-0ubuntu1.6) ... Installing new version of config file /etc/ssl/openssl.cnf ... Setting up libcc1-0:amd64 (12-20220319-1ubuntu1) ... Setting up liblsan0:amd64 (12-20220319-1ubuntu1) ... Setting up libitm1:amd64 (12-20220319-1ubuntu1) ... Setting up libtsan0:amd64 (11.2.0-19ubuntu1) ... Setting up libjpeg8:amd64 (8c-2ubuntu10) ... Setting up cpp-11 (11.2.0-19ubuntu1) ... Setting up fontconfig-config (2.13.1-4.2ubuntu5) ... Setting up libgcc-11-dev:amd64 (11.2.0-19ubuntu1) ... Setting up gcc-11 (11.2.0-19ubuntu1) ... Setting up cpp (4:11.2.0-1ubuntu1) ... Setting up libc6-dev:amd64 (2.35-0ubuntu3.1) ... Setting up libtiff5:amd64 (4.3.0-6) ... Setting up libfontconfig1:amd64 (2.13.1-4.2ubuntu5) ... Setting up libpcre3-dev:amd64 (2:8.39-13ubuntu0.22.04.1) ... Setting up gcc (4:11.2.0-1ubuntu1) ... Setting up libgd3:amd64 (2.3.0-2ubuntu2) ... Setting up zlib1g-dev:amd64 (1:1.2.11.dfsg-2ubuntu9.1) ... Setting up libc-devtools (2.35-0ubuntu3.1) ... Processing triggers for man-db (2.10.2-1) ... Processing triggers for libc-bin (2.35-0ubuntu3) ... Scanning processes... Scanning candidates... Scanning linux images... Running kernel seems to be up-to-date. Restarting services... /etc/needrestart/restart.d/systemd-manager systemctl restart cron.service irqbalance.service multipathd.service open-vm-tools.service packagekit.service polkit.service rsyslog.service snapd.service ssh.service systemd-journald.service systemd-networkd.service systemd-resolved.service systemd-timedated.service systemd-timesyncd.service systemd-udevd.service udisks2.service vgauth.service Service restarts being deferred: systemctl restart ModemManager.service systemctl restart NetworkManager.service /etc/needrestart/restart.d/dbus.service systemctl restart getty@tty1.service systemctl restart networkd-dispatcher.service systemctl restart systemd-logind.service systemctl restart unattended-upgrades.service systemctl restart user@0.service systemctl restart wpa_supplicant.service No containers need to be restarted. No user sessions are running outdated binaries. No VM guests are running outdated hypervisor (qemu) binaries on this host. checking for OS + Linux 5.15.0-25-generic x86_64 checking for C compiler ... found + using GNU C compiler + gcc version: 11.2.0 (Ubuntu 11.2.0-19ubuntu1) checking for gcc -pipe switch ... found checking for -Wl,-E switch ... found checking for gcc builtin atomic operations ... found checking for C99 variadic macros ... found checking for gcc variadic macros ... found checking for gcc builtin 64 bit byteswap ... found checking for unistd.h ... found checking for inttypes.h ... found checking for limits.h ... found checking for sys/filio.h ... not found checking for sys/param.h ... found checking for sys/mount.h ... found checking for sys/statvfs.h ... found checking for crypt.h ... found checking for Linux specific features checking for epoll ... found checking for EPOLLRDHUP ... found checking for EPOLLEXCLUSIVE ... found checking for eventfd() ... found checking for O_PATH ... found checking for sendfile() ... found checking for sendfile64() ... found checking for sys/prctl.h ... found checking for prctl(PR_SET_DUMPABLE) ... found checking for prctl(PR_SET_KEEPCAPS) ... found checking for capabilities ... found checking for crypt_r() ... found checking for sys/vfs.h ... found checking for poll() ... found checking for /dev/poll ... not found checking for kqueue ... not found checking for crypt() ... not found checking for crypt() in libcrypt ... found checking for F_READAHEAD ... not found checking for posix_fadvise() ... found checking for O_DIRECT ... found checking for F_NOCACHE ... not found checking for directio() ... not found checking for statfs() ... found checking for statvfs() ... found checking for dlopen() ... found checking for sched_yield() ... found checking for sched_setaffinity() ... found checking for SO_SETFIB ... not found checking for SO_REUSEPORT ... found checking for SO_ACCEPTFILTER ... not found checking for SO_BINDANY ... not found checking for IP_TRANSPARENT ... found checking for IP_BINDANY ... not found checking for IP_BIND_ADDRESS_NO_PORT ... found checking for IP_RECVDSTADDR ... not found checking for IP_SENDSRCADDR ... not found checking for IP_PKTINFO ... found checking for IPV6_RECVPKTINFO ... found checking for TCP_DEFER_ACCEPT ... found checking for TCP_KEEPIDLE ... found checking for TCP_FASTOPEN ... found checking for TCP_INFO ... found checking for accept4() ... found checking for int size ... 4 bytes checking for long size ... 8 bytes checking for long long size ... 8 bytes checking for void * size ... 8 bytes checking for uint32_t ... found checking for uint64_t ... found checking for sig_atomic_t ... found checking for sig_atomic_t size ... 4 bytes checking for socklen_t ... found checking for in_addr_t ... found checking for in_port_t ... found checking for rlim_t ... found checking for uintptr_t ... uintptr_t found checking for system byte ordering ... little endian checking for size_t size ... 8 bytes checking for off_t size ... 8 bytes checking for time_t size ... 8 bytes checking for AF_INET6 ... found checking for setproctitle() ... not found checking for pread() ... found checking for pwrite() ... found checking for pwritev() ... found checking for strerrordesc_np() ... found checking for localtime_r() ... found checking for clock_gettime(CLOCK_MONOTONIC) ... found checking for posix_memalign() ... found checking for memalign() ... found checking for mmap(MAP_ANON|MAP_SHARED) ... found checking for mmap("/dev/zero", MAP_SHARED) ... found checking for System V shared memory ... found checking for POSIX semaphores ... found checking for struct msghdr.msg_control ... found checking for ioctl(FIONBIO) ... found checking for ioctl(FIONREAD) ... found checking for struct tm.tm_gmtoff ... found checking for struct dirent.d_namlen ... not found checking for struct dirent.d_type ... found checking for sysconf(_SC_NPROCESSORS_ONLN) ... found checking for sysconf(_SC_LEVEL1_DCACHE_LINESIZE) ... found checking for openat(), fstatat() ... found checking for getaddrinfo() ... found checking for PCRE2 library ... not found checking for PCRE library ... found checking for PCRE JIT support ... found checking for OpenSSL library ... found checking for zlib library ... found creating objs/Makefile Configuration summary + using system PCRE library + using system OpenSSL library + using system zlib library nginx path prefix: "/apps/nginx" nginx binary file: "/apps/nginx/sbin/nginx" nginx modules path: "/apps/nginx/modules" nginx configuration prefix: "/apps/nginx/conf" nginx configuration file: "/apps/nginx/conf/nginx.conf" nginx pid file: "/apps/nginx/logs/nginx.pid" nginx error log file: "/apps/nginx/logs/error.log" nginx http access log file: "/apps/nginx/logs/access.log" nginx http client request body temporary files: "client_body_temp" nginx http proxy temporary files: "proxy_temp" nginx http fastcgi temporary files: "fastcgi_temp" nginx http uwsgi temporary files: "uwsgi_temp" nginx http scgi temporary files: "scgi_temp" make -f objs/Makefile make[1]: Entering directory '/usr/local/src/nginx-1.22.0' cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/core/nginx.o \ src/core/nginx.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/core/ngx_log.o \ src/core/ngx_log.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/core/ngx_palloc.o \ src/core/ngx_palloc.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/core/ngx_array.o \ src/core/ngx_array.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/core/ngx_list.o \ src/core/ngx_list.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/core/ngx_hash.o \ src/core/ngx_hash.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/core/ngx_buf.o \ src/core/ngx_buf.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/core/ngx_queue.o \ src/core/ngx_queue.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/core/ngx_output_chain.o \ src/core/ngx_output_chain.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/core/ngx_string.o \ src/core/ngx_string.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/core/ngx_parse.o \ src/core/ngx_parse.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/core/ngx_parse_time.o \ src/core/ngx_parse_time.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/core/ngx_inet.o \ src/core/ngx_inet.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/core/ngx_file.o \ src/core/ngx_file.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/core/ngx_crc32.o \ src/core/ngx_crc32.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/core/ngx_murmurhash.o \ src/core/ngx_murmurhash.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/core/ngx_md5.o \ src/core/ngx_md5.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/core/ngx_sha1.o \ src/core/ngx_sha1.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/core/ngx_rbtree.o \ src/core/ngx_rbtree.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/core/ngx_radix_tree.o \ src/core/ngx_radix_tree.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/core/ngx_slab.o \ src/core/ngx_slab.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/core/ngx_times.o \ src/core/ngx_times.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/core/ngx_shmtx.o \ src/core/ngx_shmtx.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/core/ngx_connection.o \ src/core/ngx_connection.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/core/ngx_cycle.o \ src/core/ngx_cycle.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/core/ngx_spinlock.o \ src/core/ngx_spinlock.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/core/ngx_rwlock.o \ src/core/ngx_rwlock.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/core/ngx_cpuinfo.o \ src/core/ngx_cpuinfo.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/core/ngx_conf_file.o \ src/core/ngx_conf_file.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/core/ngx_module.o \ src/core/ngx_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/core/ngx_resolver.o \ src/core/ngx_resolver.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/core/ngx_open_file_cache.o \ src/core/ngx_open_file_cache.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/core/ngx_crypt.o \ src/core/ngx_crypt.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/core/ngx_proxy_protocol.o \ src/core/ngx_proxy_protocol.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/core/ngx_syslog.o \ src/core/ngx_syslog.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/event/ngx_event.o \ src/event/ngx_event.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/event/ngx_event_timer.o \ src/event/ngx_event_timer.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/event/ngx_event_posted.o \ src/event/ngx_event_posted.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/event/ngx_event_accept.o \ src/event/ngx_event_accept.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/event/ngx_event_udp.o \ src/event/ngx_event_udp.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/event/ngx_event_connect.o \ src/event/ngx_event_connect.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/event/ngx_event_pipe.o \ src/event/ngx_event_pipe.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/os/unix/ngx_time.o \ src/os/unix/ngx_time.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/os/unix/ngx_errno.o \ src/os/unix/ngx_errno.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/os/unix/ngx_alloc.o \ src/os/unix/ngx_alloc.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/os/unix/ngx_files.o \ src/os/unix/ngx_files.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/os/unix/ngx_socket.o \ src/os/unix/ngx_socket.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/os/unix/ngx_recv.o \ src/os/unix/ngx_recv.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/os/unix/ngx_readv_chain.o \ src/os/unix/ngx_readv_chain.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/os/unix/ngx_udp_recv.o \ src/os/unix/ngx_udp_recv.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/os/unix/ngx_send.o \ src/os/unix/ngx_send.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/os/unix/ngx_writev_chain.o \ src/os/unix/ngx_writev_chain.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/os/unix/ngx_udp_send.o \ src/os/unix/ngx_udp_send.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/os/unix/ngx_udp_sendmsg_chain.o \ src/os/unix/ngx_udp_sendmsg_chain.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/os/unix/ngx_channel.o \ src/os/unix/ngx_channel.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/os/unix/ngx_shmem.o \ src/os/unix/ngx_shmem.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/os/unix/ngx_process.o \ src/os/unix/ngx_process.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/os/unix/ngx_daemon.o \ src/os/unix/ngx_daemon.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/os/unix/ngx_setaffinity.o \ src/os/unix/ngx_setaffinity.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/os/unix/ngx_setproctitle.o \ src/os/unix/ngx_setproctitle.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/os/unix/ngx_posix_init.o \ src/os/unix/ngx_posix_init.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/os/unix/ngx_user.o \ src/os/unix/ngx_user.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/os/unix/ngx_dlopen.o \ src/os/unix/ngx_dlopen.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/os/unix/ngx_process_cycle.o \ src/os/unix/ngx_process_cycle.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/os/unix/ngx_linux_init.o \ src/os/unix/ngx_linux_init.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/event/modules/ngx_epoll_module.o \ src/event/modules/ngx_epoll_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/os/unix/ngx_linux_sendfile_chain.o \ src/os/unix/ngx_linux_sendfile_chain.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/event/ngx_event_openssl.o \ src/event/ngx_event_openssl.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/event/ngx_event_openssl_stapling.o \ src/event/ngx_event_openssl_stapling.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/core/ngx_regex.o \ src/core/ngx_regex.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \ -o objs/src/http/ngx_http.o \ src/http/ngx_http.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \ -o objs/src/http/ngx_http_core_module.o \ src/http/ngx_http_core_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \ -o objs/src/http/ngx_http_special_response.o \ src/http/ngx_http_special_response.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \ -o objs/src/http/ngx_http_request.o \ src/http/ngx_http_request.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \ -o objs/src/http/ngx_http_parse.o \ src/http/ngx_http_parse.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \ -o objs/src/http/modules/ngx_http_log_module.o \ src/http/modules/ngx_http_log_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \ -o objs/src/http/ngx_http_request_body.o \ src/http/ngx_http_request_body.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \ -o objs/src/http/ngx_http_variables.o \ src/http/ngx_http_variables.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \ -o objs/src/http/ngx_http_script.o \ src/http/ngx_http_script.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \ -o objs/src/http/ngx_http_upstream.o \ src/http/ngx_http_upstream.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \ -o objs/src/http/ngx_http_upstream_round_robin.o \ src/http/ngx_http_upstream_round_robin.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \ -o objs/src/http/ngx_http_file_cache.o \ src/http/ngx_http_file_cache.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \ -o objs/src/http/ngx_http_huff_decode.o \ src/http/ngx_http_huff_decode.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \ -o objs/src/http/ngx_http_huff_encode.o \ src/http/ngx_http_huff_encode.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \ -o objs/src/http/ngx_http_write_filter_module.o \ src/http/ngx_http_write_filter_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \ -o objs/src/http/ngx_http_header_filter_module.o \ src/http/ngx_http_header_filter_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \ -o objs/src/http/modules/ngx_http_chunked_filter_module.o \ src/http/modules/ngx_http_chunked_filter_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \ -o objs/src/http/v2/ngx_http_v2_filter_module.o \ src/http/v2/ngx_http_v2_filter_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \ -o objs/src/http/modules/ngx_http_range_filter_module.o \ src/http/modules/ngx_http_range_filter_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \ -o objs/src/http/modules/ngx_http_gzip_filter_module.o \ src/http/modules/ngx_http_gzip_filter_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \ -o objs/src/http/ngx_http_postpone_filter_module.o \ src/http/ngx_http_postpone_filter_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \ -o objs/src/http/modules/ngx_http_ssi_filter_module.o \ src/http/modules/ngx_http_ssi_filter_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \ -o objs/src/http/modules/ngx_http_charset_filter_module.o \ src/http/modules/ngx_http_charset_filter_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \ -o objs/src/http/modules/ngx_http_userid_filter_module.o \ src/http/modules/ngx_http_userid_filter_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \ -o objs/src/http/modules/ngx_http_headers_filter_module.o \ src/http/modules/ngx_http_headers_filter_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \ -o objs/src/http/ngx_http_copy_filter_module.o \ src/http/ngx_http_copy_filter_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \ -o objs/src/http/modules/ngx_http_not_modified_filter_module.o \ src/http/modules/ngx_http_not_modified_filter_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \ -o objs/src/http/v2/ngx_http_v2.o \ src/http/v2/ngx_http_v2.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \ -o objs/src/http/v2/ngx_http_v2_table.o \ src/http/v2/ngx_http_v2_table.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \ -o objs/src/http/v2/ngx_http_v2_encode.o \ src/http/v2/ngx_http_v2_encode.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \ -o objs/src/http/v2/ngx_http_v2_module.o \ src/http/v2/ngx_http_v2_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \ -o objs/src/http/modules/ngx_http_static_module.o \ src/http/modules/ngx_http_static_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \ -o objs/src/http/modules/ngx_http_gzip_static_module.o \ src/http/modules/ngx_http_gzip_static_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \ -o objs/src/http/modules/ngx_http_autoindex_module.o \ src/http/modules/ngx_http_autoindex_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \ -o objs/src/http/modules/ngx_http_index_module.o \ src/http/modules/ngx_http_index_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \ -o objs/src/http/modules/ngx_http_mirror_module.o \ src/http/modules/ngx_http_mirror_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \ -o objs/src/http/modules/ngx_http_try_files_module.o \ src/http/modules/ngx_http_try_files_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \ -o objs/src/http/modules/ngx_http_auth_basic_module.o \ src/http/modules/ngx_http_auth_basic_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \ -o objs/src/http/modules/ngx_http_access_module.o \ src/http/modules/ngx_http_access_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \ -o objs/src/http/modules/ngx_http_limit_conn_module.o \ src/http/modules/ngx_http_limit_conn_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \ -o objs/src/http/modules/ngx_http_limit_req_module.o \ src/http/modules/ngx_http_limit_req_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \ -o objs/src/http/modules/ngx_http_realip_module.o \ src/http/modules/ngx_http_realip_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \ -o objs/src/http/modules/ngx_http_geo_module.o \ src/http/modules/ngx_http_geo_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \ -o objs/src/http/modules/ngx_http_map_module.o \ src/http/modules/ngx_http_map_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \ -o objs/src/http/modules/ngx_http_split_clients_module.o \ src/http/modules/ngx_http_split_clients_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \ -o objs/src/http/modules/ngx_http_referer_module.o \ src/http/modules/ngx_http_referer_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \ -o objs/src/http/modules/ngx_http_rewrite_module.o \ src/http/modules/ngx_http_rewrite_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \ -o objs/src/http/modules/ngx_http_ssl_module.o \ src/http/modules/ngx_http_ssl_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \ -o objs/src/http/modules/ngx_http_proxy_module.o \ src/http/modules/ngx_http_proxy_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \ -o objs/src/http/modules/ngx_http_fastcgi_module.o \ src/http/modules/ngx_http_fastcgi_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \ -o objs/src/http/modules/ngx_http_uwsgi_module.o \ src/http/modules/ngx_http_uwsgi_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \ -o objs/src/http/modules/ngx_http_scgi_module.o \ src/http/modules/ngx_http_scgi_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \ -o objs/src/http/modules/ngx_http_grpc_module.o \ src/http/modules/ngx_http_grpc_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \ -o objs/src/http/modules/ngx_http_memcached_module.o \ src/http/modules/ngx_http_memcached_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \ -o objs/src/http/modules/ngx_http_empty_gif_module.o \ src/http/modules/ngx_http_empty_gif_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \ -o objs/src/http/modules/ngx_http_browser_module.o \ src/http/modules/ngx_http_browser_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \ -o objs/src/http/modules/ngx_http_upstream_hash_module.o \ src/http/modules/ngx_http_upstream_hash_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \ -o objs/src/http/modules/ngx_http_upstream_ip_hash_module.o \ src/http/modules/ngx_http_upstream_ip_hash_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \ -o objs/src/http/modules/ngx_http_upstream_least_conn_module.o \ src/http/modules/ngx_http_upstream_least_conn_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \ -o objs/src/http/modules/ngx_http_upstream_random_module.o \ src/http/modules/ngx_http_upstream_random_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \ -o objs/src/http/modules/ngx_http_upstream_keepalive_module.o \ src/http/modules/ngx_http_upstream_keepalive_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \ -o objs/src/http/modules/ngx_http_upstream_zone_module.o \ src/http/modules/ngx_http_upstream_zone_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \ -o objs/src/http/modules/ngx_http_stub_status_module.o \ src/http/modules/ngx_http_stub_status_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/stream \ -o objs/src/stream/ngx_stream.o \ src/stream/ngx_stream.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/stream \ -o objs/src/stream/ngx_stream_variables.o \ src/stream/ngx_stream_variables.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/stream \ -o objs/src/stream/ngx_stream_script.o \ src/stream/ngx_stream_script.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/stream \ -o objs/src/stream/ngx_stream_handler.o \ src/stream/ngx_stream_handler.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/stream \ -o objs/src/stream/ngx_stream_core_module.o \ src/stream/ngx_stream_core_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/stream \ -o objs/src/stream/ngx_stream_log_module.o \ src/stream/ngx_stream_log_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/stream \ -o objs/src/stream/ngx_stream_proxy_module.o \ src/stream/ngx_stream_proxy_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/stream \ -o objs/src/stream/ngx_stream_upstream.o \ src/stream/ngx_stream_upstream.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/stream \ -o objs/src/stream/ngx_stream_upstream_round_robin.o \ src/stream/ngx_stream_upstream_round_robin.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/stream \ -o objs/src/stream/ngx_stream_write_filter_module.o \ src/stream/ngx_stream_write_filter_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/stream \ -o objs/src/stream/ngx_stream_ssl_module.o \ src/stream/ngx_stream_ssl_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/stream \ -o objs/src/stream/ngx_stream_realip_module.o \ src/stream/ngx_stream_realip_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/stream \ -o objs/src/stream/ngx_stream_limit_conn_module.o \ src/stream/ngx_stream_limit_conn_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/stream \ -o objs/src/stream/ngx_stream_access_module.o \ src/stream/ngx_stream_access_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/stream \ -o objs/src/stream/ngx_stream_geo_module.o \ src/stream/ngx_stream_geo_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/stream \ -o objs/src/stream/ngx_stream_map_module.o \ src/stream/ngx_stream_map_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/stream \ -o objs/src/stream/ngx_stream_split_clients_module.o \ src/stream/ngx_stream_split_clients_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/stream \ -o objs/src/stream/ngx_stream_return_module.o \ src/stream/ngx_stream_return_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/stream \ -o objs/src/stream/ngx_stream_set_module.o \ src/stream/ngx_stream_set_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/stream \ -o objs/src/stream/ngx_stream_upstream_hash_module.o \ src/stream/ngx_stream_upstream_hash_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/stream \ -o objs/src/stream/ngx_stream_upstream_least_conn_module.o \ src/stream/ngx_stream_upstream_least_conn_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/stream \ -o objs/src/stream/ngx_stream_upstream_random_module.o \ src/stream/ngx_stream_upstream_random_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/stream \ -o objs/src/stream/ngx_stream_upstream_zone_module.o \ src/stream/ngx_stream_upstream_zone_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/ngx_modules.o \ objs/ngx_modules.c sed -e "s|%%PREFIX%%|/apps/nginx|" \ -e "s|%%PID_PATH%%|/apps/nginx/logs/nginx.pid|" \ -e "s|%%CONF_PATH%%|/apps/nginx/conf/nginx.conf|" \ -e "s|%%ERROR_LOG_PATH%%|/apps/nginx/logs/error.log|" \ < man/nginx.8 > objs/nginx.8 cc -o objs/nginx \ objs/src/core/nginx.o \ objs/src/core/ngx_log.o \ objs/src/core/ngx_palloc.o \ objs/src/core/ngx_array.o \ objs/src/core/ngx_list.o \ objs/src/core/ngx_hash.o \ objs/src/core/ngx_buf.o \ objs/src/core/ngx_queue.o \ objs/src/core/ngx_output_chain.o \ objs/src/core/ngx_string.o \ objs/src/core/ngx_parse.o \ objs/src/core/ngx_parse_time.o \ objs/src/core/ngx_inet.o \ objs/src/core/ngx_file.o \ objs/src/core/ngx_crc32.o \ objs/src/core/ngx_murmurhash.o \ objs/src/core/ngx_md5.o \ objs/src/core/ngx_sha1.o \ objs/src/core/ngx_rbtree.o \ objs/src/core/ngx_radix_tree.o \ objs/src/core/ngx_slab.o \ objs/src/core/ngx_times.o \ objs/src/core/ngx_shmtx.o \ objs/src/core/ngx_connection.o \ objs/src/core/ngx_cycle.o \ objs/src/core/ngx_spinlock.o \ objs/src/core/ngx_rwlock.o \ objs/src/core/ngx_cpuinfo.o \ objs/src/core/ngx_conf_file.o \ objs/src/core/ngx_module.o \ objs/src/core/ngx_resolver.o \ objs/src/core/ngx_open_file_cache.o \ objs/src/core/ngx_crypt.o \ objs/src/core/ngx_proxy_protocol.o \ objs/src/core/ngx_syslog.o \ objs/src/event/ngx_event.o \ objs/src/event/ngx_event_timer.o \ objs/src/event/ngx_event_posted.o \ objs/src/event/ngx_event_accept.o \ objs/src/event/ngx_event_udp.o \ objs/src/event/ngx_event_connect.o \ objs/src/event/ngx_event_pipe.o \ objs/src/os/unix/ngx_time.o \ objs/src/os/unix/ngx_errno.o \ objs/src/os/unix/ngx_alloc.o \ objs/src/os/unix/ngx_files.o \ objs/src/os/unix/ngx_socket.o \ objs/src/os/unix/ngx_recv.o \ objs/src/os/unix/ngx_readv_chain.o \ objs/src/os/unix/ngx_udp_recv.o \ objs/src/os/unix/ngx_send.o \ objs/src/os/unix/ngx_writev_chain.o \ objs/src/os/unix/ngx_udp_send.o \ objs/src/os/unix/ngx_udp_sendmsg_chain.o \ objs/src/os/unix/ngx_channel.o \ objs/src/os/unix/ngx_shmem.o \ objs/src/os/unix/ngx_process.o \ objs/src/os/unix/ngx_daemon.o \ objs/src/os/unix/ngx_setaffinity.o \ objs/src/os/unix/ngx_setproctitle.o \ objs/src/os/unix/ngx_posix_init.o \ objs/src/os/unix/ngx_user.o \ objs/src/os/unix/ngx_dlopen.o \ objs/src/os/unix/ngx_process_cycle.o \ objs/src/os/unix/ngx_linux_init.o \ objs/src/event/modules/ngx_epoll_module.o \ objs/src/os/unix/ngx_linux_sendfile_chain.o \ objs/src/event/ngx_event_openssl.o \ objs/src/event/ngx_event_openssl_stapling.o \ objs/src/core/ngx_regex.o \ objs/src/http/ngx_http.o \ objs/src/http/ngx_http_core_module.o \ objs/src/http/ngx_http_special_response.o \ objs/src/http/ngx_http_request.o \ objs/src/http/ngx_http_parse.o \ objs/src/http/modules/ngx_http_log_module.o \ objs/src/http/ngx_http_request_body.o \ objs/src/http/ngx_http_variables.o \ objs/src/http/ngx_http_script.o \ objs/src/http/ngx_http_upstream.o \ objs/src/http/ngx_http_upstream_round_robin.o \ objs/src/http/ngx_http_file_cache.o \ objs/src/http/ngx_http_huff_decode.o \ objs/src/http/ngx_http_huff_encode.o \ objs/src/http/ngx_http_write_filter_module.o \ objs/src/http/ngx_http_header_filter_module.o \ objs/src/http/modules/ngx_http_chunked_filter_module.o \ objs/src/http/v2/ngx_http_v2_filter_module.o \ objs/src/http/modules/ngx_http_range_filter_module.o \ objs/src/http/modules/ngx_http_gzip_filter_module.o \ objs/src/http/ngx_http_postpone_filter_module.o \ objs/src/http/modules/ngx_http_ssi_filter_module.o \ objs/src/http/modules/ngx_http_charset_filter_module.o \ objs/src/http/modules/ngx_http_userid_filter_module.o \ objs/src/http/modules/ngx_http_headers_filter_module.o \ objs/src/http/ngx_http_copy_filter_module.o \ objs/src/http/modules/ngx_http_not_modified_filter_module.o \ objs/src/http/v2/ngx_http_v2.o \ objs/src/http/v2/ngx_http_v2_table.o \ objs/src/http/v2/ngx_http_v2_encode.o \ objs/src/http/v2/ngx_http_v2_module.o \ objs/src/http/modules/ngx_http_static_module.o \ objs/src/http/modules/ngx_http_gzip_static_module.o \ objs/src/http/modules/ngx_http_autoindex_module.o \ objs/src/http/modules/ngx_http_index_module.o \ objs/src/http/modules/ngx_http_mirror_module.o \ objs/src/http/modules/ngx_http_try_files_module.o \ objs/src/http/modules/ngx_http_auth_basic_module.o \ objs/src/http/modules/ngx_http_access_module.o \ objs/src/http/modules/ngx_http_limit_conn_module.o \ objs/src/http/modules/ngx_http_limit_req_module.o \ objs/src/http/modules/ngx_http_realip_module.o \ objs/src/http/modules/ngx_http_geo_module.o \ objs/src/http/modules/ngx_http_map_module.o \ objs/src/http/modules/ngx_http_split_clients_module.o \ objs/src/http/modules/ngx_http_referer_module.o \ objs/src/http/modules/ngx_http_rewrite_module.o \ objs/src/http/modules/ngx_http_ssl_module.o \ objs/src/http/modules/ngx_http_proxy_module.o \ objs/src/http/modules/ngx_http_fastcgi_module.o \ objs/src/http/modules/ngx_http_uwsgi_module.o \ objs/src/http/modules/ngx_http_scgi_module.o \ objs/src/http/modules/ngx_http_grpc_module.o \ objs/src/http/modules/ngx_http_memcached_module.o \ objs/src/http/modules/ngx_http_empty_gif_module.o \ objs/src/http/modules/ngx_http_browser_module.o \ objs/src/http/modules/ngx_http_upstream_hash_module.o \ objs/src/http/modules/ngx_http_upstream_ip_hash_module.o \ objs/src/http/modules/ngx_http_upstream_least_conn_module.o \ objs/src/http/modules/ngx_http_upstream_random_module.o \ objs/src/http/modules/ngx_http_upstream_keepalive_module.o \ objs/src/http/modules/ngx_http_upstream_zone_module.o \ objs/src/http/modules/ngx_http_stub_status_module.o \ objs/src/stream/ngx_stream.o \ objs/src/stream/ngx_stream_variables.o \ objs/src/stream/ngx_stream_script.o \ objs/src/stream/ngx_stream_handler.o \ objs/src/stream/ngx_stream_core_module.o \ objs/src/stream/ngx_stream_log_module.o \ objs/src/stream/ngx_stream_proxy_module.o \ objs/src/stream/ngx_stream_upstream.o \ objs/src/stream/ngx_stream_upstream_round_robin.o \ objs/src/stream/ngx_stream_write_filter_module.o \ objs/src/stream/ngx_stream_ssl_module.o \ objs/src/stream/ngx_stream_realip_module.o \ objs/src/stream/ngx_stream_limit_conn_module.o \ objs/src/stream/ngx_stream_access_module.o \ objs/src/stream/ngx_stream_geo_module.o \ objs/src/stream/ngx_stream_map_module.o \ objs/src/stream/ngx_stream_split_clients_module.o \ objs/src/stream/ngx_stream_return_module.o \ objs/src/stream/ngx_stream_set_module.o \ objs/src/stream/ngx_stream_upstream_hash_module.o \ objs/src/stream/ngx_stream_upstream_least_conn_module.o \ objs/src/stream/ngx_stream_upstream_random_module.o \ objs/src/stream/ngx_stream_upstream_zone_module.o \ objs/ngx_modules.o \ -lcrypt -lpcre -lssl -lcrypto -lz \ -Wl,-E make[1]: Leaving directory '/usr/local/src/nginx-1.22.0' make -f objs/Makefile install make[1]: Entering directory '/usr/local/src/nginx-1.22.0' test -d '/apps/nginx' || mkdir -p '/apps/nginx' test -d '/apps/nginx/sbin' \ || mkdir -p '/apps/nginx/sbin' test ! -f '/apps/nginx/sbin/nginx' \ || mv '/apps/nginx/sbin/nginx' \ '/apps/nginx/sbin/nginx.old' cp objs/nginx '/apps/nginx/sbin/nginx' test -d '/apps/nginx/conf' \ || mkdir -p '/apps/nginx/conf' cp conf/koi-win '/apps/nginx/conf' cp conf/koi-utf '/apps/nginx/conf' cp conf/win-utf '/apps/nginx/conf' test -f '/apps/nginx/conf/mime.types' \ || cp conf/mime.types '/apps/nginx/conf' cp conf/mime.types '/apps/nginx/conf/mime.types.default' test -f '/apps/nginx/conf/fastcgi_params' \ || cp conf/fastcgi_params '/apps/nginx/conf' cp conf/fastcgi_params \ '/apps/nginx/conf/fastcgi_params.default' test -f '/apps/nginx/conf/fastcgi.conf' \ || cp conf/fastcgi.conf '/apps/nginx/conf' cp conf/fastcgi.conf '/apps/nginx/conf/fastcgi.conf.default' test -f '/apps/nginx/conf/uwsgi_params' \ || cp conf/uwsgi_params '/apps/nginx/conf' cp conf/uwsgi_params \ '/apps/nginx/conf/uwsgi_params.default' test -f '/apps/nginx/conf/scgi_params' \ || cp conf/scgi_params '/apps/nginx/conf' cp conf/scgi_params \ '/apps/nginx/conf/scgi_params.default' test -f '/apps/nginx/conf/nginx.conf' \ || cp conf/nginx.conf '/apps/nginx/conf/nginx.conf' cp conf/nginx.conf '/apps/nginx/conf/nginx.conf.default' test -d '/apps/nginx/logs' \ || mkdir -p '/apps/nginx/logs' test -d '/apps/nginx/logs' \ || mkdir -p '/apps/nginx/logs' test -d '/apps/nginx/html' \ || cp -R html '/apps/nginx' test -d '/apps/nginx/logs' \ || mkdir -p '/apps/nginx/logs' make[1]: Leaving directory '/usr/local/src/nginx-1.22.0' nginx 编译安装成功 [ OK ] nginx 安装完成 [ OK ] [root@ubuntu22-nginx ~]# [root@ubuntu22-nginx ~]#
二、平滑升级nginx及版本回滚
2.1、升级nginx
通过nginx -V查看当前nginx版本跟编译插件
[root@rocky8-nginx sbin]# pwd /apps/nginx/sbin [root@rocky8-nginx sbin]# ./nginx -V nginx version: nginx/1.20.2 built by gcc 8.5.0 20210514 (Red Hat 8.5.0-10) (GCC) built with OpenSSL 1.1.1k FIPS 25 Mar 2021 TLS SNI support enabled configure arguments: --prefix=/apps/nginx --user=nginx --group=nginx --with-http_ssl_module --with-http_v2_module --with-http_realip_module --with-http_stub_status_module --with-http_gzip_static_module --with-pcre --with-stream --with-stream_ssl_module --with-stream_realip_module [root@rocky8-nginx sbin]#
下载最新稳定版
wget https://nginx.org/download/nginx-1.22.0.tar.gz
tar -xf nginx-1.22.0.tar.gz
cd nginx-1.22.0
编译新版本
./configure --prefix=/apps/nginx-new --user=nginx-new --group=nginx --with-http_ssl_module --with-http_v2_module --with-http_realip_module --with-http_stub_status_module --with-http_gzip_static_module --with-pcre --with-stream --with-stream_ssl_module --with-stream_realip_module
make
objs/nginx -v #查看版本
编译过程
![](https://images.cnblogs.com/OutliningIndicators/ContractedBlock.gif)
[root@rocky8-nginx apps]# mkdir nginx-new [root@rocky8-nginx apps]# ls nginx nginx-new [root@rocky8-nginx apps]# cd nginx-new/ [root@rocky8-nginx nginx-new]# ls [root@rocky8-nginx nginx-new]# [root@rocky8-nginx nginx-new]# [root@rocky8-nginx nginx-new]# wget https://nginx.org/download/nginx-1.22.0.tar.gz --2022-09-15 11:13:25-- https://nginx.org/download/nginx-1.22.0.tar.gz Resolving nginx.org (nginx.org)... 3.125.197.172, 52.58.199.22 Connecting to nginx.org (nginx.org)|3.125.197.172|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 1073322 (1.0M) [application/octet-stream] Saving to: ‘nginx-1.22.0.tar.gz’ nginx-1.22.0.tar.gz 100%[===================================================================================================================>] 1.02M 145KB/s in 9.1s 2022-09-15 11:13:42 (115 KB/s) - ‘nginx-1.22.0.tar.gz’ saved [1073322/1073322] [root@rocky8-nginx nginx-new]# ls nginx-1.22.0.tar.gz [root@rocky8-nginx nginx-new]# tar -xf nginx-1.22.0.tar.gz [root@rocky8-nginx nginx-new]# ls nginx-1.22.0 nginx-1.22.0.tar.gz [root@rocky8-nginx nginx-new]# cd nginx-1.22.0 [root@rocky8-nginx nginx-1.22.0]# [root@rocky8-nginx nginx-1.22.0]# ls auto CHANGES CHANGES.ru conf configure contrib html LICENSE man README src [root@rocky8-nginx nginx-1.22.0]# [root@rocky8-nginx nginx-1.22.0]# ./configure --prefix=/apps/nginx --user=nginx --group=nginx --with-http_ssl_module --with-http_v2_module --with-http_realip_module --with-http_stub_status_module --with-http_gzip_static_module --with-pcre --with-stream --with-stream_ssl_module --with-stream_realip_module checking for OS + Linux 4.18.0-372.9.1.el8.x86_64 x86_64 checking for C compiler ... found + using GNU C compiler + gcc version: 8.5.0 20210514 (Red Hat 8.5.0-10) (GCC) checking for gcc -pipe switch ... found checking for -Wl,-E switch ... found checking for gcc builtin atomic operations ... found checking for C99 variadic macros ... found checking for gcc variadic macros ... found checking for gcc builtin 64 bit byteswap ... found checking for unistd.h ... found checking for inttypes.h ... found checking for limits.h ... found checking for sys/filio.h ... not found checking for sys/param.h ... found checking for sys/mount.h ... found checking for sys/statvfs.h ... found checking for crypt.h ... found checking for Linux specific features checking for epoll ... found checking for EPOLLRDHUP ... found checking for EPOLLEXCLUSIVE ... found checking for eventfd() ... found checking for O_PATH ... found checking for sendfile() ... found checking for sendfile64() ... found checking for sys/prctl.h ... found checking for prctl(PR_SET_DUMPABLE) ... found checking for prctl(PR_SET_KEEPCAPS) ... found checking for capabilities ... found checking for crypt_r() ... found checking for sys/vfs.h ... found checking for poll() ... found checking for /dev/poll ... not found checking for kqueue ... not found checking for crypt() ... not found checking for crypt() in libcrypt ... found checking for F_READAHEAD ... not found checking for posix_fadvise() ... found checking for O_DIRECT ... found checking for F_NOCACHE ... not found checking for directio() ... not found checking for statfs() ... found checking for statvfs() ... found checking for dlopen() ... not found checking for dlopen() in libdl ... found checking for sched_yield() ... found checking for sched_setaffinity() ... found checking for SO_SETFIB ... not found checking for SO_REUSEPORT ... found checking for SO_ACCEPTFILTER ... not found checking for SO_BINDANY ... not found checking for IP_TRANSPARENT ... found checking for IP_BINDANY ... not found checking for IP_BIND_ADDRESS_NO_PORT ... found checking for IP_RECVDSTADDR ... not found checking for IP_SENDSRCADDR ... not found checking for IP_PKTINFO ... found checking for IPV6_RECVPKTINFO ... found checking for TCP_DEFER_ACCEPT ... found checking for TCP_KEEPIDLE ... found checking for TCP_FASTOPEN ... found checking for TCP_INFO ... found checking for accept4() ... found checking for int size ... 4 bytes checking for long size ... 8 bytes checking for long long size ... 8 bytes checking for void * size ... 8 bytes checking for uint32_t ... found checking for uint64_t ... found checking for sig_atomic_t ... found checking for sig_atomic_t size ... 4 bytes checking for socklen_t ... found checking for in_addr_t ... found checking for in_port_t ... found checking for rlim_t ... found checking for uintptr_t ... uintptr_t found checking for system byte ordering ... little endian checking for size_t size ... 8 bytes checking for off_t size ... 8 bytes checking for time_t size ... 8 bytes checking for AF_INET6 ... found checking for setproctitle() ... not found checking for pread() ... found checking for pwrite() ... found checking for pwritev() ... found checking for strerrordesc_np() ... not found checking for sys_nerr ... found checking for localtime_r() ... found checking for clock_gettime(CLOCK_MONOTONIC) ... found checking for posix_memalign() ... found checking for memalign() ... found checking for mmap(MAP_ANON|MAP_SHARED) ... found checking for mmap("/dev/zero", MAP_SHARED) ... found checking for System V shared memory ... found checking for POSIX semaphores ... not found checking for POSIX semaphores in libpthread ... found checking for struct msghdr.msg_control ... found checking for ioctl(FIONBIO) ... found checking for ioctl(FIONREAD) ... found checking for struct tm.tm_gmtoff ... found checking for struct dirent.d_namlen ... not found checking for struct dirent.d_type ... found checking for sysconf(_SC_NPROCESSORS_ONLN) ... found checking for sysconf(_SC_LEVEL1_DCACHE_LINESIZE) ... found checking for openat(), fstatat() ... found checking for getaddrinfo() ... found checking for PCRE2 library ... found checking for OpenSSL library ... found checking for zlib library ... found creating objs/Makefile Configuration summary + using system PCRE2 library + using system OpenSSL library + using system zlib library nginx path prefix: "/apps/nginx" nginx binary file: "/apps/nginx/sbin/nginx" nginx modules path: "/apps/nginx/modules" nginx configuration prefix: "/apps/nginx/conf" nginx configuration file: "/apps/nginx/conf/nginx.conf" nginx pid file: "/apps/nginx/logs/nginx.pid" nginx error log file: "/apps/nginx/logs/error.log" nginx http access log file: "/apps/nginx/logs/access.log" nginx http client request body temporary files: "client_body_temp" nginx http proxy temporary files: "proxy_temp" nginx http fastcgi temporary files: "fastcgi_temp" nginx http uwsgi temporary files: "uwsgi_temp" nginx http scgi temporary files: "scgi_temp" [root@rocky8-nginx nginx-1.22.0]# ls auto CHANGES CHANGES.ru conf configure contrib html LICENSE Makefile man objs README src [root@rocky8-nginx nginx-1.22.0]# ls objs/ autoconf.err Makefile ngx_auto_config.h ngx_auto_headers.h ngx_modules.c src [root@rocky8-nginx nginx-1.22.0]# make make -f objs/Makefile make[1]: Entering directory '/apps/nginx-new/nginx-1.22.0' cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/core/nginx.o \ src/core/nginx.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/core/ngx_log.o \ src/core/ngx_log.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/core/ngx_palloc.o \ src/core/ngx_palloc.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/core/ngx_array.o \ src/core/ngx_array.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/core/ngx_list.o \ src/core/ngx_list.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/core/ngx_hash.o \ src/core/ngx_hash.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/core/ngx_buf.o \ src/core/ngx_buf.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/core/ngx_queue.o \ src/core/ngx_queue.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/core/ngx_output_chain.o \ src/core/ngx_output_chain.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/core/ngx_string.o \ src/core/ngx_string.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/core/ngx_parse.o \ src/core/ngx_parse.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/core/ngx_parse_time.o \ src/core/ngx_parse_time.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/core/ngx_inet.o \ src/core/ngx_inet.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/core/ngx_file.o \ src/core/ngx_file.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/core/ngx_crc32.o \ src/core/ngx_crc32.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/core/ngx_murmurhash.o \ src/core/ngx_murmurhash.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/core/ngx_md5.o \ src/core/ngx_md5.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/core/ngx_sha1.o \ src/core/ngx_sha1.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/core/ngx_rbtree.o \ src/core/ngx_rbtree.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/core/ngx_radix_tree.o \ src/core/ngx_radix_tree.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/core/ngx_slab.o \ src/core/ngx_slab.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/core/ngx_times.o \ src/core/ngx_times.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/core/ngx_shmtx.o \ src/core/ngx_shmtx.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/core/ngx_connection.o \ src/core/ngx_connection.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/core/ngx_cycle.o \ src/core/ngx_cycle.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/core/ngx_spinlock.o \ src/core/ngx_spinlock.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/core/ngx_rwlock.o \ src/core/ngx_rwlock.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/core/ngx_cpuinfo.o \ src/core/ngx_cpuinfo.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/core/ngx_conf_file.o \ src/core/ngx_conf_file.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/core/ngx_module.o \ src/core/ngx_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/core/ngx_resolver.o \ src/core/ngx_resolver.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/core/ngx_open_file_cache.o \ src/core/ngx_open_file_cache.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/core/ngx_crypt.o \ src/core/ngx_crypt.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/core/ngx_proxy_protocol.o \ src/core/ngx_proxy_protocol.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/core/ngx_syslog.o \ src/core/ngx_syslog.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/event/ngx_event.o \ src/event/ngx_event.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/event/ngx_event_timer.o \ src/event/ngx_event_timer.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/event/ngx_event_posted.o \ src/event/ngx_event_posted.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/event/ngx_event_accept.o \ src/event/ngx_event_accept.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/event/ngx_event_udp.o \ src/event/ngx_event_udp.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/event/ngx_event_connect.o \ src/event/ngx_event_connect.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/event/ngx_event_pipe.o \ src/event/ngx_event_pipe.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/os/unix/ngx_time.o \ src/os/unix/ngx_time.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/os/unix/ngx_errno.o \ src/os/unix/ngx_errno.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/os/unix/ngx_alloc.o \ src/os/unix/ngx_alloc.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/os/unix/ngx_files.o \ src/os/unix/ngx_files.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/os/unix/ngx_socket.o \ src/os/unix/ngx_socket.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/os/unix/ngx_recv.o \ src/os/unix/ngx_recv.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/os/unix/ngx_readv_chain.o \ src/os/unix/ngx_readv_chain.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/os/unix/ngx_udp_recv.o \ src/os/unix/ngx_udp_recv.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/os/unix/ngx_send.o \ src/os/unix/ngx_send.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/os/unix/ngx_writev_chain.o \ src/os/unix/ngx_writev_chain.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/os/unix/ngx_udp_send.o \ src/os/unix/ngx_udp_send.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/os/unix/ngx_udp_sendmsg_chain.o \ src/os/unix/ngx_udp_sendmsg_chain.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/os/unix/ngx_channel.o \ src/os/unix/ngx_channel.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/os/unix/ngx_shmem.o \ src/os/unix/ngx_shmem.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/os/unix/ngx_process.o \ src/os/unix/ngx_process.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/os/unix/ngx_daemon.o \ src/os/unix/ngx_daemon.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/os/unix/ngx_setaffinity.o \ src/os/unix/ngx_setaffinity.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/os/unix/ngx_setproctitle.o \ src/os/unix/ngx_setproctitle.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/os/unix/ngx_posix_init.o \ src/os/unix/ngx_posix_init.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/os/unix/ngx_user.o \ src/os/unix/ngx_user.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/os/unix/ngx_dlopen.o \ src/os/unix/ngx_dlopen.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/os/unix/ngx_process_cycle.o \ src/os/unix/ngx_process_cycle.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/os/unix/ngx_linux_init.o \ src/os/unix/ngx_linux_init.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/event/modules/ngx_epoll_module.o \ src/event/modules/ngx_epoll_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/os/unix/ngx_linux_sendfile_chain.o \ src/os/unix/ngx_linux_sendfile_chain.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/event/ngx_event_openssl.o \ src/event/ngx_event_openssl.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/event/ngx_event_openssl_stapling.o \ src/event/ngx_event_openssl_stapling.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/core/ngx_regex.o \ src/core/ngx_regex.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \ -o objs/src/http/ngx_http.o \ src/http/ngx_http.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \ -o objs/src/http/ngx_http_core_module.o \ src/http/ngx_http_core_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \ -o objs/src/http/ngx_http_special_response.o \ src/http/ngx_http_special_response.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \ -o objs/src/http/ngx_http_request.o \ src/http/ngx_http_request.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \ -o objs/src/http/ngx_http_parse.o \ src/http/ngx_http_parse.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \ -o objs/src/http/modules/ngx_http_log_module.o \ src/http/modules/ngx_http_log_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \ -o objs/src/http/ngx_http_request_body.o \ src/http/ngx_http_request_body.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \ -o objs/src/http/ngx_http_variables.o \ src/http/ngx_http_variables.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \ -o objs/src/http/ngx_http_script.o \ src/http/ngx_http_script.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \ -o objs/src/http/ngx_http_upstream.o \ src/http/ngx_http_upstream.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \ -o objs/src/http/ngx_http_upstream_round_robin.o \ src/http/ngx_http_upstream_round_robin.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \ -o objs/src/http/ngx_http_file_cache.o \ src/http/ngx_http_file_cache.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \ -o objs/src/http/ngx_http_huff_decode.o \ src/http/ngx_http_huff_decode.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \ -o objs/src/http/ngx_http_huff_encode.o \ src/http/ngx_http_huff_encode.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \ -o objs/src/http/ngx_http_write_filter_module.o \ src/http/ngx_http_write_filter_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \ -o objs/src/http/ngx_http_header_filter_module.o \ src/http/ngx_http_header_filter_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \ -o objs/src/http/modules/ngx_http_chunked_filter_module.o \ src/http/modules/ngx_http_chunked_filter_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \ -o objs/src/http/v2/ngx_http_v2_filter_module.o \ src/http/v2/ngx_http_v2_filter_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \ -o objs/src/http/modules/ngx_http_range_filter_module.o \ src/http/modules/ngx_http_range_filter_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \ -o objs/src/http/modules/ngx_http_gzip_filter_module.o \ src/http/modules/ngx_http_gzip_filter_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \ -o objs/src/http/ngx_http_postpone_filter_module.o \ src/http/ngx_http_postpone_filter_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \ -o objs/src/http/modules/ngx_http_ssi_filter_module.o \ src/http/modules/ngx_http_ssi_filter_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \ -o objs/src/http/modules/ngx_http_charset_filter_module.o \ src/http/modules/ngx_http_charset_filter_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \ -o objs/src/http/modules/ngx_http_userid_filter_module.o \ src/http/modules/ngx_http_userid_filter_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \ -o objs/src/http/modules/ngx_http_headers_filter_module.o \ src/http/modules/ngx_http_headers_filter_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \ -o objs/src/http/ngx_http_copy_filter_module.o \ src/http/ngx_http_copy_filter_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \ -o objs/src/http/modules/ngx_http_not_modified_filter_module.o \ src/http/modules/ngx_http_not_modified_filter_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \ -o objs/src/http/v2/ngx_http_v2.o \ src/http/v2/ngx_http_v2.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \ -o objs/src/http/v2/ngx_http_v2_table.o \ src/http/v2/ngx_http_v2_table.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \ -o objs/src/http/v2/ngx_http_v2_encode.o \ src/http/v2/ngx_http_v2_encode.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \ -o objs/src/http/v2/ngx_http_v2_module.o \ src/http/v2/ngx_http_v2_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \ -o objs/src/http/modules/ngx_http_static_module.o \ src/http/modules/ngx_http_static_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \ -o objs/src/http/modules/ngx_http_gzip_static_module.o \ src/http/modules/ngx_http_gzip_static_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \ -o objs/src/http/modules/ngx_http_autoindex_module.o \ src/http/modules/ngx_http_autoindex_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \ -o objs/src/http/modules/ngx_http_index_module.o \ src/http/modules/ngx_http_index_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \ -o objs/src/http/modules/ngx_http_mirror_module.o \ src/http/modules/ngx_http_mirror_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \ -o objs/src/http/modules/ngx_http_try_files_module.o \ src/http/modules/ngx_http_try_files_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \ -o objs/src/http/modules/ngx_http_auth_basic_module.o \ src/http/modules/ngx_http_auth_basic_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \ -o objs/src/http/modules/ngx_http_access_module.o \ src/http/modules/ngx_http_access_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \ -o objs/src/http/modules/ngx_http_limit_conn_module.o \ src/http/modules/ngx_http_limit_conn_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \ -o objs/src/http/modules/ngx_http_limit_req_module.o \ src/http/modules/ngx_http_limit_req_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \ -o objs/src/http/modules/ngx_http_realip_module.o \ src/http/modules/ngx_http_realip_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \ -o objs/src/http/modules/ngx_http_geo_module.o \ src/http/modules/ngx_http_geo_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \ -o objs/src/http/modules/ngx_http_map_module.o \ src/http/modules/ngx_http_map_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \ -o objs/src/http/modules/ngx_http_split_clients_module.o \ src/http/modules/ngx_http_split_clients_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \ -o objs/src/http/modules/ngx_http_referer_module.o \ src/http/modules/ngx_http_referer_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \ -o objs/src/http/modules/ngx_http_rewrite_module.o \ src/http/modules/ngx_http_rewrite_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \ -o objs/src/http/modules/ngx_http_ssl_module.o \ src/http/modules/ngx_http_ssl_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \ -o objs/src/http/modules/ngx_http_proxy_module.o \ src/http/modules/ngx_http_proxy_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \ -o objs/src/http/modules/ngx_http_fastcgi_module.o \ src/http/modules/ngx_http_fastcgi_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \ -o objs/src/http/modules/ngx_http_uwsgi_module.o \ src/http/modules/ngx_http_uwsgi_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \ -o objs/src/http/modules/ngx_http_scgi_module.o \ src/http/modules/ngx_http_scgi_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \ -o objs/src/http/modules/ngx_http_grpc_module.o \ src/http/modules/ngx_http_grpc_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \ -o objs/src/http/modules/ngx_http_memcached_module.o \ src/http/modules/ngx_http_memcached_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \ -o objs/src/http/modules/ngx_http_empty_gif_module.o \ src/http/modules/ngx_http_empty_gif_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \ -o objs/src/http/modules/ngx_http_browser_module.o \ src/http/modules/ngx_http_browser_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \ -o objs/src/http/modules/ngx_http_upstream_hash_module.o \ src/http/modules/ngx_http_upstream_hash_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \ -o objs/src/http/modules/ngx_http_upstream_ip_hash_module.o \ src/http/modules/ngx_http_upstream_ip_hash_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \ -o objs/src/http/modules/ngx_http_upstream_least_conn_module.o \ src/http/modules/ngx_http_upstream_least_conn_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \ -o objs/src/http/modules/ngx_http_upstream_random_module.o \ src/http/modules/ngx_http_upstream_random_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \ -o objs/src/http/modules/ngx_http_upstream_keepalive_module.o \ src/http/modules/ngx_http_upstream_keepalive_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \ -o objs/src/http/modules/ngx_http_upstream_zone_module.o \ src/http/modules/ngx_http_upstream_zone_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \ -o objs/src/http/modules/ngx_http_stub_status_module.o \ src/http/modules/ngx_http_stub_status_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/stream \ -o objs/src/stream/ngx_stream.o \ src/stream/ngx_stream.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/stream \ -o objs/src/stream/ngx_stream_variables.o \ src/stream/ngx_stream_variables.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/stream \ -o objs/src/stream/ngx_stream_script.o \ src/stream/ngx_stream_script.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/stream \ -o objs/src/stream/ngx_stream_handler.o \ src/stream/ngx_stream_handler.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/stream \ -o objs/src/stream/ngx_stream_core_module.o \ src/stream/ngx_stream_core_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/stream \ -o objs/src/stream/ngx_stream_log_module.o \ src/stream/ngx_stream_log_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/stream \ -o objs/src/stream/ngx_stream_proxy_module.o \ src/stream/ngx_stream_proxy_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/stream \ -o objs/src/stream/ngx_stream_upstream.o \ src/stream/ngx_stream_upstream.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/stream \ -o objs/src/stream/ngx_stream_upstream_round_robin.o \ src/stream/ngx_stream_upstream_round_robin.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/stream \ -o objs/src/stream/ngx_stream_write_filter_module.o \ src/stream/ngx_stream_write_filter_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/stream \ -o objs/src/stream/ngx_stream_ssl_module.o \ src/stream/ngx_stream_ssl_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/stream \ -o objs/src/stream/ngx_stream_realip_module.o \ src/stream/ngx_stream_realip_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/stream \ -o objs/src/stream/ngx_stream_limit_conn_module.o \ src/stream/ngx_stream_limit_conn_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/stream \ -o objs/src/stream/ngx_stream_access_module.o \ src/stream/ngx_stream_access_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/stream \ -o objs/src/stream/ngx_stream_geo_module.o \ src/stream/ngx_stream_geo_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/stream \ -o objs/src/stream/ngx_stream_map_module.o \ src/stream/ngx_stream_map_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/stream \ -o objs/src/stream/ngx_stream_split_clients_module.o \ src/stream/ngx_stream_split_clients_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/stream \ -o objs/src/stream/ngx_stream_return_module.o \ src/stream/ngx_stream_return_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/stream \ -o objs/src/stream/ngx_stream_set_module.o \ src/stream/ngx_stream_set_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/stream \ -o objs/src/stream/ngx_stream_upstream_hash_module.o \ src/stream/ngx_stream_upstream_hash_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/stream \ -o objs/src/stream/ngx_stream_upstream_least_conn_module.o \ src/stream/ngx_stream_upstream_least_conn_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/stream \ -o objs/src/stream/ngx_stream_upstream_random_module.o \ src/stream/ngx_stream_upstream_random_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/stream \ -o objs/src/stream/ngx_stream_upstream_zone_module.o \ src/stream/ngx_stream_upstream_zone_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/ngx_modules.o \ objs/ngx_modules.c cc -o objs/nginx \ objs/src/core/nginx.o \ objs/src/core/ngx_log.o \ objs/src/core/ngx_palloc.o \ objs/src/core/ngx_array.o \ objs/src/core/ngx_list.o \ objs/src/core/ngx_hash.o \ objs/src/core/ngx_buf.o \ objs/src/core/ngx_queue.o \ objs/src/core/ngx_output_chain.o \ objs/src/core/ngx_string.o \ objs/src/core/ngx_parse.o \ objs/src/core/ngx_parse_time.o \ objs/src/core/ngx_inet.o \ objs/src/core/ngx_file.o \ objs/src/core/ngx_crc32.o \ objs/src/core/ngx_murmurhash.o \ objs/src/core/ngx_md5.o \ objs/src/core/ngx_sha1.o \ objs/src/core/ngx_rbtree.o \ objs/src/core/ngx_radix_tree.o \ objs/src/core/ngx_slab.o \ objs/src/core/ngx_times.o \ objs/src/core/ngx_shmtx.o \ objs/src/core/ngx_connection.o \ objs/src/core/ngx_cycle.o \ objs/src/core/ngx_spinlock.o \ objs/src/core/ngx_rwlock.o \ objs/src/core/ngx_cpuinfo.o \ objs/src/core/ngx_conf_file.o \ objs/src/core/ngx_module.o \ objs/src/core/ngx_resolver.o \ objs/src/core/ngx_open_file_cache.o \ objs/src/core/ngx_crypt.o \ objs/src/core/ngx_proxy_protocol.o \ objs/src/core/ngx_syslog.o \ objs/src/event/ngx_event.o \ objs/src/event/ngx_event_timer.o \ objs/src/event/ngx_event_posted.o \ objs/src/event/ngx_event_accept.o \ objs/src/event/ngx_event_udp.o \ objs/src/event/ngx_event_connect.o \ objs/src/event/ngx_event_pipe.o \ objs/src/os/unix/ngx_time.o \ objs/src/os/unix/ngx_errno.o \ objs/src/os/unix/ngx_alloc.o \ objs/src/os/unix/ngx_files.o \ objs/src/os/unix/ngx_socket.o \ objs/src/os/unix/ngx_recv.o \ objs/src/os/unix/ngx_readv_chain.o \ objs/src/os/unix/ngx_udp_recv.o \ objs/src/os/unix/ngx_send.o \ objs/src/os/unix/ngx_writev_chain.o \ objs/src/os/unix/ngx_udp_send.o \ objs/src/os/unix/ngx_udp_sendmsg_chain.o \ objs/src/os/unix/ngx_channel.o \ objs/src/os/unix/ngx_shmem.o \ objs/src/os/unix/ngx_process.o \ objs/src/os/unix/ngx_daemon.o \ objs/src/os/unix/ngx_setaffinity.o \ objs/src/os/unix/ngx_setproctitle.o \ objs/src/os/unix/ngx_posix_init.o \ objs/src/os/unix/ngx_user.o \ objs/src/os/unix/ngx_dlopen.o \ objs/src/os/unix/ngx_process_cycle.o \ objs/src/os/unix/ngx_linux_init.o \ objs/src/event/modules/ngx_epoll_module.o \ objs/src/os/unix/ngx_linux_sendfile_chain.o \ objs/src/event/ngx_event_openssl.o \ objs/src/event/ngx_event_openssl_stapling.o \ objs/src/core/ngx_regex.o \ objs/src/http/ngx_http.o \ objs/src/http/ngx_http_core_module.o \ objs/src/http/ngx_http_special_response.o \ objs/src/http/ngx_http_request.o \ objs/src/http/ngx_http_parse.o \ objs/src/http/modules/ngx_http_log_module.o \ objs/src/http/ngx_http_request_body.o \ objs/src/http/ngx_http_variables.o \ objs/src/http/ngx_http_script.o \ objs/src/http/ngx_http_upstream.o \ objs/src/http/ngx_http_upstream_round_robin.o \ objs/src/http/ngx_http_file_cache.o \ objs/src/http/ngx_http_huff_decode.o \ objs/src/http/ngx_http_huff_encode.o \ objs/src/http/ngx_http_write_filter_module.o \ objs/src/http/ngx_http_header_filter_module.o \ objs/src/http/modules/ngx_http_chunked_filter_module.o \ objs/src/http/v2/ngx_http_v2_filter_module.o \ objs/src/http/modules/ngx_http_range_filter_module.o \ objs/src/http/modules/ngx_http_gzip_filter_module.o \ objs/src/http/ngx_http_postpone_filter_module.o \ objs/src/http/modules/ngx_http_ssi_filter_module.o \ objs/src/http/modules/ngx_http_charset_filter_module.o \ objs/src/http/modules/ngx_http_userid_filter_module.o \ objs/src/http/modules/ngx_http_headers_filter_module.o \ objs/src/http/ngx_http_copy_filter_module.o \ objs/src/http/modules/ngx_http_not_modified_filter_module.o \ objs/src/http/v2/ngx_http_v2.o \ objs/src/http/v2/ngx_http_v2_table.o \ objs/src/http/v2/ngx_http_v2_encode.o \ objs/src/http/v2/ngx_http_v2_module.o \ objs/src/http/modules/ngx_http_static_module.o \ objs/src/http/modules/ngx_http_gzip_static_module.o \ objs/src/http/modules/ngx_http_autoindex_module.o \ objs/src/http/modules/ngx_http_index_module.o \ objs/src/http/modules/ngx_http_mirror_module.o \ objs/src/http/modules/ngx_http_try_files_module.o \ objs/src/http/modules/ngx_http_auth_basic_module.o \ objs/src/http/modules/ngx_http_access_module.o \ objs/src/http/modules/ngx_http_limit_conn_module.o \ objs/src/http/modules/ngx_http_limit_req_module.o \ objs/src/http/modules/ngx_http_realip_module.o \ objs/src/http/modules/ngx_http_geo_module.o \ objs/src/http/modules/ngx_http_map_module.o \ objs/src/http/modules/ngx_http_split_clients_module.o \ objs/src/http/modules/ngx_http_referer_module.o \ objs/src/http/modules/ngx_http_rewrite_module.o \ objs/src/http/modules/ngx_http_ssl_module.o \ objs/src/http/modules/ngx_http_proxy_module.o \ objs/src/http/modules/ngx_http_fastcgi_module.o \ objs/src/http/modules/ngx_http_uwsgi_module.o \ objs/src/http/modules/ngx_http_scgi_module.o \ objs/src/http/modules/ngx_http_grpc_module.o \ objs/src/http/modules/ngx_http_memcached_module.o \ objs/src/http/modules/ngx_http_empty_gif_module.o \ objs/src/http/modules/ngx_http_browser_module.o \ objs/src/http/modules/ngx_http_upstream_hash_module.o \ objs/src/http/modules/ngx_http_upstream_ip_hash_module.o \ objs/src/http/modules/ngx_http_upstream_least_conn_module.o \ objs/src/http/modules/ngx_http_upstream_random_module.o \ objs/src/http/modules/ngx_http_upstream_keepalive_module.o \ objs/src/http/modules/ngx_http_upstream_zone_module.o \ objs/src/http/modules/ngx_http_stub_status_module.o \ objs/src/stream/ngx_stream.o \ objs/src/stream/ngx_stream_variables.o \ objs/src/stream/ngx_stream_script.o \ objs/src/stream/ngx_stream_handler.o \ objs/src/stream/ngx_stream_core_module.o \ objs/src/stream/ngx_stream_log_module.o \ objs/src/stream/ngx_stream_proxy_module.o \ objs/src/stream/ngx_stream_upstream.o \ objs/src/stream/ngx_stream_upstream_round_robin.o \ objs/src/stream/ngx_stream_write_filter_module.o \ objs/src/stream/ngx_stream_ssl_module.o \ objs/src/stream/ngx_stream_realip_module.o \ objs/src/stream/ngx_stream_limit_conn_module.o \ objs/src/stream/ngx_stream_access_module.o \ objs/src/stream/ngx_stream_geo_module.o \ objs/src/stream/ngx_stream_map_module.o \ objs/src/stream/ngx_stream_split_clients_module.o \ objs/src/stream/ngx_stream_return_module.o \ objs/src/stream/ngx_stream_set_module.o \ objs/src/stream/ngx_stream_upstream_hash_module.o \ objs/src/stream/ngx_stream_upstream_least_conn_module.o \ objs/src/stream/ngx_stream_upstream_random_module.o \ objs/src/stream/ngx_stream_upstream_zone_module.o \ objs/ngx_modules.o \ -ldl -lpthread -lcrypt -lpcre2-8 -lssl -lcrypto -ldl -lpthread -lz \ -Wl,-E sed -e "s|%%PREFIX%%|/apps/nginx|" \ -e "s|%%PID_PATH%%|/apps/nginx/logs/nginx.pid|" \ -e "s|%%CONF_PATH%%|/apps/nginx/conf/nginx.conf|" \ -e "s|%%ERROR_LOG_PATH%%|/apps/nginx/logs/error.log|" \ < man/nginx.8 > objs/nginx.8 make[1]: Leaving directory '/apps/nginx-new/nginx-1.22.0' [root@rocky8-nginx nginx-1.22.0]# ls objs/ autoconf.err Makefile nginx nginx.8 ngx_auto_config.h ngx_auto_headers.h ngx_modules.c ngx_modules.o src [root@rocky8-nginx nginx-1.22.0]# ./objs/nginx -v nginx version: nginx/1.22.0 [root@rocky8-nginx nginx-1.22.0]#
备份旧的nginx,方便后面回滚测试
cp /apps/nginx/sbin/nginx /opt/nginx.old
新版本更新替换
cp -f ./objs/nginx /apps/nginx/sbin/
检查nginx是否正常
发送信号USR2 平滑升级可执行程序,将存储有旧版本主进程PID的文件重命名为nginx.pid.oldbin,并启动新的nginx
[root@rocky8-nginx nginx-1.22.0]# kill -USR2 `cat /apps/nginx/logs/nginx.pid`
#可以看到两个master,新的master是旧版master的子进程,并生成新版的worker进程
#此时两个master的进程都在运行,只是旧的master不在监听,由新的master监听80
#此时Nginx开启一个新的master进程,这个master进程会生成新的worker进程,这就是升级后的Nginx进程,此时老的进程不会自动退出,但是当接收到新的请求不作处理而是交给新的进程处理。
#先关闭旧nginx的worker进程,而不关闭nginx主进程方便回滚
#向原Nginx主进程发送WINCH信号,它会逐步关闭旗下的工作进程(主进程不退出),这时所有请求都会由新版Nginx处理
#经过一段时间测试,新版本服务没问题,最后发送QUIT信号,退出老的master
查看版本是不是更新了
2.2、回滚
如果升级的版本过程中发现问题需要回滚,可以发送HUP信号,重新拉起旧的的worker
kill -HUP `cat /apps/nginx/logs/nginx.pid.oldbin`
kill -QUIT `cat /apps/nginx/logs/nginx.pid`
mv /opt/nginx.old /apps/nginx/sbin/
三、nginx.conf配置文件格式说明
#全局配置端,对全局生效,主要设置nginx的启动用户/组,启动的工作进程数量,工作模式,Nginx的PID路径,日志路径等。 user nginx nginx; worker_processes 1; #启动工作进程数数量 events { #events设置快,主要影响nginx服务器与用户的网络连接,比如是否允许同时接受多个网络连接,使用哪种事件驱动模型处理请求,每个工作进程可以同时支持的最大连接数,是否开启对多工作进程下的网络连接进行序列化等。 worker_connections 1024; #设置单个nginx工作进程可以接受的最大并发,作为web服务器的时候最大并发数为worker_connections * worker_processes,作为反向代理的时候为(worker_connections * worker_processes)/2 } http { #http块是Nginx服务器配置中的重要部分,缓存、代理和日志格式定义等绝大多数功能和第三方模块都可以在这设置,http块可以包含多个server块,而一个server块中又可以包含多个location块,server块可以配置文件引入、MIME-Type定义、日志自定义、是否启用sendfile、连接超时时间和单个链接的请求上限等。 include mime.types; default_type application/octet-stream; sendfile on; #作为web服务器的时候打开sendfile加快静态文件传输,指定是否使用sendfile系统调用来传输文件,sendfile系统调用在两个文件描述符之间直接传递数据(完全在内核中操作),从而避免了数据在内核缓冲区和用户缓冲区之间的拷贝,操作效率很高,被称之为零拷贝,硬盘 >> kernel buffer (快速拷贝到kernelsocket buffer) >>协议栈。 keepalive_timeout 65; #长连接超时时间,单位是秒
server { #设置一个虚拟机主机,可以包含自己的全局快,同时也可以包含多个location模块。比如本虚拟机监听的端口、本虚拟机的名称和IP配置,多个server 可以使用一个端口,比如都使用80端口提供web服务 listen 80; #配置server监听的端口 server_name localhost; #本server的名称,当访问此名称的时候nginx会调用当前serevr内部的配置进程匹配。 location / { #location其实是server的一个指令,为nginx服务器提供比较多而且灵活的指令,都是在location中体现的,主要是基于nginx接受到的请求字符串,对用户请求的UIL进行匹配,并对特定的指令进行处理,包括地址重定向、数据缓存和应答控制等功能都是在这部分实现,另外很多第三方模块的配置也是在location模块中配置。 root html; #相当于默认页面的目录名称,默认是安装目录的相对路径,可以使用绝对路径配置。 index index.html index.htm; #默认的页面文件名称 } error_page 500 502 503 504 /50x.html; #错误页面的文件名称 location = /50x.html { #location处理对应的不同错误码的页面定义到/50x.html,这个跟对应其server中定义的目录下。 root html; #定义默认页面所在的目录 } }
#和邮件相关的配置 #mail { # ... # } mail 协议相关配置段 #tcp代理配置,1.9版本以上支持 #stream { # ... # } stream 服务器相关配置段 #导入其他路径的配置文件 #include /apps/nginx/conf.d/*.conf }
将nginx进程跟cpu进行绑定
user nginx nginx; #启动Nginx工作进程的用户和组 worker_processes [number | auto]; #启动Nginx工作进程的数量,一般设为和CPU核心数相同 worker_cpu_affinity 00000001 00000010 00000100 00001000 | auto ; #将Nginx工作进程绑定到指定的CPU核心,默认Nginx是不进行进程绑定的,绑定并不是意味着当前nginx进程独占以一核心CPU,但是可以保证此进程不会运行在其他核心上,这就极大减少了nginx的工作进程在不同的cpu核心上的来回跳转,减少了CPU对进程的资源分配与回收以及内存管理等,因此可以有效的提升nginx服务器的性能。
worker_priority 0; #工作进程优先级,-20~20(19) worker_rlimit_nofile 65536; #所有worker进程能打开的文件数量上限,包括:Nginx的所有连接(例如与代理服务器的连接等),而不仅仅是与客户端的连接,另一个考虑因素是实际的并发连接数不能超过系统级别的最大打开文件数的限制.最好与ulimit -n 或者limits.conf的值保持一致, daemon off; #前台运行Nginx服务用于测试、或者以容器运行时,需要设为off master_process off|on; #是否开启Nginx的master-worker工作模式,仅用于开发调试场景,默认为on events { worker_connections 65536; #设置单个工作进程的最大并发连接数 use epoll; #使用epoll事件驱动,Nginx支持众多的事件驱动,比如:select、poll、epoll,只能设置在events模块中设置。 accept_mutex on; #on为同一时刻一个请求轮流由worker进程处理,而防止被同时唤醒所有worker,避免多个睡眠进程被唤醒的设置,默认为off,新请求会唤醒所有worker进程,此过程也称为"惊群",因此nginx刚安装完以后要进行适当的优化。建议设置为on multi_accept on; #on时Nginx服务器的每个工作进程可以同时接受多个新的网络连接,此指令默认为off,即默认为一个工作进程只能一次接受一个新的网络连接,打开后几个同时接受多个。建议设置为on }
四、实现nginx高并发配置
优化参数
[root@rocky8-nginx ~]# grep -i limit /usr/lib/systemd/system/nginx.service LimitNOFILE=1000000 [root@rocky8-nginx ~]# cat /etc/security/limits.conf |tail -n 5 # End of file * soft nproc 1000000 * hard nproc 1000000 [root@rocky8-nginx ~]#
[root@rocky8-nginx ~]# head -n 5 /apps/nginx/conf/nginx.conf #user nobody; worker_processes 2; worker_rlimit_nofile 1000000; #worker_cpu_affinity 0101 1010; [root@rocky8-nginx ~]#
最后检查配置是否生效
五、http语句块
http { include mime.types; #导入支持的文件类型,是相对于/apps/nginx/conf的目录 default_type application/octet-stream; #除mime.types中文件类型外,设置其它文件默认类型,访问其它类型时会提示下载不匹配的类型文件 #日志配置部分 #log_format main '$remote_addr - $remote_user [$time_local] "$request" ' # '$status $body_bytes_sent "$http_referer" ' # '"$http_user_agent" "$http_x_forwarded_for"'; #access_log logs/access.log main; #自定义优化参数 sendfile on; #tcp_nopush on; #在开启了sendfile的情况下,合并请求后统一发送给客户端,必须开启sendfile #tcp_nodelay off; #在开启了keepalived模式下的连接是否启用TCP_NODELAY选项,当为off时,延迟0.2s发送,默认On时,不延迟发送,立即发送用户响应报文。 #keepalive_timeout 0; keepalive_timeout 65 65; #设置会话保持时间,第二个值为响应首部:keepAlived:timeout=65,可以和第一个值不同 #gzip on; #开启文件压缩 server { listen 80 default_server; #设置监听地址和端口,多个虚拟机时当前是否是默认的虚拟主机 server_name localhost; #设置server name,可以以空格隔开写多个并支持正则表达式,如:*.magedu.com www.magedu.* ~^www\d+\.magedu\.com$ #charset koi8-r; #设置编码格式,默认是俄语格式,建议改为utf-8 #access_log logs/host.access.log main; location / { root html; index index.html index.htm; } #error_page 404 /404.html; # redirect server error pages to the static page /50x.html # error_page 500 502 503 504 /50x.html; #定义错误页面 location = /50x.html { root html; } # proxy the PHP scripts to Apache listening on 127.0.0.1:80 # #location ~ \.php$ { #以http的方式转发php请求到指定web服务器 # proxy_pass http://127.0.0.1; #} # pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000 # #location ~ \.php$ { #以fastcgi的方式转发php请求到php处理 # root html; # fastcgi_pass 127.0.0.1:9000; # fastcgi_index index.php; # fastcgi_param SCRIPT_FILENAME /scripts$fastcgi_script_name; # include fastcgi_params; #} # deny access to .htaccess files, if Apache's document root # concurs with nginx's one # #location ~ /\.ht { #拒绝web形式访问指定文件,如很多的网站都是通过.htaccess文件来改变自己的重定向等功能。 # deny all; #} location ~ /passwd.html { deny all; } } # another virtual host using mix of IP-, name-, and port-based configuration # #server { #自定义虚拟server # listen 8000; # listen somename:8080; # server_name somename alias another.alias; # location / { # root html; # index index.html index.htm; #指定默认网页文件,此指令由ngx_http_index_module模块提供 # } #} # HTTPS server # #server { #https服务器配置 # listen 443 ssl; # server_name localhost; # ssl_certificate cert.pem; # ssl_certificate_key cert.key; # ssl_session_cache shared:SSL:1m; # ssl_session_timeout 5m; # ssl_ciphers HIGH:!aNULL:!MD5; # ssl_prefer_server_ciphers on; # location / { # root html; # index index.html index.htm; # } #}
六、指定响应报文server首部
#是否在响应报文中的Content-Type显示指定的字符集,默认off不显示 charset charset | off; #示例 charset utf-8; #是否在响应报文的Server首部显示nginx版本 server_tokens on | off | build | string;
[root@rocky8-nginx conf]# egrep -v "^$|^#|^[[:space:]]+#" /apps/nginx/conf/nginx.conf worker_processes 2; events { worker_connections 1024; } http { include mime.types; default_type application/octet-stream; sendfile on; keepalive_timeout 65; server { listen 80; server_name localhost; server_tokens off; location / { root html; index index.html index.htm; } error_page 500 502 503 504 /50x.html; location = /50x.html { root html; } } } [root@rocky8-nginx conf]# [root@rocky8-nginx conf]# systemctl restart nginx
验证
七、创建多个网站
[root@rocky8-nginx conf]# cat nginx.conf worker_processes 2; events { worker_connections 1024; } http { include mime.types; default_type application/octet-stream; sendfile on; keepalive_timeout 65; server { listen 80; server_name localhost; server_tokens off; location / { root html; index index.html index.htm; } error_page 500 502 503 504 /50x.html; location = /50x.html { root html; } } include /apps/nginx/conf/conf.d/*.conf; ##在配置文件的最后面添加此行,注意不要放在最前面,会导致前面的命令无法生效 } [root@rocky8-nginx conf]# [root@rocky8-nginx conf]# nginx -t #检查配置文件是否存在错误 nginx: the configuration file /apps/nginx/conf/nginx.conf syntax is ok nginx: configuration file /apps/nginx/conf/nginx.conf test is successful [root@rocky8-nginx conf]# [root@rocky8-nginx conf]# mkdir -p /apps/nginx/conf/conf.d/ [root@rocky8-nginx conf.d]# cat jd.conf server { listen 80; server_name jd.test.com; location / { root /data/nginx/html/jd; } } [root@rocky8-nginx conf.d]# [root@rocky8-nginx conf.d]# cat mi.conf server { listen 80; server_name mi.test.com; location / { root /data/nginx/html/mi; } } [root@rocky8-nginx conf.d]# [root@rocky8-nginx conf]# cd [root@rocky8-nginx ~]# mkdir -p /data/nginx/html/ [root@rocky8-nginx ~]# [root@rocky8-nginx ~]# [root@rocky8-nginx ~]# cd /data/nginx/html [root@rocky8-nginx html]# ll -h total 0 drwxr-xr-x 3 nginx nginx 40 Sep 15 20:53 jd drwxr-xr-x 3 nginx nginx 40 Sep 15 20:53 mi [root@rocky8-nginx html]# [root@rocky8-nginx conf.d]# nginx -t nginx: the configuration file /apps/nginx/conf/nginx.conf syntax is ok nginx: configuration file /apps/nginx/conf/nginx.conf test is successful [root@rocky8-nginx conf.d]# [root@rocky8-nginx conf.d]# systemctl restart nginx [root@rocky8-nginx conf.d]#
本地添加hosts解析
测试页面
八、root与alias区别
root:指定web的家目录,在定义location的时候,文件的绝对路径等于 root+location
server { listen 80; server_name www.wang.org; location / { root /data/nginx/html/pc; } location /about { root /opt/html; #必须要在html目录中创建一个名为about的目录才可以访问,否则报错。 } } [root@centos8 ~]# mkdir -p /opt/html/about [root@centos8 ~]# echo about > /opt/html/about/index.html #重启Nginx并访问测试
alias:定义路径别名,会把访问的路径重新定义到其指定的路径,文档映射的另一种机制;仅能用于location上下文,此指令使用较少
server { listen 80; server_name www.wang.org; location / { root /data/nginx/html/pc; } location /about { #注意about后不要加/ , 使用alias的时候uri后面如果加了斜杠,则下面的路径配置必须加斜杠,否则403 alias /opt/html/about; #当访问about的时候,会显示alias定义的/opt/html/about里面的内容。 } } #重启Nginx并访问测试
注意:location中使用root指令和alias指令的意义不同
root 给定的路径对应于location中的/uri 左侧的/
alias 给定的路径对应于location中的/uri 的完整路径
九、location 的详细使用
#语法规则: location [ = | ~ | ~* | ^~ ] uri { ... } = #用于标准uri前,需要请求字串与uri精确匹配,大小敏感,如果匹配成功就停止向下匹配并立即处理请求 ^~ #用于标准uri前,表示包含正则表达式,并且匹配以指定的正则表达式开头,对uri的最左边部分做匹配检查,不区分字符大小写 ~ #用于标准uri前,表示包含正则表达式,并且区分大小写 ~* #用于标准uri前,表示包含正则表达式,并且不区分大写 不带符号 #匹配起始于此uri的所有的uri \ #用于标准uri前,表示包含正则表达式并且转义字符。可以将 . * ?等转义为普通符号 #匹配优先级从高到低: =, ^~, ~/~*, 不带符号
# cat /etc/nginx/conf.d/www.wang.org.conf
server { listen 80; server_name location.wang.org; location = / { default_type text/html; return 200 'location = /'; } location / { default_type text/html; return 200 'location /'; } location /documents/ { default_type text/html; return 200 'location /documents/'; } location ^~ /images/ { default_type text/html; return 200 'location ^~ /images/'; } location ~* \.(gif|jpg|jpeg)$ { default_type text/html; return 200 'location ~* \.(gif|jpg|jpeg)'; } }
测试结果如下,建议是curl测试
#1.请求 http://location.wang.org/ 会被 location =/ 匹配
#2.请求 http://location.wang.org/index.html 会被 location /匹配
#3.请求 http://location.wang.org/documents/1.html 会被 location /documents/ 匹配
#4.请求 http://location.wang.org/images/1.gif 会被 location ^~ /images/ 匹配
#5.请求 http://location.wang.org/documents/1.jpg 会被 location ~* \.(gif|jpg|jpeg)$匹配
9.1、精确匹配
精确匹配一般用于匹配组织的logo等相对固定的URL,匹配优先级最高
精确匹配 logo
[root@centos8 ~]# cat /apps/nginx/conf/conf.d/pc.conf server { listen 80; server_name www.wang.org; location / { root /data/nginx/html/pc; } location = /logo.jpg { root /data/nginx/images; index index.html; } }
#上传logo.jpg图片到/data/nginx/images,重启Nginx并访问测试 #访问测试:http://www.wang.org/logo.jpg
9.2、区分大小写
~ 实现区分大小写的模糊匹配. 以下范例中, 如果访问uri中包含大写字母的JPG,则以下location匹配Ax.jpg条件不成功,因为 ~ 区分大小写,当用户的请求被执行匹配时发现location中定义的是小写的
jpg,本次访问的uri匹配失败,后续要么继续往下匹配其他的location(如果有),要么报错给客户端
location ~ /A.?\.jpg { #匹配字母A开头的jpg图片,后面?表示A后面零次或一个字符 index index.html; root /data/nginx/html/image; }
#重启Nginx并访问测试 #将只能访问以小写字符的jpg图片,不能识别大写的JPG结尾的图片
9.3、不区分大小写
~* 用来对用户请求的uri做模糊匹配,uri中无论都是大写、都是小写或者大小写混合,此模式也都会匹配,通常使用此模式匹配用户request中的静态资源并继续做下一步操作,此方式使用较多
注意: 此方式中,对于Linux文件系统上的文件仍然是区分大小写的,如果磁盘文件不存在,仍会提示404
#正则表达式匹配: location ~* /A.?\.jpg { index index.html; root /opt/nginx/html/image; }
#重启Nginx并访问测试 对于不区分大小写的location,则可以访问任意大小写结尾的图片文件,如区分大小写则只能访问Aa.jpg此类文件,不区分大小写则可以访问除了aa.jpg以外,还有其它的资源比如Aa.JPG、aA.jPG这样的混合名称文 件,但是还同时也要求nginx服务器的资源目录有相应的文件,比如:必须有Aa.JPG,aA.jPG这样文件存在。
9.4、URI开始
location ^~ /images { root /data/nginx/; index index.html; }
location /api { alias /data/nginx/api; index index.html; }
#重启Nginx并访问测试,实现效果是访问/images和/app返回不同的结果 [root@centos8 ~]# curl http://www.wang.org/images/
9.5、文件名后缀
mkdir /data/nginx/static #上传一个图片到/data/nginx/static location ~* \.(gif|jpg|jpeg|bmp|png|tiff|tif|ico|wmf|js|css)$ { root /data/nginx/static; index index.html; } #重启Nginx并访问测试
9.6、优先级
location = /1.jpg { root /data/nginx/static1; index index.html; } location /1.jpg { root /data/nginx/static2; index index.html; } location ~* \.(gif|jpg|jpeg|bmp|png|tiff|tif|ico|wmf|js)$ { root /data/nginx/static3; index index.html; } [root@centos8 ~]# mkdir -p /data/nginx/static{1,2,3} #上传图片到 /data/nginx/static{1,2,3} 并重启nginx访问测试 #匹配优先级:=, ^~, ~/~*,/ location优先级:(location =) > (location ^~ 路径) > (location ~,~* 正则顺序) > (location 完整路径) > (location 部分起始路径) > (/)
9.7、location重定向
location @name 这样的location不用于常规请求处理,而是用于请求重定向
# cat /etc/nginx/conf.d/www.wang.org.conf server { listen 80; server_name www.wang.org; root /data/www; location / { index index.html; } #如果出现异常,则重新定向到@error_404这个location上 error_page 404 @error_404; location @error_404 { default_type text/html; charset utf8; return 200 '你访问的页面可能走丢了!'; } }
9.8、生成使用案例
#直接匹配网站根会加速Nginx访问处理 location = /index.html { ......; } location / { ......; }
#静态资源配置方法1 location ^~ /static/ { ......; } #静态资源配置方法2,应用较多 location ~* \.(gif|jpg|jpeg|png|css|js|ico)$ { ......; }
#多应用配置 location ~* /app1 { ......; } location ~* /app2 { ......; }