[Pkg-ayatana-devel] Bug#912075: Bug#912075: ayatana-indicator-power FTBFS with googletest 1.8.1-1

Mike Gabriel mike.gabriel at das-netzwerkteam.de
Mon Oct 29 14:09:15 GMT 2018


Control: reassign -1 cmake-extras
Control: found -1 1.3+17.04.20170310-3
Control: fixed -1 1.3+17.04.20170310-4
Control: close -1

Hi Adrian,

On  So 28 Okt 2018 00:09:19 CEST, Adrian Bunk wrote:

> Source: ayatana-indicator-power
> Version: 2.0.93-3
> Severity: serious
> Tags: ftbfs
>
> https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/ayatana-indicator-power.html
>
> ...
> [ 99%] Linking CXX executable test-notify
> cd  
> /build/1st/ayatana-indicator-power-2.0.93/obj-x86_64-linux-gnu/tests  
> && /usr/bin/cmake -E cmake_link_script  
> CMakeFiles/test-notify.dir/link.txt --verbose=1
> /usr/bin/c++  -g -O2  
> -ffile-prefix-map=/build/1st/ayatana-indicator-power-2.0.93=.  
> -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-notify.dir/test-notify.cc.o  -o test-notify  
> ../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**)'
> collect2: error: ld returned 1 exit status
> make[3]: *** [tests/CMakeFiles/test-notify.dir/build.make:91:  
> tests/test-notify] Error 1

This issue has been caused by GMockConfig.cmake in cmake-extras and  
should have finally been resolved by upload of cmake-extras  
1.3+17.04.20170310-4. From the R-B build log I see that the build used  
-3 of cmake-extras.

Can you retry with -4. Please reopen this bug, if you see the issue re-occur.

Mike
-- 

DAS-NETZWERKTEAM
mike gabriel, herweg 7, 24357 fleckeby
mobile: +49 (1520) 1976 148
landline: +49 (4354) 8390 139

GnuPG Fingerprint: 9BFB AEE8 6C0A A5FF BF22  0782 9AF4 6B30 2577 1B31
mail: mike.gabriel at das-netzwerkteam.de, http://das-netzwerkteam.de

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 851 bytes
Desc: Digitale PGP-Signatur
URL: <http://alioth-lists.debian.net/pipermail/pkg-ayatana-devel/attachments/20181029/d50dbeb9/attachment.sig>


More information about the Pkg-ayatana-devel mailing list