[CentOS] Problem with rpmbuild

Indunil Jayasooriya indunil75 at gmail.com
Sat Jan 13 05:06:35 UTC 2007


rpmbuild -i php.spec

try , instead,
rpmbuild -ba php.spec



On 1/12/07, Aleksandar Milivojevic <alex at milivojevic.org> wrote:
>
> Quoting Todd Cary <todd at aristesoftware.com>:
>
> > Matt -
> >
> > I have the spec, build and error file on my server:
> >
> > http://209.204.172.137/misc/php.spec
> > http://209.204.172.137/misc/build.txt
> > http://209.204.172.137/misc/build_errors.txt
>
> If you look at the output, it seems that the two testes failed
> (bug26938 and proc_open01).  They did not fail because the things they
> were testing were not working.  They failed because interbase.so
> module couldn't be found (tests didn't even run).  Maybe they depend
> on interbase module for whatever strange reason.  If I were you, I'd
> just edit the spec file and remove them.  In the %prep section, just
> after patches are applied, thre's couple of lines that remove some
> other tests that fail for no good reason (preventing php rpm from
> being built).
>
> Just add these two lines inthere, and you should be fine:
>
> rm -f ext/standard/tests/file/bug26938.phpt
> rm -f ext/standard/tests/file/proc_open01.phpt
>
> If you customize spec file to build more modules, some other tests may
> also fail (again, usually for no good reason).  Check output for
> details.  It tells you why test failed.  If it's just linking problem
> (like with those two tests that are bugging you now), ignore it and
> disable the test in spec file (by removing it in %prep section).
>
>
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
>



-- 
Thank you
Indunil Jayasooriya
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/centos/attachments/20070113/bc9416cd/attachment.html>


More information about the CentOS mailing list