When I want to update to kth-krb-1.2.2-r1 it fails with the output: krb-protos.h:590: warning: `struct des_ks_struct' declared inside parameter list echo timestamp > dest_tkt.lo /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../ include -I../../lib/roken -I../../lib/roken -DROKEN_RENAME -I/usr/inclu de -Wall -Wmissing-prototypes -Wpointer-arith -Wbad-function-cast -Wmissing-d eclarations -Wnested-externs -march=pentium4 -O3 -pipe -fomit-frame-pointer -c - o encrypt_ktext.lo `test -f 'encrypt_ktext.c' || echo './'`encrypt_ktext.c gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -I../../lib/roken -I ../../lib/roken -DROKEN_RENAME -I/usr/include -Wall -Wmissing-prototypes -Wpoint er-arith -Wbad-function-cast -Wmissing-declarations -Wnested-externs -march=pent ium4 -O3 -pipe -fomit-frame-pointer -c encrypt_ktext.c -o encrypt_ktext.o In file included from krb.h:355, from krb_locl.h:126, from encrypt_ktext.c:34: krb-protos.h:175: warning: `struct des_ks_struct' declared inside parameter list krb-protos.h:175: warning: its scope is only this definition or declaration, whi ch is probably not what you want krb-protos.h:456: warning: `struct des_ks_struct' declared inside parameter list krb-protos.h:540: warning: `struct des_ks_struct' declared inside parameter list krb-protos.h:576: warning: `struct des_ks_struct' declared inside parameter list krb-protos.h:590: warning: `struct des_ks_struct' declared inside parameter list encrypt_ktext.c: In function `encrypt_ktext': encrypt_ktext.c:45: error: incompatible types in initialization encrypt_ktext.c:45: error: incompatible types in initialization encrypt_ktext.c:45: error: incompatible types in initialization encrypt_ktext.c:45: error: incompatible type for argument 1 of `memset' make[2]: *** [encrypt_ktext.lo] Error 1 make[2]: Leaving directory `/var/tmp/portage/kth-krb-1.2.2-r1/work/krb4-1.2.2/li b/krb' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/kth-krb-1.2.2-r1/work/krb4-1.2.2/li b' make: *** [all-recursive] Error 1 !!! ERROR: app-crypt/kth-krb-1.2.2-r1 failed. !!! Function src_compile, Line 35, Exitcode 2 !!! (no error message) Reproducible: Always Steps to Reproduce: 1. 2. 3. inspiron heimdall # emerge info Portage 2.0.49-r9 (default-x86-1.4, gcc-3.3.1, glibc-2.3.2-r1, 2.4.20-gentoo-r7) ================================================================= System uname: 2.4.20-gentoo-r7 i686 Intel(R) Pentium(R) 4 Mobile CPU 1.40GHz Gentoo Base System version 1.4.3.10p1 ccache version 2.3 [enabled] ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/ onfig /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/texmf/tex/generc/ config/ /usr/share/texmf/tex/platex/config/ /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs sandbox ccache" GENTOO_MIRRORS="ftp://gentoo.inode.at/source/ ftp://ftp.easynet.nl/mirror/gentoo/ http://gentoo.inode.at/ http://ftp.easynet.nl/mirror/gentoo/ ftp://gentoo.linux.n/pub/gentoo/ http://gentoo.linux.no/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.de.gentoo.org/gentoo-portage" USE="x86 oss apm avi crypt cups encode gif jpeg mad mikmod mmx mpeg ncurses nls pflib png quicktime spell truetype xml2 xmms xv zlib alsa gdbm berkdb slang readlie arts tetex aalib svga tcltk java guile ruby mysql X sdl gpm tcpd pam libwww sslperl python esd imlib oggvorbis gtk qt kde motif opengl ldap cdr apache2 dvd emac emacs-w3 flash gtk2 icc icc-pgo imagemagick imap innodb jack jikes kerberos krb4lcd maildir mbox music offensive pcmcia pnp samba sasl slp socks5 sox src sse tif transcode usb videos wmf wxwindows xosd xvid -foomaticdb -gnome -libg++ linguas_de"
You'll want to see this thread: https://lists.openafs.org/pipermail/openafs-info/2003-October/010904.html https://lists.openafs.org/pipermail/openafs-info/2003-October/010910.html BTW: I'm not getting any notification from forums and bugs since a week or so. Why?
Ok, that thread caused me to try to run configure with "--without-openssl", and that fixes the problem (as far as I can tell). I don't known why, though.
Conflicting headers/versions?
Maybe. I haven't had the time to really dig into the problem.
Created attachment 21067 [details, diff] Patch to fix compile problems with openssl Defining OPENSSL_DES_LIBDES_COMPATIBILITY before including openssl/des.h (in several files, unfortunately) fixes some build problems with new versions of OpenSSL. See the following thread for details: https://lists.openafs.org/pipermail/openafs-info/2003-October/010899.html #ifndef OPENSSL_DES_LIBDES_COMPATIBILITY #define OPENSSL_DES_LIBDES_COMPATIBILITY 1 #endif #include <openssl/des.h> The following def in lib/krb.h.in fixes more build problems with OpenSSL. See the following threads for details: https://lists.openafs.org/pipermail/openafs-info/2003-October/010904.html https://lists.openafs.org/pipermail/openafs-info/2003-October/010910.html #define des_ks_struct _ossl_old_des_ks_struct This causes a few warnings to appear while compiling: warning: passing arg 1 of `_ossl_old_des_pcbc_encrypt' from incompatible pointer type I don't know whether this will lead to problems or not. Simple DES encryption/decryption works fine, but obviously more testing is in order.
Note that this seems to effect anyone trying to run kth-krb using ~arch keywords.
Any news from the developers? No change on sparc64.
Committed the SSL patch. Appears to work for me here on a couple machines.