Updating samba fails

Kurt Buff kurt.buff at gmail.com
Wed Nov 21 08:09:20 PST 2007


router# uname -a
FreeBSD router.zetron.com 6.2-STABLE FreeBSD 6.2-STABLE #0: Tue Sep 11
15:38:55 PDT 2007     root at zrouter.zetron.com:/usr/obj/usr/src/sys/SMP
 i386

Received a warning in my daily security report, so I used cvsup to
fetch the latest ports tree this morning, and did a 'portupgrade
-aRr', which errors out as shown below. What might I do to correct
this?

Compiling libsmb/clikrb5.c
libsmb/clikrb5.c: In function `krb5_set_real_time':
libsmb/clikrb5.c:128: error: dereferencing pointer to incomplete type
libsmb/clikrb5.c:129: error: dereferencing pointer to incomplete type
libsmb/clikrb5.c: In function `create_kerberos_key_from_string_direct':
libsmb/clikrb5.c:213: error: syntax error before "salt"
libsmb/clikrb5.c:215: error: `salt' undeclared (first use in this function)
libsmb/clikrb5.c:215: error: (Each undeclared identifier is reported only once
libsmb/clikrb5.c:215: error: for each function it appears in.)
libsmb/clikrb5.c: In function `smb_krb5_renew_ticket':
libsmb/clikrb5.c:1161: error: syntax error before "flags"
libsmb/clikrb5.c:1163: error: `krb5_realm' undeclared (first use in
this function)
libsmb/clikrb5.c:1163: error: `client_realm' undeclared (first use in
this function)
libsmb/clikrb5.c:1198: error: `flags' undeclared (first use in this function)
The following command failed:
cc -I. -I/usr/ports/net/samba3/work/samba-3.0.26a/source  -O2
-fno-strict-aliasing -pipe -D_SAMBA_BUILD_=3 -I/usr/local/include
-I/usr/ports/net/samba3/work/samba-3.0.26a/source/iniparser/src
-Iinclude -I./include  -I. -I. -I./lib/replace -I./lib/talloc
-I./tdb/include -I./libaddns -I./librpc -DHAVE_CONFIG_H
-I/usr/local/include -DLDAP_DEPRECATED
-I/usr/ports/net/samba3/work/samba-3.0.26a/source/lib
-D_SAMBA_BUILD_=3 -fPIC -DPIC -c libsmb/clikrb5.c -o libsmb/clikrb5.o
*** Error code 1

Stop in /usr/ports/net/samba3/work/samba-3.0.26a/source.
*** Error code 1

Stop in /usr/ports/net/samba3.
*** Error code 1

Stop in /usr/ports/net/samba3.
** Command failed [exit code 1]: /usr/bin/script -qa
/tmp/portupgrade.54445.99 env UPGRADE_TOOL=portupgrade
UPGRADE_PORT=samba-3.0.26a_1,1 UPGRADE_PORT_VER=3.0.26a_1,1 make
** Fix the problem and try again.
** Listing the failed packages (*:skipped / !:failed)
        ! net/samba3 (samba-3.0.26a_1,1)        (compiler error)
--->  Packages processed: 0 done, 121 ignored, 0 skipped and 1 failed


More information about the freebsd-questions mailing list