From owner-freebsd-ports@FreeBSD.ORG Mon Apr 11 07:26:45 2011 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9C22D106566B for ; Mon, 11 Apr 2011 07:26:45 +0000 (UTC) (envelope-from corky1951@comcast.net) Received: from qmta10.westchester.pa.mail.comcast.net (qmta10.westchester.pa.mail.comcast.net [76.96.62.17]) by mx1.freebsd.org (Postfix) with ESMTP id 4AD498FC14 for ; Mon, 11 Apr 2011 07:26:44 +0000 (UTC) Received: from omta21.westchester.pa.mail.comcast.net ([76.96.62.72]) by qmta10.westchester.pa.mail.comcast.net with comcast id W7Rh1g0011ZXKqc5A7Sloj; Mon, 11 Apr 2011 07:26:45 +0000 Received: from comcast.net ([98.203.142.76]) by omta21.westchester.pa.mail.comcast.net with comcast id W7Sj1g00H1f6R9u3h7SkT6; Mon, 11 Apr 2011 07:26:45 +0000 Received: by comcast.net (sSMTP sendmail emulation); Mon, 11 Apr 2011 00:26:42 -0700 Date: Mon, 11 Apr 2011 00:26:42 -0700 From: Charlie Kester To: freebsd-ports@freebsd.org Message-ID: <20110411072642.GD54431@comcast.net> Mail-Followup-To: freebsd-ports@freebsd.org References: <4DA299B6.5040303@eskk.nu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <4DA299B6.5040303@eskk.nu> User-Agent: Mutt/1.4.2.3i X-Mailer: Mutt 1.4.2.3i X-Composer: Vim 7.3 Subject: Re: Error when updating sudo X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Apr 2011 07:26:45 -0000 On Sun 10 Apr 2011 at 23:03:34 PDT Leslie Jensen wrote: > >I get the error below when updating/installing sudo > >everything in the file /usr/local/etc/sudoers near line 97 > >is commented out! If the comment just before line 97 is to be believed, the line beginning with "#include" is NOT commented out. I saw the same error and, since my sudoers.d file was empty anyway, I hacked around the problem by adding a second '#' to the beginning of that line, so that it was truly commented out. But as I said, that's a hack and probably not the best solution. > >Thanks > >/Leslie > > > > >-Wl,-soname -Wl,sample_group.so -Wl,-retain-symbols-file >-Wl,./sample_group.sym -o .libs/sample_group.so >libtool: link: ( cd ".libs" && rm -f "sample_group.la" && ln -s >"../sample_group.la" "sample_group.la" ) >===> Installing for sudo-1.8.1 >===> Generating temporary packing list >===> Checking if security/sudo already installed >if test -d ./.hg && cd .; then if hg log --style=changelog -b 1.8 > >ChangeLog.tmp && hg log --style=changelog -b default --date '<2011-02-25 >21:30:00' >> ChangeLog.tmp; then mv -f ChangeLog.tmp ChangeLog; else >rm -f ChangeLog.tmp; fi; fi >for d in compat common plugins/sudoers src include doc; do (cd $d && >exec make pre-install) && continue; exit $?; done >Checking existing sudoers file for syntax errors. >visudo: >>> /usr/local/etc/sudoers: /usr/local/etc/sudoers.d near line >97 <<< >parse error in /usr/local/etc/sudoers near line 97 >*** Error code 1 > >Stop in /usr/ports/security/sudo/work/sudo-1.8.1/plugins/sudoers. >*** Error code 1 > >Stop in /usr/ports/security/sudo/work/sudo-1.8.1. >*** Error code 1 > >Stop in /usr/ports/security/sudo. >*** Error code 1 > >Stop in /usr/ports/security/sudo. > >_______________________________________________ >freebsd-ports@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-ports >To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org"