Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 163504
Alias:
Product:
Component:
Status: NEW
Resolution:
Assigned To: Java team <java@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Michal Kurgan (RETIRED) <moloh@gentoo.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 163504 depends on: Show dependency tree
Bug 163504 blocks: 162516
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.








View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-01-23 22:41 0000
Hello!

This eclass depends on sys-apps/portage.
Is this needed? Maybe virtual/portage would suffice and it would help in
adoption of other package managers.

There is already opened related bug. I marked it as blocked one.

------- Comment #1 From Vlastimil Babka (Caster) 2007-01-23 23:12:21 0000 -------
The reason: https://forums.gentoo.org/viewtopic.php?p=3415514
And the reason we have this dep in java-pkg-2 and java-pkg-opt-2: we need phase
hooks (and if we get rid of needing phase hooks, we will need 2.1.1 for proper
env saving)

virtual/portage is old-style virtual, how will that map to other package
managers if we specify portage version we need? I guess badly.

------- Comment #2 From Petteri Räty 2007-01-24 13:02:14 0000 -------
(In reply to comment #1)
> 
> virtual/portage is old-style virtual, how will that map to other package
> managers if we specify portage version we need? I guess badly.
> 

Yeah that would not work. Also java-config atm needs Portage so you really
can't uninstall it either even if the env hooks worked.

------- Comment #3 From Petteri Räty 2007-02-02 13:42:55 0000 -------
virtual/portage is an old style virtual so it does not help us here
betelgeuse@pena ~ $ qgrep -H virtual/portage
sys-apps/paludis/paludis-0.14.3.ebuild: PROVIDE="virtual/portage"
sys-apps/paludis/paludis-0.16.0.ebuild: PROVIDE="virtual/portage"
sys-apps/paludis/paludis-0.16.1.ebuild: PROVIDE="virtual/portage"
sys-apps/portage/portage-2.0.51.22-r3.ebuild: PROVIDE="virtual/portage"
sys-apps/portage/portage-2.1.1-r2.ebuild: PROVIDE="virtual/portage"

ATM I can't think of a reason to need that depend in java-vm-2.eclass but it
will stay in java-utils-2.eclass for the time being.

------- Comment #4 From Chris Slycord 2007-06-04 21:59:33 0000 -------
Can't the eclass's dependency be changed to

|| ( >=sys-apps/portage-2.1 sys-apps/pkgcore sys-apps/paludis )

?

------- Comment #5 From Petteri Räty 2007-06-04 22:08:38 0000 -------
(In reply to comment #4)
> Can't the eclass's dependency be changed to
> 
> || ( >=sys-apps/portage-2.1 sys-apps/pkgcore sys-apps/paludis )
> 
> ?
> 

I for example have paludis installed but don't use it to install anything. I
just query stuff with it so you're solution is not enough.

------- Comment #6 From Chris Slycord 2007-06-05 20:03:37 0000 -------
(In reply to comment #5)
> (In reply to comment #4)
> > Can't the eclass's dependency be changed to
> > 
> > || ( >=sys-apps/portage-2.1 sys-apps/pkgcore sys-apps/paludis )
> > 
> > ?
> > 
> 
> I for example have paludis installed but don't use it to install anything. I
> just query stuff with it so you're solution is not enough.

The only reason this wouldn't work is if you installed paludis, uninstalled
portage, then complained that you only wanted paludis for queries and wanted to
use portage to install stuff (which would make us wonder why you uninstalled
portage to begin with).

------- Comment #7 From Vlastimil Babka (Caster) 2007-06-06 08:22:45 0000 -------
(In reply to comment #6)
> The only reason this wouldn't work is if you installed paludis, uninstalled
> portage, then complained that you only wanted paludis for queries and wanted to
> use portage to install stuff (which would make us wonder why you uninstalled
> portage to begin with).

No, it wouldn't work in this scenario:
install portage < 2.1 and paludis/pkgcore
try to install anything with java-vm-2 eclass (via portage)
I don't think portage would update itself to >2.1 if the || dependency would be
already satisfied by paludis/pkgcore

------- Comment #8 From Chris Slycord 2007-09-26 04:32:30 0000 -------
(In reply to comment #7)
> (In reply to comment #6)
> > The only reason this wouldn't work is if you installed paludis, uninstalled
> > portage, then complained that you only wanted paludis for queries and wanted to
> > use portage to install stuff (which would make us wonder why you uninstalled
> > portage to begin with).
> 
> No, it wouldn't work in this scenario:
> install portage < 2.1 and paludis/pkgcore
> try to install anything with java-vm-2 eclass (via portage)
> I don't think portage would update itself to >2.1 if the || dependency would be
> already satisfied by paludis/pkgcore
> 

So then can this be fixed with the following 2 lines?
|| ( >=sys-apps/portage-2.1 sys-apps/pkgcore sys-apps/paludis )
!<sys-apps/portage-2.1

So the eclass would have a block for old versions of portage and would allow
the other managers too.

------- Comment #9 From Petteri Räty 2007-09-26 10:33:41 0000 -------
(In reply to comment #8)
> > 
> 
> So then can this be fixed with the following 2 lines?
> || ( >=sys-apps/portage-2.1 sys-apps/pkgcore sys-apps/paludis )
> !<sys-apps/portage-2.1
> 

I doubt this would make a good upgrade path from <portage-2.1 to current
versions. You really can't uninstall the package manager to get around the
block.

------- Comment #10 From Thilo Bangert 2009-03-24 21:31:15 0000 -------
any news on this one? portage-2.1.4.5 is the oldest portage in the tree...

that should take care of the FIXME in java-pkg.eclass.
what about java-utils-2.eclass and java-vm-2.eclass?

------- Comment #11 From Petteri Räty 2009-03-24 22:26:51 0000 -------
(In reply to comment #10)
> any news on this one? portage-2.1.4.5 is the oldest portage in the tree...
> 
> that should take care of the FIXME in java-pkg.eclass.
> what about java-utils-2.eclass and java-vm-2.eclass?
> 

java-pkg.eclass is deprecated and will be gone soon. The eclasses don't require
sys-apps/portage when you have EAPI 2 so the dep will be gone when all ebuilds
using the eclasses are EAPI 2.

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug