The latest update is currently broken, due to a bug in how the Buck installer works. I have filed a bug against the Buck repository at https://github.com/facebook/buck/issues/2462 and a fix at https://github.com/facebook/buck/pull/2463.
In the meantime, you'll need to either:
- Modify
programs/gen_buck_info.py
to remove lines 55-56 (which cause the infinite loop described in the installer bug), OR - Add a
.git
folder in the extracted source of the Buck repository that contains the revision history of Buck (the installer searches for this to generate the Buck version).
To do (1), apply the following patch to the PKGBUILD
:
diff --git a/PKGBUILD b/PKGBUILD
index 3575894..1b3d161 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -16,6 +16,7 @@ sha512sums=('b756ee8d544366534a2df189b38a7258cc9bcd36a1afc888846f81f044540b77950
prepare() {
sed -i 's+executable="python"+executable="python2"+g' ${pkgname}-${pkgver}/build.xml
+ sed -i '55,56d' ${pkgname}-${pkgver}/programs/gen_buck_info.py
}
build() {
Pinned Comments
kendfinger commented on 2020-01-21 07:14
I have taken over the package and it will now compile correctly without Buck itself.