[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [buildsys@fedoraproject.org: Prep Error (Job 14868): tetex-tex4ht-1_0_2006_08_26_2341-1_fc6 on fedora-development-extras]



On Tue, 2006-08-29 at 09:00 +0200, Patrice Dumas wrote:
> On Mon, Aug 28, 2006 at 04:36:01PM +0100, Paul Howarth wrote:
> > On Mon, 2006-08-28 at 13:19 +0200, Patrice Dumas wrote:
> > > Hello,
> > > 
> > > I get a prep error for tetex-tex4ht. It may come from:
> > > 
> > > %{!?_texmf: %define _texmf %(eval "echo `kpsewhich -expand-var '$TEXMFMAIN'`")}
> > > 
> > > but there is
> > > BuildRequires:  /usr/bin/kpsewhich
> > > 
> > I suspect that this error is happening when mock is trying to build the
> > SRPM. It does this by parsing the spec file after only installing the
> > packages from the minimal buildroot, which doesn't include the packages
> > you're added as BuildRequires. So the spec file needs to be parse-able
> > when kpsewhich isn't present.
> 
> In fact it is not the error that prevented the package to be built, 
> since kpsewhich is used to define a directory which is not really usefull 
> for srpm creation. Should this be cleaned up anyway or is it fine
> to have those errors at srpm creation?

They should be harmless; the SRPM that gets released is created at the
end of the build process when all of the buildreqs are in place, so as
long as the spec can be parsed for buildreqs successfully in the minimal
buildroot, everything should be fine.

Paul.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]