ebuild(5) man page states that: QA_TEXTRELS This variable can be set to a list of file paths, relative to the image directory, of files that contain text relocations that canβ not be eliminated. The paths may contain regular expressions. This variable is intended to be used on closed-source binary objects that cannot be altered. What I see however is that a special subset of shell-style patterns, not regular expressions are allowed. Either documentation or implementation should be updated. Reproducible: Always Steps to Reproduce: 1. Write an ebuild which installs some files with .text relocations or pick one I attached (be careful, HUGE download in SRC_URI) 2. Try to match a sub-string with a '.*' regular expression, not '*' shell-style pattern in QA_TEXTRELS 3. See what happens Actual Results: Paths not matched Expected Results: Paths should match
Created attachment 214486 [details] emerge --info
Created attachment 214488 [details] A testcase build with USE=idb and all other flags negated, this would minimize amount of download and temp disk space.
Fixed in 2.1.7. http://sources.gentoo.org/viewcvs.py/portage?rev=14184&view=rev http://sources.gentoo.org/viewcvs.py/portage?rev=14536&view=rev