Package Details: buck 2022.05.05.01-1

Git Clone URL: (read-only, click to copy)
Package Base: buck
Description: A fast build system that encourages the creation of small, reusable modules over a variety of platforms and languages.
Upstream URL:
Keywords: automation build development incremental java polyglot reproducible tool
Licenses: Apache
Submitter: jtgoguen
Maintainer: Auerhuhn
Last Packager: Auerhuhn
Votes: 13
Popularity: 0.000014
First Submitted: 2016-04-22 23:09 (UTC)
Last Updated: 2024-04-13 22:35 (UTC)

Dependencies (5)

Required by (1)

Sources (2)

Latest Comments

1 2 3 Next › Last »

Auerhuhn commented on 2023-04-15 19:47 (UTC)

@soloturn I’m leaning towards a buck2 package because “buck2” seems to be how upstream has named the product. That would also be consistent to the existing buck2-git AUR package.

Once a stable release of buck2 comes out, I’m going to create the package – unless someone else wants to take it on.

soloturn commented on 2023-04-09 22:07 (UTC)

buck2 is released, would you prefer to update the existing buck package, or better create a buck2 package?

Auerhuhn commented on 2022-05-12 18:42 (UTC)

@jc65536 Thanks for the pointer. I just pushed an update, bumping the version to v2021.05.05.01 (the folks at Meta appear to have forgotten that it’s 2022.) The Java 8 issue should be fixed now.

jc65536 commented on 2022-05-07 19:21 (UTC)

Thanks @Auerhuhn. Another issue I encountered was that buck was unable to find a "system compiler." I think the dependency should be changed from jre8-openjdk-headless to jdk8-openjdk.

Auerhuhn commented on 2022-03-03 15:12 (UTC)

Thanks for the pointer @jc65536. I just pushed an updated PKGBUILD, which should include workarounds for the Python 3.10 issues.

I also replaced the Python 2 dependency with Python 3. The package works for me now so chances are it’s working now for you, too.

jc65536 commented on 2022-02-09 20:03 (UTC)

Hi, this package is failing to build:

command: [/usr/bin/python3, /home/jason/.cache/yay/buck/src/buck-2021.01.12.01/ant-out/buck-modules-resources/python/, --python-shebang=/usr/bin/env python3, --python, /usr/bin/python3, --python-version, CPython 3.10, --entry-point, programs.gen_buck_info, buck-out/gen/ce9b6f2e/programs/gen_buck_info.pex]

stderr: Traceback (most recent call last):
  File "/home/jason/.cache/yay/buck/src/buck-2021.01.12.01/ant-out/buck-modules-resources/python/", line 50, in <module>
    import pkg_resources  # noqa isort:skip
  File "/home/jason/.cache/yay/buck/src/buck-2021.01.12.01/third-party/py/setuptools/pkg_resources/", line 32, in <module>
    import symbol
ModuleNotFoundError: No module named 'symbol'

Is the build file using Python 3 where it should use Python 2?

Auerhuhn commented on 2021-11-06 00:11 (UTC)

I have taken over the package, bumped to the latest version and added a workaround for the issue @sramey40 reported.

Auerhuhn commented on 2021-10-04 23:59 (UTC)

Hi @kendfinger, this package needs a version bump and a couple of fixes. Would you mind adding me as a co-maintainer? Alternatively, feel free to pick the relevant commits from my fork on GitHub. Thanks in advance!

elldritch commented on 2020-05-10 03:17 (UTC) (edited on 2020-05-10 05:36 (UTC) by elldritch)

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 and a fix at

In the meantime, you'll need to either:

  1. Modify programs/ to remove lines 55-56 (which cause the infinite loop described in the installer bug), OR
  2. 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
@@ -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/

 build() {

haawda commented on 2020-04-11 14:22 (UTC)

You not only need to install a java 11 environment, but also activate it, e.g.

archlinux-java set java-11-openjdk

as root. I doubt if yay can be configured to do this, so please try with plain makepkg.