touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #13132
[Bug 1362646] Re: Build race between gtest/gmock and tests can cause build to fail
Fix committed to lp:mir/0.7 at revision 1885, scheduled for release in
Mir 0.7.0
** Changed in: mir/0.7
Assignee: (unassigned) => Alexandros Frantzis (afrantzis)
** Also affects: mir (Ubuntu)
Importance: Undecided
Status: New
** Changed in: mir (Ubuntu)
Importance: Undecided => Medium
** Changed in: mir (Ubuntu)
Status: New => Triaged
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to mir in Ubuntu.
https://bugs.launchpad.net/bugs/1362646
Title:
Build race between gtest/gmock and tests can cause build to fail
Status in Mir:
Fix Committed
Status in Mir 0.7 series:
Fix Committed
Status in “mir” package in Ubuntu:
Triaged
Bug description:
Steps to reproduce:
1. make -j4
2. In build directory do "rm -rf gmock/"
3. make -j4
Expected result: Second build succeeds
Actual result: Second build fails with "make[2]: *** No rule to make target 'gmock/libs/gtest/libgtest.a', needed by 'bin/mir_unit_tests'. Stop." (or similar)
The problem is that there is no explicit dependency between
gmock/gtest and our tests. Linking with the gtest/gmock libraries is
not enough, since GMock is an external CMake project, and CMake
doesn't seem to track such cross-project dependencies.
Also seen in https://jenkins.qa.ubuntu.com/job/mir-android-
utopic-i386-build/1505/console
To manage notifications about this bug go to:
https://bugs.launchpad.net/mir/+bug/1362646/+subscriptions