Heimdal file appl/ftp/ftpd/ftpcmd.y defines CONF to ba an interger value. So when ossl_typ.h is indirectly included, the following statment: typedef struct conf_st CONF; results in an ebuild error: Making all in ftpd make[3]: Entering directory `/var/tmp/portage/heimdal-0.7.2-r3/work/heimdal-0.7.2/appl/ftp/ftpd' bison -y ftpcmd.y i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../../include -I../../../include -I../../../lib/roken -I../../../lib/roken -I./../com mon -I/usr/athena/include -I/usr/include -DFTP_SERVER -I/usr/include/et -D_FILE_OFFSET_BITS=64 -Wall -Wmissing-prototypes -Wpointer-arith -Wbad-function-cast -Wmissing-declarations -Wnested-externs -O2 -march=athlon-xp -pipe -c kauth.c if test -f y.tab.h; then \ to=`echo "ftpcmd_H" | sed \ -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/' \ -e 's/[^ABCDEFGHIJKLMNOPQRSTUVWXYZ]/_/g'`; \ sed "/^#/ s/Y_TAB_H/$to/g" y.tab.h >ftpcmd.ht; \ rm -f y.tab.h; \ if cmp -s ftpcmd.ht ftpcmd.h; then \ rm -f ftpcmd.ht ;\ else \ mv ftpcmd.ht ftpcmd.h; \ fi; \ fi if test -f y.output; then \ mv y.output ftpcmd.output; \ fi sed '/^#/ s|y\.tab\.c|ftpcmd.c|' y.tab.c >ftpcmd.ct && mv ftpcmd.ct ftpcmd.c rm -f y.tab.c i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../../include -I../../../include -I../../../lib/roken -I../../../lib/roken -I./../com mon -I/usr/athena/include -I/usr/include -DFTP_SERVER -I/usr/include/et -D_FILE_OFFSET_BITS=64 -Wall -Wmissing-prototypes -Wpointer-arith -Wbad-function-cast -Wmissing-declarations -Wnested-externs -O2 -march=athlon-xp -pipe -c gss_userok.c i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../../include -I../../../include -I../../../lib/roken -I../../../lib/roken -I./../com mon -I/usr/athena/include -I/usr/include -DFTP_SERVER -I/usr/include/et -D_FILE_OFFSET_BITS=64 -Wall -Wmissing-prototypes -Wpointer-arith -Wbad-function-cast -Wmissing-declarations -Wnested-externs -O2 -march=athlon-xp -pipe -c ftpcmd.c i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../../include -I../../../include -I../../../lib/roken -I../../../lib/roken -I./../com mon -I/usr/athena/include -I/usr/include -DFTP_SERVER -I/usr/include/et -D_FILE_OFFSET_BITS=64 -Wall -Wmissing-prototypes -Wpointer-arith -Wbad-function-cast -Wmissing-declarations -Wnested-externs -O2 -march=athlon-xp -pipe -c ftpd.c In file included from /usr/include/openssl/crypto.h:131, from /usr/include/openssl/ui.h:63, from /usr/include/openssl/ui_compat.h:63, from /usr/include/openssl/des_old.h:443, from /usr/include/openssl/des.h:101, from /usr/athena/include/krb.h:54, from ftpd_locl.h:149, from ftpcmd.y:45: /usr/include/openssl/ossl_typ.h:144: error: expected identifier or '(' before numeric constant make[3]: *** [ftpcmd.o] Error 1 make[3]: *** Waiting for unfinished jobs.... make[3]: Leaving directory `/var/tmp/portage/heimdal-0.7.2-r3/work/heimdal-0.7.2/appl/ftp/ftpd' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/heimdal-0.7.2-r3/work/heimdal-0.7.2/appl/ftp' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/heimdal-0.7.2-r3/work/heimdal-0.7.2/appl' make: *** [all-recursive] Error 1 !!! ERROR: app-crypt/heimdal-0.7.2-r3 failed. Call stack: ebuild.sh, line 1546: Called dyn_compile ebuild.sh, line 937: Called src_compile heimdal-0.7.2-r3.ebuild, line 63: Called die !!! (no error message) !!! If you need support, post the topmost build error, and the call stack if relevant.
Created attachment 98252 [details, diff] Fix to ossl-typ.h incompatability renames the CONF definition to XCONF
Fix seems to work for me.(In reply to comment #1) > Created an attachment (id=98252) [edit] > Fix to ossl-typ.h incompatability > > renames the CONF definition to XCONF Seems to work for me; thanks.
This issue is fixed in heimdal-1.x. I'd really recommend to use the overlay at git://git.overlays.gentoo.org/proj/kerberos.git if you need heimdal. I am on it to stabilize the new heimdal version - see bug #185899. I won't fix 0.7.2 release as it is really outdated ...