<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>177</bug_id>
          
          <creation_ts>2001-11-25 20:55:05 +0300</creation_ts>
          <short_desc>rebuild error</short_desc>
          <delta_ts>2009-05-10 09:31:03 +0400</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>kdelibs</component>
          <version>unstable</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P4</priority>
          <bug_severity>minor</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Alexey Voinov">voins</reporter>
          <assigned_to name="Nobody&apos;s working on this, feel free to take it">nobody</assigned_to>
          
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>166</commentid>
    <comment_count>0</comment_count>
    <who name="Alexey Voinov">voins</who>
    <bug_when>2001-11-25 20:55:05 +0300</bug_when>
    <thetext>ошибка при пересборке. Проявляется если не установлена предыдущая версия пакета.

Проявляется на стадии %install в виде:
libtool: install: warning: relinking `basicstyle.la\&apos;
cd /home/voins/RPM/BUILD/kdelibs-2.2.2/kstyles/basicplugin; /bin/sh ../../libtool --mode=relink c++ -DN
DEBUG -O2 -pipe -Wall -O2 -fexpensive-optimizations -march=i586 -mcpu=i686 -DNEED_BZ2_PREFIX -fno-excep
tions -fno-check-new -ftemplate-depth-99 -DQT_NO_TRANSLATION -DQT_CLEAN_NAMESPACE -DQT_NO_COMPAT -DQT_N
O_ASCII_CAST -o basicstyle.la -rpath /usr/lib -L/usr/X11R6/lib -L/usr/lib -module -avoid-version -no-un
defined plugin.lo ../../kdeui/libkdeui.la
gcc -shared  plugin.lo  -L/home/voins/RPM/BUILD/kdelibs-2.2.2/dcop/.libs -L/home/voins/RPM/BUILD/kdelib
s-2.2.2/kdecore/.libs -L/usr/X11R6/lib -L/usr/lib -lkdeui  -lc  -Wl,-soname -Wl,basicstyle.so -o .libs/
basicstyle.so
/usr/bin/ld: cannot find -lkdeui
В итоге имеем:
error: File not found: /home/voins/tmp/kdelibs-buildroot/usr/lib/basicstyle.la
...

Аналогично для кучи других .so из этого пакета.
Добавление строчки:
export LDFLAGS=\&amp;quot;-L/usr/lib -L$RPM_BUILD_ROOT/usr/lib\&amp;quot;
перед запуском configure решает проблему.

---

---

</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2798</commentid>
    <comment_count>1</comment_count>
    <who name="Sergey V Turchin">zerg</who>
    <bug_when>2001-11-26 13:22:16 +0300</bug_when>
    <thetext>Спасибо, ща пересоберу</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>6163</commentid>
    <comment_count>2</comment_count>
    <who name="Sergey V Turchin">zerg</who>
    <bug_when>2001-11-26 13:22:16 +0300</bug_when>
    <thetext>Спасибо, ща пересоберу</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>9688</commentid>
    <comment_count>3</comment_count>
    <who name="Sergey V Turchin">zerg</who>
    <bug_when>2003-09-24 12:30:50 +0400</bug_when>
    <thetext>reassign 2 zerg@altlinux.org </thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>