Version 3.8.9 is over 6 years old and sometimes doesn't work https://github.com/neurobin/shc/issues/23 (same happened to me). This is ebuild for new version, which is still under maintain: --- shc-3.8.9.ebuild +++ shc-3.9.6.ebuild @@ -6,32 +6,17 @@ inherit toolchain-funcs DESCRIPTION="A (shell-) script compiler/scrambler" -HOMEPAGE="http://www.datsi.fi.upm.es/~frosal" -SRC_URI="http://www.datsi.fi.upm.es/~frosal/sources/${P}.tgz" +HOMEPAGE="https://github.com/neurobin/shc" +SRC_URI="https://github.com/neurobin/${PN}/archive/${PV}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~alpha amd64 ppc ~sparc x86" +KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86" IUSE="" -RESTRICT="test" - -src_prepare() { - # respect LDFLAGS - sed -i makefile -e 's:$(CC) $(CFLAGS):& $(LDFLAGS):' || die - # fix source file name wrt bug #433970 - mv {${P},${PN}}.c || die -} - -src_compile() { - ## the "test"-target leads to an access-violation -> so we skip it - ## as it's only for demonstration purposes anyway. - emake CC=$(tc-getCC) CFLAGS="${CFLAGS}" shc -} - src_install() { - dobin shc + dobin src/shc doman shc.1 - newdoc shc.README README - dodoc CHANGES + dodoc README.md + dodoc ChangeLog }
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7e47ec5ddcd2f4f4394779fa57d061e1aefddb65 commit 7e47ec5ddcd2f4f4394779fa57d061e1aefddb65 Author: Sergey Popov <pinkbyte@gentoo.org> AuthorDate: 2018-11-06 07:50:29 +0000 Commit: Sergey Popov <pinkbyte@gentoo.org> CommitDate: 2018-11-06 07:50:50 +0000 dev-util/shc: version bump Reported-by: manwe <manwe@manwe.pl> Signed-off-by: Sergey Popov <pinkbyte@gentoo.org> Closes: https://bugs.gentoo.org/670358 Package-Manager: Portage-2.3.49, Repoman-2.3.10 dev-util/shc/Manifest | 1 + dev-util/shc/shc-3.9.6.ebuild | 18 ++++++++++++++++++ 2 files changed, 19 insertions(+)