From: Sergei Trofimovich <slyfox@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Cc: "Michał Górny" <mgorny@gentoo.org>, base-system@gentoo.org
Subject: Re: [gentoo-dev] [PATCH 2/2] sys-libs/ncurses: Remove parallel econf logic
Date: Mon, 20 Mar 2017 22:55:54 +0000 [thread overview]
Message-ID: <20170320225554.6b938166@sf> (raw)
In-Reply-To: <20170320193552.32500-2-mgorny@gentoo.org>
[-- Attachment #1: Type: text/plain, Size: 3732 bytes --]
On Mon, 20 Mar 2017 20:35:52 +0100
Michał Górny <mgorny@gentoo.org> wrote:
CCing maintainer
> Remove the parallel econf logic that adds a lot of complexity for minor
> gain. It results in the output from different configure scripts being
> mixed in the build log, making it unreadable. It causes econf to be run
> in a subshell which is a PMS violation and can cause issues with some of
> package manager implementations. Furthermore, the multijob parallel
> processes are interleaved with multilib-build logic which is unsupported
> and a very bad idea.
> ---
> sys-libs/ncurses/ncurses-5.9-r101.ebuild | 11 ++++-------
> sys-libs/ncurses/ncurses-6.0-r1.ebuild | 9 +++------
> 2 files changed, 7 insertions(+), 13 deletions(-)
>
> diff --git a/sys-libs/ncurses/ncurses-5.9-r101.ebuild b/sys-libs/ncurses/ncurses-5.9-r101.ebuild
> index 76b8a76d3a72..c722d68f3208 100644
> --- a/sys-libs/ncurses/ncurses-5.9-r101.ebuild
> +++ b/sys-libs/ncurses/ncurses-5.9-r101.ebuild
> @@ -1,11 +1,11 @@
> -# Copyright 1999-2015 Gentoo Foundation
> +# Copyright 1999-2017 Gentoo Foundation
> # Distributed under the terms of the GNU General Public License v2
>
> # This version is just for the ABI .5 library
>
> EAPI="5"
>
> -inherit eutils toolchain-funcs multilib-minimal multiprocessing
> +inherit eutils toolchain-funcs multilib-minimal
>
> MY_PV=${PV:0:3}
> MY_P=${PN}-${MY_PV}
> @@ -55,8 +55,6 @@ src_configure() {
> $(usex unicode 'ncursesw' '')
> )
>
> - multijob_init
> -
> # When installing ncurses, we have to use a compatible version of tic.
> # This comes up when cross-compiling, doing multilib builds, upgrading,
> # or installing for the first time. Build a local copy of tic whenever
> @@ -69,16 +67,15 @@ src_configure() {
> CXXFLAGS=${BUILD_CXXFLAGS} \
> CPPFLAGS=${BUILD_CPPFLAGS} \
> LDFLAGS="${BUILD_LDFLAGS} -static" \
> - multijob_child_init do_configure cross --without-shared --with-normal
> + do_configure cross --without-shared --with-normal
> fi
> multilib-minimal_src_configure
> - multijob_finish
> }
>
> multilib_src_configure() {
> local t
> for t in "${NCURSES_TARGETS[@]}" ; do
> - multijob_child_init do_configure "${t}"
> + do_configure "${t}"
> done
> }
>
> diff --git a/sys-libs/ncurses/ncurses-6.0-r1.ebuild b/sys-libs/ncurses/ncurses-6.0-r1.ebuild
> index 2ab63de41d4c..d98b23afb751 100644
> --- a/sys-libs/ncurses/ncurses-6.0-r1.ebuild
> +++ b/sys-libs/ncurses/ncurses-6.0-r1.ebuild
> @@ -3,7 +3,7 @@
>
> EAPI="5"
>
> -inherit eutils flag-o-matic toolchain-funcs multilib-minimal multiprocessing
> +inherit eutils flag-o-matic toolchain-funcs multilib-minimal
>
> MY_PV=${PV:0:3}
> PV_SNAP=${PV:4}
> @@ -61,8 +61,6 @@ src_configure() {
> $(use unicode && usex threads 'ncursestw' '')
> )
>
> - multijob_init
> -
> # When installing ncurses, we have to use a compatible version of tic.
> # This comes up when cross-compiling, doing multilib builds, upgrading,
> # or installing for the first time. Build a local copy of tic whenever
> @@ -87,16 +85,15 @@ src_configure() {
> CXXFLAGS=${BUILD_CXXFLAGS} \
> CPPFLAGS=${BUILD_CPPFLAGS} \
> LDFLAGS="${BUILD_LDFLAGS} ${lbuildflags}" \
> - multijob_child_init do_configure cross --without-shared --with-normal
> + do_configure cross --without-shared --with-normal
> fi
> multilib-minimal_src_configure
> - multijob_finish
> }
>
> multilib_src_configure() {
> local t
> for t in "${NCURSES_TARGETS[@]}" ; do
> - multijob_child_init do_configure "${t}"
> + do_configure "${t}"
> done
> }
>
> --
> 2.12.0
>
>
--
Sergei
[-- Attachment #2: Цифровая подпись OpenPGP --]
[-- Type: application/pgp-signature, Size: 195 bytes --]
next prev parent reply other threads:[~2017-03-20 22:56 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-20 19:35 [gentoo-dev] [PATCH 1/2] dev-lang/jimtcl: Remove parallel econf code Michał Górny
2017-03-20 19:35 ` [gentoo-dev] [PATCH 2/2] sys-libs/ncurses: Remove parallel econf logic Michał Górny
2017-03-20 22:55 ` Sergei Trofimovich [this message]
2017-03-21 1:12 ` Mike Frysinger
2017-03-21 15:44 ` Michał Górny
2017-03-20 22:55 ` [gentoo-dev] [PATCH 1/2] dev-lang/jimtcl: Remove parallel econf code Sergei Trofimovich
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170320225554.6b938166@sf \
--to=slyfox@gentoo.org \
--cc=base-system@gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
--cc=mgorny@gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox