From: Zac Medico Date: Fri, 14 Oct 2011 06:23:48 +0000 (-0700) Subject: Don't generate soname symlinks for bug #387053. X-Git-Tag: v2.2.0_alpha68~53 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=d1499e9e3b08fd3e539f1b9a740d243bec67872c;p=portage.git Don't generate soname symlinks for bug #387053. 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). --- diff --git a/pym/portage/package/ebuild/doebuild.py b/pym/portage/package/ebuild/doebuild.py index 6ebe133d4..38f012fe4 100644 --- a/pym/portage/package/ebuild/doebuild.py +++ b/pym/portage/package/ebuild/doebuild.py @@ -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 = []