$ git clone -n https://gitee.com/mapicccy/nginx.git /var/lib/mock/dist-an8.9-build-385588-71957/root/chroot_tmpdir/scmroot/nginx Cloning into '/var/lib/mock/dist-an8.9-build-385588-71957/root/chroot_tmpdir/scmroot/nginx'... $ git fetch origin 15f30d674fd407d01aabd9b7eac47b837da4f0d5:KOJI_FETCH_HEAD From https://gitee.com/mapicccy/nginx * [new ref] 15f30d674fd407d01aabd9b7eac47b837da4f0d5 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 15f30d6 fix compiling error about 'missing binary operator' $ wget -O nginx-1.20.1.tar.gz http://build.openanolis.cn/kojifiles/upstream-source/nginx-1.20.1.tar.gz.8ca6edd5076bdfad30a69c9c9b41cc68 --2024-07-01 14:59:48-- http://build.openanolis.cn/kojifiles/upstream-source/nginx-1.20.1.tar.gz.8ca6edd5076bdfad30a69c9c9b41cc68 Resolving build.openanolis.cn (build.openanolis.cn)... 172.16.0.137 Connecting to build.openanolis.cn (build.openanolis.cn)|172.16.0.137|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 1061461 (1.0M) [application/x-gzip] Saving to: ‘nginx-1.20.1.tar.gz’ 0K .......... .......... .......... .......... .......... 4% 181M 0s 50K .......... .......... .......... .......... .......... 9% 278M 0s 100K .......... .......... .......... .......... .......... 14% 199M 0s 150K .......... .......... .......... .......... .......... 19% 1.76M 0s 200K .......... .......... .......... .......... .......... 24% 246M 0s 250K .......... .......... .......... .......... .......... 28% 277M 0s 300K .......... .......... .......... .......... .......... 33% 293M 0s 350K .......... .......... .......... .......... .......... 38% 252M 0s 400K .......... .......... .......... .......... .......... 43% 294M 0s 450K .......... .......... .......... .......... .......... 48% 366M 0s 500K .......... .......... .......... .......... .......... 53% 433M 0s 550K .......... .......... .......... .......... .......... 57% 326M 0s 600K .......... .......... .......... .......... .......... 62% 435M 0s 650K .......... .......... .......... .......... .......... 67% 417M 0s 700K .......... .......... .......... .......... .......... 72% 344M 0s 750K .......... .......... .......... .......... .......... 77% 554M 0s 800K .......... .......... .......... .......... .......... 82% 477M 0s 850K .......... .......... .......... .......... .......... 86% 403M 0s 900K .......... .......... .......... .......... .......... 91% 397M 0s 950K .......... .......... .......... .......... .......... 96% 532M 0s 1000K .......... .......... .......... ...... 100% 388M=0.03s 2024-07-01 14:59:49 (33.0 MB/s) - ‘nginx-1.20.1.tar.gz’ saved [1061461/1061461]