Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

在ARM64 环境下打patch 失败 #278

Open
huakaibird opened this issue Oct 28, 2024 · 2 comments
Open

在ARM64 环境下打patch 失败 #278

huakaibird opened this issue Oct 28, 2024 · 2 comments

Comments

@huakaibird
Copy link

我想在ARM64 环境下编译nginx, 用的docker image, 但是打patch 失败了,在ARM64 环境下怎么弄?

RUN PATCH -p1 < nginx_upstream_check_module-master/check_1.20.1+.patch:
0.372 can't find file to patch at input line 5
0.373 Perhaps you used the wrong -p or --strip option?
0.374 The text leading up to this was:
0.374 --------------------------
0.374 |diff --git a/src/http/modules/ngx_http_upstream_hash_module.c b/src/http/modules/ngx_http_upstream_hash_module.c
0.374 |index e741eb23..d7d288d9 100644
0.374 |--- a/src/http/modules/ngx_http_upstream_hash_module.c
0.374 |+++ b/src/http/modules/ngx_http_upstream_hash_module.c
0.374 --------------------------
0.375 File to patch:
0.375 Skip this patch? [y]
0.376 Skipping patch.
0.382 3 out of 3 hunks ignored
0.383 can't find file to patch at input line 50
0.383 Perhaps you used the wrong -p or --strip option?
0.383 The text leading up to this was:
0.383 --------------------------
0.383 |diff --git a/src/http/modules/ngx_http_upstream_ip_hash_module.c b/src/http/modules/ngx_http_upstream_ip_hash_module.c
0.383 |index 1fa01d95..366aca9a 100644
0.383 |--- a/src/http/modules/ngx_http_upstream_ip_hash_module.c
0.383 |+++ b/src/http/modules/ngx_http_upstream_ip_hash_module.c
0.383 --------------------------
0.383 File to patch:
0.383 Skip this patch? [y]
0.383 Skipping patch.
0.384 2 out of 2 hunks ignored
0.384 can't find file to patch at input line 80
0.384 Perhaps you used the wrong -p or --strip option?
0.384 The text leading up to this was:
0.384 --------------------------
0.384 |diff --git a/src/http/modules/ngx_http_upstream_least_conn_module.c b/src/http/modules/ngx_http_upstream_least_conn_module.c
0.384 |index ebe06276..35250354 100644
0.384 |--- a/src/http/modules/ngx_http_upstream_least_conn_module.c
0.384 |+++ b/src/http/modules/ngx_http_upstream_least_conn_module.c
0.384 --------------------------
0.384 File to patch:
0.384 Skip this patch? [y]
0.384 Skipping patch.
0.385 3 out of 3 hunks ignored
0.385 can't find file to patch at input line 128
0.385 Perhaps you used the wrong -p or --strip option?
0.385 The text leading up to this was:
0.385 --------------------------
0.385 |diff --git a/src/http/ngx_http_upstream_round_robin.c b/src/http/ngx_http_upstream_round_robin.c
0.385 |index 1f15fae5..d507a0e3 100644
0.385 |--- a/src/http/ngx_http_upstream_round_robin.c
0.385 |+++ b/src/http/ngx_http_upstream_round_robin.c
0.385 --------------------------
0.385 File to patch:
0.385 Skip this patch? [y]
0.385 Skipping patch.
0.387 8 out of 8 hunks ignored
0.387 can't find file to patch at input line 231
0.387 Perhaps you used the wrong -p or --strip option?
0.387 The text leading up to this was:
0.387 --------------------------
0.387 |diff --git a/src/http/ngx_http_upstream_round_robin.h b/src/http/ngx_http_upstream_round_robin.h
0.387 |index 922ceaa0..14d8ad86 100644
0.387 |--- a/src/http/ngx_http_upstream_round_robin.h
0.387 |+++ b/src/http/ngx_http_upstream_round_robin.h
0.387 --------------------------
0.387 File to patch:
0.387 Skip this patch? [y]
0.387 Skipping patch.
0.392 1 out of 1 hunk ignored

@tangyongfu
Copy link

tangyongfu commented Oct 28, 2024 via email

@huakaibird
Copy link
Author

不好意思,请忽略这个,是我目录没搞对,谢谢

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants