intel / asynch_mode_nginx

Async Mode Nginx with QAT support which improves Crypto and compression performance
https://developer.intel.com/quickassist
Other
213 stars 62 forks source link

A lot of errors when patching #66

Open foxriver1025 opened 1 year ago

foxriver1025 commented 1 year ago

When I use the patch which generate by this method, I found there are a lot of errors like below: root@montage-ArcherCity:/home/zhoubin/code# patch -p0 < async_mode_nginx_1.22.1.patch patching file nginx-1.22.1/auto/cc/gcc The next patch would create the file asynch_mode_nginx/auto/configure, which already exists! Assume -R? [n] Apply anyway? [n] Skipping patch. 1 out of 1 hunk ignored patching file nginx-1.22.1/auto/make patching file nginx-1.22.1/auto/modules patching file nginx-1.22.1/auto/sources patching file nginx-1.22.1/CHANGES patching file nginx-1.22.1/CHANGES.ru patching file nginx-1.22.1/conf/nginx.conf The next patch would create the file asynch_mode_nginx/conf/nginx.QAT-sample.conf, which already exists! Assume -R? [n] Apply anyway? [n] Skipping patch. 1 out of 1 hunk ignored The next patch would create the file asynch_mode_nginx/config.example, which already exists! Assume -R? [n] Apply anyway? [n] Skipping patch. 1 out of 1 hunk ignored patching file nginx-1.22.1/configure The next patch would create the file asynch_mode_nginx/docs/html/50x.html, which already exists! Assume -R? [n] Apply anyway? [n] Skipping patch. 1 out of 1 hunk ignored The next patch would create the file asynch_mode_nginx/docs/html/index.html, which already exists! Assume -R? [n] Apply anyway? [n] Skipping patch. 1 out of 1 hunk ignored The next patch would create the file asynch_mode_nginx/docs/man/nginx.8, which already exists! Assume -R? [n] Apply anyway? [n] Skipping patch. 1 out of 1 hunk ignored The next patch would create the file asynch_mode_nginx/.github/CODEOWNERS, which already exists! Assume -R? [n] Apply anyway? [n] Skipping patch. 1 out of 1 hunk ignored patching file nginx-1.22.1/html/50x.html patching file nginx-1.22.1/html/index.html patching file nginx-1.22.1/LICENSE patching file nginx-1.22.1/man/nginx.8 The next patch would create the file asynch_mode_nginx/modules/nginx_qat_module/config, which already exists! Assume -R? [n] Apply anyway? [n] Skipping patch. 1 out of 1 hunk ignored The next patch would create the file asynch_mode_nginx/modules/nginx_qat_module/ngx_ssl_engine_qat_module.c, which already exists! Assume -R? [n]

What can I do?

WalterRan commented 1 year ago

Hi, thanks for your comment, we will check it soon.

vyasatavi commented 5 months ago

Seeing the same errors. Any update? I am a little confused about the patch -p0 is creating files in the async_mode_nginx folder. Is that expected? I thought the patch should update the nginx-1.22.1 folder.