public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Thomas Sachau" <tommy@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/portage:multilib commit in: pym/portage/package/ebuild/
Date: Sun,  7 Jan 2018 14:13:13 +0000 (UTC)	[thread overview]
Message-ID: <1515334375.d0ce68b3b8306fb09b629b61ba2199fd57a41198.tommy@gentoo> (raw)

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")
 


             reply	other threads:[~2018-01-07 14:13 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-01-07 14:13 Thomas Sachau [this message]
  -- strict thread matches above, loose matches on Subject: below --
2018-01-07 14:14 [gentoo-commits] proj/portage:multilib commit in: pym/portage/package/ebuild/ Thomas Sachau
2013-02-16 19:06 Thomas Sachau
2012-09-22 15:53 Thomas Sachau
2012-07-08 18:34 Zac Medico
2012-07-08 10:25 Thomas Sachau
2012-02-26 16:27 Thomas Sachau
2011-11-16 20:07 Thomas Sachau
2011-02-06 13:10 Thomas Sachau
2011-02-06 13:10 Thomas Sachau
2011-02-06 13:09 Thomas Sachau
2011-02-06 13:09 Thomas Sachau
2011-02-06 13:09 Thomas Sachau

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1515334375.d0ce68b3b8306fb09b629b61ba2199fd57a41198.tommy@gentoo \
    --to=tommy@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox