Re: Requires: libgtest.so, libgmock.so, libgmock_main.so question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, May 20, 2020 at 9:08 AM Kaleb Keithley <kkeithle@xxxxxxxxxx> wrote:
>
>
>
> On Wed, May 20, 2020 at 8:52 AM Neal Gompa <ngompa13@xxxxxxxxx> wrote:
>>
>> On Wed, May 20, 2020 at 8:39 AM Kaleb Keithley <kkeithle@xxxxxxxxxx> wrote:
>> >
>> > In rawhide the ceph ceph-test subpackage is deriving a Requires: for $subject, and even with gmock and gtest installed the requires is not satisfied.
>> >
>> > And the gtest and gmock rpms (somehow) do not provide them. (Is this a bug in the gtest and gmock rpms?)
>> >
>> > (They do provide libgtest.so.1.10.0 libgmock.so.1.10.0 and libgmock_main.so.1.10.0 though.)
>> >
>> > Is there some magic that if I were to add BuildRequires: gtest gmock the magic that derives the Requires might come up with libg{test,mock,mock_main}.so.1.10.0 instead?
>> >
>> > Otherwise I'm tempted to just disable the build of ceph-test for Fedora RPM builds.
>> >
>> > I'm stumped.
>> >
>>
>> The gtest-devel and gmock-devel packages provide the unversioned
>> sonames.
>
>
> It doesn't look that way to me, e.g.
>
> $ rpm -q --provides gtest-devel
> cmake(GTest) = 1.10.0
> cmake(gtest) = 1.10.0
> gtest-devel = 1.10.0-1.fc33
> gtest-devel(x86-64) = 1.10.0-1.fc33
> pkgconfig(gtest) = 1.10.0
> pkgconfig(gtest_main) = 1.10.0
>
> $ rpm -q --provides gmock-devel
> gmock-devel = 1.10.0-1.fc33
> gmock-devel(x86-64) = 1.10.0-1.fc33
> pkgconfig(gmock) = 1.10.0
> pkgconfig(gmock_main) = 1.10.0
>

They are only symlinks to the real files (just like how any other
library package works). So you won't see unversioned Provides there.
You'll see Requires for the libraries in those packages, though.



-- 
真実はいつも一つ!/ Always, there's only one truth!
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux