Lazy Diary @ Hatena Blog

PowerShell / Java / miscellaneous things about software development, Tips & Gochas. CC BY-SA 4.0/Apache License 2.0

Vine の mkkpkg で xconfig

  • Vine Linux の mkkpkg で、カーネルの configuration に xconfig を使うことはできない。mkkpkg の引数として "xconfig" を指定すると、次のようなエラーが出る。
# mkkpkg --rpmarg="--target i686" kernel-2.4.xx-0vlx.xx.src.rpm xconfig
Welcome to mkkpkg

Please wait for a while "make xconfig" to be executed...
 --(snip)--
Ready for make "xconfig" by kernel-2.4.xx-i386.config
[Push enter to continue] 
 -: 214: can't handle dep_bool/dep_mbool/dep_tristate condition
make[1]: *** [kconfig.tk] エラー 1
make: *** [xconfig] エラー 2
Something wrong with "make xconfig". Continue? [y/n] 

エラーが出ている行をコメントアウトしても、結局 xconfig がエラーを吐く(設定が保存できなかったり、終了できなかったり)。確実な回避方法としては config または menuconfig を使うしかない。