Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 685168 - =sys-apps/iproute2-5.0.0 fails src_prepare() on CFLAGS=-falign-functions=32:25:16
Summary: =sys-apps/iproute2-5.0.0 fails src_prepare() on CFLAGS=-falign-functions=32:2...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: colon-in-CFLAGS
  Show dependency tree
 
Reported: 2019-05-06 07:41 UTC by Sergei Trofimovich (RETIRED)
Modified: 2019-05-06 08:12 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:41:37 UTC
Fallout from https://bugs.gentoo.org/685160

$ LANG=C CFLAGS=-falign-functions=32:25:16 e iproute2-5.0.0.ebuild clean prepare

>>> Preparing source in /tmp/portage/sys-apps/iproute2-5.0.0/work/iproute2-5.0.0 ...
 * Applying iproute2-3.1.0-mtu.patch ...                                                                                                                    [ ok ]
 * Applying iproute2-4.20.0-configure-nomagic.patch ...                                                                                                     [ ok ]
sed: -e expression #3, char 30: unknown option to `s'
 * ERROR: sys-apps/iproute2-5.0.0::gentoo failed (prepare phase):
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line 124:  Called src_prepare
 *   environment, line 2398:  Called die
 * The specific snippet of code:
 *       sed -i -e '/^CC :\?=/d' -e "/^LIBDIR/s:=.*:=/$(get_libdir):" -e "s:-O2:${CFLAGS} ${CPPFLAGS}:" -e "/^HOSTCC/s:=.*:= $(tc-getBUILD_CC):" -e "/^DBM_INCLUDE/s:=.*:=${T}:" Makefile || die;
Comment 1 Larry the Git Cow gentoo-dev 2019-05-06 08:12:53 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d6382ef9121fc0050ced4b4719676637eaa922b4

commit d6382ef9121fc0050ced4b4719676637eaa922b4
Author:     Lars Wendler <polynomial-c@gentoo.org>
AuthorDate: 2019-05-06 08:12:26 +0000
Commit:     Lars Wendler <polynomial-c@gentoo.org>
CommitDate: 2019-05-06 08:12:26 +0000

    sys-apps/iproute2: Replace sed delimiters for possible gcc-9 CFLAGS
    
    Closes: https://bugs.gentoo.org/685168
    Package-Manager: Portage-2.3.66, Repoman-2.3.12
    Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>

 sys-apps/iproute2/iproute2-4.14.1-r2.ebuild | 4 ++--
 sys-apps/iproute2/iproute2-4.17.0-r1.ebuild | 4 ++--
 sys-apps/iproute2/iproute2-4.19.0-r1.ebuild | 4 ++--
 sys-apps/iproute2/iproute2-4.20.0.ebuild    | 2 +-
 sys-apps/iproute2/iproute2-5.0.0.ebuild     | 2 +-
 sys-apps/iproute2/iproute2-9999.ebuild      | 2 +-
 6 files changed, 9 insertions(+), 9 deletions(-)