[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: j2sdk build-depends cannot be satisfied?



Ok... I've gotten a lot of answers on this thread, which I REALLY
appreciate.  This is what I love about Debian. :-)  I just want to take
one last pass at my question, to make sure everyone's in agreement.

Parts of this thread (which is now a week+ long) have gotten lost along
the way :), so to summarize:

   1) My questions are related libnbio2-java
   2) libnbio2-java is a JNI Java library, and hence is arch-dependent
   3) My original question was why the autobuilder couldn't build it
   4) The answer to that question was, because it depends on Blackdown
   5) Discussion continued on how I could get it to build with free tools
   6) I made it build with free tools (checked with pdebbuild environment)
   7) Test code turned out to work with kaffe, but not with gij
   8) I posted a recipe for the problem with gij (but did not file a bug, yet)
   9) We decided that if it ran with kaffe, that was good enough for now

Here is the control file for the package as it currently stands (with
the long description removed for brevity):

   Source: nbio
   Section: libs
   Priority: optional
   Maintainer: Kenneth J. Pronovici <pronovic@ieee.org>
   Build-Depends: debhelper (>> 4.1.0), fastjar (>= 1:3.2.1-0pre6), gcj-3.2
   (>= 1:3.2.1-0pre6), gcc-3.2 (>= 1:3.2.1-0pre6), doxygen
   Standards-Version: 3.5.7

   Package: libnbio2-java
   Architecture: any
   Depends: kaffe, java-common
   Description: NBIO: Nonblocking I/O for Java, Version 2

As I mentioned above, I am fairly confident in the Build-Depends line,
since I can build the package in a pdebuild chroot environment.  I
am just not sure whether my Depends line is correct.  In my test
enviroment, I have only kaffe and java-common (and no other java-related
packages) installed, and my test code works.

Some people have suggested that in addition to kaffe, I should list
java-virtual-machine and java1-runtime.  Others have pointed out that
kaffe provides java-virtual-machine and java1-runtime, so I wouldn't
really need to list them. 

So, here's my (hopefully) final question.  I think I have addressed
everyone's concerns with this Depends line:

   Depends: kaffe | java-virtual-machine, kaffe | java-runtime, java-common

Can everyone agree that this is correct?  If not, can someone suggest a
line that will satisfy everyone?

Sorry this post got so long...  thanks again to all of you for the help.

KEN

-- 
Kenneth J. Pronovici <pronovic@ieee.org>
Personal Homepage: http://www.skyjammer.com/~pronovic/
"They that can give up essential liberty to obtain a little 
 temporary safety deserve neither liberty nor safety." 
      - Benjamin Franklin, Historical Review of Pennsylvania, 1759 



Reply to: