Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 May 2012 00:58:42 +0200
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        "O. Hartmann" <ohartman@zedat.fu-berlin.de>
Cc:        Current FreeBSD <freebsd-current@FreeBSD.org>, Ports FreeBSD <freebsd-ports@FreeBSD.org>
Subject:   Re: Binary packages for LibreOffice 3.5 or 3.4
Message-ID:  <20120506225842.GN17325@azathoth.lan>
In-Reply-To: <4FA6923F.5000408@zedat.fu-berlin.de>
References:  <4FA66EF0.7090306@zedat.fu-berlin.de> <20120506135256.GL17325@azathoth.lan> <20120506141526.GM17325@azathoth.lan> <4FA6923F.5000408@zedat.fu-berlin.de>

next in thread | previous in thread | raw e-mail | index | archive | help

--xNm6VWMD3PcA105u
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sun, May 06, 2012 at 05:01:19PM +0200, O. Hartmann wrote:
> On 05/06/12 16:15, Baptiste Daroussin wrote:
> > On Sun, May 06, 2012 at 03:52:57PM +0200, Baptiste Daroussin wrote:
> >> On Sun, May 06, 2012 at 02:30:40PM +0200, O. Hartmann wrote:
> >>> Since LibreOffice 3.5.X can not be build on either FreeBSD
> >>> 9-STABLE/amd64 or FreeBSD 10-CURRENT/amd64 (I tried legacy gcc 4.2.1,=
 I
> >>> tried clang 3.0 and clang 3.1, I tried gcc 4.6 on three different box=
es,
> >>> all failing compiling the same way, see
> >>>
> >>> http://www.freebsd.org/cgi/query-pr.cgi?pr=3D167641.
> >>>
> >>> I'd like to ask whether there are sites were binary packages could be
> >>> downloaded from and are there any experiences with installing them on
> >>> either 9-STABLE or 10-CURRENT?
> >>>
> >>> Thank you very much for the patience,
> >>>
> >>> O. Hartmann
> >>>
> >>
> >> LibreOffice fix on current normally (2 days ago)
> >>
> >> For binary packages I think currently there none
> >=20
> > Precision: do not try to build libreoffice with gcc it is know to be bu=
ggy, note
> > that if WITH_GCC is defined in you make.conf then building libreoffice =
will fail
> > because there is an "hidden" option WITH_GCC to allow people willing to=
 fix
> > build with gcc to do it.
>=20
> I do not understand. I tried all options. My systems' OSes are usually
> build with CLANG. USE_GCC=3D 4.6+ in cases where CLANG is known to be
> buggy or incapable (i.e. due to OpenMP) and setting CC, CXX and CPP for
> legacy gcc 4.2.1.
>=20
> How can it be that LibreOffice is broken with any GCC when CLANG is not
> the officiel compiler yet?


Well for libreoffice on freebsd clang is the official compiler, because 4.2=
=2E1 is
just too old for libreoffice, and I never managed to make it built (the 3.5)
with gcc from ports.

>=20
> I have a portion in /etc/make.conf on all boxes (both CURRENT and
> STABLE) looking like this:
>=20
>=20
> # editors/libreoffice
> .if ${.CURDIR:M/usr/ports/editors/libreoffice*}
> #USE_GCC=3D                       4.6+
> #CC=3D                            cc
> #CXX=3D                           c++
> #CPP=3D                           cpp
> DISABLE_MAKE_JOBS=3D              YES
> WITH_WEBDAV=3D                    true
> WITHOUT_KDE4=3D                   true
> WITHOUT_GTK=3D                    true
> WITHOUT_GTK3=3D                   true
> WITHOUT_GNOME=3D                  true
> WITH_JAVA=3D                      true
> WITHOUT_SYSTRAY=3D                true
> WITH_MMEDIA=3D                    true
> WITH_SDK=3D                       true
> WITH_SVG=3D                       true
> WITHOUT_DEBUG=3D                  true
> .endif

This looks good. We used to have a problem with clang 3.1 but normally this
was fixed 2 days ago by jkim@ (make sure you have the latest)

>=20
> It seems, even if set "DISBALE_MAKE_JOBS=3DYES" globally makes
> editors/libreoffice direspect this.

Yes LibreOffice bypass this, because it detects on its own the number of CP=
U you
have (I haven't found a reliable way to bypass it) that is why the port is =
mark
MAKE_JOBS_UNSAFE (without that it will spawn really too much processes)

>=20
> >=20
> > so first do not forget to remove it if you have it
>=20
> Sorry, what to remove first? I do not have GCC set in the portion for
> building LibreOffice.

just make sure before start building libreoffice that:
make -VWITH_GCC=20
return nothing, if that the case you should be safe.
>=20
> >=20
> > Sorry not being able to be more helpful
>=20
> Thank you very much anyway.
>=20
> Regards,
>=20
> Oliver
> >=20
> > regards,
> > Bapt
> >=20
> >=20
>=20



--xNm6VWMD3PcA105u
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (FreeBSD)

iEYEARECAAYFAk+nAiIACgkQ8kTtMUmk6ExIjgCgnN/LLryKQ4CYzoMo2uy4ARr1
udAAn2WmdPu9e9F80JQ3FsnTnOFbTJqE
=QqwJ
-----END PGP SIGNATURE-----

--xNm6VWMD3PcA105u--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120506225842.GN17325>