maximbaz / docker-arch-build-aur Goto Github PK
View Code? Open in Web Editor NEWBuild AUR packages (useful for building *-bin packages via Travis / Shippable)
Home Page: https://hub.docker.com/r/maximbaz/arch-build-aur/
License: MIT License
Build AUR packages (useful for building *-bin packages via Travis / Shippable)
Home Page: https://hub.docker.com/r/maximbaz/arch-build-aur/
License: MIT License
Hello, it seems that your CI job has been broken for some times.
Looking at the error and digging a litel bit I think that this is the cause: https://bugs.archlinux.org/task/69563
and this the workaround qutebrowser/qutebrowser@478e4de
Running the following example:
$ docker run --rm -v $(pwd):/pkg maximbaz/arch-build-aur /bin/bash -c '/build-aur aurutils'
Results in
Unable to find image 'maximbaz/arch-build-aur:latest' locally
latest: Pulling from maximbaz/arch-build-aur
4fe7fb041cb7: Pull complete
ee589992b846: Pull complete
d2923bac2c82: Pull complete
888a4a5c19b4: Pull complete
054ac236916a: Pull complete
f7aa77e18e8d: Pull complete
Digest: sha256:f9d3accbd98c673471c89df3403044ecd499376440ad54a654e725b6d63b2816
Status: Downloaded newer image for maximbaz/arch-build-aur:latest
/build-aur: line 14: sudo: command not found
As part of the /build-pkgbuild
script update the .SRCINFO
file as well.
This is an essential part of the building process for package maintainers that might use docker from a non archlinux system.
Got a problem about absence of libffi.so
during build.
Workaround (command to run): pacman -Syyuu --noconfirm && /build-aur chromium-vaapi
Is it possible to build ARM packages?
Thanks
I think that due to inactivity in the repo the CI github action has been disabled.
I get the following error if I try to use maximbaz/arch-build-aur:latest
to build my AUR packages:
error: failed to initialize alpm library
(could not find or read directory: /var/lib/pacman/)
the error seems related to #12 in fact if I rebuild the image locally adding:
# WORKAROUND for glibc 2.33 and old Docker
# See https://github.com/actions/virtual-environments/issues/2658
# Thanks to https://github.com/lxqt/lxqt-panel/pull/1562
RUN patched_glibc=glibc-linux4-2.33-4-x86_64.pkg.tar.zst && \
curl -LO "https://repo.archlinuxcn.org/x86_64/$patched_glibc" && \
bsdtar -C / -xvf "$patched_glibc"
to the Dockerfile all works as expected...
Hey.
Check out my fork of your repo. Everything is the same, except this part: https://github.com/erkexzcx/docker-arch-build-aur/blob/master/Dockerfile#L3L5
pacman -S --noconfirm pacman-mirrorlist
is needed otherwise when I try to compile a kernel, it tries to download multiple dependencies. Some of them, for unknown reason, fail to retrieve (e.g. imagemagick
). It turned out that I have to force reinstall pacman-mirrorlist
so it's kind of forced mirrorlist refresh. This step fixed the problem to me.
sed -i 's/#MAKEFLAGS="-j2"/MAKEFLAGS="-j$(nproc)"/' /etc/makepkg.conf
basically replaces #MAKEFLAGS="-j2"
with MAKEFLAGS="-j$(nproc)"
in /etc/makepkg.conf
so docker image uses all available cores when compiling certain apps.
Running
/bin/bash -c '/build-aur standardnotes-desktop'
result:
mv: cannot stat '*.pkg.tar.xz': No such file or directory
After digging into container, i found that the built package ends with "pkg.tar.zst" not ".tar.xz"
Reference: https://www.archlinux.org/news/now-using-zstandard-instead-of-xz-for-package-compression/
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.