From: "David Seifert" <soap@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/boost/, dev-libs/boost/files/
Date: Mon, 15 Apr 2019 00:22:25 +0000 (UTC) [thread overview]
Message-ID: <1555287728.b5bfb994f73ecef8282a8b34a08857538ca33970.soap@gentoo> (raw)
commit: b5bfb994f73ecef8282a8b34a08857538ca33970
Author: David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Mon Apr 15 00:21:20 2019 +0000
Commit: David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Mon Apr 15 00:22:08 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b5bfb994
dev-libs/boost: Use `--no-cmake-config` instead of patch
* Credits go to @pdimov for the suggestion in
boostorg/python/issues/262
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: David Seifert <soap <AT> gentoo.org>
dev-libs/boost/boost-1.70.0.ebuild | 5 +++-
...-1.70.0-fix-python-cmake-duplicate-target.patch | 33 ----------------------
2 files changed, 4 insertions(+), 34 deletions(-)
diff --git a/dev-libs/boost/boost-1.70.0.ebuild b/dev-libs/boost/boost-1.70.0.ebuild
index 6d40a9f7054..68a0140f778 100644
--- a/dev-libs/boost/boost-1.70.0.ebuild
+++ b/dev-libs/boost/boost-1.70.0.ebuild
@@ -51,7 +51,6 @@ PATCHES=(
"${FILESDIR}"/${PN}-1.48.0-disable_icu_rpath.patch
"${FILESDIR}"/${PN}-1.69.0-context-x32.patch
"${FILESDIR}"/${PN}-1.56.0-build-auto_index-tool.patch
- "${FILESDIR}"/${PN}-1.70.0-fix-python-cmake-duplicate-target.patch
)
python_bindings_needed() {
@@ -174,6 +173,10 @@ src_configure() {
--boost-build="${EPREFIX}"/usr/share/boost-build
--prefix="${ED}/usr"
--layout=system
+ # CMake has issues working with multiple python impls,
+ # disable cmake config generation for the time being
+ # https://github.com/boostorg/python/issues/262#issuecomment-483069294
+ --no-cmake-config
# building with threading=single is currently not possible
# https://svn.boost.org/trac/boost/ticket/7105
threading=multi
diff --git a/dev-libs/boost/files/boost-1.70.0-fix-python-cmake-duplicate-target.patch b/dev-libs/boost/files/boost-1.70.0-fix-python-cmake-duplicate-target.patch
deleted file mode 100644
index c0097a8581b..00000000000
--- a/dev-libs/boost/files/boost-1.70.0-fix-python-cmake-duplicate-target.patch
+++ /dev/null
@@ -1,33 +0,0 @@
-Boost.Build errors out when passing multiple python impls to b2:
-
- error: Name clash for '<p/var/tmp/portage/dev-libs/boost-1.70.0/image/usr/lib64/cmake/boost_python-1.70.0>libboost_python-variant-shared.cmake'
- error:
- error: Tried to build the target twice, with property sets having
- error: these incompatible properties:
- error:
- error: - <python>2.7
- error: - <python>3.6
- error:
- error: Please make sure to have consistent requirements for these
- error: properties everywhere in your project, especially for install
- error: targets.
-
-https://github.com/boostorg/python/issues/262
-
---- a/tools/boost_install/boost-install.jam
-+++ b/tools/boost_install/boost-install.jam
-@@ -870,12 +870,12 @@
-
- $(p).mark-target-as-explicit install-libraries ;
-
-- install-cmake-config $(libraries) ;
-+ # install-cmake-config $(libraries) ;
-
- generate install-dependencies : $(libraries) : <generating-rule>@boost-install%generate-dependencies <name>install ;
- $(p).mark-target-as-explicit install-dependencies ;
-
-- alias install : install-libraries install-cmake-config install-dependencies ;
-+ alias install : install-libraries install-dependencies ;
- $(p).mark-target-as-explicit install ;
-
- # Target stage
next reply other threads:[~2019-04-15 0:22 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-04-15 0:22 David Seifert [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-09-30 18:03 [gentoo-commits] repo/gentoo:master commit in: dev-libs/boost/, dev-libs/boost/files/ David Seifert
2024-07-16 23:04 Sam James
2024-06-03 1:31 Sam James
2024-02-17 14:27 David Seifert
2024-01-01 21:34 David Seifert
2023-10-08 4:22 Sam James
2023-05-20 16:38 David Seifert
2022-12-16 2:52 Sam James
2022-11-12 0:05 Sam James
2022-07-13 18:12 David Seifert
2022-02-03 4:25 Sam James
2021-12-01 17:24 Sam James
2021-06-20 16:54 Andreas Sturmlechner
2021-05-24 21:38 Sam James
2020-11-24 19:59 Andreas Sturmlechner
2020-08-02 10:09 David Seifert
2020-06-07 12:40 David Seifert
2020-05-02 14:26 David Seifert
2019-12-21 12:55 David Seifert
2019-12-07 21:43 David Seifert
2019-12-07 19:48 David Seifert
2019-04-21 19:18 David Seifert
2019-04-16 11:39 David Seifert
2019-04-16 11:39 David Seifert
2018-02-11 17:07 Andreas Sturmlechner
2017-09-03 17:47 David Seifert
2016-04-13 19:06 David Seifert
2016-03-30 22:50 David Seifert
2015-08-25 11:36 Sergey Popov
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=1555287728.b5bfb994f73ecef8282a8b34a08857538ca33970.soap@gentoo \
--to=soap@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.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