zbar's configure.ac contains a Bashism (substring replacement in variable substitution): JAVAC=${JAVAC/ecj/ecj -1.5} This causes configure to fail with the following error when /bin/sh is not Bash: /var/tmp/portage/media-gfx/zbar-0.23.1/work/zbar-0.23.1/configure: 25279: /var/tmp/portage/media-gfx/zbar-0.23.1/work/zbar-0.23.1/configure: Bad substitution Suggest setting CONFIG_SHELL=/bin/bash when running configure. This eliminates the error and allows configure to succeed.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7da97a920351fe66ee3fad7264817341342334e6 commit 7da97a920351fe66ee3fad7264817341342334e6 Author: Yury Martynov <email@linxon.ru> AuthorDate: 2020-05-10 05:47:41 +0000 Commit: Joonas Niilola <juippis@gentoo.org> CommitDate: 2020-05-17 16:41:51 +0000 media-gfx/zbar: 0.23.1 configure fails with /bin/sh != bash Closes: https://bugs.gentoo.org/721370 Package-Manager: Portage-2.3.89, Repoman-2.3.20 Signed-off-by: Yury Martynov <email@linxon.ru> Closes: https://github.com/gentoo/gentoo/pull/15735 Signed-off-by: Joonas Niilola <juippis@gentoo.org> media-gfx/zbar/zbar-0.23.1.ebuild | 2 ++ 1 file changed, 2 insertions(+)