Bug#910268: dolphin-emu: FTBFS with googletest 1.8.1

James Cowgill jcowgill at debian.org
Thu Oct 4 09:27:41 BST 2018


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-games-devel/attachments/20181004/63448102/attachment-0001.sig>


More information about the Pkg-games-devel mailing list