From owner-freebsd-ports@FreeBSD.ORG Tue Jan 29 14:36:52 2008 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 52FE816A41B for ; Tue, 29 Jan 2008 14:36:52 +0000 (UTC) (envelope-from dangkm@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.175]) by mx1.freebsd.org (Postfix) with ESMTP id A4D2B13C45B for ; Tue, 29 Jan 2008 14:36:51 +0000 (UTC) (envelope-from dangkm@gmail.com) Received: by ug-out-1314.google.com with SMTP id y2so246162uge.37 for ; Tue, 29 Jan 2008 06:36:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:user-agent:mime-version:to:subject:references:in-reply-to:content-type:content-transfer-encoding; bh=CBTWTtNZ6kFCnWkongfOkYBs2CNN+pd2/yjkaFzhGPI=; b=eZU/umbyzmnRUeXlVIlz+xEj9s2vBdZloleMgygIC+qOo5AvhMkPakxJ3YL4yXlmpMcnAfT3rfnYh3R/Zl2mI2PEXM6Y2YMvtys3TszoCjC9nWjRK54c1yrxQGxtFlJKjBCmcGu81l174XzV2uB7R5LKPaLrjMtoy7Ibr4tL4B4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references:in-reply-to:content-type:content-transfer-encoding; b=jEdVTQIFJ9J+tEsDroVBqF9K2n0tdUhHTXR5Bb7b0WliQh54+/fJ+TzNsZLcFsaQe4JutMMjcjYca+dEQKKwaPv2ZSCfVxbgdxUKqsZhffLgtk3YNqIFjXOJcCv7lr+kz+tP048fF7LvjpU6N7EsNdQA372ZxW3WqZtUrxubO38= Received: by 10.67.27.3 with SMTP id e3mr1465191ugj.22.1201615908940; Tue, 29 Jan 2008 06:11:48 -0800 (PST) Received: from myCompaq.inf.ed.ac.uk ( [129.215.37.31]) by mx.google.com with ESMTPS id l22sm1034458uga.30.2008.01.29.06.11.47 (version=SSLv3 cipher=RC4-MD5); Tue, 29 Jan 2008 06:11:48 -0800 (PST) Message-ID: <479F3426.4030103@gmail.com> Date: Tue, 29 Jan 2008 14:11:50 +0000 From: Kemian Dang User-Agent: Thunderbird 2.0.0.9 (X11/20080128) MIME-Version: 1.0 To: freebsd-ports@freebsd.org, dougb@freebsd.org References: <20080129061621.GA40834@oberon.njm.f2s.com> In-Reply-To: <20080129061621.GA40834@oberon.njm.f2s.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Cc: Subject: Re: portmaster: upgrade failed for security/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: Tue, 29 Jan 2008 14:36:52 -0000 Why not just su to root and do the upgrade? N.J. Mann 写道: > Good morning, > > > I am using portmaster v2.0 and very good it is to, except... > > This morning among the ports that needed updating following my > over-night CVSup was security/sudo (1.6.9.6 -> 1.6.9.12). I am using > portmaster's new feature SU_CMD. I am also using the new HIDE_BUILD > feature which I really like! All went well until the install phase, > when portmaster could no longer find sudo. It looks like portmaster got > into a chicken and egg situation: it needed to uninstall sudo in order > to complete the upgrade, but it needed to run sudo to perform the actual > install. Oh, dear. > > The solution to my failed upgrade was to cd into security/sudo and do a > make install which installed the new sudo fine. I was then able to > re-run portmaster to upgrade the other ports which were out of date. > > More details: > > Tail of portmaster output during upgrade attempt: > > ===>>> Installation of sudo-1.6.9.12 (security/sudo) failed > ===>>> Aborting update > > ===>>> Update for sudo-1.6.9.6 failed > ===>>> Aborting update > > Tail of sudo upgrade log: > > cc -shared .libs/sudo_noexec.o -Wl,-soname -Wl,sudo_noexec.so -o .libs/sudo_noexec.so > creating sudo_noexec.la > (cd .libs && rm -f sudo_noexec.la && ln -s ../sudo_noexec.la sudo_noexec.la) > eval: /usr/local/bin/sudo: not found > > > Cheers, > Nick. >