From owner-freebsd-office@FreeBSD.ORG Sun Aug 24 02:28:04 2014 Return-Path: Delivered-To: office@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 7A2B75EF for ; Sun, 24 Aug 2014 02:28:04 +0000 (UTC) Received: from nm9-vm0.bullet.mail.bf1.yahoo.com (nm9-vm0.bullet.mail.bf1.yahoo.com [98.139.213.154]) by mx1.freebsd.org (Postfix) with ESMTP id 2C8FB3885 for ; Sun, 24 Aug 2014 02:28:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1408847282; bh=eBPdk3xSfMqUjnVOhVskOn7mmezfu84lEfyp84AeNI0=; h=Received:Received:Received:X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:Content-Type:Mime-Version:Subject:From:In-Reply-To:Date:Cc:Message-Id:References:To:X-Mailer:From:Subject; b=R/XYmOzW8qJxsuTzJE6SZoyrQ/AkHzVjYYTDXHEyQiYhRE8P/dtHFgzn1M1ib2Vs7A73jLL2e3L1wwu2lgHSzROFe9jflFaqRLbgSwW1Gzyk7spO1M0ELMhrHefci8JwGuqhfjJ9bk/crwZtFQ0muFZk1yN2e28mIgmpQV/rONjIOqGVBgurNEny0if/mofnK6S83nrB6ew3WcJJ7K0YkRP9e4+ETJmXTUv7vaFAthT033ZKjNOF9ciu2YmnfcUOel+b4kj/VdS4o4ENzf/42TBdjJqZOawDbb24CElVyRmQoJmoESD02GrfQra1G+78FpykN26dIp+A2cbpQ/rI7A== DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s2048; d=yahoo.com; b=ol1vDJWJlcLSO2/xUKpiSCfyR22McIp5gJ3NWXWX2CZ/NnprPsEWRrXcHPMsqbBpD3Vwelg8VNkt0BtKAuUdjMhm9G2iFhioy3sBHXCG8fnqY/+bqdFhhhaSANUj/qOU/R4mWYu+95TmufnfwmoxKA3Hq5qWctN23BK3mCs5CUR/VVAkVhpJK0yu4hBPATsMd0CYlyypWmZLksyzI4iaMx+qBCT+QHFkAOqlgO8YAdzBSSjipDRbnS3NmtwK06sB2VKrprdK43Xl2eyjjocOObND/5we9yMN4GxIQjUdK1/2DeF4KDh7HstITSnZdhtvxjDaIBMmG8VtFhwdEE8yAg==; Received: from [98.139.212.150] by nm9.bullet.mail.bf1.yahoo.com with NNFMP; 24 Aug 2014 02:28:02 -0000 Received: from [98.139.211.163] by tm7.bullet.mail.bf1.yahoo.com with NNFMP; 24 Aug 2014 02:28:02 -0000 Received: from [127.0.0.1] by smtp220.mail.bf1.yahoo.com with NNFMP; 24 Aug 2014 02:27:58 -0000 X-Yahoo-Newman-Id: 442767.34410.bm@smtp220.mail.bf1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: HOG4YOMVM1nk8ilhCv22B0xXG29qMkmENGBJTLhFWJAQkNR i.561Esbq0mrUKeyjhmZTyxV148nhAzsSMPKli9Oo9LFxZVQXSsl97xF_HGB btdDEOkxfXxQj4rWMR18GVybRLHpqAlUnAYG9DEPvdn94j_ZUJJHCzrjjIEg HxjPZR5MuMHEby1ch1mrWhBeEqCVEi2IUk6j8mjZeaC8uvhH4PO2okIS8UMp nUPuPDPugtNfnSeKXcmX3zA0fHrr9ES4Y8T0PLpT9BjYZcmU_aRGfT2eSuDb ym4D1rOvFzVP86h0AUXxJfycVZ8f1SJ_A8P1EDkmqaXLEsho1Gu2dQpAgk.5 ScL3rN.zeQzUHZLbjSRYZ4nGsEP0M_S79zajFNlWHund6QlAcSSZs04fcyJE .V7ZHpbG..TvxfKN3HhlNydZxjeD9qb3rQhRPtoQZsR2s74uFblL4KMNLNT6 5Ah7bQgaLyaAORvC9F0azy.RGjSubfuSJF8iCtHsI5gyGRVL1beUZzcMd2de l.zeMH1e5TueWVQSCOfpeWEqd1NEh_rFD3t9ZFkL9inJD86doGcuY3eKGRdT 6Z1T9NDIfkFAlrdQNW38la1sbssLwXnhYccoUPs56txmAevf_xiXgyi2AAA- - X-Yahoo-SMTP: xcjD0guswBAZaPPIbxpWwLcp9Unf Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) Subject: Re: OpenOffice 4.1 build persistently fails on my FreeBSD-10-stable/AMD64 From: Pedro Giffuni In-Reply-To: <201408240132.s7O1WV1c053458@gw.catspoiler.org> Date: Sat, 23 Aug 2014 21:27:02 -0500 Message-Id: <2366E5BA-9FD3-4243-9C47-F92B68F8C3A6@freebsd.org> References: <201408240132.s7O1WV1c053458@gw.catspoiler.org> To: Don Lewis X-Mailer: Apple Mail (2.1878.6) Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: office@FreeBSD.org X-BeenThere: freebsd-office@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Office applications on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 Aug 2014 02:28:04 -0000 Il giorno 23/ago/2014, alle ore 20:32, Don Lewis = ha scritto: > On 23 Aug, Pedro Giffuni wrote: >>=20 >> On 08/23/14 13:51, Don Lewis wrote: >>> On 22 Aug, Pedro Giffuni wrote: >>>> FWIW, >>>>=20 >>>> AOO 4.1 is known to have bugs and AOO 4.1.1 will be released really = soon to address them. >>> The patch in PR 192545 unbreaks the AOO 4.1.0 build on FreeBSD 10 = and >>> 11: >>>=20 >>> The patch in PR 192557 upgrades openoffice-devel to 4.1.1-RC3: >>> >>>=20 >>=20 >> The patch in PR 181044 fixes Boost so that it can be used as >> an external dependency for OpenOffice: >> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D181044 >=20 > Still no joy B-( >=20 > When I was first working on 4.1.0, I ran into the #include_next = problem > and tried to work around it by adding -DBOOST_TR1_DISABLE_INCLUDE_NEXT > to CFLAGS. The errors still occurred, but with different message = text. >=20 > With this patch applied, I see the same thing as in my earlier > experiments: >=20 > In file included from /usr/local/include/boost/tr1/tr1/vector:16:0, > from = /wrkdirs/usr/ports/editors/openoffice-devel/work/aoo-4.1.1/main/solver/411= /unxfbsdx.pro/inc/stl/vector:31, > from = /wrkdirs/usr/ports/editors/openoffice-devel/work/aoo-4.1.1/main/xml2cmp/so= urce/finder/dependy.hxx:28, > from = /wrkdirs/usr/ports/editors/openoffice-devel/work/aoo-4.1.1/main/xml2cmp/so= urce/finder/dependy.cxx:25: > /usr/local/include/boost/tr1/detail/config_all.hpp:163:41: fatal = error: ../4.7/utility: No such file or directory > compilation terminated. Ugh=85 this looks familiar :( The problem is really messy: the original OpenOffice was developed in = the dark ages of C++ libraries and used STLport as it=92s STL = implementation. STLport doesn=92t work with modern compilers (like in = MacOSX) so Boost is very handy because it has TR1 implementation which = can be very useful to complement older versions of libstdc++. With a = good native STL library, AOO makes very little use, if any, of boost. In order to be less disruptive, AOO has some wrappers for the STL = libraries in main/stlport/systemstl and for some reason this works fine = on for linux, Windows and MacOSX but it always gets those wrong on = FreeBSD. AOO appears to be the only package that exercises include_next because = the definition was wrong before my patch and no one had noticed. The = explanation is here: https://svn.boost.org/trac/boost/ticket/8944 Perhaps the path may need adjusting for gcc4.7. Extra eyes are certainly = welcome. Pedro.