Source: dolphin-emu
Version: 5.0+dfsg-3
Severity: serious
Tags: sid buster ftbfs fixed-upstream

dolphin-emu FTBFS with googletest 1.8.1:
> In file included from 
> /usr/src/gtest/include/gtest/internal/gtest-internal.h:40,
>                  from /usr/src/gtest/include/gtest/gtest.h:59,
>                  from 
> /<<PKGBUILDDIR>>/Source/UnitTests/VideoCommon/VertexLoaderTest.cpp:11:
> /usr/src/gtest/include/gtest/internal/gtest-port.h:891:57: error: 
> 'gtest_AllCombinationsVertexLoaderParamTest_dummy_' was declared 'extern' and 
> later 'static' [-fpermissive]
>  # define GTEST_ATTRIBUTE_UNUSED_ __attribute__ ((unused))
>                                                          ^
> /usr/src/gtest/include/gtest/gtest-param-test.h:1421:54: note: in expansion 
> of macro 'GTEST_ATTRIBUTE_UNUSED_'
>    static int gtest_##prefix##test_case_name##_dummy_ GTEST_ATTRIBUTE_UNUSED_ 
> = \
>                                                       ^~~~~~~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/Source/UnitTests/VideoCommon/VertexLoaderTest.cpp:111:1: 
> note: in expansion of macro 'INSTANTIATE_TEST_CASE_P'
>  INSTANTIATE_TEST_CASE_P(
>  ^~~~~~~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/Source/UnitTests/VideoCommon/VertexLoaderTest.cpp:110:12: 
> note: previous declaration of 
> 'gtest_AllCombinationsVertexLoaderParamTest_dummy_'
>  extern int gtest_AllCombinationsVertexLoaderParamTest_dummy_;
>             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> In file included from 
> /usr/src/gtest/include/gtest/internal/gtest-internal.h:40,
>                  from /usr/src/gtest/include/gtest/gtest.h:59,
>                  from 
> /<<PKGBUILDDIR>>/Source/UnitTests/VideoCommon/VertexLoaderTest.cpp:11:
> /usr/src/gtest/include/gtest/internal/gtest-port.h:891:57: error: 
> 'gtest_FormatsAndElementsVertexLoaderSpeedTest_dummy_' was declared 'extern' 
> and later 'static' [-fpermissive]
>  # define GTEST_ATTRIBUTE_UNUSED_ __attribute__ ((unused))
>                                                          ^
> /usr/src/gtest/include/gtest/gtest-param-test.h:1421:54: note: in expansion 
> of macro 'GTEST_ATTRIBUTE_UNUSED_'
>    static int gtest_##prefix##test_case_name##_dummy_ GTEST_ATTRIBUTE_UNUSED_ 
> = \
>                                                       ^~~~~~~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/Source/UnitTests/VideoCommon/VertexLoaderTest.cpp:206:1: 
> note: in expansion of macro 'INSTANTIATE_TEST_CASE_P'
>  INSTANTIATE_TEST_CASE_P(
>  ^~~~~~~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/Source/UnitTests/VideoCommon/VertexLoaderTest.cpp:205:12: 
> note: previous declaration of 
> 'gtest_FormatsAndElementsVertexLoaderSpeedTest_dummy_'
>  extern int gtest_FormatsAndElementsVertexLoaderSpeedTest_dummy_;
>             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> make[5]: *** 
> [Source/UnitTests/VideoCommon/CMakeFiles/Test_VertexLoaderTest.dir/build.make:66:
>  
> Source/UnitTests/VideoCommon/CMakeFiles/Test_VertexLoaderTest.dir/VertexLoaderTest.cpp.o]
>  Error 1

Should be fixed by this upstream commit which I'll upload at some point:

https://github.com/dolphin-emu/dolphin/commit/ccf9ecbb03edbdd728738499dc5fae4d0631882a

James

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to