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

Re: j2sdk build-depends cannot be satisfied?



Hi

On Thu, Nov 21, 2002 at 11:16:21AM -0600, Kenneth Pronovici wrote:
> 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:

You really need a email program that can handle threads. Mutt do that. :)

>    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. 

Almost correct. Yes kaffe provide it so you do not need to list kaffe
if you list java1-runtime and java-virtual-machine.

> 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

If you change java-runtime to java1-runtime it is perfectly correct.

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

But you do not need to depend on any of the above except java-common
if you _know_ that it works if you compile it to native code for some
purpose. The usefulness of that can be discussed.

Regards,

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

Long but well structurated and clear. Such email is nice to
answer. ;)

// Ola

> 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 
> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-java-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> 

-- 
 --------------------- Ola Lundqvist ---------------------------
/  opal@debian.org                     Annebergsslingan 37      \
|  opal@lysator.liu.se                 654 65 KARLSTAD          |
|  +46 (0)54-10 14 30                  +46 (0)70-332 1551       |
|  http://www.opal.dhs.org             UIN/icq: 4912500         |
\  gpg/f.p.: 7090 A92B 18FE 7994 0C36  4FE4 18A1 B1CF 0FE5 3DD9 /
 ---------------------------------------------------------------



Reply to: