Re: [gentoo-user] trouble with virtual/jdk

2010-02-21 Thread daid kahl
  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



Re: [gentoo-user] trouble with virtual/jdk

2010-02-19 Thread Willie Wong
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 ww...@math.princeton.edu
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire 
 et vice versa   ~~~  I. Newton



Re: [gentoo-user] trouble with virtual/jdk

2010-02-19 Thread Philip Webb
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




Re: [gentoo-user] trouble with virtual/jdk (SOLVED)

2010-02-19 Thread Allan Gottlieb
At Thu, 18 Feb 2010 20:44:21 -0500 Allan Gottlieb gottl...@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



[gentoo-user] trouble with virtual/jdk

2010-02-18 Thread Allan Gottlieb
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



Re: [gentoo-user] trouble with virtual/jdk

2010-02-18 Thread daid kahl
On 19 February 2010 10:44, Allan Gottlieb gottl...@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