From: "Kent Fredric" <kentnl@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-perl/Convert-UUlib/
Date: Fri, 15 Jul 2016 11:16:11 +0000 (UTC) [thread overview]
Message-ID: <1468581312.6e01ba8b6f4e18bc758fee80cfd4a9f86af801d5.kentnl@gentoo> (raw)
commit: 6e01ba8b6f4e18bc758fee80cfd4a9f86af801d5
Author: Kent Fredric <kentnl <AT> gentoo <DOT> org>
AuthorDate: Sat Jul 9 15:21:31 2016 +0000
Commit: Kent Fredric <kentnl <AT> gentoo <DOT> org>
CommitDate: Fri Jul 15 11:15:12 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6e01ba8b
dev-perl/Convert-UUlib: Add IUSE="system-uulib" and disable unbundling
Gentoo's uulib implementation and the bundled version differ in some way,
making Gentoo's version less stable, causing mislinked .so files as seen
in bug #559930
This pragmatic solution just defers this problem to the user so those who
care about system purity can do that at their own cost, while making the
default workflow both Work(tm) and Work as Upstream Intended.
R1-bump required as it is expected people who have existing installations
and did not run tests will have a broken installation, which can be
confirmed by running:
/usr/bin/perl -MConvert::UUlib=:all \
-e'SetFNameFilter(sub {});FNameFilter(1);SetFNameFilter()'
Bug: https://bugs.gentoo.org/559930
Package-Manager: portage-2.3.0
RepoMan-Options: --ignore-arches --include-arches="alpha amd64 amd64-fbsd arm arm64 hppa ia64 m68k mips nios2 ppc ppc64 riscv s390 sh sparc sparc-fbsd x86 x86-fbsd"
.../Convert-UUlib/Convert-UUlib-1.500.0-r1.ebuild | 35 ++++++++++++++++++++++
.../Convert-UUlib/Convert-UUlib-1.500.0.ebuild | 27 -----------------
dev-perl/Convert-UUlib/metadata.xml | 3 ++
3 files changed, 38 insertions(+), 27 deletions(-)
diff --git a/dev-perl/Convert-UUlib/Convert-UUlib-1.500.0-r1.ebuild b/dev-perl/Convert-UUlib/Convert-UUlib-1.500.0-r1.ebuild
new file mode 100644
index 0000000..525945a
--- /dev/null
+++ b/dev-perl/Convert-UUlib/Convert-UUlib-1.500.0-r1.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+MODULE_AUTHOR=MLEHMANN
+MODULE_VERSION=1.5
+inherit perl-module
+
+DESCRIPTION="A Perl interface to the uulib library"
+
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="system-uulib test"
+
+RDEPEND="
+ system-uulib? ( >=dev-libs/uulib-0.5.20-r1 )
+"
+DEPEND="${RDEPEND}
+ >=virtual/perl-ExtUtils-MakeMaker-6.520.0
+ dev-perl/Canary-Stability
+"
+
+SRC_TEST="do parallel"
+
+src_prepare() {
+ if use system-uulib; then
+ epatch "${FILESDIR}/${P}-unbundle.patch"
+ ewarn "Building with USE=system-uulib known to be problematic and cause"
+ ewarn " Convert::UUlib to segfault when used. ( Bug #559930 )"
+ use test || ewarn "use of FEATURES=test strongly recommended";
+ fi
+ perl-module_src_prepare
+}
diff --git a/dev-perl/Convert-UUlib/Convert-UUlib-1.500.0.ebuild b/dev-perl/Convert-UUlib/Convert-UUlib-1.500.0.ebuild
deleted file mode 100644
index 9b64ae7..0000000
--- a/dev-perl/Convert-UUlib/Convert-UUlib-1.500.0.ebuild
+++ /dev/null
@@ -1,27 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-MODULE_AUTHOR=MLEHMANN
-MODULE_VERSION=1.5
-inherit perl-module
-
-DESCRIPTION="A Perl interface to the uulib library"
-
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
-IUSE=""
-
-PATCHES=( "${FILESDIR}/${P}-unbundle.patch" )
-
-RDEPEND="
- >=dev-libs/uulib-0.5.20-r1
-"
-DEPEND="${RDEPEND}
- >=virtual/perl-ExtUtils-MakeMaker-6.520.0
- dev-perl/Canary-Stability
-"
-
-SRC_TEST="do parallel"
diff --git a/dev-perl/Convert-UUlib/metadata.xml b/dev-perl/Convert-UUlib/metadata.xml
index 4741d46..3999a21 100644
--- a/dev-perl/Convert-UUlib/metadata.xml
+++ b/dev-perl/Convert-UUlib/metadata.xml
@@ -9,4 +9,7 @@
<remote-id type="cpan">Convert-UUlib</remote-id>
<remote-id type="cpan-module">Convert::UUlib</remote-id>
</upstream>
+ <use>
+ <flag name="system-uulib">Use <pkg>dev-libs/uulib</pkg> instead of bundled version.</flag>
+ </use>
</pkgmetadata>
next reply other threads:[~2016-07-15 11:16 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-07-15 11:16 Kent Fredric [this message]
-- strict thread matches above, loose matches on Subject: below --
2021-10-14 21:21 [gentoo-commits] repo/gentoo:master commit in: dev-perl/Convert-UUlib/ Andreas K. Hüttel
2021-07-31 6:23 Sam James
2021-07-29 6:45 Agostino Sarubbo
2021-07-29 6:40 Agostino Sarubbo
2021-07-28 3:12 Sam James
2021-05-04 20:43 Andreas K. Hüttel
2020-12-27 14:42 Fabian Groffen
2020-06-20 3:10 Kent Fredric
2020-06-20 3:10 Kent Fredric
2020-06-08 6:13 Sergei Trofimovich
2020-06-07 8:44 Agostino Sarubbo
2020-06-06 18:10 Agostino Sarubbo
2020-06-06 17:37 Agostino Sarubbo
2020-06-06 17:34 Agostino Sarubbo
2020-06-06 17:32 Agostino Sarubbo
2020-06-06 17:29 Agostino Sarubbo
2017-04-10 20:16 Kent Fredric
2015-11-15 13:42 Mikle Kolyada
2015-10-10 17:50 Mikle Kolyada
2015-09-27 15:58 Patrice Clement
2015-09-27 8:20 Mikle Kolyada
2015-09-08 4:58 Jeroen Roovers
2015-09-07 12:35 Mikle Kolyada
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=1468581312.6e01ba8b6f4e18bc758fee80cfd4a9f86af801d5.kentnl@gentoo \
--to=kentnl@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