From owner-freebsd-office@freebsd.org Wed Dec 16 18:07:21 2015 Return-Path: Delivered-To: freebsd-office@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 F267FA49C34 for ; Wed, 16 Dec 2015 18:07:20 +0000 (UTC) (envelope-from mikej@mikej.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id D3B671D31 for ; Wed, 16 Dec 2015 18:07:20 +0000 (UTC) (envelope-from mikej@mikej.com) Received: by mailman.ysv.freebsd.org (Postfix) id D0508A49C31; Wed, 16 Dec 2015 18:07:20 +0000 (UTC) Delivered-To: office@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 B6B17A49C2D; Wed, 16 Dec 2015 18:07:20 +0000 (UTC) (envelope-from mikej@mikej.com) Received: from mx2.paymentallianceintl.com (mx2.paymentallianceintl.com [216.26.158.171]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mx2.paymentallianceintl.com", Issuer "Go Daddy Secure Certification Authority" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8CFFF1D30; Wed, 16 Dec 2015 18:07:20 +0000 (UTC) (envelope-from mikej@mikej.com) Received: from firewall.mikej.com (162-230-214-65.lightspeed.lsvlky.sbcglobal.net [162.230.214.65]) by mx2.paymentallianceintl.com (8.15.1/8.15.1) with ESMTPS id tBGI7Heg041944 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 16 Dec 2015 13:07:18 -0500 (EST) (envelope-from mikej@mikej.com) X-Authentication-Warning: mx2.paymentallianceintl.com: Host 162-230-214-65.lightspeed.lsvlky.sbcglobal.net [162.230.214.65] claimed to be firewall.mikej.com Received: from mail.mikej.com (firewall.mikej.com [192.168.6.63]) by firewall.mikej.com (8.15.2/8.15.2) with ESMTP id tBGI7F4F084434; Wed, 16 Dec 2015 13:07:15 -0500 (EST) (envelope-from mikej@mikej.com) DMARC-Filter: OpenDMARC Filter v1.3.1 firewall.mikej.com tBGI7F4F084434 Authentication-Results: mail.mikej.com; dmarc=none header.from=mikej.com DKIM-Filter: OpenDKIM Filter v2.10.3 firewall.mikej.com tBGI7F4F084434 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mikej.com; s=mail; t=1450289236; bh=zwNjxw0SqkJSjMvnKQc5+XtZ/jgpgNwVp4vPm2+YRiM=; h=Date:From:To:Cc:Subject:In-Reply-To:References; b=rc1QxaOzAoeGzYIUgcWHkIhKUDQE/owAqR/93db3PUSMHT1qmWzSQz4dCp1/Y448/ R0cEs7cT9bWXtzdTQsml+TZOdTqjxbHE2mKPXg8V2bOKIe49s6KCZo02twWXf4FB5z TnBUwoH85m2OBHgjhCgn82tdp0IABjasJWFqfOzgTFwD/gXAJuYtqp1JhL9H/o5Nhw tWDNyFnHLu82rQReaWuH6CIX7w5+LdaXrCC0R5IsCZzIGrxxX00NjjtpDUKK0BCspB h87jqbtY1tnbN9z7ffSMCsvMsCSATcRpSxaDEmsy8EJGlRcFqRTPPpzIdxDMRIiRAU imTIRQlO9jwQg== X-Authentication-Warning: firewall.mikej.com: Host firewall.mikej.com [192.168.6.63] claimed to be mail.mikej.com MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Date: Wed, 16 Dec 2015 13:07:15 -0500 From: Michael Jung To: Michael Jung Cc: Don Lewis , office@freebsd.org, freebsd-ports@freebsd.org, owner-freebsd-ports@freebsd.org Subject: Re: [Bug 205242] editors/libreoffice (5.0.3, r403255) does not build in poudriere on 11.0-CURRENT r276659 In-Reply-To: <20151216081533.GA2235@c720-r285885-amd64> 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> <20151216081533.GA2235@c720-r285885-amd64> Message-ID: X-Sender: mikej@mikej.com User-Agent: Roundcube Webmail/1.1.3 X-BeenThere: freebsd-office@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Office applications on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Dec 2015 18:07:21 -0000 On 2015-12-16 03:15, Matthias Apitz wrote: > 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 Clang - Log is in route. --mikej