From owner-freebsd-ports@FreeBSD.ORG Wed Aug 15 20:47:33 2012 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3F3F7106566B; Wed, 15 Aug 2012 20:47:33 +0000 (UTC) (envelope-from rbgarga@gmail.com) Received: from mail-wg0-f50.google.com (mail-wg0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id 7A0F58FC12; Wed, 15 Aug 2012 20:47:32 +0000 (UTC) Received: by wgbds11 with SMTP id ds11so1758762wgb.31 for ; Wed, 15 Aug 2012 13:47:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=wpc9NYoeBwCimg5lrLqxj2uSzDUpYJtVq984xFs8tNo=; b=D0pluTV5OjmbYMktdRsxPOUw6LRbqGNjJQ1uVuT21Yf3pGEvC3UBFnTI9qM99F5NJz TOsh5eH58YR8bZelbMcqirUnc3ghc9wfn8RGvF7mve+IuX9qsZOOt3jjMyeAlbsDU9Mt 7l898mCMB/rVylT0eXdzCDhOrpE464xo3Tjo2YSGhX54G5fDvOOAkYyoBvYxcCqAgQh1 uU39vvkueMSupilMyAGu60qiuc4T8y0gL2g8lpwTY3nBKDTF9+CTm9tjxOq/tbO+qtaa 1v2td5ehzFgikygFAP/2lmRhcMiipe8irduYCls6rKI5XaOewKKPTzGNtOpBmnEzpxlz HqFQ== Received: by 10.180.105.6 with SMTP id gi6mr39768761wib.4.1345063651114; Wed, 15 Aug 2012 13:47:31 -0700 (PDT) MIME-Version: 1.0 Received: by 10.216.196.26 with HTTP; Wed, 15 Aug 2012 13:47:10 -0700 (PDT) In-Reply-To: <502C085F.2030107@FreeBSD.org> References: <502C085F.2030107@FreeBSD.org> From: Renato Botelho Date: Wed, 15 Aug 2012 17:47:10 -0300 Message-ID: To: Matthias Andree Content-Type: text/plain; charset=ISO-8859-1 Cc: ports@freebsd.org, mm@freebsd.org Subject: Re: Error building pcre on 9.0 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Aug 2012 20:47:33 -0000 On Wed, Aug 15, 2012 at 5:36 PM, Matthias Andree wrote: > Am 15.08.2012 22:18, schrieb Renato Botelho: >> I was updating a 9.0-RELEASE-p3 i386 system's ports and got the >> following error when building pcre 8.31: >> >> CXX pcrecpp.lo >> In file included from /usr/include/c++/4.2/bits/c++allocator.h:39, >> from /usr/include/c++/4.2/bits/allocator.h:53, >> from /usr/include/c++/4.2/memory:54, >> from /usr/include/c++/4.2/string:48, >> from pcrecpp.cc:43: >> /usr/include/c++/4.2/ext/new_allocator.h:37:15: error: new: No such >> file or directory >> In file included from /usr/include/c++/4.2/string:48, >> from pcrecpp.cc:43: >> /usr/include/c++/4.2/memory: In function 'std::pair<_Tp*, int> >> std::__get_temporary_buffer(ptrdiff_t, _Tp*)': >> /usr/include/c++/4.2/memory:83: error: 'nothrow' was not declared in this scope >> /usr/include/c++/4.2/memory: In function 'void >> std::return_temporary_buffer(_Tp*)': >> /usr/include/c++/4.2/memory:123: error: 'nothrow' was not declared in this scope >> *** Error code 1 > > Renato, > > works for me. > > Your system appears to have a broken gcc installation. > It lacks /usr/include/c++/4.2/new, an include file dated Dec 4 2011 and > sized 4041 bytes on my 9.0-RELEASE-p3 i386 system, which would also > explain the nothrow-related errors. > > Anything in [/usr]/lost+found by chance? Thanks for pointing that out. I copied this file from other server and now i'm building world to be sure everything is in place. -- Renato Botelho