https://issues.apache.org/bugzilla/show_bug.cgi?id=54824

            Bug ID: 54824
           Summary: Spec file is missing libuuid-devel requirement
           Product: Apache httpd-2
           Version: 2.4.4
          Hardware: PC
                OS: Mac OS X 10.4
            Status: NEW
          Severity: normal
          Priority: P2
         Component: support
          Assignee: [email protected]
          Reporter: [email protected]
    Classification: Unclassified

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

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to