Clang trunk build failure in external/librevenge

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

Clang trunk build failure in external/librevenge


Clang builds are failing on both Arch and Ubuntu with the following error:

checking for boost/spirit/include/classic.hpp... no
configure: error: Required boost headers not found.
make[1]: *** [/core/external/librevenge/ExternalProject_librevenge.mk:23:  /core/workdir/ExternalProject/librevenge/build] Error 1
make[1]: *** Waiting for unfinished jobs....
32 warnings generated.
114 warnings generated.
40 warnings generated.
make: *** [Makefile:282: build] Error 2

Does this look like a compiler bug or issue with our build system?



_______________________________________________
LibreOffice mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/libreoffice
sberg sberg
Reply | Threaded
Open this post in threaded view
|

Re: Clang trunk build failure in external/librevenge

On 13/05/2019 04:21, Luke Benes wrote:
> After commit:
> http://llvm.org/viewvc/llvm-project?view=revision&revision=360308
>
> Clang builds are failing on both Arch and Ubuntu with the following error:
>
> checking for boost/spirit/include/classic.hpp... no

You'd need to look into workdir/UnpackedTarball/librevenge/config.log to
see why compiling the test source containing

   #include <boost/spirit/include/classic.hpp>

fails.  (The symptoms look similar to
<https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90382> "[10 Regression]
ICE in linemap_macro_map_loc_to_exp_point, at libcpp/line-map.c:1061"
which I encountered in external/libetonyek, but that was with GCC not
Clang.)

> configure: error: Required boost headers not found.
> make[1]: ***
> [/core/external/librevenge/ExternalProject_librevenge.mk:23:  
> /core/workdir/ExternalProject/librevenge/build] Error 1
> make[1]: *** Waiting for unfinished jobs....
> 32 warnings generated.
> 114 warnings generated.
> 40 warnings generated.
> make: *** [Makefile:282: build] Error 2
_______________________________________________
LibreOffice mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/libreoffice
slacka slacka
Reply | Threaded
Open this post in threaded view
|

Re: Clang trunk build failure in external/librevenge

Stephan,
Comparing to a good workdir/UnpackedTarball/librevenge/config.log,
This seems to be the problem:

In file included from /core/workdir/UnpackedTarball/boost/boost/spirit/home/classic/attribute/closure.hpp:24:
/core/workdir/UnpackedTarball/boost/boost/spirit/home/classic/phoenix/operators.hpp:404:19: error: use 'template' keyword to treat 'value' as a dependent template name
        rank<T0>::value < rank<T1>::value,
                  ^
                  template
/core/workdir/UnpackedTarball/boost/boost/spirit/home/classic/phoenix/operators.hpp:404:9: error: missing 'typename' prior to dependent type name 'rank<T0>::rank<T0>::value<rank<T1>::value, T1, T0>::type'
        rank<T0>::value < rank<T1>::value,
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        typename
/core/workdir/UnpackedTarball/boost/boost/spirit/home/classic/phoenix/operators.hpp:405:23: error: expected '>'
        T1, T0>::type type;
                      ^
The full log can be found here: https://pastebin.com/ES3BG9DA

Any ideas what's going wrong?

-Luke

_______________________________________________
LibreOffice mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/libreoffice
sberg sberg
Reply | Threaded
Open this post in threaded view
|

Re: Clang trunk build failure in external/librevenge

On 14/05/2019 18:02, Luke Benes wrote:

> In file included from /core/workdir/UnpackedTarball/boost/boost/spirit/home/classic/attribute/closure.hpp:24:
> /core/workdir/UnpackedTarball/boost/boost/spirit/home/classic/phoenix/operators.hpp:404:19: error: use 'template' keyword to treat 'value' as a dependent template name
>          rank<T0>::value < rank<T1>::value,
>                    ^
>                    template
> /core/workdir/UnpackedTarball/boost/boost/spirit/home/classic/phoenix/operators.hpp:404:9: error: missing 'typename' prior to dependent type name 'rank<T0>::rank<T0>::value<rank<T1>::value, T1, T0>::type'
>          rank<T0>::value < rank<T1>::value,
>          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>          typename
> /core/workdir/UnpackedTarball/boost/boost/spirit/home/classic/phoenix/operators.hpp:405:23: error: expected '>'
>          T1, T0>::type type;
>                        ^

I see that now too after updating my Clang trunk; must be a rather
recent Clang regression.  Investigating.
_______________________________________________
LibreOffice mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/libreoffice
sberg sberg
Reply | Threaded
Open this post in threaded view
|

Re: Clang trunk build failure in external/librevenge

On 15/05/2019 09:43, Stephan Bergmann wrote:
> I see that now too after updating my Clang trunk; must be a rather
> recent Clang regression.  Investigating.

reported at
<http://lists.llvm.org/pipermail/cfe-commits/Week-of-Mon-20190513/271477.html>
"Re: r360308 - [c++20] Implement P0846R0: allow (ADL-only) calls to
template-ids whose"
_______________________________________________
LibreOffice mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/libreoffice
sberg sberg
Reply | Threaded
Open this post in threaded view
|

Re: Clang trunk build failure in external/librevenge

On 15/05/2019 18:18, Stephan Bergmann wrote:
> On 15/05/2019 09:43, Stephan Bergmann wrote:
>> I see that now too after updating my Clang trunk; must be a rather
>> recent Clang regression.  Investigating.
>
> reported at
> <http://lists.llvm.org/pipermail/cfe-commits/Week-of-Mon-20190513/271477.html>
> "Re: r360308 - [c++20] Implement P0846R0: allow (ADL-only) calls to
> template-ids whose"

see
<http://lists.llvm.org/pipermail/cfe-commits/Week-of-Mon-20190513/271589.html>
"Re: r360308 - [c++20] Implement P0846R0: allow (ADL-only) calls to
template-ids whose": "...and which apparently got fixed in the meantime,
presumably by
<https://github.com/llvm/llvm-project/commit/beda951d788a0041e9f5fabbb4e018e8b9d0a2d3>

'Make tentative parsing to detect template-argument-lists less aggressive'"

_______________________________________________
LibreOffice mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/libreoffice