From owner-freebsd-ports@FreeBSD.ORG Tue Jan 29 06:45:54 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 9D7B216A419 for ; Tue, 29 Jan 2008 06:45:54 +0000 (UTC) (envelope-from njm@njm.f2s.com) Received: from mk-outboundfilter-3.mail.uk.tiscali.com (mk-outboundfilter-3.mail.uk.tiscali.com [212.74.114.23]) by mx1.freebsd.org (Postfix) with ESMTP id 351A413C46E for ; Tue, 29 Jan 2008 06:45:53 +0000 (UTC) (envelope-from njm@njm.f2s.com) X-Trace: 28751768/mk-outboundfilter-1.mail.uk.tiscali.com/F2S/$ACCEPTED/freedom2Surf-customers/195.137.21.170 X-SBRS: None X-RemoteIP: 195.137.21.170 X-IP-MAIL-FROM: njm@njm.f2s.com X-IP-BHB: Once X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ah4FAHdTnkfDiRWq/2dsb2JhbACBWKpy X-IP-Direction: IN Received: from i-195-137-21-170.freedom2surf.net (HELO oberon.njm.f2s.com) ([195.137.21.170]) by smtp.f2s.tiscali.co.uk with ESMTP/TLS/DHE-RSA-AES256-SHA; 29 Jan 2008 06:16:22 +0000 Received: from oberon.njm.f2s.com (localhost.njm.f2s.com [127.0.0.1]) by oberon.njm.f2s.com (8.14.2/8.14.2) with ESMTP id m0T6GLFs016706; Tue, 29 Jan 2008 06:16:21 GMT (envelope-from njm@oberon.njm.f2s.com) Received: (from njm@localhost) by oberon.njm.f2s.com (8.14.2/8.14.2/Submit) id m0T6GLJs016705; Tue, 29 Jan 2008 06:16:21 GMT (envelope-from njm) Date: Tue, 29 Jan 2008 06:16:21 +0000 From: "N.J. Mann" To: freebsd-ports@freebsd.org Message-ID: <20080129061621.GA40834@oberon.njm.f2s.com> Mail-Followup-To: freebsd-ports@freebsd.org, dougb@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Operating-System: FreeBSD 6.3-PRERELEASE User-Agent: Mutt/1.5.17 (2007-11-01) Cc: dougb@freebsd.org Subject: 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 06:45:54 -0000 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. --