how to build with java -8 in epel-6?
by Farkas Levente
hi,
i'm try to build a java package for epel-6 which use java-8.
unfortunately it seem it's not enough to simple add
BuildRequires: java-1.8.0-openjdk-devel
since it's install it, but also still install during the mock setup
session old java packages ie:
java-1.5.0-gcj x86_64 1.5.0.0-29.1.el6 os
137 k
java-1.6.0-sun x86_64 1:1.6.0.45-1jpp.1.el6 os
25 M
java-1.7.0-ibm x86_64 1:1.7.0.5.0-1jpp.2.el6_4 os
73 M
java-1.7.0-ibm-devel x86_64 1:1.7.0.5.0-1jpp.2.el6_4 os
7.5 M
java-1.7.0-oracle x86_64 1:1.7.0.45-1jpp.2.el6_4 os
28 M
and i'm not bale to exclude them. in rpm the is a Obsoletes: but there
is no such thing as "BuildRequiresObsoletes":-(
what's more i can't run system-switch-java since it's required root
access and there is no command line option to switch to a given specific
java version.
so during build the system use the default javac which is not java8 but
ibm's java7 (IBM J9 VM (build 2.6, JRE 1.7.0).
is there any way to force java8? or is there any way to exclude other
java vm jre to install into mock during build?
thanks in advance.
regards.
--
Levente "Si vis pacem para bellum!"
8 years, 2 months
eclipse jgit related compile errors
by Orion Poplawski
Okay, now I'm seeing jgit compiler error with ptp:
ERROR] Failed to execute goal
org.eclipse.tycho:tycho-compiler-plugin:0.21.0:compile (default-compile) on
project org.eclipse.ptp.rdt.sync.git.core: Compilation failure: Compilation
failure:
[ERROR]
/export/home/orion/fedora/eclipse-ptp/org.eclipse.ptp-9bb29a9a48849f848111613a27a5dff793123e83/rdt/org.eclipse.ptp.rdt.sync.git.core/src/org/eclipse/ptp/internal/rdt/sync/git/core/GitSyncFileFilter.java:[119]
[ERROR] return (rule.getNegation() ? "!" : "") + rule.getPattern() +
(rule.dirOnly() ? "/" : ""); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
//$NON-NLS-4$
[ERROR] ^^^^^^^^^^
[ERROR] The method getPattern() is undefined for the type FastIgnoreRule
[ERROR]
/export/home/orion/fedora/eclipse-ptp/org.eclipse.ptp-9bb29a9a48849f848111613a27a5dff793123e83/rdt/org.eclipse.ptp.rdt.sync.git.core/src/org/eclipse/ptp/internal/rdt/sync/git/core/GitSyncFileFilter.java:[124]
[ERROR] return rule.getPattern() + (rule.dirOnly() ? "/" : ""); //$NON-NLS-1$
//$NON-NLS-2$
[ERROR] ^^^^^^^^^^
[ERROR] The method getPattern() is undefined for the type FastIgnoreRule
[ERROR] 2 problems (2 errors)
Which appears to be caused by Fedora updating to jgit 3.7.0, but Eclipse Luna
still using 3.4.2. Anyone have some patches lying around to fix this?
Thanks.
--
Orion Poplawski
Technical Manager 303-415-9701 x222
NWRA, Boulder/CoRA Office FAX: 303-415-9702
3380 Mitchell Lane orion(a)nwra.com
Boulder, CO 80301 http://www.nwra.com
8 years, 2 months
Some Big Data packages in need of co-maintainers
by Peter MacKinnon
Hello,
I own some packages that have been neglected due to my work on other
projects. It would be great to have some co-maintainers to keep these in
good health in Fedora. All are reasonably up-to-date but as the hadoop
package revs (a key dependency), I fear breakdowns in the not too
distant future.
* ambari
* datanucleus-*
* hive
* javolution
* jdo-api
* jspc
* pig
Let me know if you're interested.
Thanks!
\Pete
8 years, 2 months
Packaging m2e-wtp
by Julius Schwartzenberg
Hi,
I'm trying to package m2e-wtp now. I used the m2e-cxf as inspiration for
my spec file. I get the following error however when I run rpmbuild -ba
on it:
Internal error: java.lang.RuntimeException: No solution found because
the problem is unsatisfiable.: [Unable to satisfy dependency from
org.eclipse.m2e.wtp.overlay 1.1.0.qualifier to bundle org.slf4j.api
1.6.0.; No solution found because the problem is unsatisfiable.
I thought that I could fix this by adding 'BuildRequires:
mvn(org.slf4j:slf4j-api)' but that doesn't seem to work. The regular
Maven build works without problems.
Could someone give me a clue on how I should proceed from here? I have
attached the spec file I have thus far.
Thanks in advance,
Julius
8 years, 2 months
Almost newbie: Q: How get rid of unused jars?
by Alec Leamas
Last package in this bunch...
Package builds a number of jars in a hierarchical build. One of these is
really what I think is called an ũber-jar, and that's the only one I
want to package.
However, since the %mvn_build/%mvn_install discovers also the other
jars, they also get installed. I could of course just remove them after
%mvn_install, but they are also part of the metadata, so...
My question: is there any sane way to remove one or more jars from the
installed set? Something like %mvn_remove_artifact?
Cheers!
--alec
8 years, 2 months
Eclipse M2E update in rawhide
by Mikolaj Izdebski
I'm working on updating Eclipse M2E in rawhide (f23) to latest upstream
milestone (1.6, Eclipse Mars). I would like to ask you for reviewing
new packages which are blocking update:
okio
takari-lifecycle
takari-archiver
takari-incrementalbuild
eclipse-m2e-workspace
Full dependency tree:
https://bugzilla.redhat.com/showdependencytree.cgi?id=1194362
--
Mikolaj Izdebski
Software Engineer, Red Hat
IRC: mizdebsk
8 years, 2 months
XMvn 2.3.2 release notes
by Mikolaj Izdebski
What's new in XMvn 2.3.2
XMvn 2.3.2 was released on 2015-03-12. Most important changes
include:
* Minor bugfixes
* NullPointerException during model validation
XMvn 2.3.2 fixes a NullPointerException regression in
XMvnModelValidator, which occured during validation of models
without build instructions.
8 years, 2 months
Re: [fedora-java] [ptp-dev] PTP 8.1.1 and Photran 9.0.1 released with Eclipse Luna SR2 (4.4.2)
by Orion Poplawski
On 02/27/2015 08:45 AM, Beth Tibbitts wrote:
> PTP 8.1.1 (and Photran 9.0.1) are released today, with the big Eclipse Luna
> Service Release 2 (SR2) simultaneous release. http://eclipse.org
I'm trying to build the Fedora PTP package from
e6781abcbe35d3016f9ec8a943dc8a880780021a but I'm getting the following compile
error:
[ERROR] Failed to execute goal
org.eclipse.tycho:tycho-compiler-plugin:0.22.0:compile (default-compile) on
project org.eclipse.ptp.rdt.core: Compilation failure: Compilation failure:
[ERROR]
/builddir/build/BUILD/org.eclipse.ptp-e6781abcbe35d3016f9ec8a943dc8a880780021a/rdt/org.eclipse.ptp.rdt.core/src/org/eclipse/ptp/internal/rdt/core/model/TranslationUnit.java:[62]
[ERROR] public class TranslationUnit extends Parent implements ITranslationUnit {
[ERROR] ^^^^^^^^^^^^^^^
[ERROR] The type TranslationUnit must implement the inherited abstract method
ITranslationUnit.getFile()
[ERROR] 1 problem (1 error)
This is with CDT 8.6.0. Both are supposedly Luna SR2.
Any ideas?
--
Orion Poplawski
Technical Manager 303-415-9701 x222
NWRA, Boulder/CoRA Office FAX: 303-415-9702
3380 Mitchell Lane orion(a)nwra.com
Boulder, CO 80301 http://www.nwra.com
8 years, 2 months