
This is a multi-part message in MIME format. ------=_NextPart_000_0090_01CD1415.C18D8B00 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Hi. I tried to collect the RPM packages for instructions: http://www.ovirt.org/wiki/Build_and_Install_Engine_RPM Commands: "git clone git://gerrit.ovirt.org/ovirt-engine" and "make" and "make test" Executed without error make rpm error: [root@noc-2-synt ovirt-engine]# make rpm tar zcf ovirt-engine-3.1.0_0001.tar.gz `git ls-files` mkdir -p /root/ovirt-engine/output sed -e 's/^Version:.*/Version: 3.1.0_0001/' \ -e 's/^Release:.*/Release: 1.8%{?dist}/' packaging/fedora/spec/ovirt-engine.spec.in > ovirt-engine.spec mkdir -p /root/ovirt-engine/srcrpmbuild/{SPECS,RPMS,SRPMS,SOURCES,BUILD,BUILDROOT} cp -f ovirt-engine.spec /root/ovirt-engine/srcrpmbuild/SPECS/ cp -f ovirt-engine-3.1.0_0001.tar.gz /root/ovirt-engine/srcrpmbuild/SOURCES/ rpmbuild -bs --define="_topdir /root/ovirt-engine/srcrpmbuild" --define="_sourcedir ." ovirt-engine.spec Wrote: /root/ovirt-engine/srcrpmbuild/SRPMS/ovirt-engine-3.1.0_0001-1.8.el6.src.rpm mv /root/ovirt-engine/srcrpmbuild/SRPMS/*.rpm /root/ovirt-engine/output rm -rf /root/ovirt-engine/srcrpmbuild ovirt-engine.spec ovirt-engine-3.1.0_0001.tar.gz rm -rf /root/ovirt-engine/rpmbuild mkdir -p /root/ovirt-engine/rpmbuild/{SPECS,RPMS,SRPMS,SOURCES,BUILD,BUILDROOT} rpmbuild --define="_topdir /root/ovirt-engine/rpmbuild" --rebuild /root/ovirt-engine/output/ovirt-engine-3.1.0_0001-1.8.el6.src.rpm Installing /root/ovirt-engine/output/ovirt-engine-3.1.0_0001-1.8.el6.src.rpm error: Failed build dependencies: maven is needed by ovirt-engine-3.1.0_0001-1.8.el6.x86_64 make: *** [rpm] Error 1 [root@noc-2-synt ovirt-engine]# You can fix this? ------=_NextPart_000_0090_01CD1415.C18D8B00 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable <html xmlns:v=3D"urn:schemas-microsoft-com:vml" = xmlns:o=3D"urn:schemas-microsoft-com:office:office" = xmlns:w=3D"urn:schemas-microsoft-com:office:word" = xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" = xmlns=3D"http://www.w3.org/TR/REC-html40"><head> <META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; = charset=3Dus-ascii"> <meta name=3DGenerator content=3D"Microsoft Word 12 (filtered = medium)"><style><!-- /* Font Definitions */ @font-face {font-family:"Cambria Math"; panose-1:2 4 5 3 5 4 6 3 2 4;} @font-face {font-family:Calibri; panose-1:2 15 5 2 2 2 4 3 2 4;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0cm; margin-bottom:.0001pt; font-size:11.0pt; font-family:"Calibri","sans-serif";} a:link, span.MsoHyperlink {mso-style-priority:99; color:blue; text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed {mso-style-priority:99; color:purple; text-decoration:underline;} span.EmailStyle17 {mso-style-type:personal-compose; font-family:"Calibri","sans-serif"; color:windowtext;} .MsoChpDefault {mso-style-type:export-only;} @page WordSection1 {size:612.0pt 792.0pt; margin:2.0cm 42.5pt 2.0cm 3.0cm;} div.WordSection1 {page:WordSection1;} --></style><!--[if gte mso 9]><xml> <o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" /> </xml><![endif]--><!--[if gte mso 9]><xml> <o:shapelayout v:ext=3D"edit"> <o:idmap v:ext=3D"edit" data=3D"1" /> </o:shapelayout></xml><![endif]--></head><body lang=3DRU link=3Dblue = vlink=3Dpurple><div class=3DWordSection1><p class=3DMsoNormal><span = lang=3DEN-US>Hi.<o:p></o:p></span></p><p class=3DMsoNormal><span = lang=3DEN-US>I tried to collect the RPM packages for instructions: <a = href=3D"http://www.ovirt.org/wiki/Build_and_Install_Engine_RPM">http://ww= w.ovirt.org/wiki/Build_and_Install_Engine_RPM</a><o:p></o:p></span></p><p= class=3DMsoNormal><span lang=3DEN-US>Commands: “git clone = git://gerrit.ovirt.org/ovirt-engine” and “make” and = “make test” Executed without = error<o:p></o:p></span></p><p class=3DMsoNormal><span = lang=3DEN-US><o:p> </o:p></span></p><p class=3DMsoNormal><span = lang=3DEN-US>make rpm</span><span lang=3DEN-US> </span><span = lang=3DEN-US>error:</span><o:p></o:p></p><p class=3DMsoNormal><span = lang=3DEN-US>[root@noc-2-synt ovirt-engine]# make = rpm<o:p></o:p></span></p><p class=3DMsoNormal><span lang=3DEN-US>tar zcf = ovirt-engine-3.1.0_0001.tar.gz `git ls-files`<o:p></o:p></span></p><p = class=3DMsoNormal><span lang=3DEN-US>mkdir -p = /root/ovirt-engine/output<o:p></o:p></span></p><p = class=3DMsoNormal><span lang=3DEN-US>sed -e 's/^Version:.*/Version: = 3.1.0_0001/' \<o:p></o:p></span></p><p class=3DMsoNormal><span = lang=3DEN-US> = -e 's/^Release:.*/Release: 1.8%{?dist}/' = packaging/fedora/spec/ovirt-engine.spec.in > = ovirt-engine.spec<o:p></o:p></span></p><p class=3DMsoNormal><span = lang=3DEN-US>mkdir -p = /root/ovirt-engine/srcrpmbuild/{SPECS,RPMS,SRPMS,SOURCES,BUILD,BUILDROOT}= <o:p></o:p></span></p><p class=3DMsoNormal><span lang=3DEN-US>cp -f = ovirt-engine.spec = /root/ovirt-engine/srcrpmbuild/SPECS/<o:p></o:p></span></p><p = class=3DMsoNormal><span lang=3DEN-US>cp -f = ovirt-engine-3.1.0_0001.tar.gz = /root/ovirt-engine/srcrpmbuild/SOURCES/<o:p></o:p></span></p><p = class=3DMsoNormal><span lang=3DEN-US>rpmbuild -bs = --define=3D"_topdir /root/ovirt-engine/srcrpmbuild" = --define=3D"_sourcedir ." = ovirt-engine.spec<o:p></o:p></span></p><p class=3DMsoNormal><span = lang=3DEN-US>Wrote: = /root/ovirt-engine/srcrpmbuild/SRPMS/ovirt-engine-3.1.0_0001-1.8.el6.src.= rpm<o:p></o:p></span></p><p class=3DMsoNormal><span lang=3DEN-US>mv = /root/ovirt-engine/srcrpmbuild/SRPMS/*.rpm = /root/ovirt-engine/output<o:p></o:p></span></p><p = class=3DMsoNormal><span lang=3DEN-US>rm -rf = /root/ovirt-engine/srcrpmbuild ovirt-engine.spec = ovirt-engine-3.1.0_0001.tar.gz<o:p></o:p></span></p><p = class=3DMsoNormal><span lang=3DEN-US>rm -rf = /root/ovirt-engine/rpmbuild<o:p></o:p></span></p><p = class=3DMsoNormal><span lang=3DEN-US>mkdir -p = /root/ovirt-engine/rpmbuild/{SPECS,RPMS,SRPMS,SOURCES,BUILD,BUILDROOT}<o:= p></o:p></span></p><p class=3DMsoNormal><span = lang=3DEN-US>rpmbuild --define=3D"_topdir = /root/ovirt-engine/rpmbuild" --rebuild = /root/ovirt-engine/output/ovirt-engine-3.1.0_0001-1.8.el6.src.rpm<o:p></o= :p></span></p><p class=3DMsoNormal><span lang=3DEN-US>Installing = /root/ovirt-engine/output/ovirt-engine-3.1.0_0001-1.8.el6.src.rpm<o:p></o= :p></span></p><p class=3DMsoNormal><span lang=3DEN-US>error: Failed = build dependencies:<o:p></o:p></span></p><p class=3DMsoNormal><span = lang=3DEN-US> maven is needed = by ovirt-engine-3.1.0_0001-1.8.el6.x86_64<o:p></o:p></span></p><p = class=3DMsoNormal>make: *** [rpm] Error 1<o:p></o:p></p><p = class=3DMsoNormal><span lang=3DEN-US>[root@noc-2-synt = ovirt-engine]#</span><o:p></o:p></p><p = class=3DMsoNormal><o:p> </o:p></p><p = class=3DMsoNormal><o:p> </o:p></p><p class=3DMsoNormal>You can fix = this? <o:p></o:p></p></div></body></html> ------=_NextPart_000_0090_01CD1415.C18D8B00--

Hi, Jenkins is complaining about the same thing, I believe this is where it went wrong: http://jenkins.ovirt.org/job/ovirt_engine_create_rpms/191/ Related change: http://gerrit.ovirt.org/#patch,sidebyside,3337,2,packaging/fedora/spec/ovirt... Just guessing but maven is not installed on the OS, is that the problem? Laszlo ----- Original Message -----
From: "??????" <zorro@megatrone.ru> To: users@ovirt.org Sent: Friday, April 6, 2012 2:53:13 PM Subject: [Users] make rpm error
Hi.
I tried to collect the RPM packages for instructions: http://www.ovirt.org/wiki/Build_and_Install_Engine_RPM
Commands: “git clone git://gerrit.ovirt.org/ovirt-engine” and “make” and “make test” Executed without error
make rpm error:
[root@noc-2-synt ovirt-engine]# make rpm
tar zcf ovirt-engine-3.1.0_0001.tar.gz `git ls-files`
mkdir -p /root/ovirt-engine/output
sed -e 's/^Version:.*/Version: 3.1.0_0001/' \
-e 's/^Release:.*/Release: 1.8%{?dist}/' packaging/fedora/spec/ovirt-engine.spec.in > ovirt-engine.spec
mkdir -p /root/ovirt-engine/srcrpmbuild/{SPECS,RPMS,SRPMS,SOURCES,BUILD,BUILDROOT}
cp -f ovirt-engine.spec /root/ovirt-engine/srcrpmbuild/SPECS/
cp -f ovirt-engine-3.1.0_0001.tar.gz /root/ovirt-engine/srcrpmbuild/SOURCES/
rpmbuild -bs --define="_topdir /root/ovirt-engine/srcrpmbuild" --define="_sourcedir ." ovirt-engine.spec
Wrote: /root/ovirt-engine/srcrpmbuild/SRPMS/ovirt-engine-3.1.0_0001-1.8.el6.src.rpm
mv /root/ovirt-engine/srcrpmbuild/SRPMS/*.rpm /root/ovirt-engine/output
rm -rf /root/ovirt-engine/srcrpmbuild ovirt-engine.spec ovirt-engine-3.1.0_0001.tar.gz
rm -rf /root/ovirt-engine/rpmbuild
mkdir -p /root/ovirt-engine/rpmbuild/{SPECS,RPMS,SRPMS,SOURCES,BUILD,BUILDROOT}
rpmbuild --define="_topdir /root/ovirt-engine/rpmbuild" --rebuild /root/ovirt-engine/output/ovirt-engine-3.1.0_0001-1.8.el6.src.rpm
Installing /root/ovirt-engine/output/ovirt-engine-3.1.0_0001-1.8.el6.src.rpm
error: Failed build dependencies:
maven is needed by ovirt-engine-3.1.0_0001-1.8.el6.x86_64
make: *** [rpm] Error 1
[root@noc-2-synt ovirt-engine]#
You can fix this? _______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

I deleted the line "BuildRequires: maven" In the spec file, RPM packages have been created successfully mvn installed: [root@noc-2-synt tmp]# mvn --version Warning: JAVA_HOME environment variable is not set. Apache Maven 2.2.1 (r801777; 2009-08-06 15:16:01-0400) 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.4.1.el6.x86_64" arch: "amd64" Family: "unix" thank you -----Original Message----- From: Laszlo Hornyak [mailto:lhornyak@redhat.com] Sent: Friday, April 06, 2012 5:12 PM To: ?????? Cc: users@ovirt.org; Steve Gordon Subject: Re: [Users] make rpm error Hi, Jenkins is complaining about the same thing, I believe this is where it went wrong: http://jenkins.ovirt.org/job/ovirt_engine_create_rpms/191/ Related change: http://gerrit.ovirt.org/#patch,sidebyside,3337,2,packaging/fedora/spec/ovirt... Just guessing but maven is not installed on the OS, is that the problem? Laszlo ----- Original Message -----
From: "??????" <zorro@megatrone.ru> To: users@ovirt.org Sent: Friday, April 6, 2012 2:53:13 PM Subject: [Users] make rpm error
Hi.
I tried to collect the RPM packages for instructions: http://www.ovirt.org/wiki/Build_and_Install_Engine_RPM
Commands: “git clone git://gerrit.ovirt.org/ovirt-engine” and “make” and “make test” Executed without error
make rpm error:
[root@noc-2-synt ovirt-engine]# make rpm
tar zcf ovirt-engine-3.1.0_0001.tar.gz `git ls-files`
mkdir -p /root/ovirt-engine/output
sed -e 's/^Version:.*/Version: 3.1.0_0001/' \
-e 's/^Release:.*/Release: 1.8%{?dist}/' packaging/fedora/spec/ovirt-engine.spec.in > ovirt-engine.spec
mkdir -p /root/ovirt-engine/srcrpmbuild/{SPECS,RPMS,SRPMS,SOURCES,BUILD,BUILDRO OT}
cp -f ovirt-engine.spec /root/ovirt-engine/srcrpmbuild/SPECS/
cp -f ovirt-engine-3.1.0_0001.tar.gz /root/ovirt-engine/srcrpmbuild/SOURCES/
rpmbuild -bs --define="_topdir /root/ovirt-engine/srcrpmbuild" --define="_sourcedir ." ovirt-engine.spec
Wrote: /root/ovirt-engine/srcrpmbuild/SRPMS/ovirt-engine-3.1.0_0001-1.8.el6.s rc.rpm
mv /root/ovirt-engine/srcrpmbuild/SRPMS/*.rpm /root/ovirt-engine/output
rm -rf /root/ovirt-engine/srcrpmbuild ovirt-engine.spec ovirt-engine-3.1.0_0001.tar.gz
rm -rf /root/ovirt-engine/rpmbuild
mkdir -p /root/ovirt-engine/rpmbuild/{SPECS,RPMS,SRPMS,SOURCES,BUILD,BUILDROOT}
rpmbuild --define="_topdir /root/ovirt-engine/rpmbuild" --rebuild /root/ovirt-engine/output/ovirt-engine-3.1.0_0001-1.8.el6.src.rpm
Installing /root/ovirt-engine/output/ovirt-engine-3.1.0_0001-1.8.el6.src.rpm
error: Failed build dependencies:
maven is needed by ovirt-engine-3.1.0_0001-1.8.el6.x86_64
make: *** [rpm] Error 1
[root@noc-2-synt ovirt-engine]#
You can fix this? _______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

So why isn't the maven package installed properly on the build host? How was maven installed on this box? The fact is the build *does* require maven and we are currently generating SRPMs that do not indicate this (because it's not in the spec). Steve ----- Original Message -----
From: "зоррыч" <zorro@megatrone.ru> To: "Laszlo Hornyak" <lhornyak@redhat.com> Cc: users@ovirt.org, "Steve Gordon" <sgordon@redhat.com> Sent: Friday, April 6, 2012 10:50:43 AM Subject: RE: [Users] make rpm error
I deleted the line "BuildRequires: maven" In the spec file, RPM packages have been created successfully
mvn installed:
[root@noc-2-synt tmp]# mvn --version Warning: JAVA_HOME environment variable is not set. Apache Maven 2.2.1 (r801777; 2009-08-06 15:16:01-0400) 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.4.1.el6.x86_64" arch: "amd64" Family: "unix"
thank you
-----Original Message----- From: Laszlo Hornyak [mailto:lhornyak@redhat.com] Sent: Friday, April 06, 2012 5:12 PM To: ?????? Cc: users@ovirt.org; Steve Gordon Subject: Re: [Users] make rpm error
Hi,
Jenkins is complaining about the same thing, I believe this is where it went wrong: http://jenkins.ovirt.org/job/ovirt_engine_create_rpms/191/
Related change: http://gerrit.ovirt.org/#patch,sidebyside,3337,2,packaging/fedora/spec/ovirt...
Just guessing but maven is not installed on the OS, is that the problem?
Laszlo
----- Original Message -----
From: "??????" <zorro@megatrone.ru> To: users@ovirt.org Sent: Friday, April 6, 2012 2:53:13 PM Subject: [Users] make rpm error
Hi.
I tried to collect the RPM packages for instructions: http://www.ovirt.org/wiki/Build_and_Install_Engine_RPM
Commands: “git clone git://gerrit.ovirt.org/ovirt-engine” and “make” and “make test” Executed without error
make rpm error:
[root@noc-2-synt ovirt-engine]# make rpm
tar zcf ovirt-engine-3.1.0_0001.tar.gz `git ls-files`
mkdir -p /root/ovirt-engine/output
sed -e 's/^Version:.*/Version: 3.1.0_0001/' \
-e 's/^Release:.*/Release: 1.8%{?dist}/' packaging/fedora/spec/ovirt-engine.spec.in > ovirt-engine.spec
mkdir -p /root/ovirt-engine/srcrpmbuild/{SPECS,RPMS,SRPMS,SOURCES,BUILD,BUILDRO OT}
cp -f ovirt-engine.spec /root/ovirt-engine/srcrpmbuild/SPECS/
cp -f ovirt-engine-3.1.0_0001.tar.gz /root/ovirt-engine/srcrpmbuild/SOURCES/
rpmbuild -bs --define="_topdir /root/ovirt-engine/srcrpmbuild" --define="_sourcedir ." ovirt-engine.spec
Wrote: /root/ovirt-engine/srcrpmbuild/SRPMS/ovirt-engine-3.1.0_0001-1.8.el6.s rc.rpm
mv /root/ovirt-engine/srcrpmbuild/SRPMS/*.rpm /root/ovirt-engine/output
rm -rf /root/ovirt-engine/srcrpmbuild ovirt-engine.spec ovirt-engine-3.1.0_0001.tar.gz
rm -rf /root/ovirt-engine/rpmbuild
mkdir -p /root/ovirt-engine/rpmbuild/{SPECS,RPMS,SRPMS,SOURCES,BUILD,BUILDROOT}
rpmbuild --define="_topdir /root/ovirt-engine/rpmbuild" --rebuild /root/ovirt-engine/output/ovirt-engine-3.1.0_0001-1.8.el6.src.rpm
Installing /root/ovirt-engine/output/ovirt-engine-3.1.0_0001-1.8.el6.src.rpm
error: Failed build dependencies:
maven is needed by ovirt-engine-3.1.0_0001-1.8.el6.x86_64
make: *** [rpm] Error 1
[root@noc-2-synt ovirt-engine]#
You can fix this? _______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

I installed maven manually from the page - http://maven.apache.org/download.html (In the old version of the package repository) -----Original Message----- From: Steve Gordon [mailto:sgordon@redhat.com] Sent: Monday, April 09, 2012 5:18 PM To: зоррыч Cc: users@ovirt.org; Laszlo Hornyak Subject: Re: [Users] make rpm error So why isn't the maven package installed properly on the build host? How was maven installed on this box? The fact is the build *does* require maven and we are currently generating SRPMs that do not indicate this (because it's not in the spec). Steve ----- Original Message -----
From: "зоррыч" <zorro@megatrone.ru> To: "Laszlo Hornyak" <lhornyak@redhat.com> Cc: users@ovirt.org, "Steve Gordon" <sgordon@redhat.com> Sent: Friday, April 6, 2012 10:50:43 AM Subject: RE: [Users] make rpm error
I deleted the line "BuildRequires: maven" In the spec file, RPM packages have been created successfully
mvn installed:
[root@noc-2-synt tmp]# mvn --version Warning: JAVA_HOME environment variable is not set. Apache Maven 2.2.1 (r801777; 2009-08-06 15:16:01-0400) 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.4.1.el6.x86_64" arch: "amd64" Family: "unix"
thank you
-----Original Message----- From: Laszlo Hornyak [mailto:lhornyak@redhat.com] Sent: Friday, April 06, 2012 5:12 PM To: ?????? Cc: users@ovirt.org; Steve Gordon Subject: Re: [Users] make rpm error
Hi,
Jenkins is complaining about the same thing, I believe this is where it went wrong: http://jenkins.ovirt.org/job/ovirt_engine_create_rpms/191/
Related change: http://gerrit.ovirt.org/#patch,sidebyside,3337,2,packaging/fedora/spec/ovirt...
Just guessing but maven is not installed on the OS, is that the problem?
Laszlo
----- Original Message -----
From: "??????" <zorro@megatrone.ru> To: users@ovirt.org Sent: Friday, April 6, 2012 2:53:13 PM Subject: [Users] make rpm error
Hi.
I tried to collect the RPM packages for instructions: http://www.ovirt.org/wiki/Build_and_Install_Engine_RPM
Commands: “git clone git://gerrit.ovirt.org/ovirt-engine” and “make” and “make test” Executed without error
make rpm error:
[root@noc-2-synt ovirt-engine]# make rpm
tar zcf ovirt-engine-3.1.0_0001.tar.gz `git ls-files`
mkdir -p /root/ovirt-engine/output
sed -e 's/^Version:.*/Version: 3.1.0_0001/' \
-e 's/^Release:.*/Release: 1.8%{?dist}/' packaging/fedora/spec/ovirt-engine.spec.in > ovirt-engine.spec
mkdir -p /root/ovirt-engine/srcrpmbuild/{SPECS,RPMS,SRPMS,SOURCES,BUILD,BUILDRO OT}
cp -f ovirt-engine.spec /root/ovirt-engine/srcrpmbuild/SPECS/
cp -f ovirt-engine-3.1.0_0001.tar.gz /root/ovirt-engine/srcrpmbuild/SOURCES/
rpmbuild -bs --define="_topdir /root/ovirt-engine/srcrpmbuild" --define="_sourcedir ." ovirt-engine.spec
Wrote: /root/ovirt-engine/srcrpmbuild/SRPMS/ovirt-engine-3.1.0_0001-1.8.el6.s rc.rpm
mv /root/ovirt-engine/srcrpmbuild/SRPMS/*.rpm /root/ovirt-engine/output
rm -rf /root/ovirt-engine/srcrpmbuild ovirt-engine.spec ovirt-engine-3.1.0_0001.tar.gz
rm -rf /root/ovirt-engine/rpmbuild
mkdir -p /root/ovirt-engine/rpmbuild/{SPECS,RPMS,SRPMS,SOURCES,BUILD,BUILDROOT}
rpmbuild --define="_topdir /root/ovirt-engine/rpmbuild" --rebuild /root/ovirt-engine/output/ovirt-engine-3.1.0_0001-1.8.el6.src.rpm
Installing /root/ovirt-engine/output/ovirt-engine-3.1.0_0001-1.8.el6.src.rpm
error: Failed build dependencies:
maven is needed by ovirt-engine-3.1.0_0001-1.8.el6.x86_64
make: *** [rpm] Error 1
[root@noc-2-synt ovirt-engine]#
You can fix this? _______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

----- Original Message -----
From: "Laszlo Hornyak" <lhornyak@redhat.com> To: "??????" <zorro@megatrone.ru> Cc: users@ovirt.org, "Steve Gordon" <sgordon@redhat.com> Sent: Friday, April 6, 2012 9:12:06 AM Subject: Re: [Users] make rpm error
Hi,
Jenkins is complaining about the same thing, I believe this is where it went wrong: http://jenkins.ovirt.org/job/ovirt_engine_create_rpms/191/
Related change: http://gerrit.ovirt.org/#patch,sidebyside,3337,2,packaging/fedora/spec/ovirt...
Just guessing but maven is not installed on the OS, is that the problem?
Laszlo
Maven must be installed, otherwise builds would never work on it, but I am guessing it has been installed manually outside of the package manager otherwise this dependency would be met. CC'ing arch@ovirt.org: How is maven installed on the jenkins host? Can we get it installed from RPMs? Thanks, Steve

----- Original Message -----
From: "Steve Gordon" <sgordon@redhat.com> To: "Laszlo Hornyak" <lhornyak@redhat.com> Cc: "??????" <zorro@megatrone.ru>, arch@ovirt.org, users@ovirt.org Sent: Monday, April 9, 2012 4:21:55 PM Subject: Re: [Users] make rpm error
----- Original Message -----
From: "Laszlo Hornyak" <lhornyak@redhat.com> To: "??????" <zorro@megatrone.ru> Cc: users@ovirt.org, "Steve Gordon" <sgordon@redhat.com> Sent: Friday, April 6, 2012 9:12:06 AM Subject: Re: [Users] make rpm error
Hi,
Jenkins is complaining about the same thing, I believe this is where it went wrong: http://jenkins.ovirt.org/job/ovirt_engine_create_rpms/191/
Related change: http://gerrit.ovirt.org/#patch,sidebyside,3337,2,packaging/fedora/spec/ovirt...
Just guessing but maven is not installed on the OS, is that the problem?
Laszlo
Maven must be installed, otherwise builds would never work on it, but I am guessing it has been installed manually outside of the package manager otherwise this dependency would be met.
CC'ing arch@ovirt.org:
How is maven installed on the jenkins host? Can we get it installed from RPMs?
Jenkins doesn't install the maven package, but uses a mvn bin under $JENKINS_HOME/tools/$mvn_ver/bin/mvn. I'm not sure that requiring the 'maven' rpm in the make is wise, than rather checking if 'mvn' can be run instead, since this a standalone pkg that can be on os even without an rpm installed. but for now, i can make sure all jenkins slaves have the 'maven' rpm installed to solve this issue. eyal.
Thanks,
Steve _______________________________________________ Arch mailing list Arch@ovirt.org http://lists.ovirt.org/mailman/listinfo/arch

----- Original Message -----
From: "Eyal Edri" <eedri@redhat.com> To: "Steve Gordon" <sgordon@redhat.com> Cc: "??????" <zorro@megatrone.ru>, arch@ovirt.org, users@ovirt.org, "Laszlo Hornyak" <lhornyak@redhat.com>, "Ofer Schreiber" <oschreib@redhat.com>, "infra" <infra@ovirt.org> Sent: Monday, April 9, 2012 9:56:08 AM Subject: Re: [Users] make rpm error
----- Original Message -----
From: "Steve Gordon" <sgordon@redhat.com> To: "Laszlo Hornyak" <lhornyak@redhat.com> Cc: "??????" <zorro@megatrone.ru>, arch@ovirt.org, users@ovirt.org Sent: Monday, April 9, 2012 4:21:55 PM Subject: Re: [Users] make rpm error
----- Original Message -----
From: "Laszlo Hornyak" <lhornyak@redhat.com> To: "??????" <zorro@megatrone.ru> Cc: users@ovirt.org, "Steve Gordon" <sgordon@redhat.com> Sent: Friday, April 6, 2012 9:12:06 AM Subject: Re: [Users] make rpm error
Hi,
Jenkins is complaining about the same thing, I believe this is where it went wrong: http://jenkins.ovirt.org/job/ovirt_engine_create_rpms/191/
Related change: http://gerrit.ovirt.org/#patch,sidebyside,3337,2,packaging/fedora/spec/ovirt...
Just guessing but maven is not installed on the OS, is that the problem?
Laszlo
Maven must be installed, otherwise builds would never work on it, but I am guessing it has been installed manually outside of the package manager otherwise this dependency would be met.
CC'ing arch@ovirt.org:
How is maven installed on the jenkins host? Can we get it installed from RPMs?
Jenkins doesn't install the maven package, but uses a mvn bin under $JENKINS_HOME/tools/$mvn_ver/bin/mvn.
I'm not sure that requiring the 'maven' rpm in the make is wise, than rather checking if 'mvn' can be run instead, since this a standalone pkg that can be on os even without an rpm installed.
If that was actually a valid reason to not specify package requirements we would never specify any BuildRequires or Requires declarations in the spec file because the packages 'might' have been manually installed. Without this declaration the SRPM we are providing in the builds on ovirt.org can not be used to build in a clean environment such as that provided by mock. Note that this declaration was already in the version submitted to Fedora for review [1] because otherwise it would never pass...
but for now, i can make sure all jenkins slaves have the 'maven' rpm installed to solve this issue.
Thanks. Steve [1] http://jhernand.fedorapeople.org/rpms/ovirt-engine/3.0.0_0001-6/ovirt-engine...
participants (5)
-
??????
-
Eyal Edri
-
Laszlo Hornyak
-
Steve Gordon
-
зоррыч