$ git clone -n https://gitee.com/mapicccy/nginx.git /var/lib/mock/dist-an8.9-build-385592-71957/root/chroot_tmpdir/scmroot/nginx Cloning into '/var/lib/mock/dist-an8.9-build-385592-71957/root/chroot_tmpdir/scmroot/nginx'... $ git fetch origin cee1d3ad01ac397b4a7b5d754009d49ac070012b:KOJI_FETCH_HEAD From https://gitee.com/mapicccy/nginx * [new ref] cee1d3ad01ac397b4a7b5d754009d49ac070012b -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at cee1d3a 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 15:12:15-- 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% 155M 0s 50K .......... .......... .......... .......... .......... 9% 321M 0s 100K .......... .......... .......... .......... .......... 14% 336M 0s 150K .......... .......... .......... .......... .......... 19% 545M 0s 200K .......... .......... .......... .......... .......... 24% 573M 0s 250K .......... .......... .......... .......... .......... 28% 534M 0s 300K .......... .......... .......... .......... .......... 33% 357M 0s 350K .......... .......... .......... .......... .......... 38% 442M 0s 400K .......... .......... .......... .......... .......... 43% 634M 0s 450K .......... .......... .......... .......... .......... 48% 454M 0s 500K .......... .......... .......... .......... .......... 53% 598M 0s 550K .......... .......... .......... .......... .......... 57% 343M 0s 600K .......... .......... .......... .......... .......... 62% 595M 0s 650K .......... .......... .......... .......... .......... 67% 557M 0s 700K .......... .......... .......... .......... .......... 72% 574M 0s 750K .......... .......... .......... .......... .......... 77% 408M 0s 800K .......... .......... .......... .......... .......... 82% 516M 0s 850K .......... .......... .......... .......... .......... 86% 576M 0s 900K .......... .......... .......... .......... .......... 91% 613M 0s 950K .......... .......... .......... .......... .......... 96% 572M 0s 1000K .......... .......... .......... ...... 100% 496M=0.002s 2024-07-01 15:12:15 (435 MB/s) - ‘nginx-1.20.1.tar.gz’ saved [1061461/1061461]