From nobody@FreeBSD.org  Thu Sep 13 02:04:57 2012
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id 3B92B106566C
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 13 Sep 2012 02:04:57 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id 1C01A8FC0C
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 13 Sep 2012 02:04:57 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.5/8.14.5) with ESMTP id q8D24uwC068995
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 13 Sep 2012 02:04:56 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.5/8.14.5/Submit) id q8D24u79068994;
	Thu, 13 Sep 2012 02:04:56 GMT
	(envelope-from nobody)
Message-Id: <201209130204.q8D24u79068994@red.freebsd.org>
Date: Thu, 13 Sep 2012 02:04:56 GMT
From: "Sergey A. Osokin" <osa@FreeBSD.org>
To: freebsd-gnats-submit@FreeBSD.org
Subject: editors/libreoffice build error
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         171588
>Category:       ports
>Synopsis:       editors/libreoffice build error
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    office
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Sep 13 02:10:01 UTC 2012
>Closed-Date:    
>Last-Modified:  Fri Sep 14 03:30:13 UTC 2012
>Originator:     Sergey A. Osokin
>Release:        FreeBSD 9.0-STABLE
>Organization:
FreeBSD Project
>Environment:
FreeBSD 9.0-STABLE
>Description:
% ident Makefile
Makefile:
     $FreeBSD: ports/editors/libreoffice/Makefile,v 1.66 2012/09/12 16:41:31 jkim Exp $


editors/libreoffice build error:

..
        /usr/ports/editors/libreoffice/work/libreoffice-core-3.5.6.2/solenv/bin/createcomponent.xslt lnth.component
/usr/local/bin/xsltproc --nonet --stringparam uri \
        'vnd.sun.star.expand:$LO_LIB_DIR/libspelllo.so' -o ../../../unxfbsd.pro/misc/spell.component \
        /usr/ports/editors/libreoffice/work/libreoffice-core-3.5.6.2/solenv/bin/createcomponent.xslt spell.component
Compiling: lingucomponent/source/languageguessing/altstrfunc.cxx
Compiling: lingucomponent/source/languageguessing/guess.cxx
Compiling: lingucomponent/source/languageguessing/guesslang.cxx
Compiling: lingucomponent/source/languageguessing/simpleguesser.cxx
/usr/local/bin/xsltproc --nonet --stringparam uri \
        'vnd.sun.star.expand:$LO_LIB_DIR/libguesslanglo.so' -o ../../unxfbsd.pro/misc/guesslang.component \
        /usr/ports/editors/libreoffice/work/libreoffice-core-3.5.6.2/solenv/bin/createcomponent.xslt guesslang.component
Making:    guesslang.lib
Making:    libguesslanglo.so
Making:    spell.lib
Making:    libspelllo.so
Making:    hyphen_lib.lib
Making:    libhyphenlo.so
: ERROR: /usr/ports/editors/libreoffice/work/libreoffice-core-3.5.6.2/solver/unxfbsd.pro/lib/liblnglo.so: Undefined symbol "_ZN4cppu15WeakImplHelper6IN3com3sun4star8document7XFilterENS3_4lang12XServiceInfoENS4_9XExporterENS6_15XInitializationENS3_9container6XNamedENS6_10XUnoTunnelEE14queryInterfaceERKNS3_3uno4TypeE"
dmake:  Error code 1, while making '../../../unxfbsd.pro/lib/libspelllo.so'
: ERROR: /usr/ports/editors/libreoffice/work/libreoffice-core-3.5.6.2/solver/unxfbsd.pro/lib/liblnglo.so: Undefined symbol "_ZN4cppu15WeakImplHelper6IN3com3sun4star8document7XFilterENS3_4lang12XServiceInfoENS4_9XExporterENS6_15XInitializationENS3_9container6XNamedENS6_10XUnoTunnelEE14queryInterfaceERKNS3_3uno4TypeE"
dmake:  Error code 1, while making '../../../../unxfbsd.pro/lib/libhyphenlo.so'
Making:    lnth.lib
Making:    liblnthlo.so
: ERROR: /usr/ports/editors/libreoffice/work/libreoffice-core-3.5.6.2/solver/unxfbsd.pro/lib/liblnglo.so: Undefined symbol "_ZN4cppu15WeakImplHelper6IN3com3sun4star8document7XFilterENS3_4lang12XServiceInfoENS4_9XExporterENS6_15XInitializationENS3_9container6XNamedENS6_10XUnoTunnelEE14queryInterfaceERKNS3_3uno4TypeE"
dmake:  Error code 1, while making '../../../unxfbsd.pro/lib/liblnthlo.so'

-----------------------------------------------------------------------
        Oh dear - something failed during the build - sorry !
  For more help with debugging build errors, please see the section in:
            http://wiki.documentfoundation.org/Development


  internal build errors:

ERROR: error 65280 occurred while making /usr/ports/editors/libreoffice/work/libreoffice-core-3.5.6.2/lingucomponent/source/spellcheck/spell
ERROR: error 65280 occurred while making /usr/ports/editors/libreoffice/work/libreoffice-core-3.5.6.2/lingucomponent/source/hyphenator/altlinuxhyph/hyphen
ERROR: error 65280 occurred while making /usr/ports/editors/libreoffice/work/libreoffice-core-3.5.6.2/lingucomponent/source/thesaurus/libnth
ERROR: error 65280 occurred while making /usr/ports/editors/libreoffice/work/libreoffice-core-3.5.6.2/connectivity/source/drivers/odbcbase
ERROR: error 65280 occurred while making /usr/ports/editors/libreoffice/work/libreoffice-core-3.5.6.2/vcl/prj
ERROR: error 65280 occurred while making /usr/ports/editors/libreoffice/work/libreoffice-core-3.5.6.2/connectivity/source/drivers/file

 it seems you are using a threaded build, which means that the
 actual compile error is probably hidden far above, and could be
 inside any of these other modules:
     vcl lingucomponent
 please re-run build inside each one to isolate the problem.
-----------------------------------------------------------------------

/usr/local/bin/bash
cd /usr/ports/editors/libreoffice/work/libreoffice-core-3.5.6.2
source ./Env.Host.sh
cd connectivity
rm -Rf /usr/ports/editors/libreoffice/work/libreoffice-core-3.5.6.2/connectivity/unxfbsd.pro # optional module 'clean'
build

when the problem is isolated and fixed exit and re-run 'make' from the top-level
gmake[1]: *** [build] &#1054;&#1096;&#1080;&#1073;&#1082;&#1072; 1
gmake[1]: &#1042;&#1099;&#1093;&#1086;&#1076; &#1080;&#1079; &#1082;&#1072;&#1090;&#1072;&#1083;&#1086;&#1075;&#1072; `/usr/ports/editors/libreoffice/work/libreoffice-core-3.5.6.2'
gmake: *** [source-env-and-recurse] &#1054;&#1096;&#1080;&#1073;&#1082;&#1072; 2
*** [do-build] Error code 1

Stop in /usr/ports/editors/libreoffice.
*** [build] Error code 1

Stop in /usr/ports/editors/libreoffice.

>How-To-Repeat:
cd /usr/ports/editors/libreoffice && make
>Fix:


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->office 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Thu Sep 13 02:10:16 UTC 2012 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=171588 

From: Jung-uk Kim <jkim@FreeBSD.org>
To: "Sergey A. Osokin" <osa@FreeBSD.org>
Cc: office@freebsd.org, bug-followup@FreeBSD.org
Subject: Re: ports/171588: editors/libreoffice build error
Date: Thu, 13 Sep 2012 15:45:28 -0400

 -----BEGIN PGP SIGNED MESSAGE-----
 Hash: SHA1
 
 > : ERROR:
 > /usr/ports/editors/libreoffice/work/libreoffice-core-3.5.6.2/solver/unxfbsd.pro/lib/liblnglo.so:
 > Undefined symbol
 > "_ZN4cppu15WeakImplHelper6IN3com3sun4star8document7XFilterENS3_4lang12XServiceInfoENS4_9XExporterENS6_15XInitializationENS3_9container6XNamedENS6_10XUnoTunnelEE14queryInterfaceERKNS3_3uno4TypeE"
 >
 > 
 dmake: Error code 1, while making '../../../unxfbsd.pro/lib/libspelllo.so'
 > : ERROR:
 > /usr/ports/editors/libreoffice/work/libreoffice-core-3.5.6.2/solver/unxfbsd.pro/lib/liblnglo.so:
 > Undefined symbol
 > "_ZN4cppu15WeakImplHelper6IN3com3sun4star8document7XFilterENS3_4lang12XServiceInfoENS4_9XExporterENS6_15XInitializationENS3_9container6XNamedENS6_10XUnoTunnelEE14queryInterfaceERKNS3_3uno4TypeE"
 >
 > 
 dmake: Error code 1, while making
 '../../../../unxfbsd.pro/lib/libhyphenlo.so'
 > Making: lnth.lib Making: liblnthlo.so : ERROR:
 > /usr/ports/editors/libreoffice/work/libreoffice-core-3.5.6.2/solver/unxfbsd.pro/lib/liblnglo.so:
 > Undefined symbol
 > "_ZN4cppu15WeakImplHelper6IN3com3sun4star8document7XFilterENS3_4lang12XServiceInfoENS4_9XExporterENS6_15XInitializationENS3_9container6XNamedENS6_10XUnoTunnelEE14queryInterfaceERKNS3_3uno4TypeE"
 >
 > 
 dmake: Error code 1, while making '../../../unxfbsd.pro/lib/liblnthlo.so'
 
 It looks like a visibility issue.  Can you please show me the following?
 
 clang --version
 sysctl kern.osreldate
 
 Also, it'll be nice if you can put the
 /usr/ports/editors/libreoffice/work/libreoffice-core-3.5.6.2/config.log
 somewhere
 (e.g., freefall) so that I can see it.
 
 Thanks,
 
 Jung-uk Kim
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v2.0.19 (FreeBSD)
 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
 
 iEYEARECAAYFAlBSN9cACgkQmlay1b9qnVNMDwCfdfzHfIgmecGgfTPVChcfd3xy
 OBEAoLHCdYtrsmS7vzaOcqcoWYFmLSQg
 =a0I/
 -----END PGP SIGNATURE-----

From: "Sergey A. Osokin" <osa@FreeBSD.org>
To: Jung-uk Kim <jkim@FreeBSD.org>
Cc: office@freebsd.org, bug-followup@FreeBSD.org
Subject: Re: ports/171588: editors/libreoffice build error
Date: Fri, 14 Sep 2012 03:20:14 +0000

 Yes, please.
 
 % clang --version
 FreeBSD clang version 3.1 (branches/release_31 156863) 20120523
 Target: x86_64-unknown-freebsd9.0
 Thread model: posix
 
 % sysctl kern.osreldate
 kern.osreldate: 900506
 
 http://people.freebsd.org/~osa/config.log
 
 -- 
 Sergey A. Osokin
 osa@FreeBSD.org
>Unformatted:
