Your message dated Mon, 5 Sep 2016 16:45:22 -0300
with message-id <[email protected]>
and subject line 
has caused the Debian Bug report #757253,
regarding proftpd-dfsg: Add support in configure to compile in ppc64el
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
757253: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=757253
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: proftpd-dfsg
Version: 1.3.5-1
Severity: normal
Tags: patch
User: [email protected]
Usertags: ppc64el

Dear Maintainer,

Currently proftpd-dfsg fails to build on ppc64el building system because it
fails to detect that ppc64el supports shared library. This is a fault in the
configure and libtool files that are part of this package.
 
This patch simply add the ppc64el snippets into the configure and libtool files.
I copied this patch from Ubuntu, and Ubuntu is using it for a long time.

You may want to fix this problem using autoreconf scripts also.

Thank you,
Breno
Index: b/configure
===================================================================
--- a/configure
+++ b/configure
@@ -5161,7 +5161,10 @@
 	  x86_64-*linux*)
 	    LD="${LD-ld} -m elf_i386"
 	    ;;
-	  ppc64-*linux*|powerpc64-*linux*)
+	  powerpc64le-*)
+	    LD="${LD-ld} -m elf32lppclinux"
+	    ;;
+	  powerpc64-*)
 	    LD="${LD-ld} -m elf32ppclinux"
 	    ;;
 	  s390x-*linux*)
@@ -5180,7 +5183,10 @@
 	  x86_64-*linux*)
 	    LD="${LD-ld} -m elf_x86_64"
 	    ;;
-	  ppc*-*linux*|powerpc*-*linux*)
+	  powerpcle-*)
+	    LD="${LD-ld} -m elf64lppc"
+	    ;;
+	  powerpc-*)
 	    LD="${LD-ld} -m elf64ppc"
 	    ;;
 	  s390*-*linux*|s390*-*tpf*)
Index: b/lib/libltdl/m4/libtool.m4
===================================================================
--- a/lib/libltdl/m4/libtool.m4
+++ b/lib/libltdl/m4/libtool.m4
@@ -1281,7 +1281,10 @@
 	  x86_64-*linux*)
 	    LD="${LD-ld} -m elf_i386"
 	    ;;
-	  ppc64-*linux*|powerpc64-*linux*)
+	  powerpc64le-*)
+	    LD="${LD-ld} -m elf32lppclinux"
+	    ;;
+	  powerpc64-*)
 	    LD="${LD-ld} -m elf32ppclinux"
 	    ;;
 	  s390x-*linux*)
@@ -1300,7 +1303,10 @@
 	  x86_64-*linux*)
 	    LD="${LD-ld} -m elf_x86_64"
 	    ;;
-	  ppc*-*linux*|powerpc*-*linux*)
+	  powerpcle-*)
+	    LD="${LD-ld} -m elf64lppc"
+	    ;;
+	  powerpc-*)
 	    LD="${LD-ld} -m elf64ppc"
 	    ;;
 	  s390*-*linux*|s390*-*tpf*)


--- End Message ---
--- Begin Message ---
proftpd-dfsg builds on Power now. Closing this bug.

Thanks!

--- End Message ---

Reply via email to