Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 685166 - =app-arch/p7zip-16.02-r4 fails src_prepare() on CXXFLAGS=-falign-functions=32:25:16
Summary: =app-arch/p7zip-16.02-r4 fails src_prepare() on CXXFLAGS=-falign-functions=32...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Matthew Thode ( prometheanfire )
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: colon-in-CFLAGS
  Show dependency tree
 
Reported: 2019-05-06 07:39 UTC by Sergei Trofimovich (RETIRED)
Modified: 2019-05-06 20:39 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sergei Trofimovich (RETIRED) gentoo-dev 2019-05-06 07:39:06 UTC
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;
 *
Comment 1 Larry the Git Cow gentoo-dev 2019-05-06 20:39:10 UTC
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(-)