お世話になります。原と申します。
パッチのエラーで止まってしまいます。
以下に出てくるtslib-158ee49b32f83cb7b02d5315f41c2e4cff38942d.tar.gzをWEB上で取りに行くと、全く違うバージョンのTSLIBが
落ちてきます。buildrootのgitパッケージには該当パッチが有るようですが、tslibのgitには既に無いように見えます。
これを回避するにはどうしたら良いでしょうか。
>>> tslib 158ee49b32f83cb7b02d5315f41c2e4cff38942d Downloading--2017-04-17 20:28:18-- github.com/.../tslib-158ee49b32f83cb7b02d5315f41c2e4cff38942d.tar.gzResolving github.com (github.com)... 192.30.255.112, 192.30.255.113Connecting to github.com (github.com)|192.30.255.112|:80... connected.HTTP request sent, awaiting response... 301 Moved PermanentlyLocation: github.com/.../tslib-158ee49b32f83cb7b02d5315f41c2e4cff38942d.tar.gz [following]--2017-04-17 20:28:19-- github.com/.../tslib-158ee49b32f83cb7b02d5315f41c2e4cff38942d.tar.gzConnecting to github.com (github.com)|192.30.255.112|:443... connected.HTTP request sent, awaiting response... 302 FoundLocation: codeload.github.com/.../master [following]--2017-04-17 20:28:19-- codeload.github.com/.../masterResolving codeload.github.com (codeload.github.com)... 192.30.253.121, 192.30.253.120Connecting to codeload.github.com (codeload.github.com)|192.30.253.121|:443... connected.HTTP request sent, awaiting response... 200 OKLength: unspecified [application/x-gzip]Saving to: '/home/ampere/Renesas/RZLSP-V3.0.0/dl/tslib-158ee49b32f83cb7b02d5315f41c2e4cff38942d.tar.gz.tmp'
[ <=> ] 153,027 264KB/s in 0.6s
2017-04-17 20:28:21 (264 KB/s) - '/home/hoge/Renesas/RZLSP-V3.0.0/dl/tslib-158ee49b32f83cb7b02d5315f41c2e4cff38942d.tar.gz.tmp' saved [153027]
>>> tslib 158ee49b32f83cb7b02d5315f41c2e4cff38942d Extractinggzip -d -c /home/hoge/Renesas/RZLSP-V3.0.0/dl/tslib-158ee49b32f83cb7b02d5315f41c2e4cff38942d.tar.gz | tar --strip-components=1 -C /home/hoge/Renesas/RZLSP-V3.0.0/tmp/rskrza1-buildroot/build/tslib-158ee49b32f83cb7b02d5315f41c2e4cff38942d -xf ->>> tslib 158ee49b32f83cb7b02d5315f41c2e4cff38942d Patching package//tslib
Applying tslib-enable_raw_module.patch using patch: patching file etc/ts.confReversed (or previously applied) patch detected! Assume -R? [n] Apply anyway? [n] Skipping patch.1 out of 1 hunk ignored -- saving rejects to file etc/ts.conf.rejPatch failed! Please fix tslib-enable_raw_module.patch!make: *** [/home/hoge/Renesas/RZLSP-V3.0.0/tmp/rskrza1-buildroot/build/tslib-158ee49b32f83cb7b02d5315f41c2e4cff38942d/.stamp_patched] Error 1
管理人のAyrです。 名乗るのはハンドルネームでいいですよ~。
こんにちは
多分、説明不要かと思いますが、エラーの原因は、buildroot に必要なファイルが、BSPリリース時と現在で異なっており(置き換えられてしまったようです)、パッチが適用不可能な状態になっているためです。
【対策1】
もし、支障がないようでしたら、English community の RZ Forum -> Files で公開されている新しいBSPをご使用ください。リリース V1.3.0 から、GENMAI ボードに対応しています。
【対策2】
もし正しいパッチファイルが入手済みならそれを、そうでなければ、添付ファイルをダウンロードします。 "tslib-158ee49b32f83cb7b02d5315f41c2e4cff38942d.tar.gz"
tslib-158ee49b32f83cb7b02d5315f41c2e4cff38942d.tar.gz
1) ビルドエラーとなった環境で "RZLSP-V3.0.0/dl" ディレクトリに正しいパッチファイルを置いてください。 既存ファイルは、上書きしてください。
2) 下記ディレクトリを削除してください。 "RZLSP-V3.0.0/tmp/rskrza1-buildroot/build/tslib-158ee49b32f83cb7b02d5315f41c2e4cff38942d"
3) "build.sh" を再実行してください。
以上