You are not logged in.
Hello! I'm trying to build this package https://aur.archlinux.org/packages/electrs-git, there is a build error in
electrs-rocksdb. It is solved by passing an environment variable https://github.com/facebook/rocksdb/iss … 2833978676, I checked this by compiling the program from github
git clone https://github.com/romanz/electrs && cd electrs && export CXXFLAGS="$CXXFLAGS -include cstdint" cargo b --release. But, when I put
export CXXFLAGS="$CXXFLAGS -include cstdint"and
makepkg-- no effect, build fail. So, how I can pass env var to makepkg?
Last edited by mass_t (2025-07-17 12:28:33)
Offline
Edit the PKGBUILD before running makepkg
Offline
That needs to be set in the build() function of the PKGBUILD.
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
That needs to be set in the build() function of the PKGBUILD.
Thanks, this works.
Offline
Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.
Offline