diff options
author | Zac Medico <zmedico@gentoo.org> | 2010-08-13 07:52:50 -0700 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2010-08-13 07:52:50 -0700 |
commit | 2b48f228db7be788ef83f88fb85296fef880bac6 (patch) | |
tree | 6fc9ac9ad076c57ee58d8d94f5dcf7dca45dfbfd /bin/misc-functions.sh | |
parent | 9a5f9cf8f6a8ff78cc124c40aaebcedd7be8d059 (diff) | |
parent | a576d0e636feb2057636f3fb051fe946f35433df (diff) | |
download | portage-2b48f228db7be788ef83f88fb85296fef880bac6.tar.gz portage-2b48f228db7be788ef83f88fb85296fef880bac6.tar.bz2 portage-2b48f228db7be788ef83f88fb85296fef880bac6.zip |
Merge branch 'master' of git+ssh://git.overlays.gentoo.org/proj/portage
Diffstat (limited to 'bin/misc-functions.sh')
-rwxr-xr-x | bin/misc-functions.sh | 23 |
1 files changed, 21 insertions, 2 deletions
diff --git a/bin/misc-functions.sh b/bin/misc-functions.sh index 9777c9954..c965495b6 100755 --- a/bin/misc-functions.sh +++ b/bin/misc-functions.sh @@ -542,8 +542,27 @@ install_qa_check() { if [[ -n ${f} ]] ; then vecho -ne '\a\n' eqawarn "QA Notice: Byte-compiled Python modules have been found. python_mod_optimize()" - eqawarn " and python_mod_cleanup() functions python.eclass should be used to" - eqawarn " handle byte-compiled Python modules." + eqawarn " and python_mod_cleanup() functions from python.eclass should be used" + eqawarn " to handle byte-compiled Python modules." + eqawarn "${f}" + vecho -ne '\a\n' + fi + + f=$(find "${D}"usr/lib*/python*/site-packages -name '*.a' 2>/dev/null | sed "s:${D}:/:") + if [[ -n ${f} ]] ; then + vecho -ne '\a\n' + eqawarn "QA Notice: Static libraries have been found in Python site-packages" + eqawarn " directories. Build system should be modified to not generate" + eqawarn " these files and object files generated only for these files." + eqawarn "${f}" + vecho -ne '\a\n' + fi + + f=$(find "${D}"usr/lib*/python*/site-packages -name '*.la' 2>/dev/null | sed "s:${D}:/:") + if [[ -n ${f} ]] ; then + vecho -ne '\a\n' + eqawarn "QA Notice: Libtool libraries have been found in Python site-packages" + eqawarn " directories. These files should not be installed." eqawarn "${f}" vecho -ne '\a\n' fi |