On Thu, 2012-05-17 at 17:01 -0700, Nishanth Aravamudan wrote:
> On 17.05.2012 [20:56:40 -0300], Lucas Meneghel Rodrigues wrote:
> > On Thu, 2012-05-17 at 16:44 -0700, Nishanth Aravamudan wrote:
> > > Hi Lucas,
> > > 
> > > client job reports:
> > > 
> > > 05/17 19:36:13 WARNI|  boottool:0567| version 8.3 being used is not 
> > > guaranteed to work properly. Mininum required version is 8.11.
> > > 05/17 19:36:13 INFO |  boottool:0503| Installing grubby because currently 
> > > installed version (8.3) is not recent enough
> > > 05/17 19:36:15 DEBUG|  boottool:1251| Failed to build grubby during 
> > > "make" step
> > > 05/17 19:36:15 DEBUG|  boottool:1239| grubby.c:28:18: fatal error: 
> > > popt.h: No such file or directory
> > > 05/17 19:36:15 DEBUG|  boottool:1239| compilation terminated.
> > > 05/17 19:36:15 DEBUG|  boottool:1239| make: *** [grubby.o] Error 1
> > > 05/17 19:36:15 ERROR|       job:1330| JOB ERROR: Unable to instantiate 
> > > boottool
> > > 05/17 19:36:15 INFO |       job:0210| END ABORT   ----    ----    
> > > timestamp=1337297775    localtime=May 17 19:36:15       Unable to 
> > > instantiate boottool
> > > 
> > > Thoughts?
> > > 
> > > Seems like maybe I'm missing popt-devel? But I don't think the autotest
> > 
> > Yes, popt-devel is required to build grubby.
> > 
> > > harness should require me to change my kickstarts (although I am happy
> > > to do so) to add that package. Is it possible to, from w/in autotest,
> > > automatically install that package as a dependency?
> > 
> > We still don't have this support. We wrote a tool to act as an
> > abstraction layer for package managers:
> > 
> > https://github.com/autotest/autotest/blob/master/client/shared/software_manager.py
> > 
> > That code could make possible what you describe, however I never got
> > around using it inside autotest (yet another pending task)
> > 
> > https://github.com/autotest/autotest/issues/350
> > 
> > So, for now, it's advisable to add popt-devel to the kickstarts you
> > have.
> > 
> > Sorry about the inconvenience :(
> 
> No problem, adding it now. Could we perhaps check to see if it's
> installed in the "installing grubby" check and not bother building if we
> can't find it?

Fair enough. I've just sent a patch that does this. I'd need to test
before applying it, but in any case, we're on a good track.


_______________________________________________
Autotest mailing list
Autotest@test.kernel.org
http://test.kernel.org/cgi-bin/mailman/listinfo/autotest

Reply via email to