ことのはじまり。
ちょっくらWineを使おうと思ってwine-vanillaをインストールしたら、こんなエラーが。* The ebuild phase 'install' has exited unexpectedly. This type of * behavior is known to be triggered by things such as failed variable * assignments (bug #190128) or bad substitution errors (bug #200313). * Normally, before exiting, bash should have displayed an error message * above. If bash did not produce an error message above, it's possible * that the ebuild has called `exit` when it should have called `die` * instead. This behavior may also be triggered by a corrupt bash binary or * a hardware problem such as memory or cpu malfunction. If the problem is * not reproducible or it appears to occur randomly, then it is likely to * be triggered by a hardware problem. If you suspect a hardware problem * then you should try some basic hardware diagnostics such as memtest. * Please do not report this as a bug unless it is consistently * reproducible and you are sure that your bash binary and hardware are * functioning properly.なんじゃこりゃ?と思ってエラーメッセージで検索したら半年以上前にGentooのフォーラムに同様の質問があがっていたけどなんか今回とは状況が違うっぽい。
原因
しゃーないから自力でなんとかしてやろうと思ってエラーメッセージのちょっと上を見たらこんなものが。/var/tmp/portage/app-emulation/wine-vanilla-2.0.2/temp/environment: line 3644: no match: /var/tmp/portage/app-emulation/wine-vanilla-2.0.2/image/usr/share/wine-vanilla-2.0.2/man/pl*
該当部分を見てみると
local l for l in de fr pl; do use linguas_${l} || rm -r "${D%/}${MY_MANDIR}"/${l}* doneんー、つまりファイルかディレクトリの存在を確認しないで
rm
しちゃったからエラーで落とされたってことか。解決
というわけで、package.use
に
app-emulation/wine-vanilla linguas_de linguas_fr linguas_pl喋れもしないドイツ語、フランス語、ポーランド語を設定したら無事ビルドできました。
0 件のコメント:
コメントを投稿