From owner-freebsd-hackers@FreeBSD.ORG Wed Apr 25 14:55:33 2012 Return-Path: Delivered-To: hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 669FC1065670; Wed, 25 Apr 2012 14:55:33 +0000 (UTC) (envelope-from rank1seeker@gmail.com) Received: from mail-bk0-f54.google.com (mail-bk0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 8DA5E8FC15; Wed, 25 Apr 2012 14:55:32 +0000 (UTC) Received: by bkcjc3 with SMTP id jc3so213457bkc.13 for ; Wed, 25 Apr 2012 07:55:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:from:to:subject:date:content-type :content-transfer-encoding:in-reply-to:references:x-mailer; bh=GR/HIs5w1NBWvG0pSaQRfqZq0do1IeMYmv23lcUhPKc=; b=B2Na8m7UvAUHC5y1TJWmeAeCr2rQaBo3wcRwxW6QMU6xa0QWgGbLYGKGq46O1+er7Y 4HfCmWyWmXZetLJRZ0v3cI62opacg1WEfPQhCPuZtHoAKOI2GeQMrawLUn9+f188D0lr iM8evQZXL4iXpY8IX5sXyAW+xuhOIZbFdrYCl/f9z8/mheb7Q5h0gyp1lfsHHV0MXEaU 43wt/1aRU/EoFMBGLtQMwOjrD9g7qJ+S3cU6yZgk+9xt30HLCIvxKU5HvkbpMrYdWQZA xdUgSSHuotA3VbQ57VqBsQM9ybzsGs+CZHioAutvP0P8qLnO/QTIujDVKPUAVJVet5RH 4hYg== Received: by 10.205.131.3 with SMTP id ho3mr976791bkc.48.1335365731142; Wed, 25 Apr 2012 07:55:31 -0700 (PDT) Received: from DOMYPC ([82.193.208.173]) by mx.google.com with ESMTPS id c5sm30033574bkw.7.2012.04.25.07.54.50 (version=SSLv3 cipher=OTHER); Wed, 25 Apr 2012 07:55:29 -0700 (PDT) Message-ID: <20120425.145531.264.3@DOMY-PC> From: rank1seeker@gmail.com To: "John Baldwin" , dougb@freebsd.org, hackers@freebsd.org Date: Wed, 25 Apr 2012 16:55:31 +0200 Content-Type: text/plain; charset="Windows-1250" Content-Transfer-Encoding: quoted-printable In-Reply-To: <201204251014.56568.jhb@freebsd.org> References: <20120421.164328.068.1@DOMY-PC> <201204231428.49712.jhb@freebsd.org> <20120425.133709.484.2@DOMY-PC> <201204251014.56568.jhb@freebsd.org> X-Mailer: POP Peeper (3.8.1.0) Cc: Subject: Re: Forgotten debuging flags in 9.0 RELEASE X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Apr 2012 14:55:33 -0000 ----- Original Message -----=0D=0AFrom: John Baldwin = =0D=0ATo: rank1seeker@gmail.com=0D=0ACc: = dougb@freebsd.org, hackers@freebsd.org=0D=0ADate: Wed, 25 Apr 2012 = 10:14:56 -0400=0D=0ASubject: Re: Forgotten debuging flags in 9.0 = RELEASE=0D=0A=0D=0A> On Wednesday, April 25, 2012 9:37:09 am = rank1seeker@gmail.com wrote:=0D=0A> > ----- Original Message -----=0D=0A> = > From: John Baldwin =0D=0A> > To: = freebsd-hackers@freebsd.org=0D=0A> > Cc: rank1seeker@gmail.com, = dougb@freebsd.org=0D=0A> > Date: Mon, 23 Apr 2012 14:28:49 -0400=0D=0A> > = Subject: Re: Forgotten debuging flags in 9.0 RELEASE=0D=0A> > =0D=0A> > > = On Saturday, April 21, 2012 12:43:28 pm rank1seeker@gmail.com = wrote:=0D=0A> > > > Whenever I run:=0D=0A> > > > # make = distribution=0D=0A> > > > =0D=0A> > > > I also get:=0D=0A> > > > + ln -s = ../var/named/etc/namedb /usr/TZONE/etc/namedb=0D=0A> > > > + ln -s = mail/aliases /usr/TZONE/etc/aliases=0D=0A> > > > =0D=0A> > > > Looks like = someone forgot to turn off/remove debuging flags(set -x), =0D=0A> before = =0D=0A> > > building 9.0 RELEASE=0D=0A> > > =0D=0A> > > Actually, those = have been there for at least 7 years. The namedb one was =0D=0A> > > = first added in r136242, and the mail one is older than that.=0D=0A> > > = =0D=0A> > > > /usr/src/etc/Makefile:=0D=0A> > > > ----=0D=0A> > > > = @if [ ! -e ${DESTDIR}/etc/namedb ]; then \=0D=0A> > > > = set -x; \=0D=0A> > > > ln -s ../var/named/etc/namedb = ${DESTDIR}/etc/namedb; \=0D=0A> > > > fi=0D=0A> > > > ----=0D=0A> = > > > @if [ -d ${DESTDIR}/etc/mail -a -f = ${DESTDIR}/etc/mail/aliases -=0D=0A> a \=0D=0A> > > > ! -f = ${DESTDIR}/etc/aliases ]; then \=0D=0A> > > > set -x; = \=0D=0A> > > > ln -s mail/aliases ${DESTDIR}/etc/aliases; = \=0D=0A> > > > fi=0D=0A> > > > ----=0D=0A> > > =0D=0A> > > -- = =0D=0A> > > John Baldwin=0D=0A> > > =0D=0A> > =0D=0A> > =0D=0A> > 7 years = ?!?=0D=0A> > Wow, it's time to get rid of them, unless someone finds it = criticaly =0D=0A> useful/needed.=0D=0A> =0D=0A> Alternatively, it hasn't = broken anything in 7 years. :)=0D=0A=0D=0ALOL. Vey funny!=0D=0A=0D=0A> > = My build script had many set -x lines, so I was thinking it was my script = =0D=0A> outputing it.=0D=0A> > I thought I was going mad, by being unable = to find where am I using 'ln -s' =0D=0A> lines, even after I've removed = all 'set -x' lines=0D=0A> =0D=0A> I will defer to dougb@ on this one as = it is a chunk of the code he maintains.=0D=0A> You will have to convince = him that the verbosity is somehow harmful.=0D=0A> =0D=0A> -- =0D=0A> John = Baldwin=0D=0A=0D=0AWell, those can be left in place, if they are part of = STDOUT, as I leave only STDERR to reach my eyes.=0D=0AAnd I see exactly = those 2 'ln -s ...' lines because they are outputed to = STDERR.=0D=0A=0D=0A=0D=0ADomagoj Smol=E8i=E6