[Bug]: `Build from source fail`
Bug Description
build youki is crash at the end here is why
youki/PKGBUILD : line 38 : ./target/release/youki : No such file or directory
==> ERROR: A failure occurred in build().
Steps to Reproduce
running package manager after almost all build steps done. In the of build get error because something is wrong.
Expectation
ofc, maybe, but how I can check that if program cannot compile from source using system package manager.
System and Setup Info
Version 0.5.4 Commit VERGEN_IDEMPOTENT_OUTPUT Kernel-Release 6.15.8 Kernel-Version #1 SMP PREEMPT_DYNAMIC Architecture x86_64 Operating System Arch Linux Cores 16 Total Memory 16GB Cgroup setup unified Cgroup mounts Capabilities CAP_BPF available CAP_PERFMON available CAP_CHECKPOINT_RESTORE available
Additional Context
also I just can install binary pre-compiled version and just use that, also using cargo for that and can build from source using cargo too, but if use build scenary from aur PKGBUILD get err in 38 line in PKGBUILD in end of build
Thanks for raising the issue. How can I reproduce the failure you encountered?
git clone --depth 1 https://aur.archlinux.org/youki.git && cd youki && makepkg -fsric
@overtube We haven't makepkg yet. Do you intend to contribute youki?
Hi @overtube
Is this still an issue?
I can build it without any problems, here is an example Dockerfile
FROM archlinux:latest
RUN pacman -Syu --noconfirm base-devel sudo debugedit fakeroot git binutils
RUN useradd -m build && echo "build ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers
USER build
WORKDIR /home/build
RUN git clone --depth 1 https://aur.archlinux.org/youki.git
WORKDIR /home/build/youki
RUN makepkg -fsric --noconfirm