Package Details: bash4 4.4.023-1

Git Clone URL: https://aur.archlinux.org/bash4.git (read-only, click to copy)
Package Base: bash4
Description: The GNU Bourne Again shell
Upstream URL: https://www.gnu.org/software/bash/bash.html
Licenses: GPL
Provides: bash4
Submitter: severach
Maintainer: severach
Last Packager: severach
Votes: 0
Popularity: 0.000000
First Submitted: 2019-02-07 00:52 (UTC)
Last Updated: 2026-01-16 00:32 (UTC)

Required by (0)

Sources (24)

Latest Comments

fjr commented on 2026-01-15 23:10 (UTC) (edited on 2026-01-15 23:10 (UTC) by fjr)

Maybe it's something in my environment, but with new compiler versions there is an issue due to old style function definitions no longer being accepted. Here is a fix:

--- PKGBUILD.bak    2026-01-16 01:04:02.156768778 +0200
+++ PKGBUILD    2026-01-16 01:04:29.579135853 +0200
@@ -166,7 +166,7 @@
       CFLAGS="${CFLAGS//-march=x86-64/-march=i686}"
       LDFLAGS+=' -m32'
     fi
-    CFLAGS+=' -Wno-implicit-function-declaration'
+    CFLAGS+=' -Wno-implicit-function-declaration -std=gnu89'
     local _cfg=(
       --prefix='/usr'
       --with-curses

ei-grad commented on 2024-05-16 09:49 (UTC) (edited on 2024-05-16 09:50 (UTC) by ei-grad)

Got the following error when trying to build it :-(

In file included from siglist.c:29:
siglist.h:37:27: error: expected identifier or '(' before 'char'
   37 | #  define strsignal(sig) (char *)sys_siglist[sig]
      |                           ^~~~
make: *** [Makefile:98: siglist.o] Error 1
make: *** Waiting for unfinished jobs....
print_cmd.c: In function 'make_command_string_internal':
print_cmd.c:173:14: warning: zero-length gnu_printf format string [-Wformat-zero-length]
  173 |     cprintf ("");
      |              ^~
++ error_function build
++ ((  ! BASH_SUBSHELL  ))
+++ gettext 'A failure occurred in %s().'
++ error 'A failure occurred in %s().' build
++ local 'mesg=A failure occurred in %s().'
++ shift
+++ gettext ERROR:
++ printf '==> ERROR: A failure occurred in %s().\n' build
==> ERROR: A failure occurred in build().
+++ gettext Aborting...
++ plainerr Aborting...
++ plain Aborting...
++ ((  QUIET  ))
/usr/share/makepkg/util/message.sh: line 51: QUIET: unbound variable
+++ clean_up
+++ local EXIT_CODE=1
+++ ((  INFAKEROOT  ))
/usr/bin/makepkg: line 131: logpipe: unbound variable
 -> error making: bash4-exit status 1
 -> Failed to install the following packages. Manual intervention is required:
bash4 - exit status 1