From owner-freebsd-ports@freebsd.org Wed Dec 16 15:42:13 2015 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C5580A496D3; Wed, 16 Dec 2015 15:42:13 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms-10.1blu.de (ms-10.1blu.de [178.254.4.101]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 886731CAF; Wed, 16 Dec 2015 15:42:13 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from [212.114.232.239] (helo=localhost.unixarea.de) by ms-10.1blu.de with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.76) (envelope-from ) id 1a97FK-0007Mr-00; Wed, 16 Dec 2015 09:15:38 +0100 Received: from localhost.my.domain (c720-r285885-amd64 [127.0.0.1]) by localhost.unixarea.de (8.15.2/8.14.9) with ESMTPS id tBG8FYLG002270 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Wed, 16 Dec 2015 09:15:35 +0100 (CET) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by localhost.my.domain (8.15.2/8.14.9/Submit) id tBG8FX7C002269; Wed, 16 Dec 2015 09:15:33 +0100 (CET) (envelope-from guru@unixarea.de) X-Authentication-Warning: localhost.my.domain: guru set sender to guru@unixarea.de using -f Date: Wed, 16 Dec 2015 09:15:33 +0100 From: Matthias Apitz To: Michael Jung Cc: Don Lewis , office@freebsd.org, freebsd-ports@freebsd.org Subject: Re: [Bug 205242] editors/libreoffice (5.0.3, r403255) does not build in poudriere on 11.0-CURRENT r276659 Message-ID: <20151216081533.GA2235@c720-r285885-amd64> Reply-To: Matthias Apitz Mail-Followup-To: Matthias Apitz , Michael Jung , Don Lewis , office@freebsd.org, freebsd-ports@freebsd.org References: <20151213162000.GA3775@c720-r285885-amd64> <201512132310.tBDNAR8C077879@gw.catspoiler.org> <20151214055948.GA3238@c720-r285885-amd64> <20151215140201.GA3931@c720-r285885-amd64> <53de624936d92c8cfe00f12bdb55667a@mail.mikej.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <53de624936d92c8cfe00f12bdb55667a@mail.mikej.com> X-Operating-System: FreeBSD 11.0-CURRENT r285885 (amd64) User-Agent: Mutt/1.5.23 (2014-03-12) X-Con-Id: 51246 X-Con-U: 0-guru X-Originating-IP: 212.114.232.239 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Dec 2015 15:42:13 -0000 El día Tuesday, December 15, 2015 a las 05:31:39PM -0500, Michael Jung escribió: > > I still have a copy of the failed workspace. > > > > matthias > > FWIW > > # $FreeBSD: head/editors/libreoffice/Makefile 403436 2015-12-09 > 23:43:30Z jbeich $ > > built without error for me on FreeBSD 11.0-CURRENT #10 r291494M today. > > using poudriere-devel-3.1.99.20151204 > > ... > I'll be happy to post the log file or provide additional info if help > other regard > this as (s)HAM Question: Do you compiled the port in poudriere with clang or gcc? Please send ma the log off-list. Thanks. Meanwhile, I could catch the situation with the failing gengal.bin for the Gallery/arrows dir. A truss shows that the proc for gengal is failing during start with a message: pen("/wrkdirs/usr/ports/editors/libreoffice/work/libreoffice-5.0.3.2/workdir/Rdb/ure/services.rdb",O_EXCL,00) = 7 (0x7) fstat(7,{ mode=-rw-r--r-- ,inode=168077,size=7991,blksize=4096 }) = 0 (0x0) mmap(0x0,7991,PROT_READ,MAP_SHARED,7,0x0) = 34367979520 (0x8007dc000) munmap(0x8007dc000,7991) = 0 (0x0) close(7) = 0 (0x0) write(2,"Bootstrap exception 'service not supplied'\n",43) = 43 (0x2b) _umtx_op(0x800630008,UMTX_OP_WAIT_UINT_PRIVATE,0x0,0x18,0x7fffdfffdee0) = 0 (0x0) _umtx_op(0x819c06658,UMTX_OP_NWAKE_PRIVATE,0x1,0x0,0x0) = 0 (0x0) open("/lib/libgcc_s.so.1",O_CLOEXEC,00) = 7 (0x7) fstat(7,{ mode=-r--r--r-- ,inode=16373968,size=56248,blksize=32768 }) = 0 (0x0) close(7) = 0 (0x0) _umtx_op(0x819c07000,UMTX_OP_WAIT,0x1875d,0x0,0x0) = 0 (0x0) munmap(0x8007cc000,65536) = 0 (0x0) munmap(0x8007bc000,65536) = 0 (0x0) madvise(0x819cf0000,0x3a000,0x5,0x804d4dbe8,0x804d4dbe8,0x0) = 0 (0x0) close(3) = 0 (0x0) madvise(0x819cbe000,0x32000,0x5,0x804d4dbe8,0x804d4dbe8,0x0) = 0 (0x0) madvise(0x819c9c000,0x2000,0x5,0x804d4dbe8,0x804d4dbe8,0x0) = 0 (0x0) process exit, rval = 1 I have from the situation the following data: - complete args and environment for gengal.bin - the above visible XML file services.rdb - the complete truss file The failing code in gengal.cxx is this void GalApp::Init() { try { if( !mbInBuildTree && getenv( "OOO_INSTALL_PREFIX" ) == NULL ) { OUString fileName = GetAppFileName(); int lastSlash = fileName.lastIndexOf( '/' ); #ifdef WNT // Don't know which directory separators GetAppFileName() // returns on Windows. // Be safe and take into consideration they might be // backslashes. if( fileName.lastIndexOf( '\\' ) > lastSlash ) lastSlash = fileName.lastIndexOf( '\\' ); #endif OUString baseBinDir = fileName.copy( 0, lastSlash ); OUString installPrefix = baseBinDir + "/../.."; OUString envVar( "OOO_INSTALL_PREFIX"); osl_setEnvironment(envVar.pData, installPrefix.pData); } OSL_TRACE( "OOO_INSTALL_PREFIX=%s", getenv( "OOO_INSTALL_PREFIX" ) ); uno::Reference xComponentContext = ::cppu::defaultBootstrap_InitialComponentContext(); xMSF = uno::Reference ( xComponentContext->getServiceManager(), uno::UNO_QUERY ); if( !xMSF.is() ) { fprintf( stderr, "Failed to bootstrap\n" ); exit( 1 ); } ::comphelper::setProcessServiceFactory( xMSF ); // For backwards compatibility, in case some code still uses // plain // createInstance w/o args directly to obtain an instance: com::sun::star::ucb::UniversalContentBroker::create(xComponentContext); } catch (const uno::Exception &e) { fprintf( stderr, "Bootstrap exception '%s'\n", And I can very easy reproduce the problem by just un-taring a saved work/ dir into a stopped jail, if someone with more C++ and libreoffice knowledge is willing to investigate this. Just drop me a line. Thanks matthias -- Matthias Apitz, ✉ guru@unixarea.de, 🌐 http://www.unixarea.de/ ☎ +49-176-38902045