Your message dated Mon, 22 Oct 2018 15:04:46 +0000
with message-id <e1gebl8-0001lw...@fasolo.debian.org>
and subject line Bug#910935: fixed in cmake-extras 1.3+17.04.20170310-4
has caused the Debian Bug report #910935,
regarding cmake-extras: GMockConfig.cmake doesn't work with googletest/1.8.1-1
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
910935: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=910935
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: cmake-extras
Severity: serious
Control: affects -1 googletest

Dear Maintainer,

GMockConfig.cmake doesn't work with googletest/1.8.1-1 in sid.
I'm not sure whether it's bug in googletest or not.

Take ayatana-indicator-power for example, it depends gmock_main target
from GMockConfig.cmake. It will ftbfs with,

cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/tests && /usr/bin/cmake -E 
cmake_link_script CMakeFiles/test-device.dir/link.txt --verbose=1
/usr/bin/c++  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -Wformat -Werror=format-security -Wdate-time 
-D_FORTIFY_SOURCE=2 -std=c++11  -Wall -Wextra -Wpedantic -Wformat=2 
-Wno-missing-field-initializers -Wno-weak-vtables -Wno-global-constructors  
-Wl,-z,relro -Wl,-z,now -rdynamic CMakeFiles/test-device.dir/test-device.cc.o  
-o test-device ../src/libayatanaindicatorpowerservice.a -ldbustest -lglib-2.0 
-lgio-2.0 -lnotify -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0 
-lgio-2.0 -lnotify -lgdk_pixbuf-2.0 -lgobject-2.0 gmock/gtest/libgtest.a 
-lpthread gmock/libgmock.a gmock/libgmock_main.a 
/usr/bin/ld: gmock/libgmock_main.a(gmock_main.cc.o): in function `main':
/usr/src/googletest/googlemock/src/gmock_main.cc:52: undefined reference to 
`testing::InitGoogleMock(int*, char**)'


Following is workaround for it, but I'm not expert in cmake...

--- src/GMock/GMockConfig.cmake.orig    2018-10-13 23:01:36.681319674 +0800
+++ src/GMock/GMockConfig.cmake 2018-10-13 23:01:54.405374263 +0800
@@ -77,7 +77,7 @@
 
 add_library(gmock_main INTERFACE)
 target_include_directories(gmock_main INTERFACE ${GMOCK_INCLUDE_DIRS})
-target_link_libraries(gmock_main INTERFACE ${findgmock_gmock_main_lib} gmock)
+target_link_libraries(gmock_main INTERFACE ${findgmock_gmock_main_lib} gmock 
gtest_main)
 
 set(GTEST_LIBRARIES gtest)
 set(GTEST_MAIN_LIBRARIES gtest_main)

 -- 
 Shengjing Zhu

--- End Message ---
--- Begin Message ---
Source: cmake-extras
Source-Version: 1.3+17.04.20170310-4

We believe that the bug you reported is fixed in the latest version of
cmake-extras, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 910...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Mike Gabriel <sunwea...@debian.org> (supplier of updated cmake-extras package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Mon, 22 Oct 2018 16:40:48 +0200
Source: cmake-extras
Binary: cmake-extras
Architecture: source
Version: 1.3+17.04.20170310-4
Distribution: unstable
Urgency: medium
Maintainer: Mike Gabriel <sunwea...@debian.org>
Changed-By: Mike Gabriel <sunwea...@debian.org>
Description:
 cmake-extras - Extra CMake utility modules
Closes: 910935
Changes:
 cmake-extras (1.3+17.04.20170310-4) unstable; urgency=medium
 .
   [ Gianfranco Costamagna ]
   * debian/control:
     + Use new python-clang metapackage to bring always the latest version
     + Fixup VCS URL.
 .
   [ Mike Gabriel ]
   * debian/control:
     + Update Section: to devel.
     + Bump Standards-Version: to 4.2.1. No changes needed.
   * debian/patches:
     + Add 1002_fix-googletest-1_8_1-1.patch. Make GMockConfig.cmake work with
       googletest/1.8.1-1. (Closes: #910935).
   + debian/rules:
     + Drop unneeded DH argument --parallel.
Checksums-Sha1:
 a1d201b3b0568455c7496f097167e3cf346c1880 2411 
cmake-extras_1.3+17.04.20170310-4.dsc
 9235747a20e21d76a13a0060dbb07f87a75b13f5 10600 
cmake-extras_1.3+17.04.20170310-4.debian.tar.xz
 bebfe926055e9bc11b605a653dff6a7a7510e4c6 7298 
cmake-extras_1.3+17.04.20170310-4_source.buildinfo
Checksums-Sha256:
 946c6f806ba40a7c383ab27ab75826eed8631964be61ad12ef1a50d320119286 2411 
cmake-extras_1.3+17.04.20170310-4.dsc
 2a4bde472474ef4638cd07ec1e1dd056e12eb6925f861a44c93adab5029fa1d4 10600 
cmake-extras_1.3+17.04.20170310-4.debian.tar.xz
 6d9e39ca83477fa4dd0c4f6322692cf11966c801e86865cdf0590b750c0c5a8c 7298 
cmake-extras_1.3+17.04.20170310-4_source.buildinfo
Files:
 eddf597cb60ae583829eee455222d963 2411 devel optional 
cmake-extras_1.3+17.04.20170310-4.dsc
 67babf803b8b7533d0a276e277c692ed 10600 devel optional 
cmake-extras_1.3+17.04.20170310-4.debian.tar.xz
 557341277cf3b118586b904c4403369f 7298 devel optional 
cmake-extras_1.3+17.04.20170310-4_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJJBAEBCAAzFiEEm/uu6GwKpf+/IgeCmvRrMCV3GzEFAlvN4XwVHHN1bndlYXZl
ckBkZWJpYW4ub3JnAAoJEJr0azAldxsxg4gP/1OXwH9nOLg+SCnYu4JL5s5qdFi/
UATVZJrhopo40VSqk1KTJRwZ9QN/4cowJdjKmsc28YqXDRmlqb0YSyFN6Sx2Bpec
Z4qT3o/Ock1oLp+LqxOp6JIgJr759DD3QwbXzBDPswGAtV7FYw24lbO5xbAh9k7r
6ZSQW+tOkDiNmNC+DPK/UkIeJxzvLo6HGZkEbadVp+W+CWcV2NEUBvo1VesUo4me
+5cKsOdZ7LYk+LwCJ8vgHVhOzAfoNvL4j0fDMH4mu8GbU3WU/4vkyTSMj4gKC8PO
G85xNL1o6DKnlToWTT+/PWxyhNVFSY0YOU3T2tLpMx2oyq3UnSLLgyHigftGdaM2
ILRtbdsZjtOaGnI5JBAOFUQS9eSRbtBKMYBHSD5XU+7/gelT4fH9mRubBCo8Z6iW
B2DOksAQCsYmkZ4Yt35i5zG+IBoOBg8oub+xsO+edGW+qyzt1GaIqyy5+OFCc/60
tqu9oqRrB8XQfEKSutYn1DVTREdJW5tLDuYy6OGESH1PrMVHalDZ4OI8aGGBHmU0
mq2WNWF7Ues7LbBcxlT2xNQLhYeVAVl50ckxzpTVOjCVuJfbNKYdAKqKdO1S7xrX
ATMCvsGnAi1Y13v+jRTOQ3ObmpwQwyTTcZjBDsngeOHB8DVBh1q5h99iNCbhD4jP
VWB5g8fZ3TZI2+s2
=1+Ef
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to