Building a Corosync 1.4.1 RPM package for SLES11 SP1

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi!

I'm trying to build a Corosync 1.4.1 RPM package for SLES11 SP1 using the sources from [1].
I already posted about this in the Pacemaker ML a few weeks ago, because I initially had
problems building the package without the nss libs, which lead to the following patch
being posted to the Openais ML by Steven Dake (since the Openais ML is currently down,
I'll post it here):

----- snip -----
--- a/corosync.spec.in
+++ b/corosync.spec.in
@@ -11,6 +11,7 @@
%bcond_with snmp
%bcond_with dbus
%bcond_with rdma
+%bcond_with nss

Name: corosync
Summary: The Corosync Cluster Engine and Application Programming Interfaces
@@ -36,7 +37,9 @@ Conflicts: openais <= 0.89, openais-devel <= 0.89
%if %{buildtrunk}
BuildRequires: autoconf automake
%endif
+%if %{with nss}
BuildRequires: nss-devel
+%endif
%if %{with rdma}
BuildRequires: libibverbs-devel librdmacm-devel
%endif
@@ -83,6 +86,11 @@ export rdmacm_LIBS=-lrdmacm \
%if %{with rdma}
      --enable-rdma \
%endif
+%if %{with nss}
+       --enable-nss \
+%else
+       --disable-nss \
+%endif
      --with-initddir=%{_initrddir}

make %{_smp_mflags}
----- snip -----

This patch solved the original problem for me, but "make rpm" now fails at this point:

----- snip -----
Checking for unpackaged file(s): /usr/lib/rpm/check-files /var/tmp/corosync-1.4.1-1-31YAT7
error: Installed (but unpackaged) file(s) found:
 /usr/share/doc/corosync/AUTHORS
 /usr/share/doc/corosync/INSTALL
 /usr/share/doc/corosync/LICENSE
 /usr/share/doc/corosync/README.devmap
 /usr/share/doc/corosync/README.recovery
 /usr/share/doc/corosync/SECURITY
 /usr/share/doc/corosync/TODO
 /usr/share/doc/corosync/html/confdb_context_get.3.html
 /usr/share/doc/corosync/html/confdb_context_set.3.html
[...]
make: *** [rpm] Error 1
# _
----- snip -----

I'll can provide the complete build log for more detailed information if needed.

Would anyone have a look at this, please?
Thanks in advance!

-- 
Sebastian
_______________________________________________
discuss mailing list
discuss@xxxxxxxxxxxx
http://lists.corosync.org/mailman/listinfo/discuss


[Index of Archives]     [Linux Clusters]     [Corosync Project]     [Linux USB Devel]     [Linux Audio Users]     [Photo]     [Yosemite News]    [Yosemite Photos]    [Linux Kernel]     [Linux SCSI]     [X.Org]

  Powered by Linux