Hi Vit

On Mon, Jul 10, 2023 at 10:38 AM Vít Ondruch <vondr...@redhat.com> wrote:
>
> Hi,
>
> I have recently installed Fedora Rawhide via netinstall and there are
> some questionable packages installed by default, such as:
>
> cpp
> libtomcrypt
> libxcrypt-compat
> exiv2
>
> and I wonder what is the mechanism, which pulls these in? For example,
> there is not much what would depend on cpp:
>
> ~~~
> $ sudo dnf repoquery --whatdepends cpp
> Updating and loading repositories:
> Repositories loaded.
> NsCDE-0:2.2-2.fc38.x86_64
> buildah-0:1.30.0-1.fc39.x86_64
> calendar-0:1.37-7.20211220cvs.fc37.x86_64
> gcc-0:13.1.1-4.fc39.x86_64
> xrdb-0:1.2.1-5.fc38.x86_64
> ~~~
>
>
> I can't see it in comps:
>
>
> ~~~
> $ grep -R cpp
> comps-f16.xml.in:      <packagereq type="optional">cppunit</packagereq>
> comps-f16.xml.in:      <packagereq type="optional">cpphs</packagereq>
> comps-f15.xml.in:      <packagereq type="optional">cppunit</packagereq>
> comps-f15.xml.in:      <packagereq type="optional">cpphs</packagereq>
> comps-f8.xml.in:      <packagereq type="optional">cppunit</packagereq>
> comps-f11.xml.in:      <packagereq type="optional">cppunit</packagereq>
> comps-f11.xml.in:      <packagereq type="optional">cpphs</packagereq>
> comps-f18.xml.in:      <packagereq type="optional">cppunit</packagereq>
> comps-f7.xml.in:      <packagereq type="optional">cppunit</packagereq>
> comps-f12.xml.in:      <packagereq type="optional">cppunit</packagereq>
> comps-f12.xml.in:      <packagereq type="optional">cpphs</packagereq>
> comps-f9.xml.in:      <packagereq type="optional">cppunit</packagereq>
> comps-f17.xml.in:      <packagereq type="optional">cppunit</packagereq>
> comps-f17.xml.in:      <packagereq type="optional">cpphs</packagereq>
> comps-f13.xml.in:      <packagereq type="optional">cppunit</packagereq>
> comps-f13.xml.in:      <packagereq type="optional">cpphs</packagereq>
> comps-f14.xml.in:      <packagereq type="optional">cppunit</packagereq>
> comps-f14.xml.in:      <packagereq type="optional">cpphs</packagereq>
> comps-f10.xml.in:      <packagereq type="optional">cppunit</packagereq>
> grep:
> .git/objects/pack/pack-8b71ed94572d14e6f4922239550f2e605ead175b.pack:
> binární soubor odpovídá
> grep:
> .git/objects/pack/pack-e5b1b3c9ad6241515210e06736de0317714d0810.pack:
> binární soubor odpovídá
> comps-eln.xml.in.in:      <packagereq
> type="default">cppunit-devel</packagereq>
> comps-eln.xml.in.in:      <packagereq type="default"
> arch="x86_64">mingw32-cpp</packagereq>
> comps-eln.xml.in.in:      <packagereq type="default"
> arch="x86_64">mingw64-cpp</packagereq>
> comps-eln.xml.in.in:      <packagereq type="default">ocaml-cppo</packagereq>
> comps-eln.xml.in.in:      <packagereq
> type="default">poppler-cpp</packagereq>
> comps-eln.xml.in.in:      <packagereq
> type="default">poppler-cpp-devel</packagereq>
>
> ~~~
>
>
> I can't see it in kickstarts:
>
>
> ~~~
> $ grep -R cpp
> custom/fedora-livedvd-haskell.ks:cpphs
>
> ~~~
>
>
> So what is the mechanism these are installed? Where I can report this?

Can't comment on all the packages you listed, but the C preprocessor
(CPP) is indeed required by xrdb (that's an option in xrdb, see "-cpp"
in man xrdb) and xrdb itself is required by GDM:
https://src.fedoraproject.org/rpms/gdm/blob/rawhide/f/gdm.spec#_80

GDM uses xrdb from its data/Init.in and data/Xsession.in:

https://gitlab.gnome.org/GNOME/gdm/-/blob/main/data/Xsession.in#L118-129
https://gitlab.gnome.org/GNOME/gdm/-/blob/main/data/Init.in#L31-34

Please note that these commands all use "xrdb -nocpp" so cpp is not
actually used there, but the package dependencies still pull it of
course.

HTH
Cheers
Olivier
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
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@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to