commit: d0ce68b3b8306fb09b629b61ba2199fd57a41198
Author: Thomas Sachau <tommy <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 7 14:12:55 2018 +0000
Commit: Thomas Sachau <tommy <AT> gentoo <DOT> org>
CommitDate: Sun Jan 7 14:12:55 2018 +0000
URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=d0ce68b3
Dont run multlib checks until the installation is actually done
pym/portage/package/ebuild/doebuild.py | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/pym/portage/package/ebuild/doebuild.py
b/pym/portage/package/ebuild/doebuild.py
index 56a51458d..6572d4ace 100644
--- a/pym/portage/package/ebuild/doebuild.py
+++ b/pym/portage/package/ebuild/doebuild.py
@@ -2268,6 +2268,16 @@ def _post_src_install_soname_symlinks(mysettings, out):
"""
image_dir = mysettings["D"]
+
+ #only run this function when the installation is actually done and the
final
+ #image_dir exists (workaround for multilib-portage as this is first
called
+ #before all ABIs are done and the image_dir is created)
+ if not os.path.isdir (image_dir):
+ print(image_dir+" does not exist")
+ return
+ else:
+ print(image_dir+" does exist")
+
needed_filename = os.path.join(mysettings["PORTAGE_BUILDDIR"],
"build-info", "NEEDED.ELF.2")