Created attachment 663187 [details, diff] hplip-3.20.6-python-includes_no-bashisms.patch The "hplip-3.20.6-python-includes.patch" distributed in hplip-3.20.6-patches-1.tar.xz introduces a Bashism to the configure script that fails when /bin/sh is not Bash: checking for python3-config... /var/tmp/portage/net-print/hplip-3.20.6-r2/temp/python3.8/bin/python3-config ./configure: 17886: test: X-I/usr/include/python3.8 -I/usr/include/python3.8: unexpected operator ./configure: 17891: test: X -lcrypt -lpthread -ldl -lutil -lm -lm : unexpected operator yes checking whether /usr/bin/python3.8 version is >= 2.2... yes checking for /usr/bin/python3.8 version... 3.8 The attached patch removes the Bashisms from "hplip-3.20.6-python-includes.patch" and resolves the configure-time errors when /bin/sh is Dash 0.5.11.2.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8717fdedc058885a88a29926175206579cd25d50 commit 8717fdedc058885a88a29926175206579cd25d50 Author: Daniel Pielmeier <billie@gentoo.org> AuthorDate: 2020-09-30 19:05:27 +0000 Commit: Daniel Pielmeier <billie@gentoo.org> CommitDate: 2020-09-30 19:05:27 +0000 net-print/hplip: Revision bump to hplip-3.20.6-r3. Thanks to Matt Whitlock for the report. Closes: https://bugs.gentoo.org/745459 Package-Manager: Portage-3.0.4, Repoman-3.0.1 Signed-off-by: Daniel Pielmeier <billie@gentoo.org> net-print/hplip/Manifest | 1 + net-print/hplip/hplip-3.20.6-r3.ebuild | 278 +++++++++++++++++++++++++++++++++ 2 files changed, 279 insertions(+)