Opened 11 years ago

Closed 2 years ago

#39346 closed defect (fixed)

kerberos5: build failure (10.4/Intel)

Reported by: onunez@… Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.1.3
Keywords: tiger Cc: neverpanic (Clemens Lang)
Port: kerberos5

Description

Dear list,

I'm trying to install subversion on an Intel-based Mac with OSX 10.4.11 (Xcode 4.5). I get the following error:

$ sudo port -v install  subversion
--->  Computing dependencies for subversion.....
--->  Dependencies to be installed: cyrus-sasl2 kerberos5 file libmagic
--->  Building kerberos5
make: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_kerberos5/kerberos5/work/krb5-krb5-cdddd9c/src'
(cd include && /usr/bin/make autoconf.h osconf.h)
make[1]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_kerberos5/kerberos5/work/krb5-krb5-cdddd9c/src/include'
make[1]: Nothing to be done for `autoconf.h'.
make[1]: `osconf.h' is up to date.
make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_kerberos5/kerberos5/work/krb5-krb5-cdddd9c/src/include'
making all in util...
make[1]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_kerberos5/kerberos5/work/krb5-krb5-cdddd9c/src/util'
making all in util/support...
make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_kerberos5/kerberos5/work/krb5-krb5-cdddd9c/src/util/support'
make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_kerberos5/kerberos5/work/krb5-krb5-cdddd9c/src/util/support'
making all in util/ss...
make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_kerberos5/kerberos5/work/krb5-krb5-cdddd9c/src/util/ss'
make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_kerberos5/kerberos5/work/krb5-krb5-cdddd9c/src/util/ss'
making all in util/profile...
make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_kerberos5/kerberos5/work/krb5-krb5-cdddd9c/src/util/profile'
making all in util/profile/testmod...
make[3]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_kerberos5/kerberos5/work/krb5-krb5-cdddd9c/src/util/profile/testmod'
make[3]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_kerberos5/kerberos5/work/krb5-krb5-cdddd9c/src/util/profile/testmod'
if cmp profile.h \
../../include/profile.h >/dev/null 2>&1; then :; \
else \
        (set -x; rm -f ../../include/profile.h; \
         cp profile.h ../../include/profile.h) ; \
fi
make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_kerberos5/kerberos5/work/krb5-krb5-cdddd9c/src/util/profile'
making all in util/send-pr...
make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_kerberos5/kerberos5/work/krb5-krb5-cdddd9c/src/util/send-pr'
make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_kerberos5/kerberos5/work/krb5-krb5-cdddd9c/src/util/send-pr'
making all in util/gss-kernel-lib...
make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_kerberos5/kerberos5/work/krb5-krb5-cdddd9c/src/util/gss-kernel-lib'
make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_kerberos5/kerberos5/work/krb5-krb5-cdddd9c/src/util/gss-kernel-lib'
making all in util/verto...
make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_kerberos5/kerberos5/work/krb5-krb5-cdddd9c/src/util/verto'
make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_kerberos5/kerberos5/work/krb5-krb5-cdddd9c/src/util/verto'
make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_kerberos5/kerberos5/work/krb5-krb5-cdddd9c/src/util'
making all in include...
make[1]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_kerberos5/kerberos5/work/krb5-krb5-cdddd9c/src/include'
(cd ../lib/krb5/error_tables && /usr/bin/make includes)
make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_kerberos5/kerberos5/work/krb5-krb5-cdddd9c/src/lib/krb5/error_tables'
make[2]: Nothing to be done for `includes'.
make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_kerberos5/kerberos5/work/krb5-krb5-cdddd9c/src/lib/krb5/error_tables'
: ../lib/krb5/error_tables/krb5_err.h
: ../lib/krb5/error_tables/k5e1_err.h
: ../lib/krb5/error_tables/kdb5_err.h
: ../lib/krb5/error_tables/kv5m_err.h
: ../lib/krb5/error_tables/krb524_err.h
: ../lib/krb5/error_tables/asn1_err.h
: db.h will be installed by util/db2
make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_kerberos5/kerberos5/work/krb5-krb5-cdddd9c/src/include'
making all in lib...
make[1]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_kerberos5/kerberos5/work/krb5-krb5-cdddd9c/src/lib'
making all in lib/crypto...
make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_kerberos5/kerberos5/work/krb5-krb5-cdddd9c/src/lib/crypto'
making all in lib/crypto/krb...
make[3]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_kerberos5/kerberos5/work/krb5-krb5-cdddd9c/src/lib/crypto/krb'
/usr/bin/gcc-4.0  -DSHARED   -I../../../include -I../../../include -I. -I./../openssl -DKRB5_DEPRECATED=1 -DKRB5_PRIVATE -I/opt/local/include -O2 -arch i386 -fno-common -Wall -Wcast-align -Wshadow -Wmissing-prototypes -Wno-format-zero-length -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 -Wdeclaration-after-statement -Wvariadic-macros -Werror-implicit-function-declaration  -c prng_fortuna.c -o prng_fortuna.so.o && mv -f prng_fortuna.so.o prng_fortuna.so
prng_fortuna.c:112: error: parse error before ‘SHA256_CTX’
prng_fortuna.c:112: warning: no semicolon at end of struct or union
prng_fortuna.c:117: error: parse error before ‘}’ token
prng_fortuna.c:126: error: parse error before ‘*’ token
prng_fortuna.c: In function ‘shad256_init’:
prng_fortuna.c:132: error: implicit declaration of function ‘SHA256_Init’
prng_fortuna.c:132: error: ‘ctx’ undeclared (first use in this function)
prng_fortuna.c:132: error: (Each undeclared identifier is reported only once
prng_fortuna.c:132: error: for each function it appears in.)
prng_fortuna.c:133: error: implicit declaration of function ‘SHA256_Update’
prng_fortuna.c: At top level:
prng_fortuna.c:137: error: parse error before ‘*’ token
prng_fortuna.c: In function ‘shad256_update’:
prng_fortuna.c:140: error: ‘ctx’ undeclared (first use in this function)
prng_fortuna.c:140: error: ‘data’ undeclared (first use in this function)
prng_fortuna.c:140: error: ‘len’ undeclared (first use in this function)
prng_fortuna.c: At top level:
prng_fortuna.c:144: error: parse error before ‘*’ token
prng_fortuna.c: In function ‘shad256_result’:
prng_fortuna.c:147: error: implicit declaration of function ‘SHA256_Final’
prng_fortuna.c:147: error: ‘dst’ undeclared (first use in this function)
prng_fortuna.c:147: error: ‘ctx’ undeclared (first use in this function)
prng_fortuna.c: In function ‘init_state’:
prng_fortuna.c:159: error: dereferencing pointer to incomplete type
prng_fortuna.c:161: error: dereferencing pointer to incomplete type
prng_fortuna.c: In function ‘inc_counter’:
prng_fortuna.c:170: error: dereferencing pointer to incomplete type
prng_fortuna.c:171: error: dereferencing pointer to incomplete type
prng_fortuna.c:173: error: dereferencing pointer to incomplete type
prng_fortuna.c:174: error: dereferencing pointer to incomplete type
prng_fortuna.c: In function ‘encrypt_counter’:
prng_fortuna.c:182: error: dereferencing pointer to incomplete type
prng_fortuna.c:182: error: dereferencing pointer to incomplete type
prng_fortuna.c: In function ‘generator_reseed’:
prng_fortuna.c:191: error: ‘SHA256_CTX’ undeclared (first use in this function)
prng_fortuna.c:191: error: parse error before ‘ctx’
prng_fortuna.c:195: error: ‘ctx’ undeclared (first use in this function)
prng_fortuna.c:196: error: dereferencing pointer to incomplete type
prng_fortuna.c:198: error: dereferencing pointer to incomplete type
prng_fortuna.c:200: error: dereferencing pointer to incomplete type
prng_fortuna.c:200: error: dereferencing pointer to incomplete type
prng_fortuna.c: In function ‘change_key’:
prng_fortuna.c:210: error: dereferencing pointer to incomplete type
prng_fortuna.c:211: error: dereferencing pointer to incomplete type
prng_fortuna.c:212: error: dereferencing pointer to incomplete type
prng_fortuna.c:212: error: dereferencing pointer to incomplete type
prng_fortuna.c: In function ‘accumulator_reseed’:
prng_fortuna.c:248: error: ‘SHA256_CTX’ undeclared (first use in this function)
prng_fortuna.c:248: error: parse error before ‘ctx’
prng_fortuna.c:251: error: dereferencing pointer to incomplete type
prng_fortuna.c:258: error: ‘ctx’ undeclared (first use in this function)
prng_fortuna.c:264: error: dereferencing pointer to incomplete type
prng_fortuna.c:265: error: dereferencing pointer to incomplete type
prng_fortuna.c:274: error: dereferencing pointer to incomplete type
prng_fortuna.c: In function ‘accumulator_add_event’:
prng_fortuna.c:283: error: ‘SHA256_CTX’ undeclared (first use in this function)
prng_fortuna.c:283: error: ‘pool’ undeclared (first use in this function)
prng_fortuna.c:286: error: dereferencing pointer to incomplete type
prng_fortuna.c:286: error: dereferencing pointer to incomplete type
prng_fortuna.c:287: error: dereferencing pointer to incomplete type
prng_fortuna.c:290: error: dereferencing pointer to incomplete type
prng_fortuna.c:290: error: dereferencing pointer to incomplete type
prng_fortuna.c:291: error: dereferencing pointer to incomplete type
prng_fortuna.c:291: error: dereferencing pointer to incomplete type
prng_fortuna.c: In function ‘enough_time_passed’:
prng_fortuna.c:312: error: dereferencing pointer to incomplete type
prng_fortuna.c: In function ‘accumulator_output’:
prng_fortuna.c:338: error: dereferencing pointer to incomplete type
prng_fortuna.c: In function ‘k5_prng_cleanup’:
prng_fortuna.c:381: error: invalid application of ‘sizeof’ to incomplete type ‘struct fortuna_state’ 
make[3]: *** [prng_fortuna.so] Error 1
make[3]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_kerberos5/kerberos5/work/krb5-krb5-cdddd9c/src/lib/crypto/krb'
make[2]: *** [all-recurse] Error 1
make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_kerberos5/kerberos5/work/krb5-krb5-cdddd9c/src/lib/crypto'
make[1]: *** [all-recurse] Error 1
make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_kerberos5/kerberos5/work/krb5-krb5-cdddd9c/src/lib'
make: *** [all-recurse] Error 1
make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_kerberos5/kerberos5/work/krb5-krb5-cdddd9c/src'
Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_kerberos5/kerberos5/work/krb5-krb5-cdddd9c/src" && /usr/bin/make -w all 
Exit code: 2
Error: org.macports.build for port kerberos5 returned: command execution failed
Warning: targets not executed for kerberos5: org.macports.activate org.macports.build org.macports.destroot org.macports.install
Error: Failed to install kerberos5
Please see the log file for port kerberos5 for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_kerberos5/kerberos5/main.log
Error: The following dependencies were not installed: cyrus-sasl2 kerberos5 file libmagic
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port subversion failed

Best regards. Olivier

--

Olivier G. Nuñez Email: onunez@… http://matematicas.unex.es/~onunez Tel : +34 663 03 69 09 Departamento de Matemáticas Universidad de Extremadura

Change History (6)

comment:1 Changed 11 years ago by danielluke (Daniel J. Luke)

Port: kerberos5 added
Summary: subversion - build failurekerberos build failure (10.4/Intel)

comment:2 Changed 11 years ago by danielluke (Daniel J. Luke)

This is actually a build failure for kerberos5 (which is pulled in by cyrus-sasl2). You can work around this if you don't need kerberos support by installing cyrus-sasl2 without the kerberos variant.

Keep in mind that 10.4 is pretty old, and 10.4/Intel is pretty rare, so your best bet at getting it working in MacPorts is to figure it out, fix it, and supply a patch.

comment:3 Changed 11 years ago by larryv (Lawrence Velázquez)

Cc: cal@… added
Keywords: tiger added; osx 10.4.11 removed
Summary: kerberos build failure (10.4/Intel)kerberos5: build failure (10.4/Intel)

comment:4 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Please clean and try again and then attach the main.log.

comment:5 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Owner: changed from macports-tickets@… to ryandesign@…

comment:6 Changed 2 years ago by kencu (Ken)

Resolution: fixed
Status: newclosed

fixed at some point:

$ port -v installed kerberos5
The following ports are currently installed:
  kerberos5 @1.19.1_0 requested_variants='' platform='darwin 8' archs='i386' date='2021-04-13T23:57:14-0700'
  kerberos5 @1.19.2_0 requested_variants='' platform='darwin 8' archs='i386' date='2021-09-01T01:48:40-0700'
  kerberos5 @1.19.2_1 requested_variants='' platform='darwin 8' archs='i386' date='2021-12-18T18:33:31-0800'
  kerberos5 @1.19.3_0 requested_variants='' platform='darwin 8' archs='i386' date='2022-04-19T03:19:48-0700'
  kerberos5 @1.20.1_0 (active) requested_variants='' platform='darwin 8' archs='i386' date='2022-12-10T14:19:20-0800'
Note: See TracTickets for help on using tickets.