[CentOS] Need help with spec file for Apache-2.4.7

James B. Byrne byrnejb at harte-lyne.ca
Sun Jan 5 07:28:33 UTC 2014


On Sat, January 4, 2014 22:14, James B. Byrne wrote:
>
> RPM build errors:
>     File not found:
> /builddir/build/BUILDROOT/httpd-2.4.7-1.x86_64/usr/lib64/httpd/modules/mod_session_crypto.so
> Child return code was: 1
> EXCEPTION: Command failed. See logs for output.
>  # ['bash', '--login', '-c', 'rpmbuild -bb --target x86_64 --nodeps
> builddir/build/SPECS/httpd.spec']
>
> I cannot find anything in the spec file that refers to this module by name
> other than the following:
>
> %{_libdir}/httpd/modules/mod_session_crypto.so
>
> Am I missing something obvious?  Is there an undeclared dependency?
>
> Any assistance gratefully accepted.
>

I have gotten this to compile to completion but now I am getting an error that
says:

RPM build errors:
error: Installed (but unpackaged) file(s) found:
   /usr/bin/apr-1-config
   /usr/bin/apu-1-config
    Installed (but unpackaged) file(s) found:
   /usr/bin/apr-1-config
   /usr/bin/apu-1-config
Child return code was: 1

However, if I add this to the %files directive:

%files devel
%defattr(-,root,root)
.  .  .
# Adds in apr libs
%{_bindir}/apr-1-config
%{_bindir}/apr-u-config

The error becomes:

error: File not found:
/builddir/build/BUILDROOT/httpd-2.4.7-1.x86_64/usr/bin/apr-u-config
RPM build errors:
    File not found:
/builddir/build/BUILDROOT/httpd-2.4.7-1.x86_64/usr/bin/apr-u-config

Where should the arp stuff go? Into its own package?

-- 
***          E-Mail is NOT a SECURE channel          ***
James B. Byrne                mailto:ByrneJB at Harte-Lyne.ca
Harte & Lyne Limited          http://www.harte-lyne.ca
9 Brockley Drive              vox: +1 905 561 1241
Hamilton, Ontario             fax: +1 905 561 0757
Canada  L8E 3C3




More information about the CentOS mailing list