----- Original Message ----- > From: "Sérgio Basto" <sergio@xxxxxxxxxx> > To: java-devel@xxxxxxxxxxxxxxxxxxxxxxx > Sent: Sunday, August 24, 2014 6:33:36 PM > Subject: Circular dependencies in BuildRequires > > Hi, > I'm trying bring eclipse 4.4 to Fedora 20 [1] > > eclipse need jetty , jetty needs objectweb-asm 5 , normally I do : > fedpkg clone $package > cd $package > fedpkg switch-branch f21;fedpkg srpm ; mock -r fedora-20-x86_64 > --no-clean --rebuild ./$package.fc21.src.rpm > > So I build objectweb-asm 5 , after that I can't almost build anything > because multiple dependencies > > jdependency [2] needs maven-plugin-tools , hawtjni, plexus-containers > that need be rebuild for new objectweb-asm > > hawtjni-1.10-2.fc21 [3] needs maven-plugin-tools > > maven-dependency-analyzer [4] needs maven-plugin-tools, hawtjni etc > > maven-plugin-tools can't be build because depends on maven > > maven depends on sisu, sisu-mojos and maven-wagon > > sisu depends on javapackages-tools-4.1.0 > > javapackages-tools have an error that BuildRequires: javapackages-tools > >= 4.0.0 , impossible , but removing it depends on xmvn-resolve >= > 2.0.0 > > repoquery --releasever=21 xmvn-resolve --source > xmvn-2.0.1-1.fc21.src.rpm > xmvn depends on maven >= 3.2.1-10 and sisu-mojos > > how we build it on a new arch or from scratch ? I try looking for > bootstrap some packages have references to bootstraping but no flags > on .spec We generally don't need to really build it from scratch. Most Java packages are noarch, so they already should work on the new arch. We just need to import them and then do proper rebuild from source when all the dependencies are satisfied. Eclipse 4.4 is already available for Fedora 20 in Mat Booth's Copr: http://copr-fe.cloud.fedoraproject.org/coprs/mbooth/eclipse-luna/ > > I try compile also objectweb-asm3 , objectweb-asm3.spec have a big bug > IMHO > # shade-jar utility used in this spec file needs this > BuildRequires: objectweb-asm3 > > repoquery --releasever=21 -f /usr/bin/shade-jar --source > javapackages-tools-4.1.0-2.fc21.src.rpm > > but correctly, I think that should be: > BuildRequires: /usr/bin/shade-jar > > but we don't have any shade-jar in Fedora 20 , can we remove shade-jar > scripting from spec ? shade-jar script is part of javapackages-tools and it needs objectweb-asm3-processor to work, but javapackages-tools don't Require it (most likely to not increase install size). Michael Simacek > > > any feedback is welcome ! > > Thanks, > > [1] > http://copr.fedoraproject.org/coprs/sergiomb/eclipse_4.4/builds/ > > [2] > http://copr-be.cloud.fedoraproject.org/results/sergiomb/eclipse_4.4/fedora-20-x86_64/jdependency-0.9-2.fc21/root.log > [3] > http://copr-be.cloud.fedoraproject.org/results/sergiomb/eclipse_4.4/fedora-20-x86_64/hawtjni-1.10-2.fc21/root.log > [4] > http://copr-be.cloud.fedoraproject.org/results/sergiomb/eclipse_4.4/fedora-20-x86_64/maven-dependency-analyzer-1.4-5.fc21/root.log > > > -- > Sérgio M. B. > > -- > java-devel mailing list > java-devel@xxxxxxxxxxxxxxxxxxxxxxx > https://admin.fedoraproject.org/mailman/listinfo/java-devel -- java-devel mailing list java-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/java-devel