http://blog.uklab.jp/web/setting-sakura-vps-02/
上記ページに書かれている手順通りに、さくらVPSへnginxのをビルドを行っているのですが、
以下のエラーが出まして、原因がわかりません。
「nginx.spec」の設定は見直しましたが、間違いはないようです。
このエラーの対処についてご存知の方がおられましたらよろしくお願い致します。
実行中(%prep): /bin/sh -e /var/tmp/rpm-tmp.w3TeJ7
- umask 022
- cd /root/rpmbuild/BUILD
- LANG=C
- export LANG
- unset DISPLAY
- cd /root/rpmbuild/BUILD
- rm -rf nginx-1.8.0
- /usr/bin/gzip -dc /root/rpmbuild/SOURCES/nginx-1.8.0.tar.gz
- /bin/tar -xf -
- STATUS=0
- '[' 0 -ne 0 ']'
- cd nginx-1.8.0
- /bin/chmod -Rf a+rX,u+w,g-w,o-w .
- cd /root/rpmbuild/BUILD
- cd nginx-1.8.0
- /bin/tar -xvvf -
- /usr/bin/gzip -dc /root/rpmbuild/SOURCES/ngx_cache_purge-2.3.tar.gz
drwxr-xr-x p/wheel 0 2014-12-24 03:40 ngx_cache_purge-2.3/
-rw-r--r-- p/wheel 1980 2014-12-24 03:40 ngx_cache_purge-2.3/CHANGES
-rw-r--r-- p/wheel 516 2014-12-24 03:40 ngx_cache_purge-2.3/config
-rw-r--r-- p/wheel 1424 2014-12-24 03:40 ngx_cache_purge-2.3/LICENSE
-rw-r--r-- p/wheel 51501 2014-12-24 03:40 ngx_cache_purge-2.3/ngx_cache_purge_module.c
-rw-r--r-- p/wheel 5090 2014-12-24 03:40 ngx_cache_purge-2.3/README.md
drwxr-xr-x p/wheel 0 2014-12-24 03:40 ngx_cache_purge-2.3/t/
-rw-r--r-- p/wheel 281 2014-12-24 03:40 ngx_cache_purge-2.3/TODO.md
-rw-r--r-- p/wheel 2951 2014-12-24 03:40 ngx_cache_purge-2.3/t/proxy1.t
-rw-r--r-- p/wheel 2894 2014-12-24 03:40 ngx_cache_purge-2.3/t/proxy1_vars.t
-rw-r--r-- p/wheel 7995 2014-12-24 03:40 ngx_cache_purge-2.3/t/proxy2.t
-rw-r--r-- p/wheel 7926 2014-12-24 03:40 ngx_cache_purge-2.3/t/proxy2_vars.t
- STATUS=0
- '[' 0 -ne 0 ']'
- /bin/chmod -Rf a+rX,u+w,g-w,o-w .
- echo 'Patch #1 (nginx-1.0.15-fix-CVE-2014-3616.patch):'
Patch #1 (nginx-1.0.15-fix-CVE-2014-3616.patch):
- /bin/cat /root/rpmbuild/SOURCES/nginx-1.0.15-fix-CVE-2014-3616.patch
- /usr/bin/patch -p1 --fuzz=0
patching file src/event/ngx_event_openssl.c
Hunk #1 FAILED at 1498.
1 out of 1 hunk FAILED -- saving rejects to file src/event/ngx_event_openssl.c.rej
エラー: /var/tmp/rpm-tmp.w3TeJ7 の不正な終了ステータス (%prep)
RPM ビルドエラー:
/var/tmp/rpm-tmp.w3TeJ7 の不正な終了ステータス (%prep)
回答2件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2015/12/06 04:10