This is broken when using https://aur.archlinux.org/packages/dashbinsh
A fix is to patch the configure script's shebang to be /bin/bash instead of /bin/sh, or by running the configure script with bash configure instead of ./configure
Also this will probably break again when bash is updated to 5.2 in the repos
Source link seems expired, to fix it:
$ cd /tmp
$ yay -G bashdb
$ cd bashdb
$ sed -i 's/phoenixnap/udomain/' PKGBUILD
$ makepkg -si
Still doesn't build for me with bash 5.1.
@bartus the dependency isn't correct - if it's bash >=5.0 it should build with (and everything above) bash 5.0.
Great thanks I'll keep an eye on that.
Great thanks I'll test it too when patched.
I've tested it briefly with bash:5.1 and it seams to work just fine. Will patch configure to enable build against bash:5.1 Let throw this on the users, see what happens ٩(ˊ〇ˋ*)و
Ups, just notice I'm not on the maintainer list here (@severach please hire (~˘▽˘)~ )
Well here's the patch
Merge with git am -s < <(curl -s http://ix.io/2NIE)
Seems out of date for current Bash v5.1:
checking for bash... /usr/bin/bash
configure: WARNING: You have Bash GNU bash, version 5.1.0(1)-release (x86_64-pc-linux-gnu)
Copyright (C) 2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software; you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. installed.
configure: error: This package is only known to work with Bash 5.0
/usr/share/makepkg/util/message.sh: line 84: RED: unbound variable
/usr/bin/makepkg: line 132: logpipe: unbound variable
Failed to build bashdb
==> Validating source files with sha512sums...
bashdb-4.4-0.94.tar.bz2 ... FAILED