Opened 12 years ago

Closed 12 years ago

#37918 closed defect (duplicate)

kerberos5 @1.11 build fails in tcl_kadm5.c

Reported by: mndavidoff (Monte Davidoff) Owned by: neverpanic (Clemens Lang)
Priority: Normal Milestone:
Component: ports Version: 2.1.2
Keywords: Cc: cooljeanius (Eric Gallager)
Port: kerberos5

Description

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.

Attachments (1)

main.log.gz (37.0 KB) - added by mndavidoff (Monte Davidoff) 12 years ago.

Download all attachments as: .zip

Change History (4)

Changed 12 years ago by mndavidoff (Monte Davidoff)

Attachment: main.log.gz added

comment:1 Changed 12 years ago by larryv (Lawrence Velázquez)

Cc: cal@… removed
Owner: changed from macports-tickets@… to cal@…

comment:2 Changed 12 years ago by cooljeanius (Eric Gallager)

Cc: egall@… added

Cc Me!

comment:3 Changed 12 years ago by neverpanic (Clemens Lang)

Resolution: duplicate
Status: newclosed
Note: See TracTickets for help on using tickets.