Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 921271 - perl-module.eclass: add QA warning for doc-only installs
Summary: perl-module.eclass: add QA warning for doc-only installs
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: perl-eclass
  Show dependency tree
 
Reported: 2024-01-03 11:40 UTC by Sam James
Modified: 2024-01-04 22:03 UTC (History)
2 users (show)

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 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-01-03 11:40:57 UTC
We had a report today of dev-perl/Image-Imlib2 installing only docs (fixed it in 4a5d0cd2749b91b901985cf711ce388dea3b573a):
```
# equery f Image-Imlib2
 * Searching for Image-Imlib2 ...
 * Contents of dev-perl/Image-Imlib2-2.30.0-r2:
/usr
/usr/share
/usr/share/doc
/usr/share/doc/Image-Imlib2-2.30.0-r2
/usr/share/doc/Image-Imlib2-2.30.0-r2/CHANGES.bz2
/usr/share/doc/Image-Imlib2-2.30.0-r2/README.bz2
```

This happened in the past too with e.g. bug 827966.

We should add a QA check for when only docs are installed and nothing else (with some var to override it) as it usually implies a broken configure check.