Package Details: buck 2022.05.05.01-1

Git Clone URL: https://aur.archlinux.org/buck.git (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: https://buckbuild.com
Keywords: automation build development incremental java polyglot reproducible tool
Licenses: Apache
Submitter: jtgoguen
Maintainer: Auerhuhn
Last Packager: Auerhuhn
Votes: 13
Popularity: 0.000000
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

« First ‹ Previous 1 2 3 Next › Last »

sramey40 commented on 2020-04-10 19:05 (UTC) (edited on 2020-04-10 19:23 (UTC) by sramey40)

The build is broken. I'm not sure if it's this package, or an issue with the buck code itself. But the java compiler is having issues.

EDIT: So, I tried manually building from cloning the git repo. I have the exact same issue. Submitted github issue here

compile:
    [javac] Compiling 2967 source files to /home/sean/.cache/yay/buck/src/buck-2019.10.17.01/ant-out/classes
    [javac] [compiled 675548 lines in 11738 ms: 57552.2 lines/s]
    [javac] [5484 .class files generated]
    [javac] ----------
    [javac] 1. ERROR in /home/sean/.cache/yay/buck/src/buck-2019.10.17.01/src/com/facebook/buck/jvm/java/abi/JarReader.java (at line 71)
    [javac]     fileSystem = FileSystems.newFileSystem(jarPath, null);
    [javac]                              ^^^^^^^^^^^^^
    [javac] The method newFileSystem(Path, ClassLoader) is ambiguous for the type FileSystems
    [javac] ----------
    [javac] ----------
    [javac] 2. ERROR in /home/sean/.cache/yay/buck/src/buck-2019.10.17.01/src/com/facebook/buck/jvm/java/abi/java11/SourceVersionUtils.java (at line 27)
    [javac]     switch (version) {
    [javac]             ^^^^^^^
    [javac] The enum constant RELEASE_12 should have a corresponding case label in this enum switch on SourceVersion. To suppress this problem, add a comment //$CASES-OMITTED$ on the line above the 'default:'
    [javac] ----------
    [javac] 3. ERROR in /home/sean/.cache/yay/buck/src/buck-2019.10.17.01/src/com/facebook/buck/jvm/java/abi/java11/SourceVersionUtils.java (at line 27)
    [javac]     switch (version) {
    [javac]             ^^^^^^^
    [javac] The enum constant RELEASE_13 should have a corresponding case label in this enum switch on SourceVersion. To suppress this problem, add a comment //$CASES-OMITTED$ on the line above the 'default:'
    [javac] ----------
    [javac] ----------
    [javac] 4. ERROR in /home/sean/.cache/yay/buck/src/buck-2019.10.17.01/src/com/facebook/buck/util/unarchive/Unzip.java (at line 320)
    [javac]     try (FileSystem zipFs = FileSystems.newFileSystem(archiveAbsolutePath, null)) {
    [javac]                                         ^^^^^^^^^^^^^
    [javac] The method newFileSystem(Path, ClassLoader) is ambiguous for the type FileSystems
    [javac] ----------
    [javac] 4 problems (4 errors)

BUILD FAILED
/home/sean/.cache/yay/buck/src/buck-2019.10.17.01/build.xml:588: The following error occurred while executing this line:
/home/sean/.cache/yay/buck/src/buck-2019.10.17.01/build.xml:530: Compile failed; see the compiler error output for details.

Total time: 24 seconds
==> ERROR: A failure occurred in build().
    Aborting...
Error making: buck

kendfinger commented on 2020-01-21 07:14 (UTC)

I have taken over the package and it will now compile correctly without Buck itself.

jvreeland commented on 2019-08-05 23:22 (UTC)

Buck calls buck to build it (or I guess check if it's running?) this means it can't be built on machines that don't have a buck command already.

/home/justin/aur/buck/PKGBUILD: line 21: buck: command not found ==> ERROR: A failure occurred in build(). Aborting...

haawda commented on 2018-07-01 22:12 (UTC)

Fixed dependencies.

J5lx commented on 2018-07-01 20:44 (UTC)

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 (UTC)

I added a prepare function to detect java version.

haawda commented on 2018-04-29 10:45 (UTC)

Indeed, just figured it out myself.

Eremiell commented on 2018-04-29 09:24 (UTC)

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 (UTC)

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 (UTC)

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