Bug#768029: root-system: Fix FTBFS on ppc64el and powerpc

Frederic Bonnard frediz at linux.vnet.ibm.com
Tue Nov 4 10:31:51 UTC 2014


Package: root-system
Version: 5.34.19+dfsg-1.1
Severity: normal
Tags: patch
User: debian-powerpc at lists.debian.org
Usertags: ppc64el powerpc

Dear Maintainer,
on the latest buildd report https://buildd.debian.org/status/package.php?p=root-system
the build fails on powerpc and ppc64el.
Here is a patch that should fix those.
On powerpc, I fixed this in debian/rules by change the PLATFORM, else it was
using the config/Makefile.linux which is using i386 specific gcc flags such as
-msse leading to failure of compiling krb5 test binary during configure.
With that the package is being build and in 32bits.
On ppc64el, the configure was handling differently linuxppc64 whereas the way
of doing for linuxx8664 is ok : this help configure to find the libs it needs.
During compilation it then failed because g77 was used and not gfortran. Si
I reused the way it was done on x8664 so that if g77 is not there gfortran is
used thus adding a bit at the end of config/Makefile.linuxppc64gcc
Maybe -m64 could be avoided as it was in the initial Makefile.linuxppc64gcc but
for the sake of coherence with x8664 config file, I used the same way of doing.
Hope that helps,

F.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: root-system-ppc.patch
Type: text/x-diff
Size: 2627 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/debian-science-maintainers/attachments/20141104/8c2fe4c6/attachment.patch>


More information about the debian-science-maintainers mailing list