[TriLUG] Apache: Segmentation fault errors

James Olin Oden james.oden at gmail.com
Fri Mar 16 07:19:25 EDT 2007


On 3/15/07, Paul G. Szabady <Paul at thyservice.com> wrote:
> James,
>
> I added "exit 0" at the end of %install, just prior to %pre:
>
> <part of httpd.spec>
>
> # Make suexec a+rw so it can be stripped.  %%files lists real permissions
> chmod 755 $RPM_BUILD_ROOT%{_sbindir}/suexec
>
> exit 0
>
> %pre
>
> </part of httpd.spec>
>
> BUT, during the compile (rpmbuild -bb httpd.spec) I get the following error:
>
> Processing files: httpd-debuginfo-2.0.46-61.ent
> error: Could not open %files file
> /usr/src/redhat/BUILD/httpd-2.0.46/debugfiles.list: No such file or
> directory
>
>
> RPM build errors:
>    Could not open %files file
> /usr/src/redhat/BUILD/httpd-2.0.46/debugfiles.list: No such file or
> directory
>

At the top of the spec fiel place:

   %define debug_package %{nil}

What is happening is a debug info package is trying to be generated,
but we short circuited half of it by doing the exit.

Cheers...james



More information about the TriLUG mailing list