Updating samba fails

Kevin Kinsey kdk at daleco.biz
Wed Nov 21 08:31:34 PST 2007


Kurt Buff wrote:
> 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?
> 
> libsmb/clikrb5.c: In function `smb_krb5_renew_ticket':
> libsmb/clikrb5.c:1161: error: syntax error before "flags"

1.  Resync your ports tree and try again.  This may have
  already been fixed.
2.  Check line 1161 of 
/usr/ports/net/samba3/work/samba-3.0.26a/source/libsmb/clikrb5
 for an obvious syntax error; fix it; cd to /usr/ports/net/samba3
and try "make" again, etc.
3.  Read the "ports@" list to see if anyone else found a
  solution.
4.  Report this to "ports@" if you are the first.
5.  Contact the port maintainer.

HTH,

Kevin Kinsey


> 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


-- 
I thought there was something fishy about the butler.  Probably a Pisces,
working for scale.
		-- Firesign Theatre, The Further Adventures of Nick Danger


More information about the freebsd-questions mailing list