
/gir/bug651773: FAIL
error: Package `GLib-2.0' not found in specified Vala API directories or GObject-Introspection GIR directories
error: Package `GObject-2.0' not found in specified Vala API directories or GObject-Introspection GIR directories
Generation failed: 2 error(s), 0 warning(s)
1 of 145 tests failed
make[4]: *** [check-TESTS] Error 1
make[4]: Leaving directory `/home/suman/Downloads/vala-0.15.0/tests'
make[3]: *** [check-am] Error 2
make[3]: Leaving directory `/home/suman/Downloads/vala-0.15.0/tests'
make[2]: *** [check] Error 2
make[2]: Leaving directory `/home/suman/Downloads/vala-0.15.0/tests'
make[1]: *** [check-recursive] Error 1
make[1]: Leaving directory `/home/suman/Downloads/vala-0.15.0'
make: *** [check] Error 2
答案1
0.15.0 不僅舊,而且是一個不穩定的開發版本。任何人都沒有理由使用它。 0.22.0 已經出來了,並且不存在任何對新軟體的依賴,這會導致問題(IIRC,我們唯一真正的依賴是 glib >= 2.18,我認為這與 vala-0.15 沒有任何不同),所以你可能應該使用它。
如果由於某種原因,您需要舊版本的 Vala,那麼您應該使用穩定版本。如果您無法建立它,請發布完整的日誌。此外,安裝不需要運行單元測試。如果問題僅在嘗試執行單元測試時出現,請不要執行它們。沒有人會費心將修復程序向後移植到 0.15 或 0.16,所以沒有什麼意義。