From owner-freebsd-ports@FreeBSD.ORG Thu Mar 11 06:02:09 2004 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1130816A4D0 for ; Thu, 11 Mar 2004 06:02:09 -0800 (PST) Received: from hotmail.com (bay2-f58.bay2.hotmail.com [65.54.247.58]) by mx1.FreeBSD.org (Postfix) with ESMTP id 02A6B43D2F for ; Thu, 11 Mar 2004 06:02:09 -0800 (PST) (envelope-from missive@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Thu, 11 Mar 2004 06:02:08 -0800 Received: from 24.97.94.145 by by2fd.bay2.hotmail.msn.com with HTTP; Thu, 11 Mar 2004 14:02:08 GMT X-Originating-IP: [24.97.94.145] X-Originating-Email: [missive@hotmail.com] X-Sender: missive@hotmail.com From: "Lee Harr" To: freebsd-ports@freebsd.org Date: Thu, 11 Mar 2004 14:02:08 +0000 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 11 Mar 2004 14:02:08.0648 (UTC) FILETIME=[71485080:01C40771] Subject: Re: c++ problem? X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Mar 2004 14:02:09 -0000 > > [ ... ] > > >>>At some point a port incorrectly installed the > > >>>/usr/local/lib/libstdc++.a file; remove it and recompile. > > [ ... ] > > >It does seem to be coming up a lot recently..I'd feel better about it > > >if I knew what had installed that file, though. > > > > Would it be reasonable to start looking at ports which actually contain >the > > file in their pkg-plist, such as lang/gcc*: > > > > 247-sec% pkg_info -La | grep libstdc++.a > > /usr/local/lib/gcc/i386-portbld-freebsd4.9/3.4.0/libstdc++.a > > > > Maybe one of the gcc ports created or symlink'ed that library under > > /usr/local/lib directly, rather than, or in addition to, using the GNU > > autoconf-triple + software_version path...? > > > > Someone with a system exhibiting the problem might try the command above > > and see whether they get a match. > >On my machine, and on some others when I asked them to try, the file >was unclaimed by any packages (as reported by pkg_which). This >probably means a popular port was doing something naughty in the past >and has since been fixed. > I thought maybe I could see by timestamps something else getting installed at the same time and get a clue. I looked in /usr/local/lib, include, bin, sbin, and the only thing I see with the same timestamp is in lib ... -rw-r--r-- 1 root wheel 943964 Jan 27 16:41 libstdc++.a -rwxr-xr-x 1 root wheel 1047 Jan 27 16:41 libstdc++.la -rw-r--r-- 1 root wheel 131132 Jan 27 16:41 libsupc++.a -rwxr-xr-x 1 root wheel 1023 Jan 27 16:41 libsupc++.la _________________________________________________________________ Tired of spam? Get advanced junk mail protection with MSN 8. http://join.msn.com/?page=features/junkmail