Comments (9)
As a stop-gap for this upstream issue, and because it's way overdue (due to a lack of release notifications on my end), I've added commits to update the buildozer
and buildozer-bin
packages, which happens to resolve this error.
Between version 3.5.0
and 4.0.0
of buildtools
, the rules_nodejs
dependency (along with several others) was updated. This is likely what resolved the error, and while I'm still not 100% positive what the root cause was, I'm going to go ahead and close this issue.
The downstream AUR repositories have been updated and you should now be able to install the package.
from pkgbuilds.
Actually, that error is my fault. Whoops.
The output path for that target changed from 3.5.0 -> 4.0.0. It's a bit more complex than simply updating the path, but I'll work out a solution soon enough and get a patch out today.
from pkgbuilds.
Thanks for opening the issue. I'll take a look in a few minutes.
from pkgbuilds.
I have reproduced this successfully (as is expected, since the build occurs via Bazel). I'll need to dig into this a bit more to understand why it is occurring now, and will follow up with the appropriate upstream maintainers (at a glance, it appears to be happening on v1.3.0 of rules_nodejs
).
from pkgbuilds.
rules_nodejs
builds fine at1.3.0
.- I can reproduce this on the
3.4.0
and3.5.0
trees ofbazelbuild/buildtools
(wherebuildozer
lives), but not on4.0.0
or4.1.0
.
from pkgbuilds.
As an aside, in your opening comment, it looks like you were building version 3.3.0
of the AUR package, which was published in June 2020. At the time of writing of your comment, the latest published version available in the AUR was 3.4.0
. Be sure to update your local copy of the AUR package's repository in order to benefit from the updates.
from pkgbuilds.
Thanks for the quick update. I checked now that I'm on the 4.0.1 aur version.
I think this is a setup problem from my side, (I have little bazel experience and a slightly non-standard makepkg.conf)
The package is failing to find the bin, I have the same problem in my clean-chroot (using the aur-build tools).
The symlinks to the bazel outputs are:
bazel-bin -> /home/ixil/.cache/bazel/_bazel_ixil/ba49057621d38c7b92c85bf47f82b92c/execroot/com_github_bazelbuild_buildtools/bazel-out/k8-fastbuild/bin
Whereas the actual bin is at:
$cd ~/.cache/bazel; fd -x buildozer-linux;
./_bazel_ixil/ba49057621d38c7b92c85bf47f82b92c/execroot/com_github_bazelbuild_buildtools/bazel-out/k8-fastbuild-ST-05b09dfdd2e5/bin/buildozer/buildozer-linux_amd64
makepkg -s
==> Starting build()...
Starting local Bazel server and connecting to it...
WARNING: ignoring _JAVA_OPTIONS in environment.
INFO: Analyzed target //buildozer:buildozer-linux (105 packages loaded, 8159 targets configured).
INFO: Found 1 target...
Target //buildozer:buildozer-linux up-to-date:
bazel-out/k8-fastbuild-ST-05b09dfdd2e5/bin/buildozer/buildozer-linux_amd64
INFO: Elapsed time: 53.302s, Critical Path: 21.34s
INFO: 567 processes: 24 internal, 543 linux-sandbox.
INFO: Build completed successfully, 567 total actions
==> Entering fakeroot environment...
==> Starting package()...
install: cannot stat './bazel-bin/buildozer/buildozer-linux_amd64': No such file or directory
==> ERROR: A failure occurred in package().
Aborting...
from pkgbuilds.
In the mean time, you can use the binary package, buildozer-bin
. It downloads the release directly from GitHub.
from pkgbuilds.
@ixil you're good to go now. Thanks for your patience.
from pkgbuilds.
Related Issues (20)
- google-cloud-sdk: collections-abc.patch is broken HOT 4
- bazelisk(-bin): Add both `bazel` and `bazelisk` to path HOT 3
- bazelisk(-bin): Shell completions HOT 1
- google-cloud-sdk error while loading shared libraries: libcrypt.so.1: cannot open shared object file: No such file or directory HOT 8
- `google-cloud-sdk`: Can't build as `root` or with `sudo`. HOT 3
- ARM support for google-cloud-sdk and component packages
- google-cloud-sdk package files did not pass the validity check! HOT 4
- google-cloud-sdk: set CLOUDSDK_PYTHON to /usr/bin/python HOT 1
- AUR shows bazelisk version 1.10.1-1 when 1.11.0 is available here HOT 1
- `google-cloud-sdk` install doesn't install dependency `libcrypt` HOT 2
- google-cloud-sdk fails to build HOT 1
- Bundle google-cloud-sdk component gke-gcloud-auth-plugin HOT 1
- Add arm64 support for bazelisk and bazelisk-bin
- google-cloud-sdk: append to PATH instead of prepending
- error: python2 required by gcloud
- Error installing firebase-tools HOT 2
- Is google-cloud-sdk still maintained? HOT 3
- firebase-tools and google-sdk out of date
- buildozer has redacted version
- firebase-tools wants to set owner and guid of /usr/bin and /usr/lib/node_modules to my user instead of root
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pkgbuilds.