Bug 54824 - Spec file is missing libuuid-devel requirement
Summary: Spec file is missing libuuid-devel requirement
Status: NEW
Alias: None
Product: Apache httpd-2
Classification: Unclassified
Component: support (show other bugs)
Version: 2.4.4
Hardware: PC Mac OS X 10.4
: P2 normal (vote)
Target Milestone: ---
Assignee: Apache HTTPD Bugs Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-04-10 09:33 UTC by Arnoud Vermeer
Modified: 2013-04-10 09:35 UTC (History)
0 users



Attachments
Fix for the missing requirement in the spec file (528 bytes, application/octet-stream)
2013-04-10 09:35 UTC, Arnoud Vermeer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Arnoud Vermeer 2013-04-10 09:33:39 UTC
Building the RPM for apache-2.4.4 fails with:

/usr/bin/ld: cannot find -luuid
collect2: ld returned 1 exit status
make[2]: *** [htdbm] Error 1
make[2]: Leaving directory `/builddir/build/BUILD/httpd-2.4.4/support'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/builddir/build/BUILD/httpd-2.4.4/support'
make: *** [all-recursive] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.jGB1wV (%build)
RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.jGB1wV (%build)

Which is resolved by adding the missing dependency of libuuid-devel

--- httpd-orig.spec	2013-04-10 11:25:31.000000000 +0200
+++ httpd.spec	2013-04-10 11:19:19.309350648 +0200
@@ -13,7 +13,7 @@
 Group: System Environment/Daemons
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
 BuildRequires: autoconf, perl, pkgconfig, findutils
-BuildRequires: zlib-devel, libselinux-devel
+BuildRequires: zlib-devel, libselinux-devel, libuuid-devel
 BuildRequires: apr-devel >= 1.4.0, apr-util-devel >= 1.4.0, pcre-devel >= 5.0
 Requires: initscripts >= 8.36, /etc/mime.types
 Obsoletes: httpd-suexec

Steps to reproduce:
rpmbuild -ts httpd-2.4.4.tar.bz2
mock /home/arnoud/rpmbuild/SRPMS/httpd-2.4.4-1.src.rpm
Comment 1 Arnoud Vermeer 2013-04-10 09:35:46 UTC
Created attachment 30174 [details]
Fix for the missing requirement in the spec file