From owner-freebsd-ports@FreeBSD.ORG Sun Apr 1 05:55:56 2012 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 03A491065670 for ; Sun, 1 Apr 2012 05:55:56 +0000 (UTC) (envelope-from freebsd-ports@herveybayaustralia.com.au) Received: from mail.unitedinsong.com.au (mail.unitedinsong.com.au [150.101.178.33]) by mx1.freebsd.org (Postfix) with ESMTP id 83D648FC0A for ; Sun, 1 Apr 2012 05:55:55 +0000 (UTC) Received: from laptop1.herveybayaustralia.com.au (laptop1.herveybayaustralia.com.au [192.168.0.182]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mail.unitedinsong.com.au (Postfix) with ESMTPSA id 2D6535C22 for ; Sun, 1 Apr 2012 16:09:29 +1000 (EST) Message-ID: <4F77EDE9.60206@herveybayaustralia.com.au> Date: Sun, 01 Apr 2012 15:55:53 +1000 From: Da Rock User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:7.0.1) Gecko/20111109 Thunderbird/7.0.1 MIME-Version: 1.0 To: freebsd-ports@freebsd.org References: <4F71A789.3030502@herveybayaustralia.com.au> <4F73E0F5.6080304@herveybayaustralia.com.au> <20120330062219.GA49266@azathoth.lan> <4F755ADF.50106@herveybayaustralia.com.au> In-Reply-To: <4F755ADF.50106@herveybayaustralia.com.au> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: libreoffice-3.4.5.2 failing to build 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: Sun, 01 Apr 2012 05:55:56 -0000 On 03/30/12 17:03, Da Rock wrote: > On 03/30/12 16:22, Baptiste Daroussin wrote: >> On Thu, Mar 29, 2012 at 02:11:33PM +1000, Da Rock wrote: >>> On 03/27/12 21:42, Da Rock wrote: >>>> I've been hunting down some info on why this is failing, but all I >>>> keep running into is the previous versions failings... :( >>>> >>>> I'm building libreoffice on 9.0-Release amd64, and I'm getting build >>>> errors qa testing(?) sd. I followed the instructions, but it still >>>> failed. It spits out this: >>>> >>>> scripting deliver >>>> deliver -- version: 275594 >>>> module 'scripting' delivered successfully. 0 files copied, 28 files >>>> unchanged >>>> terminate called after throwing an instance of >>>> 'com::sun::star::uno::RuntimeException' >>>> /usr/local/bin/bash: line 1: 2019 Abort trap: 6 (core dumped) >>>> [ a whole lot of code (I'm copying by hand, so it is a bit >>>> overwhelming) - involving clone/impress/sd/unxfbsd.pro, solver, and >>>> qa_unit ] >>>> dmake: Error code 134, while making 'test' >>>> gb_LinkTarget_add_library_objects,CppunitTest/libtest_sc_ucalc.so,sc >>>> gb_LinkTarget_add_linktarget_objects,CppunitTest/libtest_sc_ucalc.so,Library/libscfb.so >>>> >>>> >>>> [ build all ] top level modules: sc >>>> [ build all ] loaded modules: sc >>>> [ build cut ] sc_ucalc >>>> Abort trap (core dumped) >>>> terminate called after throwing an instance of >>>> 'com::sun::star::uno::RuntimeException' >>>> gmake[1]: *** >>>> [/usr/ports/editors/libreoffice/work/libreoffice-bootstrap-3.4.5.2/solver/340/unxfbsd.pro/workdir/CppunitTest/sc_ucalc.test] >>>> >>>> Error 1 >>>> dmake: Error code 2, while making 'all' >>>> [ build all ] top level modules: sw >>>> [ build all ] loaded modules: sw >>>> [ build all ] loaded modules: sw >>>> [ build log ] sw >>>> sw deliver >>>> deliver -- version: 275594 >>>> Module 'sw' delivered successfully. 0 files copied, 1 files unchanged >>>> >>>> ----------------------------------------------------- >>>> [ standard error message with webpage link to debug page ] >>>> >>>> internal build errors: >>>> >>>> ERROR: error 65280 occurred while making >>>> /usr/ports/editors/libreoffice/work/libreoffice-bootstrap-3.4.5.2/sd/qa/unit >>>> >>>> ERROR: error 65280 occurred while making >>>> /usr/ports/editors/libreoffice/work/libreoffice-bootstrap-3.4.5.2/sc/prj >>>> >>>> >>>> [ instructions to build sd part of the build to isolate the issue ] >>>> >>>> As I mentioned I followed the directions and still hit the same error >>>> filed above (if more of the data is needed I guess I'll have to find a >>>> way to post it...). >>>> >>>> I'm on a deadline for this one, so I have to get this to work. How >>>> should I further debug this to fix it? Or failing that (as an extreme >>>> last resort), will an older package already built work IF it is built >>>> for 8.2? >>> After a portsnap update I still get core dumps in the >>> calc/sc/cppunittester and the impress/sd/qa/unit/cppunittester. >>> >>> I've tried turning off make jobs, and I also checked the core files >>> (when I finally found them). The only clue I have is this: >>> >>> #0 0x00000008016bca7c in ?? >>> >>> This is in _both_ core files, and although its not very helpful it says >>> its stopping in exactly the same place (duh). >>> >>> Seriously guys, where do I go from here? Googling isn't exactly >>> offering >>> up much - my searches can be as much as 7 results (usually my own stuff >>> or duplicates of the same). >>> >>> Or, as my last resort, can I use the 8.2 package instead? >>> >>> Need some serious pointers, pleeease... :) >> is you 9.0-RELEASE a freshly built system? or installed installed from >> installers or upgraded? > Completely clean install last week, and ports tree refreshed since on > wed. > > I've been on the libreoffice-dev lists and the only advice is to > disable the tests - but if the test is failing it must be for a reason > don't you think? So why? > > Thanks for these couple of responses, still need help though :) I have news from the eastern front :) I've hotwired the makefile to use clang, and I have some errors cropping up close to where I was having issues using gcc: In file included from /usr/ports/editors/libreoffice/work/libreoffice-bootstrap-3.4.5.2/soltools/giparser/gi_list.cxx:33: In file included from ../inc/gi_list.hxx:33: ../inc/st_list.hxx:298:10: error: use of undeclared identfier 'push_back' push_back( new XY(*(*it)) ); ^ this-> ... more notes - usually related to this issue... ../inc/st_list.hxx:311:5: error: use of undeclared identifier 'checkSize' checkSize(DynamicList::len-2); ^ this-> ... even more notes the last error... And then the usual fail routine. Any pointers on what is going on? What can I switch to improve the situation? The identifiers are there, but it doesn't seem to see that. Is this a C89/99 thing maybe? I love clang - it shows up all the little nuances More than likely the root of my original issue...