Hi, sorry I fail to send to ML in first time
On Seg, 2014-08-25 at 10:32 -0400, Michael Simacek wrote:
----- Original Message -----
From: "Sérgio Basto" sergio@serjux.com To: "Michael Simacek" msimacek@redhat.com Sent: Monday, August 25, 2014 3:33:46 PM Subject: Re: [fedora-java] Circular dependencies in BuildRequires
On Dom, 2014-08-24 at 13:18 -0400, Michael Simacek wrote:
----- Original Message -----
From: "Sérgio Basto" sergio@serjux.com To: java-devel@lists.fedoraproject.org Sent: Sunday, August 24, 2014 6:33:36 PM Subject: [fedora-java] 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.
ok how I compile all in Fedora 20 ?
I'm afraid for bootstraping from scratch you'll need some hack like:
- Temporarily bundle pre-built JARs for the packages instead of building them from source so other pacakges can use them as a dependency.
- When all the packages in the dependency cycle are built like this, remove bundled stuff and rebuild them properly from source, because now they can use dependencies from point 1.
But I still don't understand why you want to do it from scratch. Why don't you use objectweb-asm3, javapackages-tools, sisu etc. from F20? You don't need newer versions of these, do you?
I need update sisu to have sisu-mojos for compile maven-3.2.2, that requires it, and I'm stuck here btw. I can't build sisu-0.2.1 on Fedora 20 but now, it seems to me, that is a problem with %mvn_build macro rpm, because all packages that I want rebuild ends with : java.lang.RuntimeException: Failed to load XMvn configuration
I'm sending sisu-0.2.1 to build in copr for us see the build error on :
http://copr-be.cloud.fedoraproject.org/results/sergiomb/eclipse_4.4/fedora-2...
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 don't like the approaching and have a second eclipse , I "need" eclipse 4.4 as an upgrade of eclipse of the system
please see status of my tries in http://copr.fedoraproject.org/coprs/sergiomb/eclipse_4.4/builds/
I understand that objectweb-asm only can build it after have objectweb-asm3 , I try bootstrap some packages .
Now in a circular dependencies of sisu and xmvn , xmvn > 2 needs sisu > 0.2.1
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-2... [3] http://copr-be.cloud.fedoraproject.org/results/sergiomb/eclipse_4.4/fedora-2... [4] http://copr-be.cloud.fedoraproject.org/results/sergiomb/eclipse_4.4/fedora-2...
-- Sérgio M. B.
-- java-devel mailing list java-devel@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/java-devel
-- Sérgio M. B.
-- Sérgio M. B.
On 25 August 2014 18:15, Sérgio Basto sergio@serjux.com wrote:
Hi, sorry I fail to send to ML in first time
On Seg, 2014-08-25 at 10:32 -0400, Michael Simacek wrote:
----- Original Message -----
From: "Sérgio Basto" sergio@serjux.com To: "Michael Simacek" msimacek@redhat.com Sent: Monday, August 25, 2014 3:33:46 PM Subject: Re: [fedora-java] Circular dependencies in BuildRequires
On Dom, 2014-08-24 at 13:18 -0400, Michael Simacek wrote:
----- Original Message -----
From: "Sérgio Basto" sergio@serjux.com To: java-devel@lists.fedoraproject.org Sent: Sunday, August 24, 2014 6:33:36 PM Subject: [fedora-java] 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.
ok how I compile all in Fedora 20 ?
I'm afraid for bootstraping from scratch you'll need some hack like:
- Temporarily bundle pre-built JARs for the packages instead of
building them from source so
other pacakges can use them as a dependency. 2. When all the packages in the dependency cycle are built like this,
remove bundled stuff
and rebuild them properly from source, because now they can use
dependencies from point 1.
But I still don't understand why you want to do it from scratch. Why
don't you
use objectweb-asm3, javapackages-tools, sisu etc. from F20? You don't need newer versions of these, do you?
I need update sisu to have sisu-mojos for compile maven-3.2.2, that requires it, and I'm stuck here btw. I can't build sisu-0.2.1 on Fedora 20 but now, it seems to me, that is a problem with %mvn_build macro rpm, because all packages that I want rebuild ends with : java.lang.RuntimeException: Failed to load XMvn configuration
I'm sending sisu-0.2.1 to build in copr for us see the build error on :
http://copr-be.cloud.fedoraproject.org/results/sergiomb/eclipse_4.4/fedora-2...
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 don't like the approaching and have a second eclipse , I "need" eclipse 4.4 as an upgrade of eclipse of the system
What is your use-case? I am not convinced that doing a major update of Eclipse in F20 is a great idea, and I'm fairly sure it would be against the 'spirit' of the philosophy behind the Fedora updates policy: http://fedoraproject.org/wiki/Updates_Policy#Stable_Releases
If you really really really need Eclipse 4.4 as part of the base OS, then you might consider trying F21 when the Alpha is released (or consider trying it now, even and help us make sure it will be a solid release.)
please see status of my tries in http://copr.fedoraproject.org/coprs/sergiomb/eclipse_4.4/builds/
I understand that objectweb-asm only can build it after have objectweb-asm3 , I try bootstrap some packages .
Now in a circular dependencies of sisu and xmvn , xmvn > 2 needs sisu > 0.2.1
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-2...
[3]
http://copr-be.cloud.fedoraproject.org/results/sergiomb/eclipse_4.4/fedora-2...
[4]
http://copr-be.cloud.fedoraproject.org/results/sergiomb/eclipse_4.4/fedora-2...
-- Sérgio M. B.
-- java-devel mailing list java-devel@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/java-devel
-- Sérgio M. B.
-- Sérgio M. B.
-- Sérgio M. B.
-- java-devel mailing list java-devel@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/java-devel
On 26 August 2014 12:23, Sérgio Basto sergio@serjux.com wrote:
On Ter, 2014-08-26 at 10:21 +0100, Mat Booth wrote:
What is your use-case?
I "need" eclipse-swt updated for azureus works correctly and I'd like try eclipse 4.4 as editor.
-- Sérgio M. B.
For simply trying out Eclipse 4.4 as an editor, I recommend you just use the copr repo as Micheal Simacek suggested.
What is the problem with azureus? If you share information about what you are trying to do and what specific problems you are having, we may be able to help you... :-)
On Ter, 2014-08-26 at 13:33 +0100, Mat Booth wrote:
On 26 August 2014 12:23, Sérgio Basto sergio@serjux.com wrote: On Ter, 2014-08-26 at 10:21 +0100, Mat Booth wrote: > What is your use-case?
I "need" eclipse-swt updated for azureus works correctly and I'd like try eclipse 4.4 as editor. -- Sérgio M. B.
For simply trying out Eclipse 4.4 as an editor, I recommend you just use the copr repo as Micheal Simacek suggested.
I want eclipse with new jetty, maven, xmvn etc (half java packages of Fedora 21 3 months earlier) but is a pure exercise of compiling package , more than use it :)
What is the problem with azureus? If you share information about what you are trying to do and what specific problems you are having, we may be able to help you... :-)
https://bugzilla.redhat.com/show_bug.cgi?id=980260#c42
Thanks,
On 26 August 2014 20:46, Sérgio Basto sergio@serjux.com wrote:
On Ter, 2014-08-26 at 13:33 +0100, Mat Booth wrote:
On 26 August 2014 12:23, Sérgio Basto sergio@serjux.com wrote: On Ter, 2014-08-26 at 10:21 +0100, Mat Booth wrote: > What is your use-case?
I "need" eclipse-swt updated for azureus works correctly and I'd like try eclipse 4.4 as editor. -- Sérgio M. B.
For simply trying out Eclipse 4.4 as an editor, I recommend you just use the copr repo as Micheal Simacek suggested.
I want eclipse with new jetty, maven, xmvn etc (half java packages of Fedora 21 3 months earlier) but is a pure exercise of compiling package , more than use it :)
What is the problem with azureus? If you share information about what you are trying to do and what specific problems you are having, we may be able to help you... :-)
https://bugzilla.redhat.com/show_bug.cgi?id=980260#c42
Thanks,
Sérgio M. B.
I see, so if I were you, I would try to build azureus against the swt from the Eclipse Luna Copr repo first.
java-devel@lists.fedoraproject.org