Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1314927 - googletest 1.8.0 released: gmock and gtest merged
Summary: googletest 1.8.0 released: gmock and gtest merged
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: gmock
Version: 28
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Terje Røsten
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 1284423 1307542 1307602 (view as bug list)
Depends On:
Blocks: F24FTBFS
TreeView+ depends on / blocked
 
Reported: 2016-03-04 22:31 UTC by Dominik 'Rathann' Mierzejewski
Modified: 2018-03-15 08:18 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-03-15 08:18:00 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
googletest.spec (1.37 KB, text/plain)
2016-08-31 22:35 UTC, Orion Poplawski
no flags Details
googletest-libdir.patch (1.02 KB, patch)
2016-10-02 14:58 UTC, Orion Poplawski
no flags Details | Diff
Merged spec for gtest and gmock (2.70 KB, text/plain)
2017-10-12 22:49 UTC, dan.cermak
no flags Details
Required patch from the gtest rpm (1.17 KB, patch)
2017-10-12 22:50 UTC, dan.cermak
no flags Details | Diff

Description Dominik 'Rathann' Mierzejewski 2016-03-04 22:31:51 UTC
Description of problem:
Per https://github.com/google/googlemock:
This project has been absorbed into the GoogleTest project.

Version-Release number of selected component (if applicable):
1.7.0-2.fc23

Comment 1 Terje Røsten 2016-03-05 15:50:20 UTC
Is there any gmock releases inside gtest yet? 1.7.0 seems to be 2-3 years old.

A release with gcc 6 issues fixed would also help:

 https://github.com/google/googletest/issues/705

Do you know why they don't create releases any longer?

Comment 2 Jan Kurik 2016-07-26 05:07:30 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 25 development cycle.
Changing version to '25'.

Comment 3 Orion Poplawski 2016-08-31 22:01:16 UTC
There now appears to be a 1.8.0 release: https://github.com/google/googletest/releases

Comment 4 Orion Poplawski 2016-08-31 22:35:38 UTC
Created attachment 1196524 [details]
googletest.spec

Here's an initial attempt at a combined spec.

Comment 5 Terje Røsten 2016-10-02 12:55:35 UTC
Hi! Thanks!

Can you post the required file googletest-libdir.patch too?

Comment 6 Terje Røsten 2016-10-02 13:35:47 UTC
*** Bug 1307542 has been marked as a duplicate of this bug. ***

Comment 7 Terje Røsten 2016-10-02 13:36:21 UTC
*** Bug 1307602 has been marked as a duplicate of this bug. ***

Comment 8 Terje Røsten 2016-10-02 13:40:20 UTC
*** Bug 1284423 has been marked as a duplicate of this bug. ***

Comment 9 Orion Poplawski 2016-10-02 14:58:16 UTC
Created attachment 1206622 [details]
googletest-libdir.patch

Comment 10 Neal Gompa 2017-01-26 20:22:49 UTC
Hey, is someone working on importing this to replace gmock and gtest?

Comment 11 Orion Poplawski 2017-01-26 21:18:10 UTC
I haven't progressed beyond what I attached.

Comment 12 dan.cermak 2017-10-12 22:48:42 UTC
I have merged the googletest.spec with the already existing gtest.spec & gmock.spec files and it seems to work. It requires Orion's googletest-libdir.patch and also gtest-null-pointer.patch (otherwise the unit tests fail).

In contrast to 1.7. there are however some differences: gtest-config and gmock-config do not exist anymore (the templates are still in the upstream sources, but they are not build by CMake, at least I don't know how). Also there is now only one libgtest.so and no libgtest.so.0 and libgtest.so.0.0 (I don't know enough about dynamic linking, so no clue where they came from). The same applies to libgtest_main.so, libgmock.so and libgmock_main.so (although the later two were not in the gmock-1.7.0 rpm).

I have submitted the build to copr: http://copr-fe.cloud.fedoraproject.org/coprs/defolos/devel/build/628186/

Open questions:
- I have included a call ldconfig in %install, but don't know if that is necessary
- The Changelog is empty, it should be a combination of the gmock and gtest changelog (+ Orion's contribution). Should they be merged or a new changelog started?

Comment 13 dan.cermak 2017-10-12 22:49:42 UTC
Created attachment 1338008 [details]
Merged spec for gtest and gmock

Comment 14 dan.cermak 2017-10-12 22:50:29 UTC
Created attachment 1338009 [details]
Required patch from the gtest rpm

Comment 15 Terje Røsten 2017-10-15 16:39:17 UTC
Hi Dan, thanks for patches! Changes pushed to rawhide:

 https://koji.fedoraproject.org/koji/taskinfo?taskID=22468376

Comment 16 dan.cermak 2017-10-16 12:52:26 UTC
Awesome! But I guess they aren't making it into 27, are they?

Comment 17 Fedora End Of Life 2017-11-16 19:01:38 UTC
This message is a reminder that Fedora 25 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 25. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '25'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not
able to fix it before Fedora 25 is end of life. If you would still like
to see this bug fixed and are able to reproduce it against a later version
of Fedora, you are encouraged  change the 'version' to a later Fedora
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.

Comment 18 Neal Gompa 2018-02-14 12:40:54 UTC
gmock needs to be retired. It doesn't look like it's marked as a dead package.

Comment 19 Fedora End Of Life 2018-02-20 15:22:51 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 28 development cycle.
Changing version to '28'.

Comment 20 Peter Lemenkov 2018-03-15 08:18:00 UTC
(In reply to Neal Gompa from comment #18)
> gmock needs to be retired. It doesn't look like it's marked as a dead
> package.

Done. I think we may close this ticket now.


Note You need to log in before you can comment on or make changes to this bug.