From harshad.rj at gmail.com Fri Dec 19 18:18:36 2008 From: harshad.rj at gmail.com (Harshad) Date: Fri, 19 Dec 2008 23:48:36 +0530 Subject: [fedora-java] why does openjdk need to depend on netbeans? Message-ID: 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 From langel at redhat.com Fri Dec 19 19:01:09 2008 From: langel at redhat.com (Lillian Angel) Date: Fri, 19 Dec 2008 14:01:09 -0500 Subject: [fedora-java] why does openjdk need to depend on netbeans? In-Reply-To: References: Message-ID: <494BEF75.1020006@redhat.com> 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 From harshad.rj at gmail.com Sat Dec 20 02:54:41 2008 From: harshad.rj at gmail.com (Harshad) Date: Sat, 20 Dec 2008 08:24:41 +0530 Subject: [fedora-java] Re: why does openjdk need to depend on netbeans? References: <494BEF75.1020006@redhat.com> Message-ID: 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 From overholt at redhat.com Sat Dec 20 05:07:55 2008 From: overholt at redhat.com (Andrew Overholt) Date: Sat, 20 Dec 2008 00:07:55 -0500 Subject: [fedora-java] Re: why does openjdk need to depend on netbeans? In-Reply-To: References: <494BEF75.1020006@redhat.com> Message-ID: <20081220050755.GA29461@redhat.com> * Harshad [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 From aph at redhat.com Sat Dec 20 09:58:43 2008 From: aph at redhat.com (Andrew Haley) Date: Sat, 20 Dec 2008 09:58:43 +0000 Subject: [fedora-java] Re: why does openjdk need to depend on netbeans? In-Reply-To: <20081220050755.GA29461@redhat.com> References: <494BEF75.1020006@redhat.com> <20081220050755.GA29461@redhat.com> Message-ID: <494CC1D3.1030108@redhat.com> Andrew Overholt wrote: > * Harshad [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. From overholt at redhat.com Sat Dec 20 14:02:37 2008 From: overholt at redhat.com (Andrew Overholt) Date: Sat, 20 Dec 2008 09:02:37 -0500 Subject: [fedora-java] Re: why does openjdk need to depend on netbeans? In-Reply-To: <494CC1D3.1030108@redhat.com> References: <494BEF75.1020006@redhat.com> <20081220050755.GA29461@redhat.com> <494CC1D3.1030108@redhat.com> Message-ID: <20081220140236.GA2445@redhat.com> * Andrew Haley [2008-12-20 04:58]: > Andrew Overholt wrote: > > * Harshad [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 From nico at altiva.fr Sun Dec 21 14:59:47 2008 From: nico at altiva.fr (NMONNET) Date: Sun, 21 Dec 2008 14:59:47 +0000 (UTC) Subject: [fedora-java] XML editors in Fedora Eclipse, the hole WTP while you're at it Message-ID: Is there a way to install WTP (Web Tools Platform) and WST on Fedora Eclipse? Just using their update site from Fedora Eclipse fails with various dependency problems. From fedora at matbooth.co.uk Sun Dec 21 19:30:21 2008 From: fedora at matbooth.co.uk (Mat Booth) Date: Sun, 21 Dec 2008 19:30:21 +0000 Subject: [fedora-java] GCJ/OpenJDK Javadoc Generation Message-ID: <9497e9990812211130u352579d8lcc977351a377782c@mail.gmail.com> Hi all, I'm trying to package the Eclipse EMF (I will open a review request when it's ready) and I'm having difficulty with javadoc generation. Specifically, the javadocs inside the sdk subpackages fail to be generated when using GCJ (sinjdoc) but it works when using OpenJDK. Here are the spec and srpm if you want to see the package: http://mbooth.fedorapeople.org/eclipse-emf.spec http://mbooth.fedorapeople.org/eclipse-emf-2.4.1-1.fc10.src.rpm Looking at the build logs, I think sinjdoc is choking on 1.5 syntax. (Search the logs for [javadoc]) OpenJDK buildlog: http://mbooth.fedorapeople.org/build-2.4.1-1.fc10.log GCJ buildlog: http://koji.fedoraproject.org/koji/getfile?taskID=1014290&name=build.log So do I need to make the build use OpenJDK instead of GCJ? How would I do that? Thanks for any help. Regards, Mat -- Mat Booth www.matbooth.co.uk From aph at redhat.com Mon Dec 22 11:06:27 2008 From: aph at redhat.com (Andrew Haley) Date: Mon, 22 Dec 2008 11:06:27 +0000 Subject: [fedora-java] GCJ/OpenJDK Javadoc Generation In-Reply-To: <9497e9990812211130u352579d8lcc977351a377782c@mail.gmail.com> References: <9497e9990812211130u352579d8lcc977351a377782c@mail.gmail.com> Message-ID: <494F74B3.9070200@redhat.com> Mat Booth wrote: > I'm trying to package the Eclipse EMF (I will open a review request > when it's ready) and I'm having difficulty with javadoc generation. > Specifically, the javadocs inside the sdk subpackages fail to be > generated when using GCJ (sinjdoc) but it works when using OpenJDK. > > Here are the spec and srpm if you want to see the package: > > http://mbooth.fedorapeople.org/eclipse-emf.spec > http://mbooth.fedorapeople.org/eclipse-emf-2.4.1-1.fc10.src.rpm > > Looking at the build logs, I think sinjdoc is choking on 1.5 syntax. > (Search the logs for [javadoc]) > > OpenJDK buildlog: http://mbooth.fedorapeople.org/build-2.4.1-1.fc10.log > GCJ buildlog: http://koji.fedoraproject.org/koji/getfile?taskID=1014290&name=build.log > > So do I need to make the build use OpenJDK instead of GCJ? How would I do that? I think it's simply a matter of adding a BuildRequires: java-devel-openjdk Andrew. From overholt at redhat.com Mon Dec 22 16:09:53 2008 From: overholt at redhat.com (Andrew Overholt) Date: Mon, 22 Dec 2008 11:09:53 -0500 Subject: [fedora-java] XML editors in Fedora Eclipse, the hole WTP while you're at it In-Reply-To: References: Message-ID: <20081222160952.GB4975@redhat.com> * NMONNET [2008-12-21 10:05]: > Is there a way to install WTP (Web Tools Platform) and WST on Fedora > Eclipse? Just using their update site from Fedora Eclipse fails with > various dependency problems. It shouldn't fail. Please file a bug at bugzilla.redhat.com and include more details like a screenshot showing the missing dependencies. Thanks, Andrew From overholt at redhat.com Mon Dec 22 16:11:48 2008 From: overholt at redhat.com (Andrew Overholt) Date: Mon, 22 Dec 2008 11:11:48 -0500 Subject: [fedora-java] GCJ/OpenJDK Javadoc Generation In-Reply-To: <9497e9990812211130u352579d8lcc977351a377782c@mail.gmail.com> References: <9497e9990812211130u352579d8lcc977351a377782c@mail.gmail.com> Message-ID: <20081222161148.GC4975@redhat.com> * Mat Booth [2008-12-21 14:31]: > So do I need to make the build use OpenJDK instead of GCJ? How would I > do that? I think this may work: BR: java-devel >= 1:1.6.0 HTH, Andrew From fedora at matbooth.co.uk Mon Dec 22 18:51:05 2008 From: fedora at matbooth.co.uk (Mat Booth) Date: Mon, 22 Dec 2008 18:51:05 +0000 Subject: [fedora-java] GCJ/OpenJDK Javadoc Generation In-Reply-To: <20081222161148.GC4975@redhat.com> References: <9497e9990812211130u352579d8lcc977351a377782c@mail.gmail.com> <20081222161148.GC4975@redhat.com> Message-ID: <9497e9990812221051o73efb5d6u75fad9d477808e57@mail.gmail.com> On Mon, Dec 22, 2008 at 4:11 PM, Andrew Overholt wrote: > * Mat Booth [2008-12-21 14:31]: >> So do I need to make the build use OpenJDK instead of GCJ? How would I >> do that? > > I think this may work: BR: java-devel >= 1:1.6.0 > > HTH, > > Andrew > That works spot on, cheers. Can I then assume that the highest version JDK installed will always be used by default? (In the context of our build system, there's obviously no accounting for people's alternatives configuration.) -- Mat Booth www.matbooth.co.uk From overholt at redhat.com Mon Dec 22 20:15:06 2008 From: overholt at redhat.com (Andrew Overholt) Date: Mon, 22 Dec 2008 15:15:06 -0500 Subject: [fedora-java] XML editors in Fedora Eclipse, the hole WTP while you're at it In-Reply-To: <1229965287.11578.16.camel@lin1195> References: <20081222160952.GB4975@redhat.com> <1229965287.11578.16.camel@lin1195> Message-ID: <20081222201506.GA8379@redhat.com> * Nicolas MONNET [2008-12-22 12:01]: > On Mon, 2008-12-22 at 11:09 -0500, Andrew Overholt wrote: > > * NMONNET [2008-12-21 10:05]: > > Is there a way to install WTP (Web Tools Platform) and WST on Fedora > > Eclipse? Just using their update site from Fedora Eclipse fails with > > various dependency problems. > > It shouldn't fail. Please file a bug at bugzilla.redhat.com and include > more details like a screenshot showing the missing dependencies. > > > Thank you for your answer, it helped me find out that I needed to have the EMF > update site added to the mix. Cool. The entire Ganymede site would have done the trick, too: http://download.eclipse.org/releases/ganymede/ Andrew From overholt at redhat.com Mon Dec 22 20:17:39 2008 From: overholt at redhat.com (Andrew Overholt) Date: Mon, 22 Dec 2008 15:17:39 -0500 Subject: [fedora-java] GCJ/OpenJDK Javadoc Generation In-Reply-To: <9497e9990812221051o73efb5d6u75fad9d477808e57@mail.gmail.com> References: <9497e9990812211130u352579d8lcc977351a377782c@mail.gmail.com> <20081222161148.GC4975@redhat.com> <9497e9990812221051o73efb5d6u75fad9d477808e57@mail.gmail.com> Message-ID: <20081222201738.GB8379@redhat.com> * Mat Booth [2008-12-22 13:51]: > On Mon, Dec 22, 2008 at 4:11 PM, Andrew Overholt wrote: > > * Mat Booth [2008-12-21 14:31]: > >> So do I need to make the build use OpenJDK instead of GCJ? How would I > >> do that? > > > > I think this may work: BR: java-devel >= 1:1.6.0 > > > > HTH, > > > > Andrew > > > > That works spot on, cheers. > > Can I then assume that the highest version JDK installed will always > be used by default? (In the context of our build system, there's > obviously no accounting for people's alternatives configuration.) Alternatives have weightings associated with them. I believe they're something like 1000 * the digits of the release (with the second decimal place dropped). So yeah, in koji you'll always get the highest one. Andrew From harshad.rj at gmail.com Tue Dec 23 12:57:16 2008 From: harshad.rj at gmail.com (Harshad) Date: Tue, 23 Dec 2008 18:27:16 +0530 Subject: [fedora-java] Re: Re: why does openjdk need to depend on netbeans? References: <494BEF75.1020006@redhat.com> <20081220050755.GA29461@redhat.com> Message-ID: 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 From fedora at matbooth.co.uk Tue Dec 23 13:57:27 2008 From: fedora at matbooth.co.uk (Mat Booth) Date: Tue, 23 Dec 2008 13:57:27 +0000 Subject: [fedora-java] Re: Re: why does openjdk need to depend on netbeans? In-Reply-To: References: <494BEF75.1020006@redhat.com> <20081220050755.GA29461@redhat.com> Message-ID: <9497e9990812230557s6a2d74dcp4de7fe158bac37c3@mail.gmail.com> 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