Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 937728 - dev-libs/glib-2.80.4[doc] QA Notice: gtk-doc documentation must always be installed into /usr/share/gtk-doc
Summary: dev-libs/glib-2.80.4[doc] QA Notice: gtk-doc documentation must always be ins...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-08-10 16:28 UTC by Chris Mayo
Modified: 2024-08-11 14:39 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Mayo 2024-08-10 16:28:07 UTC
QA: other
QA Notice: The ebuild is installing to one or more unexpected directories:

  /usr/share/doc/gio-2.0
  /usr/share/doc/gio-unix-2.0
  /usr/share/doc/girepository-2.0
  /usr/share/doc/glib-2.0
  /usr/share/doc/glib-unix-2.0
  /usr/share/doc/gmodule-2.0
  /usr/share/doc/gobject-2.0

Please fix the ebuild to use correct FHS/Gentoo policy paths.

QA Notice: This package seems to install gtk-doc documentation into the
following location(s):

  /usr/share/doc/glib-2.0
  /usr/share/doc/glib-unix-2.0
  /usr/share/doc/gmodule-2.0
  /usr/share/doc/gobject-2.0
  /usr/share/doc/gio-2.0
  /usr/share/doc/gio-unix-2.0
  /usr/share/doc/girepository-2.0

gtk-doc documentation must always be installed into /usr/share/gtk-doc.
For more details, please see the GNOME team policy page:
https://wiki.gentoo.org/wiki/Project:GNOME/Gnome_Team_Ebuild_Policies#Handling_gtk-doc_documentation


Fixed for me by adding to src_prepare():
sed -i -e "s:'doc':'gtk-doc/html':" docs/reference/meson.build || die