Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Fedora Development Java (http://www.linux-archive.org/fedora-development-java/)
-   -   why does openjdk need to depend on netbeans? (http://www.linux-archive.org/fedora-development-java/215063-why-does-openjdk-need-depend-netbeans.html)

Harshad 12-19-2008 05:18 PM

why does openjdk need to depend on netbeans?
 
Hi,

I just tried installing java-1.6.0-openjdk-devel, and this causes a 38M download because of a dependency on netbeans. Is this really intended or is there a bug/oversight? (I am on a limited download internet connection)

Here's my complete yum trace:

yum install java-1.6.0-openjdk-devel.i386
Loaded plugins: fastestmirror, refresh-packagekit
Loading mirror speeds from cached hostfile
* fedora: ftp.iitm.ac.in
* rpmfusion-free-updates: lordmorgul.net
* rpmfusion-nonfree-updates: lordmorgul.net
* rpmfusion-free: lordmorgul.net
* rpmfusion-nonfree: lordmorgul.net
* updates: ftp.iitm.ac.in
fedora | 2.8 kB 00:00
rpmfusion-free-updates | 2.7 kB 00:00
rpmfusion-nonfree-updates | 2.7 kB 00:00
rpmfusion-free | 2.7 kB 00:00
rpmfusion-nonfree | 2.7 kB 00:00
updates | 2.3 kB 00:00
Setting up Install Process
Parsing package install arguments
Resolving Dependencies
--> Running transaction check
---> Package java-1.6.0-openjdk-devel.i386 1:1.6.0.0-7.b12.fc10 set to be updated
--> Processing Dependency: netbeans-platform8 for package: java-1.6.0-openjdk-devel
--> Running transaction check
---> Package netbeans-platform8.noarch 0:6.1-5.fc10 set to be updated
--> Processing Dependency: swing-layout >= 1.0 for package: netbeans-platform8
--> Processing Dependency: jna >= 3.0.2 for package: netbeans-platform8
--> Processing Dependency: javahelp2 >= 2.0.05 for package: netbeans-platform8
--> Running transaction check
---> Package javahelp2.noarch 0:2.0.05-5.fc10 set to be updated
---> Package swing-layout.i386 0:1.0.3-2.fc9 set to be updated
--> Processing Dependency: java-gcj-compat >= 1.0.31 for package: swing-layout
--> Processing Dependency: libgcj_bc.so.1 for package: swing-layout
---> Package jna.i386 0:3.0.4-10.svn729.fc10 set to be updated
--> Processing Dependency: libffi.so.5 for package: jna
--> Running transaction check
---> Package java-1.5.0-gcj.i386 0:1.5.0.0-22.fc10 set to be updated
updates/filelists_db | 2.8 MB 00:14
--> Processing Dependency: sinjdoc for package: java-1.5.0-gcj
---> Package libffi.i386 0:3.0.5-1.fc10 set to be updated
---> Package libgcj.i386 0:4.3.2-7 set to be updated
--> Running transaction check
---> Package sinjdoc.i386 0:0.5-7.fc10 set to be updated
--> Processing Dependency: java_cup >= 0.10 for package: sinjdoc
--> Running transaction check
---> Package java_cup.i386 1:0.10k-1 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

================================================== ================================================== =======
Package Arch Version Repository Size
================================================== ================================================== =======
Installing:
java-1.6.0-openjdk-devel i386 1:1.6.0.0-7.b12.fc10 updates 12 M
Installing for dependencies:
java-1.5.0-gcj i386 1.5.0.0-22.fc10 fedora 132 k
java_cup i386 1:0.10k-1 fedora 175 k
javahelp2 noarch 2.0.05-5.fc10 fedora 551 k
jna i386 3.0.4-10.svn729.fc10 fedora 187 k
libffi i386 3.0.5-1.fc10 fedora 22 k
libgcj i386 4.3.2-7 fedora 19 M
netbeans-platform8 noarch 6.1-5.fc10 fedora 5.2 M
sinjdoc i386 0.5-7.fc10 fedora 786 k
swing-layout i386 1.0.3-2.fc9 fedora 144 k

Transaction Summary
================================================== ================================================== =======
Install 10 Package(s)
Update 0 Package(s)
Remove 0 Package(s)

Total download size: 38 M
Is this ok [y/N]: N
Exiting on user Command
Complete!


thanks,
Harshad

--
fedora-devel-java-list mailing list
fedora-devel-java-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-java-list

Lillian Angel 12-19-2008 06:01 PM

why does openjdk need to depend on netbeans?
 
Harshad wrote:

Hi,

I just tried installing java-1.6.0-openjdk-devel, and this causes a 38M download because of a dependency on netbeans. Is this really intended or is there a bug/oversight? (I am on a limited download internet connection)

Here's my complete yum trace:

yum install java-1.6.0-openjdk-devel.i386
Loaded plugins: fastestmirror, refresh-packagekit
Loading mirror speeds from cached hostfile
* fedora: ftp.iitm.ac.in
* rpmfusion-free-updates: lordmorgul.net
* rpmfusion-nonfree-updates: lordmorgul.net
* rpmfusion-free: lordmorgul.net
* rpmfusion-nonfree: lordmorgul.net
* updates: ftp.iitm.ac.in
fedora | 2.8 kB 00:00
rpmfusion-free-updates | 2.7 kB 00:00
rpmfusion-nonfree-updates | 2.7 kB 00:00
rpmfusion-free | 2.7 kB 00:00
rpmfusion-nonfree | 2.7 kB 00:00
updates | 2.3 kB 00:00
Setting up Install Process
Parsing package install arguments
Resolving Dependencies
--> Running transaction check
---> Package java-1.6.0-openjdk-devel.i386 1:1.6.0.0-7.b12.fc10 set to be updated
--> Processing Dependency: netbeans-platform8 for package: java-1.6.0-openjdk-devel
--> Running transaction check
---> Package netbeans-platform8.noarch 0:6.1-5.fc10 set to be updated
--> Processing Dependency: swing-layout >= 1.0 for package: netbeans-platform8
--> Processing Dependency: jna >= 3.0.2 for package: netbeans-platform8
--> Processing Dependency: javahelp2 >= 2.0.05 for package: netbeans-platform8
--> Running transaction check
---> Package javahelp2.noarch 0:2.0.05-5.fc10 set to be updated
---> Package swing-layout.i386 0:1.0.3-2.fc9 set to be updated
--> Processing Dependency: java-gcj-compat >= 1.0.31 for package: swing-layout
--> Processing Dependency: libgcj_bc.so.1 for package: swing-layout
---> Package jna.i386 0:3.0.4-10.svn729.fc10 set to be updated
--> Processing Dependency: libffi.so.5 for package: jna
--> Running transaction check
---> Package java-1.5.0-gcj.i386 0:1.5.0.0-22.fc10 set to be updated
updates/filelists_db | 2.8 MB 00:14
--> Processing Dependency: sinjdoc for package: java-1.5.0-gcj
---> Package libffi.i386 0:3.0.5-1.fc10 set to be updated
---> Package libgcj.i386 0:4.3.2-7 set to be updated
--> Running transaction check
---> Package sinjdoc.i386 0:0.5-7.fc10 set to be updated
--> Processing Dependency: java_cup >= 0.10 for package: sinjdoc
--> Running transaction check
---> Package java_cup.i386 1:0.10k-1 set to be updated
--> Finished Dependency Resolution


Dependencies Resolved

================================================== ================================================== =======
Package Arch Version Repository Size
================================================== ================================================== =======
Installing:
java-1.6.0-openjdk-devel i386 1:1.6.0.0-7.b12.fc10 updates 12 M
Installing for dependencies:
java-1.5.0-gcj i386 1.5.0.0-22.fc10 fedora 132 k
java_cup i386 1:0.10k-1 fedora 175 k
javahelp2 noarch 2.0.05-5.fc10 fedora 551 k
jna i386 3.0.4-10.svn729.fc10 fedora 187 k
libffi i386 3.0.5-1.fc10 fedora 22 k
libgcj i386 4.3.2-7 fedora 19 M
netbeans-platform8 noarch 6.1-5.fc10 fedora 5.2 M
sinjdoc i386 0.5-7.fc10 fedora 786 k
swing-layout i386 1.0.3-2.fc9 fedora 144 k


Transaction Summary
================================================== ================================================== =======
Install 10 Package(s)
Update 0 Package(s)
Remove 0 Package(s)


Total download size: 38 M
Is this ok [y/N]: N
Exiting on user Command
Complete!



This was discusssed in this thread, starting here:
https://www.redhat.com/archives/fedora-devel-list/2008-October/msg03014.html


Cheers,
Lillian

--
fedora-devel-java-list mailing list
fedora-devel-java-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-java-list

Harshad 12-20-2008 01:54 AM

why does openjdk need to depend on netbeans?
 
Lillian Angel wrote:
> This was discusssed in this thread, starting here:
> https://www.redhat.com/archives/fedora-devel-list/2008-October/msg03014.html

Thanks Lillian for the link. The reason why netbeans is a dependency is now clear.

But the dependency on gcj is pulling in a huge download. Can someone tell why swing-layout requires java-gcj-compat and libgcj_bc.so.1?

>> ---> Package swing-layout.i386 0:1.0.3-2.fc9 set to be updated
>> --> Processing Dependency: java-gcj-compat >= 1.0.31 for package: swing-layout
>> --> Processing Dependency: libgcj_bc.so.1 for package: swing-layout


--
fedora-devel-java-list mailing list
fedora-devel-java-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-java-list

Andrew Overholt 12-20-2008 04:07 AM

why does openjdk need to depend on netbeans?
 
* Harshad <harshad.rj@gmail.com> [2008-12-19 21:52]:
> Lillian Angel wrote:
> > This was discusssed in this thread, starting here:
> > https://www.redhat.com/archives/fedora-devel-list/2008-October/msg03014.html
>
> Thanks Lillian for the link. The reason why netbeans is a dependency is now clear.
>
> But the dependency on gcj is pulling in a huge download. Can someone
> tell why swing-layout requires java-gcj-compat and libgcj_bc.so.1?

Does swing-layout have gcj AOT bits?

Andrew

--
fedora-devel-java-list mailing list
fedora-devel-java-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-java-list

Andrew Haley 12-20-2008 08:58 AM

why does openjdk need to depend on netbeans?
 
Andrew Overholt wrote:
> * Harshad <harshad.rj@gmail.com> [2008-12-19 21:52]:
>> Lillian Angel wrote:
>>> This was discusssed in this thread, starting here:
>>> https://www.redhat.com/archives/fedora-devel-list/2008-October/msg03014.html
>> Thanks Lillian for the link. The reason why netbeans is a dependency is now clear.
>>
>> But the dependency on gcj is pulling in a huge download. Can someone
>> tell why swing-layout requires java-gcj-compat and libgcj_bc.so.1?
>
> Does swing-layout have gcj AOT bits?

Ah, perhaps this is because RPM adds auto-dependencies for AOT bits?

Argh... :-(

Andrew.

--
fedora-devel-java-list mailing list
fedora-devel-java-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-java-list

Andrew Overholt 12-20-2008 01:02 PM

why does openjdk need to depend on netbeans?
 
* Andrew Haley <aph@redhat.com> [2008-12-20 04:58]:
> Andrew Overholt wrote:
> > * Harshad <harshad.rj@gmail.com> [2008-12-19 21:52]:
> >> Lillian Angel wrote:
> >>> This was discusssed in this thread, starting here:
> >>> https://www.redhat.com/archives/fedora-devel-list/2008-October/msg03014.html
> >> Thanks Lillian for the link. The reason why netbeans is a dependency is now clear.
> >>
> >> But the dependency on gcj is pulling in a huge download. Can someone
> >> tell why swing-layout requires java-gcj-compat and libgcj_bc.so.1?
> >
> > Does swing-layout have gcj AOT bits?
>
> Ah, perhaps this is because RPM adds auto-dependencies for AOT bits?

I think any package with AOT bits has the Requires(post) on j-g-c for
rebuild-gcj-db. The .so dep is probably auto-generated, yes.

Andrew

--
fedora-devel-java-list mailing list
fedora-devel-java-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-java-list

Harshad 12-23-2008 11:57 AM

why does openjdk need to depend on netbeans?
 
Andrew Overholt wrote:

> Does swing-layout have gcj AOT bits?

Thanks Andrew*
:)

So, should I report this as a swing-layout bug/enhancement? Or is it normal for packages to be compiled AOT?

--
Harshad

--
fedora-devel-java-list mailing list
fedora-devel-java-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-java-list

"Mat Booth" 12-23-2008 12:57 PM

why does openjdk need to depend on netbeans?
 
On Tue, Dec 23, 2008 at 12:57 PM, Harshad wrote:
> Andrew Overholt wrote:
>
>> Does swing-layout have gcj AOT bits?
>
> Thanks Andrew*
> :)
>
> So, should I report this as a swing-layout bug/enhancement? Or is it normal for packages to be compiled AOT?
>

It's fairly normal for packages to be compiled AOT. At least, I try to
compile mine AOT.

Reason is, I believe, that not all platforms have JIT compilation
through OpenJDK yet.

--
Mat Booth
www.matbooth.co.uk

--
fedora-devel-java-list mailing list
fedora-devel-java-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-java-list

Harshad 02-12-2009 02:45 PM

why does openjdk need to depend on netbeans?
 
Lillian Angel wrote:
>> I just tried installing java-1.6.0-openjdk-devel, and this causes a 38M
>> download because of a dependency on netbeans. Is this really intended or
>> is there a bug/oversight? (I am on a limited download internet
>> connection)

> This was discusssed in this thread, starting here:
> https://www.redhat.com/archives/fedora-devel-list/2008-October/msg03014.html

Last time I quizzed this list was when visualvm was getting included via openjdk-devel package.

This time I am quizzing why am I missing it although I have openjdk-devel? Did something change?

Thanks,
Harshad


--
fedora-devel-java-list mailing list
fedora-devel-java-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-java-list

Lillian Angel 02-13-2009 12:09 AM

why does openjdk need to depend on netbeans?
 
Harshad wrote:

Lillian Angel wrote:


I just tried installing java-1.6.0-openjdk-devel, and this causes a 38M
download because of a dependency on netbeans. Is this really intended or
is there a bug/oversight? (I am on a limited download internet
connection)





This was discusssed in this thread, starting here:
https://www.redhat.com/archives/fedora-devel-list/2008-October/msg03014.html



Last time I quizzed this list was when visualvm was getting included via openjdk-devel package.

This time I am quizzing why am I missing it although I have openjdk-devel? Did something change?



Yes, we had issues with the VisualVM package since the NetBeans upgrade
and needed to remove VisualVM temporarily. We may re-insert it in the
future.



Cheers,
Lillian

--
fedora-devel-java-list mailing list
fedora-devel-java-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-java-list


All times are GMT. The time now is 04:32 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.