Fallout from https://bugs.gentoo.org/685160 $ LANG=C CXXFLAGS=-falign-functions=32:25:16 ebuild p7zip-16.02-r4.ebuild clean prepare >>> Preparing source in /tmp/portage/app-arch/p7zip-16.02-r4/work/p7zip_16.02 ... * Applying p7zip-16.02-darwin.patch ... [ ok ] * Applying CVE-2016-9296.patch ... [ ok ] * Applying CVE-2017-17969.patch ... [ ok ] * Applying CVE-2018-5996.patch ... [ ok ] * Applying CVE-2018-10115.patch ... [ ok ] sed: -e expression #5, char 42: unknown option to `s' * ERROR: app-arch/p7zip-16.02-r4::gentoo failed (prepare phase): * (no error message) * * Call stack: * ebuild.sh, line 124: Called src_prepare * environment, line 2421: Called die * The specific snippet of code: * sed -e 's:-m32 ::g' -e 's:-m64 ::g' -e 's:-pipe::g' -e '/ALLFLAGS/s:-s ::' -e "/OPTFLAGS=/s:=.*:=${CXXFLAGS}:" -i makefile* || die; *
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1de027a4a4a91be59bf59c46b84570cebbf5d50d commit 1de027a4a4a91be59bf59c46b84570cebbf5d50d Author: Matthew Thode <prometheanfire@gentoo.org> AuthorDate: 2019-05-06 20:38:38 +0000 Commit: Matthew Thode <prometheanfire@gentoo.org> CommitDate: 2019-05-06 20:38:56 +0000 app-arch/p7zip: fix broken sed to use pipes Fixes: https://bugs.gentoo.org/685166 Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: Matthew Thode <prometheanfire@gentoo.org> app-arch/p7zip/p7zip-16.02-r4.ebuild | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-)