Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 149328 - app-crypt/heimdal-0.7.2-r3 incompatible with openssl/ossl_typ.h
Summary: app-crypt/heimdal-0.7.2-r3 incompatible with openssl/ossl_typ.h
Status: VERIFIED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High critical (vote)
Assignee: Gentoo Kerberos Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-27 11:02 UTC by Jeremy Fowler
Modified: 2008-07-11 08:33 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Fix to ossl-typ.h incompatability (heimdal-0.7.2-openssl-fix.patch,790 bytes, patch)
2006-09-27 11:13 UTC, Jeremy Fowler
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jeremy Fowler 2006-09-27 11:02:39 UTC
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.
Comment 1 Jeremy Fowler 2006-09-27 11:13:15 UTC
Created attachment 98252 [details, diff]
Fix to ossl-typ.h incompatability

renames the CONF definition to XCONF
Comment 2 Ole Craig 2006-09-27 23:00:16 UTC
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.
Comment 3 Michael Hammer (RETIRED) gentoo-dev 2008-07-11 08:33:19 UTC
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 ...