From owner-freebsd-gecko@FreeBSD.ORG Sat Apr 13 17:36:34 2013 Return-Path: Delivered-To: gecko@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 801AF911; Sat, 13 Apr 2013 17:36:34 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms16-1.1blu.de (ms16-1.1blu.de [89.202.0.34]) by mx1.freebsd.org (Postfix) with ESMTP id 1AE06D82; Sat, 13 Apr 2013 17:36:33 +0000 (UTC) Received: from [188.174.214.132] (helo=localhost.my.domain) by ms16-1.1blu.de with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1UR4NM-0005yN-2x; Sat, 13 Apr 2013 19:36:32 +0200 Received: from localhost.my.domain (localhost [127.0.0.1]) by localhost.my.domain (8.14.4/8.14.3) with ESMTP id r3DHaUJB002654; Sat, 13 Apr 2013 19:36:30 +0200 (CEST) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by localhost.my.domain (8.14.4/8.14.3/Submit) id r3DHaTPt002653; Sat, 13 Apr 2013 19:36:29 +0200 (CEST) (envelope-from guru@unixarea.de) X-Authentication-Warning: localhost.my.domain: guru set sender to guru@unixarea.de using -f Date: Sat, 13 Apr 2013 19:36:29 +0200 From: Matthias Apitz To: Florian Smeets Subject: Re: www/firefox (r315793, 20.0.1) does not compile Message-ID: <20130413173629.GA2627@tinyCurrent> References: <20130413142647.GA2196@tinyCurrent> <51698370.5000107@smeets.im> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <51698370.5000107@smeets.im> X-Operating-System: FreeBSD 9.0-CURRENT r214444 (i386) User-Agent: Mutt/1.5.21 (2010-09-15) X-Con-Id: 51246 X-Con-U: 0-guru X-Originating-IP: 188.174.214.132 Cc: gecko@freebsd.org, freebsd-ports@freebsd.org X-BeenThere: freebsd-gecko@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Matthias Apitz List-Id: Gecko Rendering Engine issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Apr 2013 17:36:34 -0000 El día Saturday, April 13, 2013 a las 06:10:24PM +0200, Florian Smeets escribió: > On 13.04.13 16:26, Matthias Apitz wrote: > > > > # cd /usr/ports/www/firefox > > # svn up > > # make install BATCH=yes > > ... > > /usr/ports/www/firefox/work/mozilla-release/memory/mozalloc/mozalloc.cpp:214:12: > > error: > > use of undeclared identifier 'malloc_usable_size'; did you mean > > 'moz_malloc_usable_size'? > > return malloc_usable_size(ptr); > > ^~~~~~~~~~~~~~~~~~ > > moz_malloc_usable_size > > /usr/ports/www/firefox/work/mozilla-release/memory/mozalloc/mozalloc.cpp:206:1: > > note: > > 'moz_malloc_usable_size' declared here > > moz_malloc_usable_size(void *ptr) > > > > Hi, > > i think you mean firefox 20.0, there is no firefox 20.0.1 in ports, > 20.0.1 is a Windows only fix. Anyway, even if you updated the distinfo > and version yourself it should still build. Hi, The system is: # uname -a FreeBSD aurora.Sisis.de 10.0-CURRENT FreeBSD 10.0-CURRENT #0 r235646: Sat May 19 15:52:36 CEST 2012 guru@aurora.Sisis.de:/usr/obj/usr/src/sys/GENERIC i386 and the ports tree is from SVN r315646; this have had some 19.x version in www/firefox with the same problem as shown above; that's why I have update www/firefox (only) with 'svn up' to r315793 and the resulting version in Makefile is DISTVERSION= 20.0 PORTEPOCH= 1 (that's why I said 20.0.1, which was wrong); in any case, the problem remained and I did for now the following workaround: # diff -c work/mozilla-release/memory/mozalloc/mozalloc.cpp* *** work/mozilla-release/memory/mozalloc/mozalloc.cpp Sat Apr 13 16:32:42 2013 --- work/mozilla-release/memory/mozalloc/mozalloc.cpp.orig Tue Mar 26 23:17:58 2013 *************** *** 211,217 **** #if defined(XP_MACOSX) return malloc_size(ptr); #elif defined(HAVE_MALLOC_USABLE_SIZE) || defined(MOZ_MEMORY) ! return moz_malloc_usable_size(ptr); #elif defined(XP_WIN) return _msize(ptr); #else --- 211,217 ---- #if defined(XP_MACOSX) return malloc_size(ptr); #elif defined(HAVE_MALLOC_USABLE_SIZE) || defined(MOZ_MEMORY) ! return malloc_usable_size(ptr); #elif defined(XP_WIN) return _msize(ptr); #else With this it seems to build fine (still compiling, but behind the point of the above problem already). HIH matthias -- Matthias Apitz | /"\ ASCII Ribbon Campaign: www.asciiribbon.org E-mail: guru@unixarea.de | \ / - No HTML/RTF in E-mail WWW: http://www.unixarea.de/ | X - No proprietary attachments phone: +49-170-4527211 | / \ - Respect for open standards