* [gentoo-dev][ppc64le][PATCH 01/12] sys-devel/libtool: add m4/libtool.m4 patch for ppc64le #581314
@ 2016-06-28 14:31 Leno Hou
2016-06-28 14:31 ` [gentoo-dev][ppc64le][PATCH 02/12] libtool.eclass: elibtoolize: add ppc64le handling #580792 Leno Hou
` (11 more replies)
0 siblings, 12 replies; 13+ messages in thread
From: Leno Hou @ 2016-06-28 14:31 UTC (permalink / raw
To: gentoo-dev, blueness, vapier; +Cc: Leno Hou
Reference Bug:
Gentoo Bug: https://bugs.gentoo.org/show_bug.cgi?id=581314
GNU Bug: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=23348
* m4/libtool (LD=elf64lppc): add recognise definition with
CHOST=powerpc64le-unknown-linux-gnu on ppc64le platform and
CHOST=powerpc64-unknown-linux-gnu on ppc64 platform. This
patch sets $LD=elf64lppc on ppc64le and $LD=elf64ppc on ppc64.
Package-Manager: portage-2.2.26
Signed-off-by: Leno Hou <lenohou@gmail.com>
---
.../libtool-2.4.6-libtool-m4-for-ppc64le.patch | 41 ++++++++++++++++++++++
sys-devel/libtool/libtool-2.4.6-r1.ebuild | 1 +
sys-devel/libtool/libtool-2.4.6-r2.ebuild | 1 +
sys-devel/libtool/libtool-2.4.6.ebuild | 1 +
4 files changed, 44 insertions(+)
create mode 100644 sys-devel/libtool/files/libtool-2.4.6-libtool-m4-for-ppc64le.patch
diff --git a/sys-devel/libtool/files/libtool-2.4.6-libtool-m4-for-ppc64le.patch b/sys-devel/libtool/files/libtool-2.4.6-libtool-m4-for-ppc64le.patch
new file mode 100644
index 0000000..946c8c7
--- /dev/null
+++ b/sys-devel/libtool/files/libtool-2.4.6-libtool-m4-for-ppc64le.patch
@@ -0,0 +1,41 @@
+From a08fc6407e6bead83024668227b91556de7292eb Mon Sep 17 00:00:00 2001
+From: Leno Hou <lenohou@gmail.com>
+Date: Sat, 14 May 2016 14:56:57 +0000
+Subject: [PATCH] m4/libtool.m4: Fix LD parameters with ppc64 & ppc64le
+ platform
+
+For v2.4.6
+Reference Bug:
+Gentoo Bug: https://bugs.gentoo.org/show_bug.cgi?id=581314
+GNU Bug: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=23348
+
+* m4/libtool (LD=elf64lppc): add recognise definition with
+CHOST=powerpc64le-unknown-linux-gnu on ppc64le platform and
+CHOST=powerpc64-unknown-linux-gnu on ppc64 platform. This
+patch sets =elf64lppc on ppc64le and =elf64ppc on ppc64.
+
+Signed-off-by: Leno Hou <lenohou@gmail.com>
+---
+ m4/libtool.m4 | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/m4/libtool.m4 b/m4/libtool.m4
+index a3bc337..91b2e01 100644
+--- a/m4/libtool.m4
++++ b/m4/libtool.m4
+@@ -1417,10 +1417,10 @@ s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
+ x86_64-*linux*)
+ LD="${LD-ld} -m elf_x86_64"
+ ;;
+- powerpcle-*linux*)
++ powerpcle-*linux*|powerpc64le-*linux*)
+ LD="${LD-ld} -m elf64lppc"
+ ;;
+- powerpc-*linux*)
++ powerpc-*linux*|powerpc64-*linux*)
+ LD="${LD-ld} -m elf64ppc"
+ ;;
+ s390*-*linux*|s390*-*tpf*)
+--
+2.7.3
+
diff --git a/sys-devel/libtool/libtool-2.4.6-r1.ebuild b/sys-devel/libtool/libtool-2.4.6-r1.ebuild
index 677db33..2038ff0 100644
--- a/sys-devel/libtool/libtool-2.4.6-r1.ebuild
+++ b/sys-devel/libtool/libtool-2.4.6-r1.ebuild
@@ -48,6 +48,7 @@ src_prepare() {
epatch "${FILESDIR}"/${PN}-2.4.3-use-linux-version-in-fbsd.patch #109105
epatch "${FILESDIR}"/${P}-fuse-ld.patch
+ epatch "${FILESDIR}"/${PN}-2.4.6-libtool-m4-for-ppc64le.patch #581314
pushd libltdl >/dev/null
AT_NOELIBTOOLIZE=yes eautoreconf
popd >/dev/null
diff --git a/sys-devel/libtool/libtool-2.4.6-r2.ebuild b/sys-devel/libtool/libtool-2.4.6-r2.ebuild
index 7e8b7ef..528ce85 100644
--- a/sys-devel/libtool/libtool-2.4.6-r2.ebuild
+++ b/sys-devel/libtool/libtool-2.4.6-r2.ebuild
@@ -53,6 +53,7 @@ src_prepare() {
epatch "${FILESDIR}"/${P}-libtoolize-slow.patch
epatch "${FILESDIR}"/${P}-libtoolize-delay-help.patch
epatch "${FILESDIR}"/${P}-sed-quote-speedup.patch #542252
+ epatch "${FILESDIR}"/${PN}-2.4.6-libtool-m4-for-ppc64le.patch #581314
pushd libltdl >/dev/null
AT_NOELIBTOOLIZE=yes eautoreconf
popd >/dev/null
diff --git a/sys-devel/libtool/libtool-2.4.6.ebuild b/sys-devel/libtool/libtool-2.4.6.ebuild
index 71a9b47..e7eeaed 100644
--- a/sys-devel/libtool/libtool-2.4.6.ebuild
+++ b/sys-devel/libtool/libtool-2.4.6.ebuild
@@ -47,6 +47,7 @@ src_prepare() {
use vanilla && return 0
epatch "${FILESDIR}"/${PN}-2.4.3-use-linux-version-in-fbsd.patch #109105
+ epatch "${FILESDIR}"/${PN}-2.4.6-libtool-m4-for-ppc64le.patch #581314
pushd libltdl >/dev/null
AT_NOELIBTOOLIZE=yes eautoreconf
popd >/dev/null
--
2.7.3
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [gentoo-dev][ppc64le][PATCH 02/12] libtool.eclass: elibtoolize: add ppc64le handling #580792
2016-06-28 14:31 [gentoo-dev][ppc64le][PATCH 01/12] sys-devel/libtool: add m4/libtool.m4 patch for ppc64le #581314 Leno Hou
@ 2016-06-28 14:31 ` Leno Hou
2016-06-28 14:31 ` [gentoo-dev][ppc64le][PATCH 03/12] ELT-patches/ppc64le: add libtool-2.4.4 patch for ppc64le #580792 Leno Hou
` (10 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: Leno Hou @ 2016-06-28 14:31 UTC (permalink / raw
To: gentoo-dev, blueness, vapier; +Cc: Leno Hou
Signed-off-by: Leno Hou <lenohou@gmail.com>
---
eclass/ELT-patches/ppc64le/2.4.2 | 26 ++++++++++++++++++++++++++
eclass/libtool.eclass | 6 +++++-
2 files changed, 31 insertions(+), 1 deletion(-)
create mode 100644 eclass/ELT-patches/ppc64le/2.4.2
diff --git a/eclass/ELT-patches/ppc64le/2.4.2 b/eclass/ELT-patches/ppc64le/2.4.2
new file mode 100644
index 0000000..d61f6c3
--- /dev/null
+++ b/eclass/ELT-patches/ppc64le/2.4.2
@@ -0,0 +1,26 @@
+--- m4/libtool.m4.orig 2016-04-21 16:50:01.118444710 +0000
++++ m4/libtool.m4 2016-04-21 16:52:39.419906716 +0000
+@@ -1329,6 +1329,9 @@
+ ppc64-*linux*|powerpc64-*linux*)
+ LD="${LD-ld} -m elf32ppclinux"
+ ;;
++ ppc64le-*linux*|powerpc64le-*linux*)
++ LD="${LD-ld} -m elf32lppclinux"
++ ;;
+ s390x-*linux*)
+ LD="${LD-ld} -m elf_s390"
+ ;;
+@@ -1345,9 +1348,12 @@
+ x86_64-*linux*)
+ LD="${LD-ld} -m elf_x86_64"
+ ;;
+- ppc*-*linux*|powerpc*-*linux*)
++ powerpc-*linux*|powerpc64-*linux*)
+ LD="${LD-ld} -m elf64ppc"
+ ;;
++ powerpcle-*linux*|powerpc64le-*linux*)
++ LD="${LD-ld} -m elf64lppc"
++ ;;
+ s390*-*linux*|s390*-*tpf*)
+ LD="${LD-ld} -m elf64_s390"
+ ;;
diff --git a/eclass/libtool.eclass b/eclass/libtool.eclass
index 47ef812..9f56c20 100644
--- a/eclass/libtool.eclass
+++ b/eclass/libtool.eclass
@@ -144,7 +144,7 @@ elibtoolize() {
local deptoremove=
local do_shallow="no"
local force="false"
- local elt_patches="install-sh ltmain portage relink max_cmd_len sed test tmp cross as-needed target-nm"
+ local elt_patches="install-sh ltmain portage relink max_cmd_len sed test tmp cross as-needed target-nm ppc64le"
for x in "$@" ; do
case ${x} in
@@ -417,6 +417,10 @@ elibtoolize() {
ELT_walk_patches "${d}/configure" "${p}"
ret=$?
;;
+ ppc64le)
+ ELT_walk_patches "${d}/configure" "${p}"
+ ret=$?
+ ;;
*)
# ltmain.sh patches are applied above
;;
--
2.7.3
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [gentoo-dev][ppc64le][PATCH 03/12] ELT-patches/ppc64le: add libtool-2.4.4 patch for ppc64le #580792
2016-06-28 14:31 [gentoo-dev][ppc64le][PATCH 01/12] sys-devel/libtool: add m4/libtool.m4 patch for ppc64le #581314 Leno Hou
2016-06-28 14:31 ` [gentoo-dev][ppc64le][PATCH 02/12] libtool.eclass: elibtoolize: add ppc64le handling #580792 Leno Hou
@ 2016-06-28 14:31 ` Leno Hou
2016-06-28 14:31 ` [gentoo-dev][ppc64le][PATCH 04/12] ELT-patches/ppc64le: add libtool-2.4.6 " Leno Hou
` (9 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: Leno Hou @ 2016-06-28 14:31 UTC (permalink / raw
To: gentoo-dev, blueness, vapier; +Cc: Leno Hou
Signed-off-by: Leno Hou <lenohou@gmail.com>
---
eclass/ELT-patches/ppc64le/2.4.4 | 15 +++++++++++++++
1 file changed, 15 insertions(+)
create mode 100644 eclass/ELT-patches/ppc64le/2.4.4
diff --git a/eclass/ELT-patches/ppc64le/2.4.4 b/eclass/ELT-patches/ppc64le/2.4.4
new file mode 100644
index 0000000..e3e4637
--- /dev/null
+++ b/eclass/ELT-patches/ppc64le/2.4.4
@@ -0,0 +1,15 @@
+--- m4/libtool.m4.orig 2016-04-21 16:59:06.039629474 +0000
++++ m4/libtool.m4 2016-04-21 17:00:10.564264157 +0000
+@@ -1386,10 +1386,10 @@
+ x86_64-*linux*)
+ LD="${LD-ld} -m elf_x86_64"
+ ;;
+- powerpcle-*linux*)
++ powerpcle-*linux*|powerpc64le-*linux*)
+ LD="${LD-ld} -m elf64lppc"
+ ;;
+- powerpc-*linux*)
++ powerpc-*linux*|powerpc64-*linux*)
+ LD="${LD-ld} -m elf64ppc"
+ ;;
+ s390*-*linux*|s390*-*tpf*)
--
2.7.3
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [gentoo-dev][ppc64le][PATCH 04/12] ELT-patches/ppc64le: add libtool-2.4.6 patch for ppc64le #580792
2016-06-28 14:31 [gentoo-dev][ppc64le][PATCH 01/12] sys-devel/libtool: add m4/libtool.m4 patch for ppc64le #581314 Leno Hou
2016-06-28 14:31 ` [gentoo-dev][ppc64le][PATCH 02/12] libtool.eclass: elibtoolize: add ppc64le handling #580792 Leno Hou
2016-06-28 14:31 ` [gentoo-dev][ppc64le][PATCH 03/12] ELT-patches/ppc64le: add libtool-2.4.4 patch for ppc64le #580792 Leno Hou
@ 2016-06-28 14:31 ` Leno Hou
2016-06-28 14:31 ` [gentoo-dev][ppc64le][PATCH 05/12] dev-libs/libmnl: run elibtoolize #580792 Leno Hou
` (8 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: Leno Hou @ 2016-06-28 14:31 UTC (permalink / raw
To: gentoo-dev, blueness, vapier; +Cc: Leno Hou
Signed-off-by: Leno Hou <lenohou@gmail.com>
---
eclass/ELT-patches/ppc64le/2.4.6 | 15 +++++++++++++++
1 file changed, 15 insertions(+)
create mode 100644 eclass/ELT-patches/ppc64le/2.4.6
diff --git a/eclass/ELT-patches/ppc64le/2.4.6 b/eclass/ELT-patches/ppc64le/2.4.6
new file mode 100644
index 0000000..711ceb2
--- /dev/null
+++ b/eclass/ELT-patches/ppc64le/2.4.6
@@ -0,0 +1,15 @@
+--- m4/libtool.m4.orig 2016-04-21 16:42:22.170586778 +0000
++++ m4/libtool.m4 2016-04-21 16:43:41.571195049 +0000
+@@ -1417,10 +1417,10 @@
+ x86_64-*linux*)
+ LD="${LD-ld} -m elf_x86_64"
+ ;;
+- powerpcle-*linux*)
++ powerpcle-*linux*|powerpc64le-*linux*)
+ LD="${LD-ld} -m elf64lppc"
+ ;;
+- powerpc-*linux*)
++ powerpc-*linux*|powerpc64-*linux*)
+ LD="${LD-ld} -m elf64ppc"
+ ;;
+ s390*-*linux*|s390*-*tpf*)
--
2.7.3
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [gentoo-dev][ppc64le][PATCH 05/12] dev-libs/libmnl: run elibtoolize #580792
2016-06-28 14:31 [gentoo-dev][ppc64le][PATCH 01/12] sys-devel/libtool: add m4/libtool.m4 patch for ppc64le #581314 Leno Hou
` (2 preceding siblings ...)
2016-06-28 14:31 ` [gentoo-dev][ppc64le][PATCH 04/12] ELT-patches/ppc64le: add libtool-2.4.6 " Leno Hou
@ 2016-06-28 14:31 ` Leno Hou
2016-06-28 14:31 ` [gentoo-dev][ppc64le][PATCH 06/12] sys-process/procps: " Leno Hou
` (7 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: Leno Hou @ 2016-06-28 14:31 UTC (permalink / raw
To: gentoo-dev, blueness, vapier; +Cc: Leno Hou
This is needed to support newer platforms (like ppc64le).
Signed-off-by: Leno Hou <lenohou@gmail.com>
---
net-libs/libmnl/libmnl-1.0.3-r1.ebuild | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/net-libs/libmnl/libmnl-1.0.3-r1.ebuild b/net-libs/libmnl/libmnl-1.0.3-r1.ebuild
index 4b0bbc2..bca8c8e 100644
--- a/net-libs/libmnl/libmnl-1.0.3-r1.ebuild
+++ b/net-libs/libmnl/libmnl-1.0.3-r1.ebuild
@@ -4,7 +4,7 @@
EAPI=4
-inherit eutils toolchain-funcs
+inherit eutils libtool toolchain-funcs
DESCRIPTION="Minimalistic netlink library"
HOMEPAGE="http://netfilter.org/projects/libmnl"
@@ -15,6 +15,9 @@ SLOT="0"
KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-linux"
IUSE="examples static-libs"
+src_prepare(){
+ elibtoolize #580792
+}
src_configure() {
econf $(use_enable static-libs static)
}
--
2.7.3
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [gentoo-dev][ppc64le][PATCH 06/12] sys-process/procps: run elibtoolize #580792
2016-06-28 14:31 [gentoo-dev][ppc64le][PATCH 01/12] sys-devel/libtool: add m4/libtool.m4 patch for ppc64le #581314 Leno Hou
` (3 preceding siblings ...)
2016-06-28 14:31 ` [gentoo-dev][ppc64le][PATCH 05/12] dev-libs/libmnl: run elibtoolize #580792 Leno Hou
@ 2016-06-28 14:31 ` Leno Hou
2016-06-28 14:31 ` [gentoo-dev][ppc64le][PATCH 07/12] app-text/opensp: autoreconf to build opensp for ppc64le #580792 Leno Hou
` (6 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: Leno Hou @ 2016-06-28 14:31 UTC (permalink / raw
To: gentoo-dev, blueness, vapier; +Cc: Leno Hou
This is needed to support newer platforms (like ppc64le).
Signed-off-by: Leno Hou <lenohou@gmail.com>
---
sys-process/procps/procps-3.3.10-r1.ebuild | 3 ++-
sys-process/procps/procps-3.3.9-r2.ebuild | 3 ++-
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/sys-process/procps/procps-3.3.10-r1.ebuild b/sys-process/procps/procps-3.3.10-r1.ebuild
index f254f34..d484b23 100644
--- a/sys-process/procps/procps-3.3.10-r1.ebuild
+++ b/sys-process/procps/procps-3.3.10-r1.ebuild
@@ -4,7 +4,7 @@
EAPI="5"
-inherit eutils toolchain-funcs
+inherit eutils libtool toolchain-funcs
DESCRIPTION="standard informational utilities and process-handling tools"
# http://packages.debian.org/sid/procps
@@ -34,6 +34,7 @@ src_prepare() {
epatch "${FILESDIR}"/${PN}-3.3.8-kill-neg-pid.patch # http://crbug.com/255209
epatch "${FILESDIR}"/${P}-pmap-unreadable.patch #404389
epatch "${FILESDIR}"/${P}-tests-no-tty.patch #461302
+ elibtoolize #580792
sed -i -e 's:systemd-login:systemd:' configure || die #501306
}
diff --git a/sys-process/procps/procps-3.3.9-r2.ebuild b/sys-process/procps/procps-3.3.9-r2.ebuild
index 4e8e0e6..d5c6df8 100644
--- a/sys-process/procps/procps-3.3.9-r2.ebuild
+++ b/sys-process/procps/procps-3.3.9-r2.ebuild
@@ -4,7 +4,7 @@
EAPI="4"
-inherit eutils toolchain-funcs
+inherit eutils libtool toolchain-funcs
DESCRIPTION="standard informational utilities and process-handling tools"
# http://packages.debian.org/sid/procps
@@ -33,6 +33,7 @@ src_prepare() {
epatch \
"${FILESDIR}"/${PN}-3.3.8-kill-neg-pid.patch \
"${FILESDIR}"/${P}-sysctl-load-config-files.patch
+ elibtoolize #580792
sed -i -e 's:systemd-login:systemd:' configure || die #501306
}
--
2.7.3
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [gentoo-dev][ppc64le][PATCH 07/12] app-text/opensp: autoreconf to build opensp for ppc64le #580792
2016-06-28 14:31 [gentoo-dev][ppc64le][PATCH 01/12] sys-devel/libtool: add m4/libtool.m4 patch for ppc64le #581314 Leno Hou
` (4 preceding siblings ...)
2016-06-28 14:31 ` [gentoo-dev][ppc64le][PATCH 06/12] sys-process/procps: " Leno Hou
@ 2016-06-28 14:31 ` Leno Hou
2016-06-28 14:31 ` [gentoo-dev][ppc64le][PATCH 08/12] sys-block/partimage: run elibtoolize #580792 Leno Hou
` (5 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: Leno Hou @ 2016-06-28 14:31 UTC (permalink / raw
To: gentoo-dev, blueness, vapier; +Cc: Leno Hou
This is needed to support newer platforms (like ppc64le).
Signed-off-by: Leno Hou <lenohou@gmail.com>
---
app-text/opensp/opensp-1.5.2-r3.ebuild | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/app-text/opensp/opensp-1.5.2-r3.ebuild b/app-text/opensp/opensp-1.5.2-r3.ebuild
index 9f97607..d60c8f6 100644
--- a/app-text/opensp/opensp-1.5.2-r3.ebuild
+++ b/app-text/opensp/opensp-1.5.2-r3.ebuild
@@ -3,7 +3,7 @@
# $Id$
EAPI=5
-inherit eutils flag-o-matic
+inherit eutils flag-o-matic autotools
MY_P=${P/opensp/OpenSP}
@@ -34,6 +34,7 @@ src_prepare() {
epatch \
"${FILESDIR}"/${PN}-1.5-gcc34.patch \
"${FILESDIR}"/${P}-fix-segfault.patch
+ eautoreconf #580792
}
src_configure() {
--
2.7.3
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [gentoo-dev][ppc64le][PATCH 08/12] sys-block/partimage: run elibtoolize #580792
2016-06-28 14:31 [gentoo-dev][ppc64le][PATCH 01/12] sys-devel/libtool: add m4/libtool.m4 patch for ppc64le #581314 Leno Hou
` (5 preceding siblings ...)
2016-06-28 14:31 ` [gentoo-dev][ppc64le][PATCH 07/12] app-text/opensp: autoreconf to build opensp for ppc64le #580792 Leno Hou
@ 2016-06-28 14:31 ` Leno Hou
2016-06-28 14:31 ` [gentoo-dev][ppc64le][PATCH 09/12] dev-libs/libverto: add elibtoolize w/ libverto to build for ppc64le Leno Hou
` (4 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: Leno Hou @ 2016-06-28 14:31 UTC (permalink / raw
To: gentoo-dev, blueness, vapier; +Cc: Leno Hou
This is needed to support newer platforms (like ppc64le).
Signed-off-by: Leno Hou <lenohou@gmail.com>
---
sys-block/partimage/partimage-0.6.9.ebuild | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/sys-block/partimage/partimage-0.6.9.ebuild b/sys-block/partimage/partimage-0.6.9.ebuild
index 10f9545..92302f2 100644
--- a/sys-block/partimage/partimage-0.6.9.ebuild
+++ b/sys-block/partimage/partimage-0.6.9.ebuild
@@ -3,7 +3,7 @@
# $Id$
EAPI=4
-inherit eutils flag-o-matic pam user
+inherit eutils libtool flag-o-matic pam user
DESCRIPTION="Console-based application to efficiently save raw partition data to an image file"
HOMEPAGE="http://www.partimage.org/"
@@ -34,6 +34,7 @@ pkg_setup() {
src_prepare() {
epatch "${FILESDIR}"/${P}-zlib-1.2.5.2.patch #405323
epatch "${FILESDIR}"/${P}-minor-typo.patch #580290
+ elibtoolize
}
src_configure() {
--
2.7.3
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [gentoo-dev][ppc64le][PATCH 09/12] dev-libs/libverto: add elibtoolize w/ libverto to build for ppc64le
2016-06-28 14:31 [gentoo-dev][ppc64le][PATCH 01/12] sys-devel/libtool: add m4/libtool.m4 patch for ppc64le #581314 Leno Hou
` (6 preceding siblings ...)
2016-06-28 14:31 ` [gentoo-dev][ppc64le][PATCH 08/12] sys-block/partimage: run elibtoolize #580792 Leno Hou
@ 2016-06-28 14:31 ` Leno Hou
2016-06-28 14:31 ` [gentoo-dev][ppc64le][PATCH 10/12] sys-devel/binutils: add ld BE emulations for ppc64le target #580614 Leno Hou
` (3 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: Leno Hou @ 2016-06-28 14:31 UTC (permalink / raw
To: gentoo-dev, blueness, vapier; +Cc: Leno Hou
This patch fixs mit-krb5 link with wrong libverto when emerge mit-krb5
Add elibtoolize will let's econf generate the configure for ppc64le
and build the correct libverto for mit-krb5 to use.
Signed-off-by: Leno Hou <lenohou@gmail.com>
---
dev-libs/libverto/libverto-0.2.5-r1.ebuild | 3 ++-
dev-libs/libverto/libverto-0.2.5.ebuild | 3 +++
dev-libs/libverto/libverto-0.2.6.ebuild | 3 ++-
3 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/dev-libs/libverto/libverto-0.2.5-r1.ebuild b/dev-libs/libverto/libverto-0.2.5-r1.ebuild
index cd1aecd..3d06f99 100644
--- a/dev-libs/libverto/libverto-0.2.5-r1.ebuild
+++ b/dev-libs/libverto/libverto-0.2.5-r1.ebuild
@@ -4,7 +4,7 @@
EAPI=5
-inherit multilib-minimal
+inherit multilib-minimal libtool
DESCRIPTION="Main event loop abstraction library"
HOMEPAGE="https://fedorahosted.org/libverto/"
@@ -33,6 +33,7 @@ src_prepare() {
# callback on error, but we explicitly test for this behaviour. Do not run
# tevent tests for now.
sed -i -e 's/def HAVE_TEVENT/ 0/' tests/test.h || die
+ elibtoolize
}
multilib_src_configure() {
diff --git a/dev-libs/libverto/libverto-0.2.5.ebuild b/dev-libs/libverto/libverto-0.2.5.ebuild
index 92642a9..9aac4aa 100644
--- a/dev-libs/libverto/libverto-0.2.5.ebuild
+++ b/dev-libs/libverto/libverto-0.2.5.ebuild
@@ -4,6 +4,8 @@
EAPI=5
+inherit libtool
+
DESCRIPTION="Main event loop abstraction library"
HOMEPAGE="https://fedorahosted.org/libverto/"
SRC_URI="https://fedorahosted.org/releases/l/i/libverto/${P}.tar.gz"
@@ -31,6 +33,7 @@ src_prepare() {
# callback on error, but we explicitly test for this behaviour. Do not run
# tevent tests for now.
sed -i -e 's/def HAVE_TEVENT/ 0/' tests/test.h || die
+ elibtoolize
}
src_configure() {
diff --git a/dev-libs/libverto/libverto-0.2.6.ebuild b/dev-libs/libverto/libverto-0.2.6.ebuild
index 6f6eff7..fc0711a 100644
--- a/dev-libs/libverto/libverto-0.2.6.ebuild
+++ b/dev-libs/libverto/libverto-0.2.6.ebuild
@@ -4,7 +4,7 @@
EAPI=5
-inherit multilib-minimal
+inherit multilib-minimal libtool
DESCRIPTION="Main event loop abstraction library"
HOMEPAGE="https://fedorahosted.org/libverto/"
@@ -33,6 +33,7 @@ src_prepare() {
# callback on error, but we explicitly test for this behaviour. Do not run
# tevent tests for now.
sed -i -e 's/def HAVE_TEVENT/ 0/' tests/test.h || die
+ elibtoolize
}
multilib_src_configure() {
--
2.7.3
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [gentoo-dev][ppc64le][PATCH 10/12] sys-devel/binutils: add ld BE emulations for ppc64le target #580614
2016-06-28 14:31 [gentoo-dev][ppc64le][PATCH 01/12] sys-devel/libtool: add m4/libtool.m4 patch for ppc64le #581314 Leno Hou
` (7 preceding siblings ...)
2016-06-28 14:31 ` [gentoo-dev][ppc64le][PATCH 09/12] dev-libs/libverto: add elibtoolize w/ libverto to build for ppc64le Leno Hou
@ 2016-06-28 14:31 ` Leno Hou
2016-06-28 14:31 ` [gentoo-dev][ppc64le][PATCH 11/12] dev-utils/perf: add support for ppc64le #581746 Leno Hou
` (2 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: Leno Hou @ 2016-06-28 14:31 UTC (permalink / raw
To: gentoo-dev, blueness, vapier; +Cc: Leno Hou
Signed-off-by: Leno Hou <lenohou@gmail.com>
---
eclass/toolchain-binutils.eclass | 10 ++++++++++
.../binutils/files/binutils-configure-target.patch | 18 ++++++++++++++++++
2 files changed, 28 insertions(+)
create mode 100644 sys-devel/binutils/files/binutils-configure-target.patch
diff --git a/eclass/toolchain-binutils.eclass b/eclass/toolchain-binutils.eclass
index 34c8569..17eb5dc 100644
--- a/eclass/toolchain-binutils.eclass
+++ b/eclass/toolchain-binutils.eclass
@@ -180,6 +180,16 @@ tc-binutils_apply_patches() {
eend $?
done
fi
+
+ # fix emulations issues if possible #580614
+ if [[ -e ${FILESDIR}/binutils-configure-target.patch ]] ; then
+ einfo "Fixing emulations issues in configure target files"
+ ebegin " Updating ld/configure.tgt"
+ patch "ld/configure.tgt" "${FILESDIR}"/binutils-configure-target.patch >& "${T}"/configure-target-patch.log \
+ || eerror "Please file a bug about this"
+ eend $?
+ fi
+
# fix conflicts with newer glibc #272594
if [[ -e libiberty/testsuite/test-demangle.c ]] ; then
sed -i 's:\<getline\>:get_line:g' libiberty/testsuite/test-demangle.c
diff --git a/sys-devel/binutils/files/binutils-configure-target.patch b/sys-devel/binutils/files/binutils-configure-target.patch
new file mode 100644
index 0000000..0cd8778
--- /dev/null
+++ b/sys-devel/binutils/files/binutils-configure-target.patch
@@ -0,0 +1,18 @@
+--- ld/configure.tgt.orig 2016-05-15 07:49:39.661039407 +0000
++++ ld/configure.tgt 2016-05-15 08:15:24.441045822 +0000
+@@ -586,10 +586,13 @@
+ esac
+ case "${targ}" in
+ powerpc*le-*)
+- for z in targ_emul targ_extra_emuls targ_extra_libpath targ64_extra_emuls targ64_extra_libpath
++ for z in targ_extra_emuls targ_extra_libpath targ64_extra_emuls targ64_extra_libpath
+ do
+- eval ${z}=\"`eval echo \\$${z} | sed -e 's/ppc/lppc/g'`\"
++ eval ${z}+=\" `eval echo \\$${z} | sed -e 's/ppc/lppc/g'`\"
+ done
++ eval targ_extra_emuls+=\" \$targ_emul\"
++ eval targ_emul=\"`eval echo \\$targ_emul | sed -e 's/ppc/lppc/g'`\"
++
+ esac ;;
+ powerpc-*-nto*) targ_emul=elf32ppcnto ;;
+ powerpcle-*-nto*) targ_emul=elf32lppcnto ;;
--
2.7.3
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [gentoo-dev][ppc64le][PATCH 11/12] dev-utils/perf: add support for ppc64le #581746
2016-06-28 14:31 [gentoo-dev][ppc64le][PATCH 01/12] sys-devel/libtool: add m4/libtool.m4 patch for ppc64le #581314 Leno Hou
` (8 preceding siblings ...)
2016-06-28 14:31 ` [gentoo-dev][ppc64le][PATCH 10/12] sys-devel/binutils: add ld BE emulations for ppc64le target #580614 Leno Hou
@ 2016-06-28 14:31 ` Leno Hou
2016-06-28 14:31 ` [gentoo-dev][ppc64le][PATCH 12/12] net-misc/gsutils: fix dev-python/oauth2client-2 dependency Leno Hou
2016-06-28 14:41 ` [gentoo-dev][ppc64le][PATCH 01/12] sys-devel/libtool: add m4/libtool.m4 patch for ppc64le #581314 Anthony G. Basile
11 siblings, 0 replies; 13+ messages in thread
From: Leno Hou @ 2016-06-28 14:31 UTC (permalink / raw
To: gentoo-dev, blueness, vapier; +Cc: Leno Hou
Signed-off-by: Leno Hou <lenohou@gmail.com>
---
dev-util/perf/perf-4.4.4.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-util/perf/perf-4.4.4.ebuild b/dev-util/perf/perf-4.4.4.ebuild
index 18dd89e..b4fe31e 100644
--- a/dev-util/perf/perf-4.4.4.ebuild
+++ b/dev-util/perf/perf-4.4.4.ebuild
@@ -76,7 +76,7 @@ pkg_setup() {
src_unpack() {
local paths=(
tools/arch tools/build tools/include tools/lib tools/perf tools/scripts
- include lib "arch/*/lib"
+ include lib "arch/*/include" "arch/*/lib"
)
# We expect the tar implementation to support the -j option (both
--
2.7.3
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [gentoo-dev][ppc64le][PATCH 12/12] net-misc/gsutils: fix dev-python/oauth2client-2 dependency
2016-06-28 14:31 [gentoo-dev][ppc64le][PATCH 01/12] sys-devel/libtool: add m4/libtool.m4 patch for ppc64le #581314 Leno Hou
` (9 preceding siblings ...)
2016-06-28 14:31 ` [gentoo-dev][ppc64le][PATCH 11/12] dev-utils/perf: add support for ppc64le #581746 Leno Hou
@ 2016-06-28 14:31 ` Leno Hou
2016-06-28 14:41 ` [gentoo-dev][ppc64le][PATCH 01/12] sys-devel/libtool: add m4/libtool.m4 patch for ppc64le #581314 Anthony G. Basile
11 siblings, 0 replies; 13+ messages in thread
From: Leno Hou @ 2016-06-28 14:31 UTC (permalink / raw
To: gentoo-dev, blueness, vapier; +Cc: Leno Hou
---
net-misc/gsutil/gsutil-4.19.ebuild | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/net-misc/gsutil/gsutil-4.19.ebuild b/net-misc/gsutil/gsutil-4.19.ebuild
index ea1c3e1..7904721 100644
--- a/net-misc/gsutil/gsutil-4.19.ebuild
+++ b/net-misc/gsutil/gsutil-4.19.ebuild
@@ -26,8 +26,7 @@ RDEPEND="${PYTHON_DEPS}
>=dev-python/pyopenssl-0.13[${PYTHON_USEDEP}]
>=dev-python/gcs-oauth2-boto-plugin-1.12[${PYTHON_USEDEP}]
>=dev-python/google-apitools-0.5.2[${PYTHON_USEDEP}]
- >=dev-python/oauth2client-1.5.2[${PYTHON_USEDEP}]
- <dev-python/oauth2client-2
+ dev-python/oauth2client[${PYTHON_USEDEP}]
>=dev-python/python-gflags-2.0[${PYTHON_USEDEP}]
>=dev-python/retry-decorator-1.0.0[${PYTHON_USEDEP}]
>=dev-python/six-1.9.0[${PYTHON_USEDEP}]
--
2.7.3
^ permalink raw reply related [flat|nested] 13+ messages in thread
* Re: [gentoo-dev][ppc64le][PATCH 01/12] sys-devel/libtool: add m4/libtool.m4 patch for ppc64le #581314
2016-06-28 14:31 [gentoo-dev][ppc64le][PATCH 01/12] sys-devel/libtool: add m4/libtool.m4 patch for ppc64le #581314 Leno Hou
` (10 preceding siblings ...)
2016-06-28 14:31 ` [gentoo-dev][ppc64le][PATCH 12/12] net-misc/gsutils: fix dev-python/oauth2client-2 dependency Leno Hou
@ 2016-06-28 14:41 ` Anthony G. Basile
11 siblings, 0 replies; 13+ messages in thread
From: Anthony G. Basile @ 2016-06-28 14:41 UTC (permalink / raw
To: gentoo-dev
On 6/28/16 10:31 AM, Leno Hou wrote:
> Reference Bug:
> Gentoo Bug: https://bugs.gentoo.org/show_bug.cgi?id=581314
> GNU Bug: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=23348
>
Leno,
Thanks. Just so other devs know, I'm helping Leno port gentoo to
ppc64le. We need these 12 patches to get build systems to recognize
CHOST=powerpc64le-unknown-linux-gnu plus fix up some other pkgs. I'm
going to set up an overlay to house these fixes until they land in the
tree, but if you can review them it'll save the effort of the
intermediate overlay.
--
Anthony G. Basile, Ph.D.
Gentoo Linux Developer [Hardened]
E-Mail : blueness@gentoo.org
GnuPG FP : 1FED FAD9 D82C 52A5 3BAB DC79 9384 FA6E F52D 4BBA
GnuPG ID : F52D4BBA
^ permalink raw reply [flat|nested] 13+ messages in thread
end of thread, other threads:[~2016-06-28 14:42 UTC | newest]
Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-28 14:31 [gentoo-dev][ppc64le][PATCH 01/12] sys-devel/libtool: add m4/libtool.m4 patch for ppc64le #581314 Leno Hou
2016-06-28 14:31 ` [gentoo-dev][ppc64le][PATCH 02/12] libtool.eclass: elibtoolize: add ppc64le handling #580792 Leno Hou
2016-06-28 14:31 ` [gentoo-dev][ppc64le][PATCH 03/12] ELT-patches/ppc64le: add libtool-2.4.4 patch for ppc64le #580792 Leno Hou
2016-06-28 14:31 ` [gentoo-dev][ppc64le][PATCH 04/12] ELT-patches/ppc64le: add libtool-2.4.6 " Leno Hou
2016-06-28 14:31 ` [gentoo-dev][ppc64le][PATCH 05/12] dev-libs/libmnl: run elibtoolize #580792 Leno Hou
2016-06-28 14:31 ` [gentoo-dev][ppc64le][PATCH 06/12] sys-process/procps: " Leno Hou
2016-06-28 14:31 ` [gentoo-dev][ppc64le][PATCH 07/12] app-text/opensp: autoreconf to build opensp for ppc64le #580792 Leno Hou
2016-06-28 14:31 ` [gentoo-dev][ppc64le][PATCH 08/12] sys-block/partimage: run elibtoolize #580792 Leno Hou
2016-06-28 14:31 ` [gentoo-dev][ppc64le][PATCH 09/12] dev-libs/libverto: add elibtoolize w/ libverto to build for ppc64le Leno Hou
2016-06-28 14:31 ` [gentoo-dev][ppc64le][PATCH 10/12] sys-devel/binutils: add ld BE emulations for ppc64le target #580614 Leno Hou
2016-06-28 14:31 ` [gentoo-dev][ppc64le][PATCH 11/12] dev-utils/perf: add support for ppc64le #581746 Leno Hou
2016-06-28 14:31 ` [gentoo-dev][ppc64le][PATCH 12/12] net-misc/gsutils: fix dev-python/oauth2client-2 dependency Leno Hou
2016-06-28 14:41 ` [gentoo-dev][ppc64le][PATCH 01/12] sys-devel/libtool: add m4/libtool.m4 patch for ppc64le #581314 Anthony G. Basile
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox