Package Details: buck 2018.10.22.01-1

Git Clone URL: https://aur.archlinux.org/buck.git (read-only)
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: https://buckbuild.com
Licenses: Apache
Submitter: jtgoguen
Maintainer: haawda
Last Packager: haawda
Votes: 9
Popularity: 0.750205
First Submitted: 2016-04-22 23:09
Last Updated: 2018-10-22 18:17

Pinned Comments

Eremiell commented on 2018-04-29 09:24

Problem identified after some more searching with different errors than previously. Buck needs JDK8. Later have some features it uses removed.

Latest Comments

haawda commented on 2018-07-01 22:12

Fixed dependencies.

J5lx commented on 2018-07-01 20:44

This package fails to build in a clean chroot with devtools since it apparently requires Java 8 to build but this dependency is not expressed properly in makedepends, causing pacman’s automatic selection to install a different version. Additionally, python is apparently also needed at buildtime (without it I get a build failure with error /build/buck/src/buck-2018.06.25.01/build.xml:889: Execute failed: java.io.IOException: Cannot run program "python" (in directory "/build/buck/src/buck-2018.06.25.01"): error=2, No such file or directory).

haawda commented on 2018-04-29 11:42

I added a prepare function to detect java version.

haawda commented on 2018-04-29 10:45

Indeed, just figured it out myself.

Eremiell commented on 2018-04-29 09:24

Problem identified after some more searching with different errors than previously. Buck needs JDK8. Later have some features it uses removed.

Eremiell commented on 2018-04-29 08:50

I have no idea what went so horribly wrong, but it seems like it doesn't like even totally 101 Java stuff.

https://hastebin.com/ocominatew

Been some years since I did Java, any ideas on how to fix this?

jtgoguen commented on 2016-11-04 15:23

Hmm, that seems not right. I'll take a look at that as soon as I get a chance.

bcc commented on 2016-11-04 13:15

line 25: /tmp/makepkg/buck/src/../python-test-output.patch: No such file or directory
==> ERROR: A failure occurred in prepare().
Aborting...
:: apache-ant is a new orphan package
:: failed to build buck package(s)

calcmogul commented on 2016-10-02 22:14

I have the option set in makepkg.conf to build packages in /tmp/makepkg, which causes prepare() to fail to find python-test-output.patch. Since makepkg makes symlinks of sources to ${srcdir}, the following patch fixed the build for me:

diff --git a/PKGBUILD b/PKGBUILD
index c31e6d0..8f7aa7b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -22,7 +22,7 @@ sha256sums=(
prepare() {
cd "${srcdir}/${pkgname}-${pkgver}"

- patch -p1 <"${srcdir}/../python-test-output.patch"
+ patch -p1 <"${srcdir}/python-test-output.patch"
}

build() {