#37918: kerberos5 @1.11 build fails in tcl_kadm5.c -----------------------------+-------------------------------- Reporter: md14-macports@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: | Port: kerberos5 -----------------------------+-------------------------------- The recent upgrade to kerberos5 1.11 fails to build: {{{ $ sudo port -vs install kerberos5 ... make[3]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_kerberos5/kerberos5/work/krb5-krb5-af092d6/src/kadmin/testing/util' /usr/bin/gcc-4.2 -DHAS_STDARG -I../../../include -I../../../include -I../../../lib/kdb/ -DKRB5_DEPRECATED=1 -DKRB5_PRIVATE -I/opt/local/include -pipe -O2 -arch x86_64 -fno-common -Wall -Wcast-align -Wshadow -Wmissing-prototypes -Wno-format-zero-length -Woverflow -Wstrict- overflow -Wmissing-format-attribute -Wmissing-prototypes -Wreturn-type -Wmissing-braces -Wparentheses -Wswitch -Wunused-function -Wunused-label -Wunused-variable -Wunused-value -Wunknown-pragmas -Wsign-compare -Wnewline-eof -Werror=uninitialized -Werror=declaration-after-statement -Werror=variadic-macros -Werror-implicit-function-declaration -c tcl_kadm5.c /usr/bin/gcc-4.2 -DHAS_STDARG -I../../../include -I../../../include -I../../../lib/kdb/ -DKRB5_DEPRECATED=1 -DKRB5_PRIVATE -I/opt/local/include -pipe -O2 -arch x86_64 -fno-common -Wall -Wcast-align -Wshadow -Wmissing-prototypes -Wno-format-zero-length -Woverflow -Wstrict- overflow -Wmissing-format-attribute -Wmissing-prototypes -Wreturn-type -Wmissing-braces -Wparentheses -Wswitch -Wunused-function -Wunused-label -Wunused-variable -Wunused-value -Wunknown-pragmas -Wsign-compare -Wnewline-eof -Werror=uninitialized -Werror=declaration-after-statement -Werror=variadic-macros -Werror-implicit-function-declaration -c test.c tcl_kadm5.c: In function ‘parse_keysalts’: tcl_kadm5.c:804: error: ‘Tcl_Interp’ has no member named ‘result’ tcl_kadm5.c:804: error: ‘Tcl_Interp’ has no member named ‘result’ tcl_kadm5.c:817: error: ‘Tcl_Interp’ has no member named ‘result’ tcl_kadm5.c:817: error: ‘Tcl_Interp’ has no member named ‘result’ tcl_kadm5.c: In function ‘parse_key_data’: tcl_kadm5.c:859: error: ‘Tcl_Interp’ has no member named ‘result’ tcl_kadm5.c:859: error: ‘Tcl_Interp’ has no member named ‘result’ tcl_kadm5.c:871: error: ‘Tcl_Interp’ has no member named ‘result’ tcl_kadm5.c:871: error: ‘Tcl_Interp’ has no member named ‘result’ tcl_kadm5.c:878: error: ‘Tcl_Interp’ has no member named ‘result’ tcl_kadm5.c:878: error: ‘Tcl_Interp’ has no member named ‘result’ tcl_kadm5.c: In function ‘parse_tl_data’: tcl_kadm5.c:899: error: ‘Tcl_Interp’ has no member named ‘result’ tcl_kadm5.c:899: error: ‘Tcl_Interp’ has no member named ‘result’ tcl_kadm5.c:911: error: ‘Tcl_Interp’ has no member named ‘result’ tcl_kadm5.c:911: error: ‘Tcl_Interp’ has no member named ‘result’ tcl_kadm5.c:932: error: ‘Tcl_Interp’ has no member named ‘result’ tcl_kadm5.c:932: error: ‘Tcl_Interp’ has no member named ‘result’ tcl_kadm5.c:952: error: ‘Tcl_Interp’ has no member named ‘result’ tcl_kadm5.c:952: error: ‘Tcl_Interp’ has no member named ‘result’ tcl_kadm5.c:965: error: ‘Tcl_Interp’ has no member named ‘result’ tcl_kadm5.c:965: error: ‘Tcl_Interp’ has no member named ‘result’ tcl_kadm5.c: In function ‘parse_config_params’: tcl_kadm5.c:995: error: ‘Tcl_Interp’ has no member named ‘result’ tcl_kadm5.c:995: error: ‘Tcl_Interp’ has no member named ‘result’ tcl_kadm5.c: In function ‘parse_principal_ent’: tcl_kadm5.c:1132: error: ‘Tcl_Interp’ has no member named ‘result’ tcl_kadm5.c:1132: error: ‘Tcl_Interp’ has no member named ‘result’ tcl_kadm5.c: In function ‘parse_policy_ent’: tcl_kadm5.c:1394: error: ‘Tcl_Interp’ has no member named ‘result’ tcl_kadm5.c:1394: error: ‘Tcl_Interp’ has no member named ‘result’ make[3]: *** [tcl_kadm5.o] Error 1 make[3]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_kerberos5/kerberos5/work/krb5-krb5-af092d6/src/kadmin/testing/util' make[2]: *** [all-recurse] Error 1 }}} The kerberos5 log file contains: {{{ :info:configure checking for tclConfig.sh... /usr/lib/tclConfig.sh :info:configure checking Tcl info in /usr/lib/tclConfig.sh... 8.5 - working :info:configure checking tcl.h usability... yes :info:configure checking tcl.h presence... yes :info:configure checking for tcl.h... yes :info:configure checking tcl/tcl.h usability... yes :info:configure checking tcl/tcl.h presence... yes :info:configure checking for tcl/tcl.h... yes }}} I have the tcl port installed: {{{ $ port installed tcl The following ports are currently installed: tcl @8.6.0_1+corefoundation+threads (active) }}} The kerberos5 port does not depend on the tcl port. It appears the kerberos5 build is picking up the system tcl instead of the MacPorts tcl. I don't know if that is related to this build failure or not. -- Ticket URL: <https://trac.macports.org/ticket/37918> MacPorts <http://www.macports.org/> Ports system for Mac OS