public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] trouble with virtual/jdk
@ 2010-02-19  1:44 Allan Gottlieb
  2010-02-19  7:10 ` daid kahl
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Allan Gottlieb @ 2010-02-19  1:44 UTC (permalink / raw
  To: gentoo-user

When I run 
  emerge --ignore-default-opts --pretend --deep --tree --verbose --update --with-bdeps=y world

I get (after a DeprecationWarning about portage.dep.dep_getkey() that I
believe I can ignore)

Total: 0 packages, Size of downloads: 0 kB

!!! The following update has been skipped due to unsatisfied dependencies:

virtual/jdk:1.5

!!! All ebuilds that could satisfy "=dev-java/sun-jdk-1.5.0*" have been masked.
!!! One of the following masked packages is required to complete your request:
- dev-java/sun-jdk-1.5.0.22 (masked by: dlj-1.1 license(s))
A copy of the 'dlj-1.1' license is located at '/usr/portage/licenses/dlj-1.1'.

(dependency required by "virtual/jdk-1.5.0" [ebuild])

================================================================

But I don't see why virtual/jdk-1.5.0 is being referenced (it is not installed)

I have icedtea6-bin installed and set as my system and user vm.

I do not get the error when I don't have --with-bdeps=y so it must be
some build dependency.  But how do I find which one?

# emerge --pretend --verbose --with-bdeps=y --depclean virtual/jdk:1.5
>>> No packages selected for removal by depclean

# emerge --pretend --verbose --with-bdeps=y --depclean =virtual/jdk-1.5.0
>>> No packages selected for removal by depclean

# eix virtual/jdk
[I] virtual/jdk
     Available versions:  
	(1.4)	[M]1.4.1 [M]1.4.2
	(1.5)	1.5.0
	(1.6)	1.6.0
     Installed versions:  1.6.0(1.6)(23:21:11 04/21/09)

thanks,
allan



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] trouble with virtual/jdk
  2010-02-19  1:44 [gentoo-user] trouble with virtual/jdk Allan Gottlieb
@ 2010-02-19  7:10 ` daid kahl
  2010-02-19 11:33 ` Willie Wong
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 9+ messages in thread
From: daid kahl @ 2010-02-19  7:10 UTC (permalink / raw
  To: gentoo-user

On 19 February 2010 10:44, Allan Gottlieb <gottlieb@nyu.edu> wrote:
> When I run
>  emerge --ignore-default-opts --pretend --deep --tree --verbose --update --with-bdeps=y world
>
> I get (after a DeprecationWarning about portage.dep.dep_getkey() that I
> believe I can ignore)
>
> Total: 0 packages, Size of downloads: 0 kB
>
> !!! The following update has been skipped due to unsatisfied dependencies:
>
> virtual/jdk:1.5
>
> !!! All ebuilds that could satisfy "=dev-java/sun-jdk-1.5.0*" have been masked.
> !!! One of the following masked packages is required to complete your request:
> - dev-java/sun-jdk-1.5.0.22 (masked by: dlj-1.1 license(s))
> A copy of the 'dlj-1.1' license is located at '/usr/portage/licenses/dlj-1.1'.
>
> (dependency required by "virtual/jdk-1.5.0" [ebuild])
>
> ================================================================
>
> But I don't see why virtual/jdk-1.5.0 is being referenced (it is not installed)
>
> I have icedtea6-bin installed and set as my system and user vm.
>
> I do not get the error when I don't have --with-bdeps=y so it must be
> some build dependency.  But how do I find which one?
>
> # emerge --pretend --verbose --with-bdeps=y --depclean virtual/jdk:1.5
>>>> No packages selected for removal by depclean
>
> # emerge --pretend --verbose --with-bdeps=y --depclean =virtual/jdk-1.5.0
>>>> No packages selected for removal by depclean
>
> # eix virtual/jdk
> [I] virtual/jdk
>     Available versions:
>        (1.4)   [M]1.4.1 [M]1.4.2
>        (1.5)   1.5.0
>        (1.6)   1.6.0
>     Installed versions:  1.6.0(1.6)(23:21:11 04/21/09)
>
> thanks,
> allan
>
>

I'm not java expert, but some programs want specific virtual
environments (deprecated code mostly I'd guess).

To not answer your question, throw the following into make.conf and
you will circumvent the block (provided you are cool to accept the
license):

ACCEPT_LICENSE="dlj-1.1"

As far as which package from the dependency tree, then I'm guessing
you can use equery depgraph and try to grep the results for the
virtual/jdk-1.5.0

I'm crap at narrowing the outputs of depgraph, but I haven't had many
cases where I needed to do this.  If I'm depcleaning and updating the
world on -uND I trust portage that it needs the things it says.

~daid



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] trouble with virtual/jdk
  2010-02-19  1:44 [gentoo-user] trouble with virtual/jdk Allan Gottlieb
  2010-02-19  7:10 ` daid kahl
@ 2010-02-19 11:33 ` Willie Wong
  2010-02-19 13:44 ` Philip Webb
  2010-02-19 15:13 ` [gentoo-user] trouble with virtual/jdk (SOLVED) Allan Gottlieb
  3 siblings, 0 replies; 9+ messages in thread
From: Willie Wong @ 2010-02-19 11:33 UTC (permalink / raw
  To: gentoo-user

On Thu, Feb 18, 2010 at 08:44:21PM -0500, Allan Gottlieb wrote:
> When I run 
>   emerge --ignore-default-opts --pretend --deep --tree --verbose --update --with-bdeps=y world
> 

<snip>

> !!! The following update has been skipped due to unsatisfied dependencies:
> 
> virtual/jdk:1.5
> 
> !!! All ebuilds that could satisfy "=dev-java/sun-jdk-1.5.0*" have been masked.
> !!! One of the following masked packages is required to complete your request:
> - dev-java/sun-jdk-1.5.0.22 (masked by: dlj-1.1 license(s))
> A copy of the 'dlj-1.1' license is located at '/usr/portage/licenses/dlj-1.1'.
> 
> (dependency required by "virtual/jdk-1.5.0" [ebuild])
> 
> ================================================================
> 
> But I don't see why virtual/jdk-1.5.0 is being referenced (it is not installed)

Maybe a deep/build-time dependency of some other program is now
specifying java 1.5 instead of 1.6? Try temporarily accepting the
license and re-run the command to see who is pulling in jdk:1.5? 

W
-- 
Willie W. Wong                                     wwong@math.princeton.edu
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire 
         et vice versa   ~~~  I. Newton



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] trouble with virtual/jdk
  2010-02-19  1:44 [gentoo-user] trouble with virtual/jdk Allan Gottlieb
  2010-02-19  7:10 ` daid kahl
  2010-02-19 11:33 ` Willie Wong
@ 2010-02-19 13:44 ` Philip Webb
  2010-02-19 14:47   ` [gentoo-user] " walt
  2010-02-22  1:24   ` [gentoo-user] " daid kahl
  2010-02-19 15:13 ` [gentoo-user] trouble with virtual/jdk (SOLVED) Allan Gottlieb
  3 siblings, 2 replies; 9+ messages in thread
From: Philip Webb @ 2010-02-19 13:44 UTC (permalink / raw
  To: gentoo-user

100218 Allan Gottlieb wrote:
> When I run 
>   emerge --ignore-default-opts --pretend --deep --tree --verbose --update --with-bdeps=y world
> I get ...
>   !!! The following update has been skipped due to unsatisfied dependencies:
>   virtual/jdk:1.5
>   !!! All ebuilds that could satisfy "=dev-java/sun-jdk-1.5.0*" have been masked.
> I don't see why virtual/jdk-1.5.0 is referenced (it is not installed) ...
>   # eix virtual/jdk
>   [I] virtual/jdk
>     Available versions:  
> 	(1.4)	[M]1.4.1 [M]1.4.2
> 	(1.5)	1.5.0
> 	(1.6)	1.6.0
>     Installed versions:  1.6.0(1.6)(23:21:11 04/21/09)

I have the same result with Eix, but note Equery :

  root:503 ~> equery d virtual/jdk
  [ Searching for packages depending on virtual/jdk... ]
  app-office/openoffice-3.1.1 (java? =virtual/jdk-1.5*)
                              (java? =virtual/jdk-1.6*)
  dev-db/hsqldb-1.8.0.10 (!java6? =virtual/jdk-1.5*)
                         (java6? >=virtual/jdk-1.6) ...

My 'make.conf' has 'java', but not 'java6',
so there mb some obscure problem lurking in OO, which I haven't hit yet
(Java in OO is largely for DB & help, isn't it ? ).

BTW can anyone advise what the '*' means in the list above ?

-- 
========================,,============================================
SUPPORT     ___________//___,   Philip Webb
ELECTRIC   /] [] [] [] [] []|   Cities Centre, University of Toronto
TRANSIT    `-O----------O---'   purslowatchassdotutorontodotca




^ permalink raw reply	[flat|nested] 9+ messages in thread

* [gentoo-user] Re: trouble with virtual/jdk
  2010-02-19 13:44 ` Philip Webb
@ 2010-02-19 14:47   ` walt
  2010-02-19 15:09     ` Alan McKinnon
  2010-02-22  1:24   ` [gentoo-user] " daid kahl
  1 sibling, 1 reply; 9+ messages in thread
From: walt @ 2010-02-19 14:47 UTC (permalink / raw
  To: gentoo-user

On 02/19/2010 05:44 AM, Philip Webb wrote:

>    dev-db/hsqldb-1.8.0.10 (!java6? =virtual/jdk-1.5*)
>                           (java6?>=virtual/jdk-1.6) ...
>
> My 'make.conf' has 'java', but not 'java6',

I'm thinking that !java6 notation means if you *don't* have the
java6 useflag enabled (but do want java) then hsqldb will pull
in jdk1.5 instead of 1.6.  Just a guess.




^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] Re: trouble with virtual/jdk
  2010-02-19 14:47   ` [gentoo-user] " walt
@ 2010-02-19 15:09     ` Alan McKinnon
  2010-02-19 15:15       ` Allan Gottlieb
  0 siblings, 1 reply; 9+ messages in thread
From: Alan McKinnon @ 2010-02-19 15:09 UTC (permalink / raw
  To: gentoo-user

On Friday 19 February 2010 16:47:09 walt wrote:
> On 02/19/2010 05:44 AM, Philip Webb wrote:
> >    dev-db/hsqldb-1.8.0.10 (!java6? =virtual/jdk-1.5*)
> >    
> >                           (java6?>=virtual/jdk-1.6) ...
> > 
> > My 'make.conf' has 'java', but not 'java6',
> 
> I'm thinking that !java6 notation means if you *don't* have the
> java6 useflag enabled (but do want java) then hsqldb will pull
> in jdk1.5 instead of 1.6.  Just a guess.

More than a guess. You are spot on 100% accurate.

-- 
alan dot mckinnon at gmail dot com



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] trouble with virtual/jdk (SOLVED)
  2010-02-19  1:44 [gentoo-user] trouble with virtual/jdk Allan Gottlieb
                   ` (2 preceding siblings ...)
  2010-02-19 13:44 ` Philip Webb
@ 2010-02-19 15:13 ` Allan Gottlieb
  3 siblings, 0 replies; 9+ messages in thread
From: Allan Gottlieb @ 2010-02-19 15:13 UTC (permalink / raw
  To: gentoo-user

At Thu, 18 Feb 2010 20:44:21 -0500 Allan Gottlieb <gottlieb@nyu.edu> wrote:

> When I run 
>   emerge --ignore-default-opts --pretend --deep --tree --verbose --update --with-bdeps=y world
>
> I get (after a DeprecationWarning about portage.dep.dep_getkey() that I
> believe I can ignore)
>
> Total: 0 packages, Size of downloads: 0 kB
>
> !!! The following update has been skipped due to unsatisfied dependencies:
>
> virtual/jdk:1.5
>
> !!! All ebuilds that could satisfy "=dev-java/sun-jdk-1.5.0*" have been masked.
> !!! One of the following masked packages is required to complete your request:
> - dev-java/sun-jdk-1.5.0.22 (masked by: dlj-1.1 license(s))
> A copy of the 'dlj-1.1' license is located at '/usr/portage/licenses/dlj-1.1'.
>
> (dependency required by "virtual/jdk-1.5.0" [ebuild])
>
> ================================================================
>
> But I don't see why virtual/jdk-1.5.0 is being referenced (it is not installed)
>
> I have icedtea6-bin installed and set as my system and user vm.
>
> I do not get the error when I don't have --with-bdeps=y so it must be
> some build dependency.  But how do I find which one?
>
> # emerge --pretend --verbose --with-bdeps=y --depclean virtual/jdk:1.5
>>>> No packages selected for removal by depclean
>
> # emerge --pretend --verbose --with-bdeps=y --depclean =virtual/jdk-1.5.0
>>>> No packages selected for removal by depclean
>
> # eix virtual/jdk
> [I] virtual/jdk
>      Available versions:  
> 	(1.4)	[M]1.4.1 [M]1.4.2
> 	(1.5)	1.5.0
> 	(1.6)	1.6.0
>      Installed versions:  1.6.0(1.6)(23:21:11 04/21/09)

Phillip suggested equery d over eix and noted that the java6 USE flag is
relevant.  Indeed, having java, but not java6 in make.conf, tells hsqldb
that I want virtual/jdk-1.5*.  Adding java6 fixed everything.

Thank you david, willie, and philip.

allan



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] Re: trouble with virtual/jdk
  2010-02-19 15:09     ` Alan McKinnon
@ 2010-02-19 15:15       ` Allan Gottlieb
  0 siblings, 0 replies; 9+ messages in thread
From: Allan Gottlieb @ 2010-02-19 15:15 UTC (permalink / raw
  To: gentoo-user

At Fri, 19 Feb 2010 17:09:03 +0200 Alan McKinnon <alan.mckinnon@gmail.com> wrote:

> On Friday 19 February 2010 16:47:09 walt wrote:
>> On 02/19/2010 05:44 AM, Philip Webb wrote:
>> >    dev-db/hsqldb-1.8.0.10 (!java6? =virtual/jdk-1.5*)
>> >    
>> >                           (java6?>=virtual/jdk-1.6) ...
>> > 
>> > My 'make.conf' has 'java', but not 'java6',
>> 
>> I'm thinking that !java6 notation means if you *don't* have the
>> java6 useflag enabled (but do want java) then hsqldb will pull
>> in jdk1.5 instead of 1.6.  Just a guess.
>
> More than a guess. You are spot on 100% accurate.

Indeed.  As I mentioned in a msg sent just before walt's and alan's
arrived, adding java6 to make.conf fixed everything.

allan



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] trouble with virtual/jdk
  2010-02-19 13:44 ` Philip Webb
  2010-02-19 14:47   ` [gentoo-user] " walt
@ 2010-02-22  1:24   ` daid kahl
  1 sibling, 0 replies; 9+ messages in thread
From: daid kahl @ 2010-02-22  1:24 UTC (permalink / raw
  To: gentoo-user

>  root:503 ~> equery d virtual/jdk
>  [ Searching for packages depending on virtual/jdk... ]
>  app-office/openoffice-3.1.1 (java? =virtual/jdk-1.5*)
>                              (java? =virtual/jdk-1.6*)
>  dev-db/hsqldb-1.8.0.10 (!java6? =virtual/jdk-1.5*)
>                         (java6? >=virtual/jdk-1.6) ...
>
> My 'make.conf' has 'java', but not 'java6',
> so there mb some obscure problem lurking in OO, which I haven't hit yet
> (Java in OO is largely for DB & help, isn't it ? ).
>
> BTW can anyone advise what the '*' means in the list above ?

Consider cd && ls .*

The star is the same wildcard...

So like a dependency of jdk-1.5* means any java pacakge (full package
here including the version number) with 1.5[anything] is accepted to
meet the dependency in the case you don't use java6.

~daid



^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2010-02-22  2:03 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-19  1:44 [gentoo-user] trouble with virtual/jdk Allan Gottlieb
2010-02-19  7:10 ` daid kahl
2010-02-19 11:33 ` Willie Wong
2010-02-19 13:44 ` Philip Webb
2010-02-19 14:47   ` [gentoo-user] " walt
2010-02-19 15:09     ` Alan McKinnon
2010-02-19 15:15       ` Allan Gottlieb
2010-02-22  1:24   ` [gentoo-user] " daid kahl
2010-02-19 15:13 ` [gentoo-user] trouble with virtual/jdk (SOLVED) Allan Gottlieb

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox