Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 691928 - Report QA violation if (build directory size + installed tree size) > CHECKREQS_DISK_BUILD size
Summary: Report QA violation if (build directory size + installed tree size) > CHECKRE...
Status: UNCONFIRMED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Enhancement/Feature Requests (show other bugs)
Hardware: All Linux
: Normal minor with 1 vote (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-08-11 11:14 UTC by Zoltan Puskas
Modified: 2022-03-05 07:33 UTC (History)
1 user (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 Zoltan Puskas 2019-08-11 11:14:55 UTC
If an ebuild specifies CHECKREQS_DISK_BUILD size it can become outdated as package grows. It can easily go unnoticed if one's PORTAGE_TMPDIR is big enough. 

Portage should report a QA violation if the (build directory size + installed tree size) > CHECKREQS_DISK_BUILD. 

This will prevent shipping ebuilds that can fill up PORTAGE_TMPDIR for the user (e.g. it's on tmpfs) when PORTAGE_TMPDIR size is > CHECKREQS_DISK_BUILD, but not enough to hold actual size required by the ebuild.

Reproducible: Always