youki icon indicating copy to clipboard operation
youki copied to clipboard

[Bug]: `Build from source fail`

Open overtube opened this issue 5 months ago • 4 comments

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

overtube avatar Aug 06 '25 10:08 overtube

Thanks for raising the issue. How can I reproduce the failure you encountered?

utam0k avatar Aug 08 '25 11:08 utam0k

git clone --depth 1 https://aur.archlinux.org/youki.git && cd youki && makepkg -fsric

overtube avatar Aug 08 '25 14:08 overtube

@overtube We haven't makepkg yet. Do you intend to contribute youki?

utam0k avatar Aug 10 '25 10:08 utam0k

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

fspv avatar Nov 11 '25 21:11 fspv