writemsg("\n", noiselevel=-1)
return 1
+ if returnpid and mydo != 'depend':
+ # This case is not supported, since it bypasses the EbuildPhase class
+ # which implements important functionality (including post phase hooks
+ # and IPC for things like best/has_version and die).
+ warnings.warn("portage.doebuild() called "
+ "with returnpid parameter enabled. This usage will "
+ "not be supported in the future.",
+ DeprecationWarning, stacklevel=2)
+
if mydo == "fetchall":
fetchall = 1
mydo = "fetch"
def spawnebuild(mydo, actionmap, mysettings, debug, alwaysdep=0,
logfile=None, fd_pipes=None, returnpid=False):
+ if returnpid:
+ warnings.warn("portage.spawnebuild() called "
+ "with returnpid parameter enabled. This usage will "
+ "not be supported in the future.",
+ DeprecationWarning, stacklevel=2)
+
if not returnpid and \
(alwaysdep or "noauto" not in mysettings.features):
# process dependency first