From owner-freebsd-current Tue Mar 18 4:39:47 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E0F6F37B401 for ; Tue, 18 Mar 2003 04:39:45 -0800 (PST) Received: from mail.aviaport.ru (main.aviaport.ru [217.69.199.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2304143F85 for ; Tue, 18 Mar 2003 04:39:45 -0800 (PST) (envelope-from juriy@mail.aviaport.ru) Received: from localhost (localhost.aviaport.ru [127.0.0.1]) by mail.aviaport.ru (Postfix) with ESMTP id 85B171F07; Tue, 18 Mar 2003 15:39:43 +0300 (MSK) Received: by mail.aviaport.ru (Postfix, from userid 1001) id 6FB0C1F05; Tue, 18 Mar 2003 15:39:41 +0300 (MSK) Date: Tue, 18 Mar 2003 15:39:41 +0300 From: Juriy Goloveshkin To: Kris Kennaway Cc: freebsd-current@freebsd.org Subject: Re: ports problem with 5.0-RELEASE -> CURRENT Message-ID: <20030318123941.GB68050@main.aviaport.ru> References: <20030318081704.GA4883@hjugo.aviaport.ru> <20030318091610.GA717@rot13.obsecurity.org> <20030318110955.GA65616@main.aviaport.ru> <20030318120732.GA1979@rot13.obsecurity.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030318120732.GA1979@rot13.obsecurity.org> User-Agent: Mutt/1.4i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, Mar 18, 2003 at 04:07:32AM -0800, Kris Kennaway wrote: Ohhhhh, I've found out occasionally what it was. I thought that /usr/obj is a good place for WRKDIRPREFIX. It looks good, but ... WRONG :) It this case current folder for make target(like that vvv) is not a /usr/ports/bla/bla, but /usr/obj/usr/ports/bla/bla with any other WRKDIRPREFIX It is /usr/ports/bla/bla. > > > > What can be wrong??? > > > Perhaps you didn't upgrade your ports collection completely. A common > > > mistake is to forget to cvsup the ports-base collection. > > no, I've used /usr/share/examples/cvsup/ports-supfile. It has ports-all. > > > > As I see, don't work targets where make is run recursive: > > > > if [ ! -d /var/db/pkg/ru-d1489-1.5 ]; then echo "===> Registering installatio > > n for ru-d1489-1.5"; /bin/mkdir -p /var/db/pkg/ru-d1489-1.5; /usr/sbin/pkg_cre > > ate -v -c /usr/ports/russian/d1489/work/.comment.ru-d1489-1.5 -d /usr/ports/russ > > ian/d1489/pkg-descr -f /usr/ports/russian/d1489/work/.PLIST.mktmp -p /usr/local > > - -P "`make package-depends | /usr/bin/grep -v -E 'this_port_does_not_exist' | > > +sort -u`" > > > > ^^^^^^^^^^^^^^^^^^^^ this make doesn't work. Why? > > How I can trace _this_ call? > > I don't know, sorry. bsd.port.mk bugs can be really hard to debug. -- bye Juriy Goloveshkin To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message