[SSSD] [PATCH][ding-libs] SPEC: Do not call autoreconf on epel5

Lukas Slebodnik lslebodn at redhat.com
Mon Jul 7 14:05:24 UTC 2014


ehlo,

There is a bug in old version of autotools which cause compilation problems

./libtool: line 1161: X-c: command not found
./libtool: line 1213: Xpath_utils/path_utils.lo: No such file or directory
./libtool: line 1218: libtool: compile: cannot determine name of library object
from `': command not found
make[1]: *** [path_utils/path_utils.lo] Error 1
make[1]: Leaving directory `/builddir/build/BUILD/ding-libs-0.4.0'

I used this patch for building ding-libs in copr [1] but I forgot to send
patch to upstream.

LS

[1] https://copr.fedoraproject.org/coprs/lslebodn/ding-libs/
-------------- next part --------------
>From 2ac85584902f6b0799fad1818dfdb23772354649 Mon Sep 17 00:00:00 2001
From: Lukas Slebodnik <lslebodn at redhat.com>
Date: Mon, 7 Jul 2014 15:50:49 +0200
Subject: [PATCH 3/3] SPEC: Do not call autoreconf on epel5

There is a bug in old version of autotools which cause compilation problems

./libtool: line 1161: X-c: command not found
./libtool: line 1213: Xpath_utils/path_utils.lo: No such file or directory
./libtool: line 1218: libtool: compile: cannot determine name of library object
from `': command not found
make[1]: *** [path_utils/path_utils.lo] Error 1
make[1]: Leaving directory `/builddir/build/BUILD/ding-libs-0.4.0'
---
 contrib/ding-libs.spec.in | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/contrib/ding-libs.spec.in b/contrib/ding-libs.spec.in
index 87f2a1ab915c2225f0a2b83a1de1d2980489e210..8244409a6383d2900ec9641bdd3b6b7d38b5b8fa 100644
--- a/contrib/ding-libs.spec.in
+++ b/contrib/ding-libs.spec.in
@@ -324,7 +324,9 @@ structure
 %setup -q
 
 %build
+%if (0%{?fedora} || 0%{?rhel} > 5)
 autoreconf -ivf
+%endif
 %configure \
     --disable-static
 
-- 
1.9.3



More information about the sssd-devel mailing list