Package Details: abuild 3.7.0-1

Git Clone URL: https://aur.archlinux.org/abuild.git (read-only, click to copy)
Package Base: abuild
Description: Script to build Alpine Packages
Upstream URL: https://git.alpinelinux.org/cgit/abuild/
Licenses: GPL2
Submitter: clarfonthey
Maintainer: eatmyvenom
Last Packager: eatmyvenom
Votes: 2
Popularity: 0.006977
First Submitted: 2019-10-10 23:35 (UTC)
Last Updated: 2021-01-18 00:36 (UTC)

Latest Comments

msrd0 commented on 2021-11-01 14:53 (UTC) (edited on 2021-11-01 14:53 (UTC) by msrd0)

I just noticed you depend on apk-tools which does not seem to be the same package in the AUR as it is for Alpine. You might want to use alpine-apk-tools instead, which does provide the apk executable.

Also, with your approach of /usr/bin/busybox ash -e I get an error message ash -e: applet not found. Instead if I use this sed expression it works:

sed -E -i "$bin" \
    -e '1s|#!/bin/ash$|#!/bin/busybox ash|' \
    -e '1s|#!/bin/ash\s+(.*)$|#!/bin/busybox ash\nset \1|'

eatmyvenom commented on 2021-01-18 00:38 (UTC)

I believe I have fixed the error you referenced. Dash is no longer used. However I was unable to build a package with this, I am not entirely familiar with the process however.

msrd0 commented on 2020-12-19 21:20 (UTC) (edited on 2020-12-19 21:21 (UTC) by msrd0)

I just got the same error as @azmeuk. I fixed it by installed busybox and editing the shebang in /usr/bin/abuild from

#!/bin/dash -e

to

#!/usr/bin/busybox ash
set -e

Since ash is the default shell for AlpineLinux, this should do the trick for all packages.

azmeuk commented on 2020-12-14 08:33 (UTC)

I get this error every time I use abuild. The package is unusable at the moment.

abuild
/usr/bin/abuild: 1896: Bad substitution
>>> ERROR: opensmtpd-filter-senderscore: all failed