Add -ldl to LDFLAGS 96/88996/3 accepted/tizen_3.0.m2_mobile accepted/tizen_3.0.m2_tv accepted/tizen_3.0.m2_wearable accepted/tizen_3.0_common accepted/tizen_3.0_ivi accepted/tizen_3.0_mobile accepted/tizen_3.0_tv accepted/tizen_3.0_wearable tizen_3.0 tizen_3.0.m2 tizen_3.0_tv accepted/tizen/3.0.m2/mobile/20170105.024657 accepted/tizen/3.0.m2/tv/20170105.024840 accepted/tizen/3.0.m2/wearable/20170105.025010 accepted/tizen/3.0/common/20161114.110913 accepted/tizen/3.0/ivi/20161011.044253 accepted/tizen/3.0/ivi/20161028.151222 accepted/tizen/3.0/mobile/20161015.033401 accepted/tizen/3.0/mobile/20161028.143104 accepted/tizen/3.0/tv/20161028.143423 accepted/tizen/3.0/wearable/20161028.150757 accepted/tizen/common/20160926.154145 accepted/tizen/ivi/20160927.020908 accepted/tizen/ivi/20161018.091137 accepted/tizen/mobile/20160927.020852 accepted/tizen/mobile/20161018.091044 accepted/tizen/tv/20161018.091103 accepted/tizen/wearable/20161018.091115 submit/tizen/20160926.005548 submit/tizen/20161017.022041 submit/tizen_3.0.m2/20170104.093753 submit/tizen_3.0/20161028.062323 submit/tizen_3.0/20161028.092423 submit/tizen_3.0_common/20161104.104000 submit/tizen_3.0_ivi/20161010.000003 submit/tizen_3.0_mobile/20161015.000003
authorSlava Barinov <v.barinov@samsung.com>
Wed, 21 Sep 2016 10:32:42 +0000 (13:32 +0300)
committerDongsun Lee <ds73.lee@samsung.com>
Mon, 26 Sep 2016 00:41:06 +0000 (09:41 +0900)
- It was found because of ASan build break.

Change-Id: I6db542b4096624d9c89bb3fa0c0fceeff0cd3cb8
Signed-off-by: Slava Barinov <v.barinov@samsung.com>
packaging/krb5.spec

index 237dae0..7247b19 100644 (file)
@@ -66,6 +66,7 @@ cp %{SOURCE1001} .
 rm -f src/lib/krb5/krb/deltat.c
 cd src
 ./util/reconf
+LDFLAGS+=" -ldl "
 CFLAGS="$RPM_OPT_FLAGS -I/usr/include/et -fno-strict-aliasing -D_GNU_SOURCE -fPIC " \
 ./configure \
        --host=%{_host} --build=%{_build} \
@@ -86,11 +87,11 @@ CFLAGS="$RPM_OPT_FLAGS -I/usr/include/et -fno-strict-aliasing -D_GNU_SOURCE -fPI
         --without-pam \
         --with-system-et \
         --with-system-ss
-make %{?jobs:-j%jobs} 
+make %{?jobs:-j%jobs}
 
 %install
 cd src
-make DESTDIR=%{buildroot} install 
+make DESTDIR=%{buildroot} install
 cd ..
 # Munge the krb5-config script to remove rpaths and CFLAGS.
 sed "s|^CC_LINK=.*|CC_LINK='\$(CC) \$(PROG_LIBPATH)'|g" src/krb5-config > $RPM_BUILD_ROOT/usr/lib/mit/bin/krb5-config
@@ -108,15 +109,15 @@ mkdir -p %{buildroot}/etc/sysconfig/SuSEfirewall2.d/services/
 mkdir -p %{buildroot}/%{_libdir}/krb5/plugins/kdb
 mkdir -p %{buildroot}/%{_libdir}/krb5/plugins/preauth
 mkdir -p %{buildroot}/%{_libdir}/krb5/plugins/libkrb5
-# all libs must have permissions 0755 
+# all libs must have permissions 0755
 for lib in `find %{buildroot}/%{_libdir}/ -type f -name "*.so*"`
-do 
-  chmod 0755 ${lib} 
+do
+  chmod 0755 ${lib}
 done
 # and binaries too
 chmod 0755 %{buildroot}/usr/lib/mit/bin/ksu
 find . -type f -name '*.ps' -exec gzip -9 {} \;
-# create rc* links 
+# create rc* links
 # create links for kinit and klist, because of the java ones
 #ln -sf ../../usr/lib/mit/bin/kinit   %{buildroot}/usr/bin/kinit
 #ln -sf ../../usr/lib/mit/bin/klist   %{buildroot}/usr/bin/klist