Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 129244 - missing exported EBUILD_PHASE=package|rpm
Summary: missing exported EBUILD_PHASE=package|rpm
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Binary packages support (show other bugs)
Hardware: All Other
: Highest normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: InVCS, REGRESSION
Depends on:
Blocks: 115839
  Show dependency tree
 
Reported: 2006-04-08 07:44 UTC by Peter S. Mazinger
Modified: 2006-04-13 00:10 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
EBUILD_PHASE support for package and rpm (ebuild_phase.patch,1.01 KB, patch)
2006-04-10 20:56 UTC, Zac Medico
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Peter S. Mazinger 2006-04-08 07:44:31 UTC
recent changes to portage-2.1 moved package|rpm targets to misc-functions.sh and
removed them from EBUILD_PHASES list. I was using this through /etc/portage/bashrc
to detect in phase I am, and do adequate corrections w/o touching ebuilds (redo
false links that point to /var/tmp/portage/*, change absolute links to relative,
remove unneeded files and the like.
I have tried adding them back to EBUILD_PHASES, but I do not achieve anything.
If this was an unintended change, please correct, else please give me a pointer
how I get those back to do it locally.
Comment 1 Zac Medico gentoo-dev 2006-04-10 20:56:55 UTC
Created attachment 84415 [details, diff]
EBUILD_PHASE support for package and rpm

This is in svn r3125 for the next release.
Comment 2 Zac Medico gentoo-dev 2006-04-10 21:14:20 UTC
On more hunk was needed, in svn r3126.

=== modified file 'pym/portage.py'
--- pym/portage.py	
+++ pym/portage.py	
@@ -2246,6 +2246,8 @@
 		# XXX: that creates a deadlock... Really need to isolate that.
 		mysettings.reset(use_cache=use_cache)
 	mysettings.setcpv(mycpv,use_cache=use_cache)
+
+	mysettings["EBUILD_PHASE"] = mydo
 
 	if debug: # Otherwise it overrides emerge's settings.
 		# We have no other way to set debug... debug can't be passed in

Comment 3 Peter S. Mazinger 2006-04-11 00:04:08 UTC
it is not solved (tested w/ pre7-r5)
Comment 4 Peter S. Mazinger 2006-04-11 00:10:24 UTC
sorry for the noise, overseen the next part of patch, now it is ok (at least
setup|compile|package work), thanks
Comment 5 Zac Medico gentoo-dev 2006-04-13 00:10:14 UTC
Released in 2.1_pre8-r1.