From owner-freebsd-stable@FreeBSD.ORG Tue Oct 30 23:11:23 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9115D9B9; Tue, 30 Oct 2012 23:11:23 +0000 (UTC) (envelope-from andrnils@gmail.com) Received: from mail-qc0-f182.google.com (mail-qc0-f182.google.com [209.85.216.182]) by mx1.freebsd.org (Postfix) with ESMTP id 2C87A8FC0A; Tue, 30 Oct 2012 23:11:22 +0000 (UTC) Received: by mail-qc0-f182.google.com with SMTP id k19so726298qcs.13 for ; Tue, 30 Oct 2012 16:11:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=U0c7II7FWy4NDnaQoG2rizV8Os7dcl4f7Sbg7A4jFBo=; b=WHCYFt5oVfCyVkOOJRsjmQaENw7fSFTOq6CJ5y2+5TNOjZbf82VUMyyhFSm0zSho/E dqLlOK7QtEpgVcwi+RQ6JYfrgGWxa1j2lxzjsql8fz5CCCT95Mr3/Eh+umYD9djYZkVX JDr7ytjZhP5V0Ee94prleUo6Xm206Qy7FyZ+dqNfRP18uf6w3ZSBE3LQwTB9/yJkhF60 JFqlWfaK8pVKT/qLwoSSOFcArhQ/0RYnW8ioXHYEBrkOJly6TkX8/LxRjQGpy87vuZTS Xvm7VcCHqMCK8HwrXqyCxpyg3vE6sFGEOYmL43XQN+ykjwtR+R67zc3Ovld5ovi/hV7W uzSg== MIME-Version: 1.0 Received: by 10.49.87.230 with SMTP id bb6mr27186307qeb.18.1351638682258; Tue, 30 Oct 2012 16:11:22 -0700 (PDT) Received: by 10.229.87.67 with HTTP; Tue, 30 Oct 2012 16:11:22 -0700 (PDT) In-Reply-To: References: <20121030160804.GB1371@glenbarber.us> <20121030170916.GD1371@glenbarber.us> Date: Wed, 31 Oct 2012 00:11:22 +0100 Message-ID: Subject: Re: make release fails on find From: Andreas Nilsson To: Glen Barber Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: FreeBSD Stable Mailing List X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Oct 2012 23:11:23 -0000 On Tue, Oct 30, 2012 at 11:29 PM, Andreas Nilsson wrote: > > > On Tue, Oct 30, 2012 at 6:09 PM, Glen Barber wrote: > >> On Tue, Oct 30, 2012 at 05:32:20PM +0100, Andreas Nilsson wrote: >> > > Are you defining WITH*_GAMES in src.conf or make.conf? If this looks >> > > like what I think it looks like, I fixed this a few months ago. >> > > >> > >> > Used same command for building both, see below. And yes, WITHOUT_GAMES >> is >> > set in src.conf >> > >> > >> > > > And 9-stable ends up recursing when generating tarballs. The >> sources have >> > > > already been added to a tarball. The tarballs themselfs are also >> > > included. >> > > > >> > > >> > > I have seen many reports on this, and cannot reproduce it. How >> exactly >> > > are you running the release build? What specific make(1) targets are >> > > you using, and what is your make.conf/src.conf contents? >> > > >> > > Glen >> > > >> > > >> > I did the following steps: >> > zfs create tank/cvs/9 >> > zfs create tank/cvs/9/src >> > zfs create tank/cvs/9.1 >> > zfs create tank/cvs/9.1/src >> > cd /tank/cvs/9/src ; sudo svn co >> > http://svn0.us-east.freebsd.org/base/releng/9 . >> > cd /tank/cvs/9.1/src ; sudo svn co >> > http://svn0.us-east.freebsd.org/base/releng/9.1 . >> > cd /tank/cvs/9/src ; sudo make SRCCONF=/relng/files/src.conf buildworld >> > buildkernel -sj16 >> > cd /tank/cvs/9.1/src ; sudo make SRCCONF=/relng/files/src.conf >> buildworld >> > buildkernel -sj16 >> > cd /tank/cvs/9/src ; sudo make SRCCONF=/relng/files/src.conf -C release >> > cdrom >> > cd /tank/cvs/9.1/src ; sudo make SRCCONF=/relng/files/src.conf -C >> release >> > cdrom >> > >> > /relng/files/src.conf contains: >> > $ cat /relng/files/src.conf >> > WITHOUT_X11=true >> > WITHOUT_BLUETOOTH=true >> > WITHOUT_CLANG=true >> > WITHOUT_ATM=true >> > WITHOUT_CTM=true >> > WITHOUT_CDDL=true >> > WITHOUT_DICT=true >> > WITHOUT_HTML=true >> > WITHOUT_IPFILTER=true >> > WITHOUT_IPX=true >> > WITHOUT_IPX_SUPPORT=true >> > WITHOUT_LOCALES=true >> > WITHOUT_LPR=true >> > WITHOUT_NCP=true >> > WITHOUT_NIS=true >> > WITHOUT_OBJC=true >> > WITHOUT_RCMDS=true >> > WITHOUT_RCS=true >> > WITHOUT_SENDMAIL=true >> > WITHOUT_SSP=true >> > WITHOUT_ZFS=true >> > WITHOUT_BIND_DNSSEC=true >> > WITHOUT_GAMES=true >> > WITHOUT_IPX=true >> > WITHOUT_NIS=true >> > WITHOUT_PF=true >> > WITHOUT_SENDMAIL=true >> > WITHOUT_WIRELESS=true >> > >> > make.conf contains: >> > $ cat /etc/make.conf >> > CPUTYPE?=core2 >> > CFLAGS=-pipe -O2 >> > BUILD_JOBS="8" >> > WITHOUT_SENDMAIL=true >> > WITHOUT_X11=true >> > DISTDIR=/tank/distfiles >> > WRKDIRPREFIX?=/tmp/ports >> > PACKAGES?=/tmp/ports/packages >> > # >> > WITH_KMS=yes >> > WITH_NEW_XORG=yes >> > # added by use.perl 2012-10-15 17:24:41 >> > PERL_VERSION=5.14.2 >> > >> >> I don't really see any reason this should not work. However, I have not >> tested with sudo. Maybe that is the piece of the puzzle I am missing... >> >> Glen >> >> > Hmm, > > interesting idea, would be pretty bad if sudo caused that. > > I gave it run without direct sudo call ( ie sudo bash, then make ... ) and > no go. > > Doing just su - and cd'ing to proper dir and the make ... is still not > working. > > Overnight I'll try to build world and kernel without src.conf ( ie > SRCCONF=/dev/null ) and same for make release. I'll posts results in the > morning. > > Best regards > Andreas > Just a quick update; running a new buildworld+buildkernel and then make release from su - does not work :( Regards Andreas