Bug#780745: root-system: FTBFS on mips64el - Explicitly required Kerberos5 dependencies not fulfilled

James Cowgill james410 at cowgill.org.uk
Wed Mar 18 18:00:58 UTC 2015


Source: root-system
Version: 5.34.19+dfsg-1.2
Severity: important
Tags: patch

Hi,

root-system FTBFS on mips64el with the error:
> Checking for krb5.h ... /usr/include
> Checking for krb5.h redirect ... /usr/include/krb5/krb5.h
> Checking for krb5_c_valid_cksumtype in krb5.h ... yes
> Checking for valid_cksumtype in krb5.h ... no
> Checking for libk5crypto ... /usr/lib/mips64el-linux-gnuabi64
> Checking whether we're using MIT Kerberos ... yes
> Checking for krb5_c_valid_cksumtype in /usr/lib/mips64el-linux-gnuabi64/libk5crypto.so ... no
> Checking for valid_cksumtype in /usr/lib/mips64el-linux-gnuabi64/libk5crypto.so ... no
> Either 'krb5_c_valid_cksumtype' or 'valid_cksumtype' are available; disabling krb5
> Explicitly required Kerberos5 dependencies not fulfilled
> make: *** [config.status] Error 1

This is because it tries to compile the test program with -mabi=32 which
fails at the linker stage because you can't mix 32-bit and 64-bit code
(the kerberos libraries were the 64-bit files).

I've added a patch which adds the linuxmips64 architecture (which was
partially there already) which fixes this for me. The 79-mips64el.patch
can be dropped into debian/patches which does this.

I haven't added any mips64 arch detection because it's a bit more
complicated since 'uname -r' doesn't work - you would have to run the C
compiler and test for some defines. This is a bit of a catch 22 since
the 'Makefile.<arch>' files are needed to specify where the compiler is.
The mips64el-drules.patch is a simpler way but will only work in the
Debian package.

Thanks,
James

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 79-mips64el.patch
Type: text/x-patch
Size: 1814 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/debian-science-maintainers/attachments/20150318/2743b146/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mips64el-drules.patch
Type: text/x-patch
Size: 246 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/debian-science-maintainers/attachments/20150318/2743b146/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/debian-science-maintainers/attachments/20150318/2743b146/attachment.sig>


More information about the debian-science-maintainers mailing list