From owner-freebsd-stable@FreeBSD.ORG Sat May 18 03:01:36 2013 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 13E78F25 for ; Sat, 18 May 2013 03:01:36 +0000 (UTC) (envelope-from jdc@koitsu.org) Received: from qmta14.emeryville.ca.mail.comcast.net (qmta14.emeryville.ca.mail.comcast.net [IPv6:2001:558:fe2d:44:76:96:27:212]) by mx1.freebsd.org (Postfix) with ESMTP id D599EB23 for ; Sat, 18 May 2013 03:01:35 +0000 (UTC) Received: from omta12.emeryville.ca.mail.comcast.net ([76.96.30.44]) by qmta14.emeryville.ca.mail.comcast.net with comcast id dEP91l0040x6nqcAEF1a6L; Sat, 18 May 2013 03:01:34 +0000 Received: from koitsu.strangled.net ([67.180.84.87]) by omta12.emeryville.ca.mail.comcast.net with comcast id dF1Z1l0061t3BNj8YF1ZkS; Sat, 18 May 2013 03:01:33 +0000 Received: by icarus.home.lan (Postfix, from userid 1000) id 086F273A33; Fri, 17 May 2013 20:01:33 -0700 (PDT) Date: Fri, 17 May 2013 20:01:33 -0700 From: Jeremy Chadwick To: Michael Gass Subject: Re: Command line not responding Message-ID: <20130518030132.GA96549@icarus.home.lan> References: <20130517175653.GA15498@csbsju.edu> <20130517185513.GA88287@icarus.home.lan> <20130518024920.GA32753@csbsju.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20130518024920.GA32753@csbsju.edu> User-Agent: Mutt/1.5.21 (2010-09-15) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; s=q20121106; t=1368846094; bh=2+GPt91KrSKoQCRlVFMdryG0po6v0o/FvzNUJojMan8=; h=Received:Received:Received:Date:From:To:Subject:Message-ID: MIME-Version:Content-Type; b=b0lD/Zg3Y6SM1VcumORUeO2zRWojZhDE8YITu4ib8U7yuXJNMb0xmgHQtUdBiNkb7 91qe6hTsjfspAUovXx3Mj+NY39L+005AbyVge7HbL0MGY8Y8ff9x5EddgENpmD0JXb Q2/kb73KFwmTzVPcwjIbgqQWT6iUlbrb7LNRSryYeRFwxoth3Wlk4MOLrC5wcKaUeX YXoYEKmL3epZ94+N7kY2jgW9wKxq8RFG0oBOYSoy9c+bd+7p/eeLlH8eFYbh1xUE8k q9GTGJCk9QzHSUnEaR47WXOhzR1+7MawfoDqaGenFHZh2iwfWDheORWMpYkImViF1m KYSLA1fTXAmZA== Cc: freebsd-stable@freebsd.org 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: Sat, 18 May 2013 03:01:36 -0000 On Fri, May 17, 2013 at 09:49:20PM -0500, Michael Gass wrote: > On Fri, May 17, 2013 at 11:55:13AM -0700, Jeremy Chadwick wrote: > > On Fri, May 17, 2013 at 12:56:53PM -0500, Michael Gass wrote: > > > Running 9.0-Stable on an i386. > > > > > > Whenever I type a command at the prompt I get > > > the output > > > > > > /usr/local/lib/libintl.so.9: Undefined symbol "_ThreadRuneLocale" > > > > > > and nothing else - the command will not run. Just the > > > above output. Commands like "ls" and "exit" work, but not much > > > else. This happends whether I am logged in a user or as root. > > > Cannot even halt the system from the command line. > > > > > > Started to happen after trying to update the freetype2 port. > > > Got an error msg while updating libXft-2.1.14. From that point > > > on I cannot use the command line. > > > > > > I have no idea what to try. Any suggestions. > > > > > > First provide the contents of /etc/make.conf and /etc/src.conf. > > > > Thanks for getting back to me. Here are the contents of the two > files. I rebuilt the kernel last fall and have updated ports > fairly regularly since. Things have worked fine until today when > I tried to update ports. > > # File: make.conf > # The ? in the below is for buildworld > CPUTYPE?=pentium2 > # Uncomment the below for general builds. > CFLAGS= -O -pipe > # Uncomment the below for kernel builds. > # COPTFLAGS= -O -pipe > NO_PROFILE=true > INSTALL_NODEBUG=true > #WITHOUT_DILLO_IPV6=yes > #WITH_DILLO_DLGUI=yes > # added by use.perl 2013-05-17 11:04:30 > PERL_VERSION=5.12.4 > > # File: src.conf > WITHOUT_PROFILE=true > WITHOUT_BLUETOOTH=true These confs look generally good, meaning there isn't the "messing about" that the other user had. I did catch one thing, however. Speaking strictly about CFLAGS: This should be CFLAGS+= (plus-equals), not CFLAGS= (equals). Otherwise you're effectively overriding CFLAGS for everything, which could cause issues (some portions of the build infrastructure may set or adjust the optimiser flags to something other than -O, and you'd be forcing it to do it anyway). I obviously don't know if that could/would explain the missing symbol issue, but it's still something that's erroneous and major. In general I recommend people *do not* tinker with CFLAGS at all in make.conf -- it's not worth the hassle on i386/amd64 if something goes wrong. If you ever want to know which syntaxes to use (for example, your CPUTYPE?= is correct, and your COPTFLAGS= is correct), review /usr/share/examples/etc/make.conf or src/share/examples/etc/make.conf. Unrelated to all of this (just a useful comment in passing): NO_PROFILE serves no purpose there, just keep WITHOUT_PROFILE=true in src.conf like you have. NO_PROFILE in make.conf would be from "old" FreeBSD days (i.e. prior to src.conf existing). Your src.conf looks fine. Sorry I can't be of more help. :-( -- | Jeremy Chadwick jdc@koitsu.org | | UNIX Systems Administrator http://jdc.koitsu.org/ | | Mountain View, CA, US | | Making life hard for others since 1977. PGP 4BD6C0CB |