----- Original Message -----
> From: "Eyal Edri" <[email protected]>
> To: "Steve Gordon" <[email protected]>
> Cc: "??????" <[email protected]>, [email protected], [email protected], "Laszlo 
> Hornyak" <[email protected]>, "Ofer
> Schreiber" <[email protected]>, "infra" <[email protected]>
> Sent: Monday, April 9, 2012 9:56:08 AM
> Subject: Re: [Users] make rpm error
> 
> 
> 
> ----- Original Message -----
> > From: "Steve Gordon" <[email protected]>
> > To: "Laszlo Hornyak" <[email protected]>
> > Cc: "??????" <[email protected]>, [email protected], [email protected]
> > Sent: Monday, April 9, 2012 4:21:55 PM
> > Subject: Re: [Users] make rpm error
> > 
> > ----- Original Message -----
> > > From: "Laszlo Hornyak" <[email protected]>
> > > To: "??????" <[email protected]>
> > > Cc: [email protected], "Steve Gordon" <[email protected]>
> > > 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-engine.spec.in
> > > 
> > > 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 [email protected]:
> > 
> > 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.spec
_______________________________________________
Users mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/users

Reply via email to