FreeBSD Port: editors/libreoffice

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

FreeBSD Port: editors/libreoffice

Robert_Burmeister
I was building libreoffice 4.0.6 just fine on FreeBSD 9.2 i386
with clang-devel-3.4.r191854

libreoffice 4.0.6_1 now requires clang-3.3
???

Shouldn't the requirement be clang-3.3+
?

_______________________________________________
[hidden email] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-office
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

Re: FreeBSD Port: editors/libreoffice

Jung-uk Kim
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 2013-10-29 01:47:53 -0400, Robert Burmeister wrote:
> I was building libreoffice 4.0.6 just fine on FreeBSD 9.2 i386 with
> clang-devel-3.4.r191854
>
> libreoffice 4.0.6_1 now requires clang-3.3 ???
>
> Shouldn't the requirement be clang-3.3+ ?

I got rid of home-grown heuristics to select C++11 compiler and now we
switched to more canonical "USES=compiler:c++11-lang".  This change
fixes build:

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

Unfortunately, it has few side-effects, e.g.,

- - Default C++11 compiler is lang/clang33.  Optionally, GCC may be
selected.
- - Clang 3.2 is completely banned (hard-coded).  Other Clang versions,
e.g., lang/clang-devel, are not supported.  AFAICT, there is no
official way to override it.
- - 9.2-RELEASE has Clang 3.3 for amd64/i386 but compiler.mk ignores it
because it is not the default C++ compiler.

I don't want to re-add the previous heuristics because it is hard to
maintain.

Jung-uk Kim
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (FreeBSD)

iQEcBAEBAgAGBQJSb+2aAAoJEHyflib82/FGIyoH/1reObYXCtSmlVHFtxnisRY7
t+psaminhaPEc88MlMEmoGcPr2O5MNfsx3UMRDQRIW5iP/yCgmf1ps6iNRHgCzyD
mTOrQvEuLiHLoOwNAZuYk2HnHcGA2pvO7rhCNAA3ki77yRckddSY6V7DK4zPp0YA
ZAhkadZ2XFqiPjQSLsVMo+iBCDMaM429nb+ziOUSmUmMunyT3bki/qJLo2yBFEbR
RQDB9IFF1S0PyyH1GpRsb8YLxg8FgyVUkPrfFUFQuX7UG858aSruPW6M8KYPX1XE
4QHB3pJoeFGCIwPPHV72UTl/QyqUDpJp1VLnY62e6kmgQKWRI8A6/SzBmuqeTJ4=
=zx2X
-----END PGP SIGNATURE-----
_______________________________________________
[hidden email] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-office
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

Re: FreeBSD Port: editors/libreoffice

Robert_Burmeister
How are newer versions of clang to be tested?
Reply | Threaded
Open this post in threaded view
|

Re: FreeBSD Port: editors/libreoffice

Baptiste Daroussin-2
In reply to this post by Jung-uk Kim
On Tue, Oct 29, 2013 at 01:17:15PM -0400, Jung-uk Kim wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 2013-10-29 01:47:53 -0400, Robert Burmeister wrote:
> > I was building libreoffice 4.0.6 just fine on FreeBSD 9.2 i386 with
> > clang-devel-3.4.r191854
> >
> > libreoffice 4.0.6_1 now requires clang-3.3 ???
> >
> > Shouldn't the requirement be clang-3.3+ ?
>
> I got rid of home-grown heuristics to select C++11 compiler and now we
> switched to more canonical "USES=compiler:c++11-lang".  This change
> fixes build:
>
> http://www.freebsd.org/cgi/query-pr.cgi?pr=183392
>
> Unfortunately, it has few side-effects, e.g.,
>
> - - Default C++11 compiler is lang/clang33.  Optionally, GCC may be
> selected.
> - - Clang 3.2 is completely banned (hard-coded).  Other Clang versions,
> e.g., lang/clang-devel, are not supported.  AFAICT, there is no
> official way to override it.
3.2 is banned on purpose, we have so many bug fixes that has been made post 3.2
that we decided to ban everything lowey than 3.2,

Concerning the PR if the user defines in make.conf properly 3.4 with CC, CXX etc
it will work, anyway I'll be working on using clang-devel is possible.

> - - 9.2-RELEASE has Clang 3.3 for amd64/i386 but compiler.mk ignores it
> because it is not the default C++ compiler.

Yes I'm planning to add support for that.
>
> I don't want to re-add the previous heuristics because it is hard to
> maintain.

That is exactly why I created compiler.mk, I'll improve it.

Thanks for reporting
Bapt

attachment0 (203 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: FreeBSD Port: editors/libreoffice

Jung-uk Kim
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 2013-10-29 14:25:03 -0400, Baptiste Daroussin wrote:

> On Tue, Oct 29, 2013 at 01:17:15PM -0400, Jung-uk Kim wrote:
>> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
>>
>> On 2013-10-29 01:47:53 -0400, Robert Burmeister wrote:
>>> I was building libreoffice 4.0.6 just fine on FreeBSD 9.2 i386
>>> with clang-devel-3.4.r191854
>>>
>>> libreoffice 4.0.6_1 now requires clang-3.3 ???
>>>
>>> Shouldn't the requirement be clang-3.3+ ?
>>
>> I got rid of home-grown heuristics to select C++11 compiler and
>> now we switched to more canonical "USES=compiler:c++11-lang".
>> This change fixes build:
>>
>> http://www.freebsd.org/cgi/query-pr.cgi?pr=183392
>>
>> Unfortunately, it has few side-effects, e.g.,
>>
>> - - Default C++11 compiler is lang/clang33.  Optionally, GCC may
>> be selected. - - Clang 3.2 is completely banned (hard-coded).
>> Other Clang versions, e.g., lang/clang-devel, are not supported.
>> AFAICT, there is no official way to override it.
> 3.2 is banned on purpose, we have so many bug fixes that has been
> made post 3.2 that we decided to ban everything lowey than 3.2,

Agreed 100%.  However, I think we need an override mechanism so that
the maintainer can ultimately decide, i.e., "I know some version is
buggy but this port is proven working flawlessly with any Clang version."

> Concerning the PR if the user defines in make.conf properly 3.4
> with CC, CXX etc it will work,

I think it will work.  However, it isn't flexible as USE_GCC, e.g.,
"USE_GCC=4.6+", as the OP expected.

> anyway I'll be working on using clang-devel is possible.

Thanks!

>> - - 9.2-RELEASE has Clang 3.3 for amd64/i386 but compiler.mk
>> ignores it because it is not the default C++ compiler.
>
> Yes I'm planning to add support for that.

Awesome!

>> I don't want to re-add the previous heuristics because it is hard
>> to maintain.
>
> That is exactly why I created compiler.mk, I'll improve it.
>
> Thanks for reporting

Thank YOU for writing compiler.mk!

Jung-uk Kim
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (FreeBSD)

iQEcBAEBAgAGBQJScAKXAAoJEHyflib82/FG4TsH/j5oNkFm3RtEBXczhw1Z2rpq
OwWU6jzTfI8zQvnAJkEgtpmRxcIlqDuByLjCDkpeych2UL5GJGF9T4OTk8beQ2cH
k1F7v/nIVFjBHD8YFoKAvQtqbdLl9EAoWqoUQPWWxSXHjhxmMYA4kEQ1UTaeUuwc
upg7bznX8dAUzUsrjHdXW5GMy/W+ANtNvGGkMxzVyLHduLF/BVx5GxionxwYHnhZ
s2+uVgfujnQK/5s/Dvg+icuVcLoiP6x/nRJw83csDtZoAJOl17pYTe+dEGO/ipr4
/qNVoMwvFpTayKP2XpJUuiRm9OiW8+Rh2Rf4einuc+PXXAjDLxGjCs+BCeE8lPI=
=wtfe
-----END PGP SIGNATURE-----
_______________________________________________
[hidden email] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-office
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

Re: FreeBSD Port: editors/libreoffice

Ajtim-2
In reply to this post by Robert_Burmeister
On Tue, 29 Oct 2013 10:38:30 -0700 (PDT)
Robert_Burmeister <[hidden email]> wrote:

> How are newer versions of clang to be tested?
>
>
>
>
> --
> View this message in context:
> http://freebsd.1045724.n5.nabble.com/FreeBSD-Port-editors-libreoffice-tp5856164p5856327.html
> Sent from the freebsd-office mailing list archive at Nabble.com.
> _______________________________________________
> [hidden email] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-office To
> unsubscribe, send any mail to "[hidden email]"

I installed on FreeBSD 10.0-BETA2 #0 r257166: Sat Oct 26 19:23:22 UTC
2013     [hidden email]:/usr/obj/usr/src/sys/GENERIC  amd64
without problems except cppio which worked when I disable build with
doxygen.

Excellent work.
_______________________________________________
[hidden email] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-office
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

Re: FreeBSD Port: editors/libreoffice

Baptiste Daroussin-2
In reply to this post by Robert_Burmeister
On Tue, Oct 29, 2013 at 01:47:53AM -0400, Robert Burmeister wrote:
> I was building libreoffice 4.0.6 just fine on FreeBSD 9.2 i386
> with clang-devel-3.4.r191854
>
> libreoffice 4.0.6_1 now requires clang-3.3
> ???
>
> Shouldn't the requirement be clang-3.3+
> ?
>
This is comming soon by improving compiler.mk

regards,
Bapt

attachment0 (203 bytes) Download Attachment