2011-10-21 曇り [長年日記]
_1 rpmbuild 失敗
.rpmmacroファイルで/root/rpm配下で作業しようとしたら
+ /usr/lib/rpm/debugedit -b /root/rpm/BUILD -d /usr/src/debug -i xxxxxxx /usr/lib/rpm/debugedit: -b arg has to be either the same length as -d arg, or more than 1 char shorter
のようなエラーを吐いて停止.-bで指定したディレクトリが短くないといけないとのことなので
- /root/rpm + /root/r
としたが同じエラーで失敗.アレ?ちょっとググッてみると以下のパッチを見つけた.
http://www.mail-archive.com/[email protected]/msg01612.html - error (EXIT_FAILURE, 0, "-b arg has to be either the same length as -d arg, or more than 1 char shorter"); + error (EXIT_FAILURE, 0, "-b arg has to be either the same length as -d arg, or more than 1 char longer");
っておい,メッセージ全く逆やんか.なんでやねん.なので
- /root/rpm + /root/rpmbuild
とすれば無事にrpmbuildが動くようになった.これはハマる.
- http://weble.org/2012/05/25/rpmbuild-arg-error ×35
- http://uklab.jp/web/setting-sakura-vps-02/ ×29
- http://blog.uklab.jp/web/setting-sakura-vps-02/ ×29
- https://www.google.co.jp/ ×23
- https://www.google.com/ ×9
- http://uklab.jp/web/setting-sakura-vps-06/ ×2
- http://www.google.co.jp/url?sa=t&rct=j&q=&esrc=s&s... ×2
- http://www.google.co.jp/url?sa=t&rct=j&q=&esrc=s&s... ×1
- http://www.google.co.jp/url?sa=t&rct=j&q=&esrc=s&s... ×1
- http://www.google.co.jp/url?sa=t&rct=j&q=&esrc=s&s... ×1
- http://www.google.com/url?sa=t&rct=j&q=&esrc=s&frm... ×1
- http://www.google.co.jp/url?sa=t&rct=j&q=&esrc=s&f... ×1
- http://www.google.co.jp/url?sa=t&rct=j&q=&esrc=s&s... ×1
- http://www.google.co.jp/url?sa=t&rct=j&q=&esrc=s&s... ×1
- http://www.google.co.jp/url?url=http://mux03.panda... ×1
- http://www.google.co.jp/url?sa=t&rct=j&q=&esrc=s&s... ×1
- http://www.google.co.jp/url?sa=t&rct=j&q=&esrc=s&s... ×1
- http://www.google.com/url?sa=t&rct=j&q=&esrc=s&sou... ×1
- http://www.google.co.jp/url?sa=t&rct=j&q=&esrc=s&s... ×1
- http://blog.uklab.jp/web/setting-sakura-vps-02/?Mo... ×1
- http://www.google.co.jp/url?sa=t&rct=j&q=&esrc=s&s... ×1
- http://www.google.co.jp/url?sa=t&rct=j&q=&esrc=s&s... ×1
- http://www.google.co.jp/url?sa=t&rct=j&q=&esrc=s&s... ×1
- http://www.google.co.jp/url?sa=t&rct=j&q=&esrc=s&s... ×1
- http://search.fenrir-inc.com/?q=/usr/lib/rpm/debug... ×1
- http://www.google.co.jp/url?sa=t&rct=j&q=&esrc=s&f... ×1
- http://www.google.co.jp/url?sa=t&rct=j&q=&esrc=s&f... ×1
- http://www.google.co.jp/url?sa=t&rct=j&q=&esrc=s&f... ×1
- http://www.google.co.jp/url?url=http://mux03.panda... ×1
- http://www.google.co.jp/url?url=http://mux03.panda... ×1
- http://www.google.com/url?sa=t&rct=j&q=&esrc=s&sou... ×1
- http://b.hatena.ne.jp/entry/mux03.panda64.net/diar... ×1
- http://www.google.co.jp/url?sa=t&rct=j&q=&esrc=s&s... ×1
- http://www.google.co.jp/url?url=http://mux03.panda... ×1
- http://www.google.com/url?sa=t&rct=j&q=&esrc=s&sou... ×1
- http://mux03.panda64.net/ ×1
- http://weble.org/ ×1
- http://www.google.co.jp/url?sa=t&rct=j&q=&esrc=s&f... ×1
- https://www.google.com.hk/ ×1
- http://www.google.co.jp/url?sa=t&rct=j&q=&esrc=s&s... ×1
- http://www.google.co.jp/url?sa=t&rct=j&q=&esrc=s&s... ×1
- http://www.google.co.jp/url?sa=t&rct=j&q=&esrc=s&s... ×1
- http://sameid.net/domain/mux03.panda64.net/ ×1
- http://www.google.ru/url?sa=t&rct=j&q=&esrc=s&sour... ×1
- /usr/lib/rpm/debugedit ×5 / /usr/lib/rpm/debugedit args ×3 / debugedit rpm ×2 / "/usr/lib/rpm/debugedit: -b arg has to be" ×2 / rpmbuild debugedit ×2 / rpmbuild 失敗 ×1 / rpmbuild しっぱい ×1 / mail mux.southerntravels.net loc:JP ×1 / rpmbuild ×1 / rpm ビルドエラー debug /usr/src/debug/ ×1 / "/usr/lib/rpm/debugedit ×1 / /usr/src/debug ×1 / rpm debugedit ×1 / debugedit ×1 / "/usr/lib/rpm/debugedit" ×1 / "-b arg has to be either the same length as -d arg, or more than 1 char longer" ×1 / "-b arg has to be either the same length as -d arg, or more than 1 char shorter" ×1 / debugedit "-b arg has to be either the same length as -d arg, or more than 1 char shorter" ×1 / b arg has to be either the same length as d arg ×1 / rpm/debugedit ×1 / muneda's dialy shorter ×1