This is a multi-part message in MIME format.
------_=_NextPart_001_01CD0050.277BA11F
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Thank you very much!
=20
Randy
________________________________
From: users-bounces(a)ovirt.org [mailto:users-bounces@ovirt.org] On Behalf Of
Elias Abacioglu
Sent: Sunday, March 11, 2012 1:44 PM
To: users
Subject: [Users] Fwd: Re: installing ovirt engine on CentOS
FYI, there is a repo for CentOS 6.
http://www.dreyou.org/ovirt/
-------- Ursprungligt meddelande --------=20
=C4mne: Re: [Users] installing ovirt engine on CentOS=09
Datum: Sat, 10 Mar 2012 19:28:46 +0530=09
Fr=E5n: kumar shantanu <k.shantanu2006(a)gmail.com> <mailto:k.shantanu2006@g=
mail.com> =09
Till: Elias Abacioglu <elias.rabi(a)gmail.com> <mailto:elias.rabi@gmail.com
=09
Just wanted to share this.
All who want ovirt to be install centos6, here is good link,
http://www.dre=
you.org/ovirt/
Thank you.
On Sat, Mar 10, 2012 at 6:52 PM, Elias Abacioglu <elias.rabi(a)gmail.com> wro=
te:
I was able solve it.
=09
I will share the rpms as soon as i get the installation working.
=09
=09
=09
Den den 9 mars 2012 13:56:48 skrev Elias Abacioglu:
=09
I have gotten to this point during the RPM build process:
=09
[INFO] ------------------------------------------------------------------=
------
[ERROR] FATAL ERROR
[INFO] ------------------------------------------------------------------=
------
[INFO] org.apache.maven.shared.io.location.ArtifactLocatorStrategy.<init>=
(Lorg/apache/maven/artifact/factory/ArtifactFactory;Lorg/apache/maven/artifa=
ct/resolver/ArtifactResolver;Lorg/apache/maven/artifact/repository/ArtifactR=
epository;Ljava/util/List;Ljava/lang/String;Ljava/lang/String;)V
[INFO] ------------------------------------------------------------------=
------
[INFO] Trace
java.lang.NoSuchMethodError: org.apache.maven.shared.io.location.Artifact=
LocatorStrategy.<init>(Lorg/apache/maven/artifact/factory/ArtifactFactory;Lo=
rg/apache/maven/artifact/resolver/ArtifactResolver;Lorg/apache/maven/artifac=
t/repository/ArtifactRepository;Ljava/util/List;Ljava/lang/String;Ljava/lang=
/String;)V
at org.apache.maven.plugin.assembly.io.DefaultAssemblyReader.readAssem=
blies(DefaultAssemblyReader.java:102)
at org.apache.maven.plugin.assembly.mojos.AbstractAssemblyMojo.execute=
(AbstractAssemblyMojo.java:296)
at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlu=
ginManager.java:490)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(De=
faultLifecycleExecutor.java:694)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWith=
Lifecycle(DefaultLifecycleExecutor.java:556)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Def=
aultLifecycleExecutor.java:535)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndH=
andleFailures(DefaultLifecycleExecutor.java:387)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegm=
ents(DefaultLifecycleExecutor.java:348)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(Default=
LifecycleExecutor.java:180)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java=
:60)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImp=
l.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcc=
essorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:43=
0)
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
[INFO] ------------------------------------------------------------------=
------
[INFO] Total time: 1 minute 47 seconds
[INFO] Finished at: Fri Mar 09 12:50:16 CET 2012
[INFO] Final Memory: 237M/834M
[INFO] ------------------------------------------------------------------=
------
make: *** [build_mvn] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.95OcZi (%install)
=09
=09
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.95OcZi (%install)
=09
=09
=09
Chris Brown had a similar issue.
http://www.mail-archive.com/users@ovirt.org/msg00078.html
His solution was to run maven 2.2. But the problem is that I do.
=09
[elab@virtual SPECS]$ mvn -v
/usr/lib/jvm/java
Apache Maven 2.2.1 (rNON-CANONICAL_2011-10-17_20-32_mockbuild; 2011-10-17
21:32:08+0200)
Java version: 1.6.0_22
Java home: /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux" version: "2.6.32-220.7.1.el6.x86_64" arch:
"amd64" Famil=
y: "unix"
=09
Any ideas now?
=09
2012/3/9 Elias Abacioglu <elias.rabi(a)gmail.com <mailto:elias.rabi@gmail.c=
om>
=09
=09
Trey, did you have a Python 2.7 RPM or SRPM for EL6?
=09
Where do you see the Python 2.7 dependency? Running a rebuild
with no
changes on the latest SPEC gives me this ...
=09
Maybe you are right.. I was just blinded by the fact that the
ovirt-engine rpms needed 2.7.. So that is probably not needed
after I have rebuilt ovirt rpms.
=09
# rpmbuild -ba --define 'dist .el6' --define 'rhel 6'
ovirt-engine.spec
<snip
+ make
PREFIX=3D/builddir/build/BUILDROOT/ovirt-engine-3.0.0_0001-1.6.el6=
.x86_64/
install
which: no mvn in
(/usr/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/builddir/bin)
export MAVEN_OPTS=3D"-XX:MaxPermSize=3D512m"
install -P gwt-admin,gwt-user -D skipTests
install: WARNING: ignoring --preserve-context; this kernel is not
SELinux-enabled
install: cannot stat `gwt-admin,gwt-user': No such file or
directory
make: *** [build_mvn] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.oHg34r (%install)
=09
I think it requires maven 2.2. There is a maven 2.2 in jpackage
6.0. But it got a broken dependency.
I tried compiling with maven 2.0 and that failed.
=09
=09
=09
_______________________________________________
Users mailing list
Users(a)ovirt.org
http://lists.ovirt.org/mailman/listinfo/users
=09
--=20
Kumar Shantanu
******************************************************************
This email and any files transmitted with it are confidential=20
and intended solely for the individual or entity to whom they are
addressed. If you have received this email in error destroy it=20
immediately.
******************************************************************
Consumer Testing Laboratories, Inc., Confidential
******************************************************************
------_=_NextPart_001_01CD0050.277BA11F
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
<HTML><HEAD
<META
content=3D"text/html; charset=3Diso-8859-1" http-equiv=3DContent-Type=
<META name=3DGENERATOR content=3D"MSHTML
8.00.6001.19190"></HEAD
<BODY bgColor=3D#ffffff
text=3D#000000
<DIV dir=3Dltr
align=3Dleft><SPAN class=3D625215912-12032012><FONT color=3D=
#0000ff=20
size=3D2 face=3DArial>Thank you very much!</FONT></SPAN></DIV
<DIV dir=3Dltr align=3Dleft><SPAN
class=3D625215912-12032012><FONT color=3D=
#0000ff=20
size=3D2 face=3DArial></FONT></SPAN> </DIV
<DIV dir=3Dltr align=3Dleft><SPAN
class=3D625215912-12032012><FONT color=3D=
#0000ff=20
size=3D2 face=3DArial>Randy</FONT></SPAN></DIV><BR
<DIV dir=3Dltr lang=3Den-us class=3DOutlookMessageHeader
align=3Dleft
<HR tabIndex=3D-1
<FONT size=3D2 face=3DTahoma><B>From:</B>
users-bounces(a)ovirt.org=20
[mailto:users-bounces@ovirt.org] <B>On Behalf Of </B>Elias=20
Abacioglu<BR><B>Sent:</B> Sunday, March 11, 2012 1:44
PM<BR><B>To:</B>=20
users<BR><B>Subject:</B> [Users] Fwd: Re: installing ovirt engine on=20
CentOS<BR></FONT><BR></DIV
<DIV></DIV>FYI, there is a repo for CentOS 6.<BR><A=20
href=3D"http://www.dreyou.org/ovirt/"=20
moz-do-not-send=3D"true">http://www.dreyou.org/ovirt/</A&...
------=20
Ursprungligt meddelande --------=20
<TABLE class=3Dmoz-email-headers-table border=3D0 cellSpacing=3D0 cellPaddi=
ng=3D0
<TBODY
<TR
<TH vAlign=3Dbaseline noWrap align=3Dright>=C4mne:
</TH
<TD>Re: [Users] installing ovirt engine on
CentOS</TD></TR
<TR
<TH vAlign=3Dbaseline noWrap align=3Dright>Datum:
</TH
<TD>Sat, 10 Mar 2012 19:28:46
+0530</TD></TR
<TR
<TH vAlign=3Dbaseline noWrap align=3Dright>Fr=E5n:
</TH
<TD>kumar shantanu <A
class=3Dmoz-txt-link-rfc2396E=20
href=3D"mailto:k.shantanu2006@gmail.com"><k.shantanu2006@gmail.com=
></A></TD></TR
<TR
<TH vAlign=3Dbaseline noWrap align=3Dright>Till:
</TH
<TD>Elias Abacioglu <A
class=3Dmoz-txt-link-rfc2396E=20
href=3D"mailto:elias.rabi@gmail.com"><elias.rabi@gmail.com></A>=
</TD></TR></TBODY></TABLE><BR><BR>Just=20
wanted to share this.<BR>All who want ovirt to be install centos6, here is =
good=20
link, <A
href=3D"http://www.dreyou.org/ovirt/"=20
moz-do-not-send=3D"true">http://www.dreyou.org/ovirt/</A&...
you.<BR><BR
<DIV class=3Dgmail_quote>On
Sat, Mar 10, 2012 at 6:52 PM, Elias Abacioglu <=
SPAN=20
dir=3Dltr><<A href=3D"mailto:elias.rabi@gmail.com"=20
moz-do-not-send=3D"true">elias.rabi(a)gmail.com</A>&gt;</SPAN>
wrote:<BR
<BLOCKQUOTE=20
style=3D"BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LE=
FT: 1ex"=20
class=3Dgmail_quote>I was able solve it.<BR><BR>I will share the rpms as
so=
on as=20
i get the installation working.<BR><BR><BR><BR>Den den 9 mars
2012 13:56:=
48=20
skrev Elias Abacioglu:<BR
<BLOCKQUOTE=20
style=3D"BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-=
LEFT: 1ex"=20
class=3Dgmail_quote>I have gotten to this point during the RPM build=20
process:<BR><BR>[INFO]=20
-----------------------------------------------------------------------=
-<BR>[ERROR]=20
FATAL ERROR<BR>[INFO]=20
-----------------------------------------------------------------------=
-<BR>[INFO]=20
<A href=3D"http://org.apache.maven.shared.io" target=3D_blank=20
moz-do-not-send=3D"true">org.apache.maven.shared.io</A>.location.Artifa=
ctLocatorStrategy.<init>(Lorg/apache/maven/artifact/factory/ArtifactFa=
ctory;Lorg/apache/maven/artifact/resolver/ArtifactResolver;Lorg/apache/maven=
/artifact/repository/ArtifactRepository;Ljava/util/List;Ljava/lang/String;Lj=
ava/lang/String;)V<BR>[INFO]=20
-----------------------------------------------------------------------=
-<BR>[INFO]=20
Trace<BR>java.lang.NoSuchMethodError: <A=20
href=3D"http://org.apache.maven.shared.io" target=3D_blank=20
moz-do-not-send=3D"true">org.apache.maven.shared.io</A>.location.Artifa=
ctLocatorStrategy.<init>(Lorg/apache/maven/artifact/factory/ArtifactFa=
ctory;Lorg/apache/maven/artifact/resolver/ArtifactResolver;Lorg/apache/maven=
/artifact/repository/ArtifactRepository;Ljava/util/List;Ljava/lang/String;Lj=
ava/lang/String;)V<BR> =20
at org.apache.maven.plugin.<A href=3D"http://assembly.io"
target=
=3D_blank=20
moz-do-not-send=3D"true">assembly.io</A>.DefaultAssemblyReader.readAsse=
mblies(DefaultAssemblyReader.java:102)<BR> =20
at=20
org.apache.maven.plugin.assembly.mojos.AbstractAssemblyMojo.execute(Abs=
tractAssemblyMojo.java:296)<BR> =20
at=20
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginM=
anager.java:490)<BR> =20
at=20
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defaul=
tLifecycleExecutor.java:694)<BR> =20
at=20
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLife=
cycle(DefaultLifecycleExecutor.java:556)<BR> =20
at=20
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Default=
LifecycleExecutor.java:535)<BR> =20
at=20
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandl=
eFailures(DefaultLifecycleExecutor.java:387)<BR> =20
at=20
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments=
(DefaultLifecycleExecutor.java:348)<BR> =20
at=20
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLife=
cycleExecutor.java:180)<BR> =20
at=20
org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)<BR> =
;=20
at=20
org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)<BR> =
=20
at
org.apache.maven.cli.MavenCli.main(MavenCli.java:362)<BR> =
;=20
at=20
org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)=
<BR> =20
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native=20
Method)<BR> at=20
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.ja=
va:57)<BR> =20
at=20
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccesso=
rImpl.java:43)<BR> =20
at java.lang.reflect.Method.invoke(Method.java:616)<BR>
&nb=
sp;at=20
org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)<BR>=
=20
at=20
org.codehaus.classworlds.Launcher.launch(Launcher.java:255)<BR> =
=20
at=20
org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)<B=
R> =20
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)<BR>[=
INFO]=20
-----------------------------------------------------------------------=
-<BR>[INFO]=20
Total time: 1 minute 47 seconds<BR>[INFO] Finished at: Fri Mar 09 12:50=
:16=20
CET 2012<BR>[INFO] Final Memory: 237M/834M<BR>[INFO]=20
-----------------------------------------------------------------------=
-<BR>make:=20
*** [build_mvn] Error 1<BR>error: Bad exit status from=20
/var/tmp/rpm-tmp.95OcZi (%install)<BR><BR><BR>RPM build
errors:<BR>&nbs=
p;=20
Bad exit status from /var/tmp/rpm-tmp.95OcZi=20
(%install)<BR><BR><BR><BR>Chris Brown had a similar
issue.<BR><A=20
href=3D"http://www.mail-archive.com/users@ovirt.org/msg00078.html&qu...
target=3D_blank=20
moz-do-not-send=3D"true">http://www.mail-archive.com/users@o...
g00078.html</A><BR>His=20
solution was to run maven 2.2. But the problem is that I=20
do.<BR><BR>[elab@virtual SPECS]$ mvn
-v<BR>/usr/lib/jvm/java<BR>Apache =
Maven=20
2.2.1 (rNON-CANONICAL_2011-10-17_20-32_mockbuild; 2011-10-17=20
21:32:08+0200)<BR>Java version: 1.6.0_22<BR>Java home:=20
/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre<BR>Default locale: e=
n_US,=20
platform encoding: UTF-8<BR>OS name: "linux" version:=20
"2.6.32-220.7.1.el6.x86_64" arch: "amd64" Family:
"unix"<BR><BR>Any ide=
as=20
now?<BR><BR>2012/3/9 Elias Abacioglu <<A=20
href=3D"mailto:elias.rabi@gmail.com" target=3D_blank=20
moz-do-not-send=3D"true">elias.rabi(a)gmail.com</A>
<mailto:<A=20
href=3D"mailto:elias.rabi@gmail.com" target=3D_blank=20
moz-do-not-send=3D"true">elias.rabi@gmail.com</A>>><BR><BR><BR>&n=
bsp;=20
><BR>
> Trey, did y=
ou=20
have a Python 2.7 RPM or SRPM for EL6?<BR><BR>
 =
;=20
Where do you see the Python 2.7 dependency? Running a=20
rebuild<BR> with
no<BR> =
=20
changes on the latest SPEC gives me this ...<BR><BR>
=
Maybe=20
you are right.. I was just blinded by the fact that the<BR> =20
ovirt-engine rpms needed 2.7.. So that is probably not=20
needed<BR> after I have rebuilt ovirt
rpms.<BR><BR> &=
nbsp;=20
# rpmbuild -ba --define 'dist .el6' --define 'rhel
6'<BR>&=
nbsp;=20
ovirt-engine.spec<BR>
=20
<snip><BR> +
make<BR>  =
;=20
=20
PREFIX=3D/builddir/build/BUILDROOT/ovirt-engine-3.0.0_0001-1.6.el=
6.x86_64/<BR> =20
install<BR>
which: no mvn=
=20
in<BR> =20
(/usr/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/builddir/bin)<BR>=
=20
export
MAVEN_OPTS=3D"-XX:MaxPermSize=3D512m"<BR>&nb=
sp;=20
install -P gwt-admin,gwt-user -D
skipTests<BR> =
;=20
install: WARNING: ignoring --preserve-context; this=
=20
kernel is not<BR>
SELinux-enabled<BR> &=
nbsp;=20
install: cannot stat `gwt-admin,gwt-user': No such file=20
or<BR> directory<BR>
=20
make: *** [build_mvn] Error 1<BR>
error=
: Bad=20
exit status from /var/tmp/rpm-tmp.oHg34r (%install)<BR><BR>
 =
;I=20
think it requires maven 2.2. There is a maven 2.2 in jpackage<BR> =
=20
6.0. But it got a broken dependency.<BR> I tried
comp=
iling=20
with maven 2.0 and that=20
failed.<BR><BR><BR></BLOCKQUOTE>_________________________________________=
______<BR>Users=20
mailing list<BR><A href=3D"mailto:Users@ovirt.org"
target=3D_blank=20
moz-do-not-send=3D"true">Users(a)ovirt.org</A><BR><A=20
href=3D"http://lists.ovirt.org/mailman/listinfo/users" target=3D_blank=20
moz-do-not-send=3D"true">http://lists.ovirt.org/mailman/list...
<BR></BLOCKQUOTE></DIV><BR><BR=20
clear=3Dall><BR>-- <BR>Kumar
Shantanu<BR><BR><BR></BODY></HTML
<HTML><BR><br>*************************************************************=
*****<br>This email and any files transmitted with it are confidential <br>a=
nd intended solely for the individual or entity to whom they are<br>addresse=
d. If you have received this email in error destroy it <br>immediately.<br>*=
*****************************************************************<br>Consume=
r Testing Laboratories, Inc., Confidential<br>******************************=
************************************<br></HTML
------_=_NextPart_001_01CD0050.277BA11F--