Don't generate soname symlinks for bug #387053.
authorZac Medico <zmedico@gentoo.org>
Fri, 14 Oct 2011 06:23:48 +0000 (23:23 -0700)
committerZac Medico <zmedico@gentoo.org>
Fri, 14 Oct 2011 06:23:48 +0000 (23:23 -0700)
The symlink is not really needed now that the QA notice has been
available for some time (testing since 2.1.10.4, and stable
since 2.1.10.11).

pym/portage/package/ebuild/doebuild.py

index 6ebe133d4fdfd92a98828c9056f0677934428d10..38f012fe4542d6b4071b0f466761d309242b5290 100644 (file)
@@ -1907,8 +1907,7 @@ def _post_src_install_soname_symlinks(mysettings, out):
        if not missing_symlinks:
                return
 
-       qa_msg = ["QA Notice: Missing soname symlink(s) " + \
-               "will be automatically created:"]
+       qa_msg = ["QA Notice: Missing soname symlink(s):"]
        qa_msg.append("")
        qa_msg.extend("\t%s -> %s" % (os.path.join(
                os.path.dirname(obj).lstrip(os.sep), soname),
@@ -1918,13 +1917,6 @@ def _post_src_install_soname_symlinks(mysettings, out):
        for line in qa_msg:
                eqawarn(line, key=mysettings.mycpv, out=out)
 
-       _preinst_bsdflags(mysettings)
-       for obj, soname in missing_symlinks:
-               obj_file_path = os.path.join(image_dir, obj.lstrip(os.sep))
-               sym_file_path = os.path.join(os.path.dirname(obj_file_path), soname)
-               os.symlink(os.path.basename(obj_file_path), sym_file_path)
-       _reapply_bsdflags_to_image(mysettings)
-
 def _merge_unicode_error(errors):
        lines = []