[krbdev.mit.edu #8854] mit-krb5 fails to build on X32 host.

Kai Osen via RT rt-comment at KRBDEV-PROD-APP-1.mit.edu
Fri Nov 29 18:41:15 EST 2019


Fri Nov 29 18:41:14 2019: Request 8854 was acted upon.
 Transaction: Ticket created by kai.osen at gmail.com
       Queue: krb5
     Subject: mit-krb5 fails to build on X32 host.
       Owner: Nobody
  Requestors: kai.osen at gmail.com
      Status: new
 Ticket <URL: https://krbdev.mit.edu/rt/Ticket/Display.html?id=8854 >


Hi, I have an old Atom cpu based PC with 2GB of ram that I'm trying to
install Gentoo X32 variant on. It stopped on mit-krb5 library and I made
the attached patch to fix it (at least compile it).


*Some info from this PC:*
CFLAGS="-O2 -pipe -march=bonnell -mmmx -msse -msse2 -msse3 -mssse3 -mcx16
-msahf -mmovbe -mfxsr --param l1-cache-size=24 --param
l1-cache-line-size=64 --param l2-cache-size=512 -mtune=bonnell
-fomit-frame-pointer -mfpmath=sse"
CHOST="x86_64-pc-linux-gnux32"

*Debug output from start of gentoo emerge that includes the configure
arguments:*

emerge -v mit-krb5

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R    ] app-crypt/mit-krb5-1.17-r1::gentoo  USE="keyutils nls
pkinit threads -doc -libressl -lmdb -openldap (-selinux) -test* -xinetd"
ABI_X86="(x32) -32 -64" CPU_FLAGS_X86="-aes" 0 KiB

Total: 1 package (1 reinstall), Size of downloads: 0 KiB


>>> Verifying ebuild manifests

>>> Emerging (1 of 1) app-crypt/mit-krb5-1.17-r1::gentoo
 * krb5-1.17.tar.gz BLAKE2B SHA512 size ;-) ...
     [ ok ]
>>> Unpacking source...
>>> Unpacking krb5-1.17.tar.gz to
/var/tmp/portage/app-crypt/mit-krb5-1.17-r1/work
>>> Source unpacked in /var/tmp/portage/app-crypt/mit-krb5-1.17-r1/work
>>> Preparing source in
/var/tmp/portage/app-crypt/mit-krb5-1.17-r1/work/krb5-1.17/src ...
 * Applying mit-krb5-1.12_warn_cflags.patch ...
     [ ok ]
 * Applying mit-krb5-config_LDFLAGS-r1.patch ...
      [ ok ]
 * Applying mit-krb5-1.16.3-libressl-r1.patch ...
     [ ok ]
 * Applying mit-krb5-1.17-fix-x32.patch ...
     [ ok ]
 * User patches applied.
 * Running eautoreconf in
'/var/tmp/portage/app-crypt/mit-krb5-1.17-r1/work/krb5-1.17/src' ...
 * This package has a configure.in file which has long been deprecated.
Please
 * update it to use configure.ac instead as newer versions of autotools
will die
 * when it finds this file.  See https://bugs.gentoo.org/426262 for details.
 * Running autoconf --force ...
     [ ok ]
 * Running autoheader ...
     [ ok ]
 * Running elibtoolize in: krb5-1.17/src/
>>> Source prepared.
>>> Configuring source in
/var/tmp/portage/app-crypt/mit-krb5-1.17-r1/work/krb5-1.17/src ...
 * abi_x86_x32.x32: running multilib-minimal_abi_src_configure
 * econf: updating krb5-1.17/src/config/config.guess with
/usr/share/gnuconfig/config.guess
 * econf: updating krb5-1.17/src/config/config.sub with
/usr/share/gnuconfig/config.sub
/var/tmp/portage/app-crypt/mit-krb5-1.17-r1/work/krb5-1.17/src/configure
--prefix=/usr --build=x86_64-pc-linux-gnux32 --host=x86_64-pc-linux-gnux32
--mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share
--sysconfdir=/etc --localstatedir=/var/lib
--docdir=/usr/share/doc/mit-krb5-1.17-r1
--htmldir=/usr/share/doc/mit-krb5-1.17-r1/html --libdir=/usr/libx32
--without-ldap --without-tcl --enable-nls --enable-pkinit
--enable-thread-support --without-lmdb --without-hesiod --enable-shared
--with-system-et --with-system-ss --enable-dns-for-realm
--enable-kdc-lookaside-cache --with-system-verto --disable-rpath
configure: loading site script /usr/share/config.site

<. rest is cut for brevity .>

--- Kai William Osen

-------------- next part --------------
A non-text attachment was scrubbed...
Name: mit-krb5-1.17-fix-x32.patch
Type: text/x-patch
Size: 1062 bytes
Desc: not available
Url : http://mailman.mit.edu/pipermail/krb5-bugs/attachments/20191129/cc3bbdbc/attachment.bin


More information about the krb5-bugs mailing list