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

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

    <bug>
          <bug_id>97</bug_id>
          
          <creation_ts>2001-10-21 12:24:54 +0400</creation_ts>
          <short_desc>bugs when %install (rebuilding)</short_desc>
          <delta_ts>2003-08-25 15:18:24 +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>imlib</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>blocker</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>88</commentid>
    <comment_count>0</comment_count>
    <who name="Alexey Voinov">voins</who>
    <bug_when>2001-10-21 12:24:54 +0400</bug_when>
    <thetext>В лог попадает следующее:
 /bin/sh ../libtool --mode=install /usr/bin/install -p  libimlib-bmp.la /home/voins/tmp/imlib-buildroot
/usr/lib/libimlib-bmp.la
libtool: install: warning: relinking `libimlib-bmp.la\&apos;
cd /home/voins/RPM/BUILD/imlib-1.9.11/gdk_imlib; /bin/sh ../libtool --mode=relink gcc -pipe -Wall -O2 -
fexpensive-optimizations -march=i586 -mcpu=i686 -DENABLE_NLS -o libimlib-bmp.la -rpath /usr/lib -avoid-
version io-bmp.lo libgdk_imlib.la
gcc -shared  io-bmp.lo  -L/usr/lib -lgdk_imlib   -Wl,-soname -Wl,libimlib-bmp.so -o .libs/libimlib-bmp.
so
/usr/bin/ld: cannot find -lgdk_imlib
collect2: ld returned 1 exit status
libtool: install: error: relink `libimlib-bmp.la\&apos; with the above command before installing it
и так про каждую библиотеку входящую в пакет. 
Очевидно, что если установлен пакет imlib-devel то такого не видно (поскольку в /usr/lib лежит -lgdk_imlib.

В итоге пакет не собирается с руганью:

File not found by glob: /home/voins/tmp/imlib-buildroot/usr/lib/libimlib-*.so

---

---

</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2727</commentid>
    <comment_count>1</comment_count>
    <who name="Alexey Voinov">voins</who>
    <bug_when>2001-10-21 17:21:21 +0400</bug_when>
    <thetext>мне помогло добавления параметра к %make_build и %make_install. 
Строчки выглядят так:
...
%make_build common_ldflags=\&amp;quot;-L$RPM_BUILD_ROOT%_libdir -avoid-version\&amp;quot;
...
%makeinstall common_ldflags=\&amp;quot;-L$RPM_BUILD_ROOT%_libdir -avoid-version\&amp;quot;
...

</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>6092</commentid>
    <comment_count>2</comment_count>
    <who name="Alexey Voinov">voins</who>
    <bug_when>2001-10-21 17:21:21 +0400</bug_when>
    <thetext>мне помогло добавления параметра к %make_build и %make_install. 
Строчки выглядят так:
...
%make_build common_ldflags=\&amp;quot;-L$RPM_BUILD_ROOT%_libdir -avoid-version\&amp;quot;
...
%makeinstall common_ldflags=\&amp;quot;-L$RPM_BUILD_ROOT%_libdir -avoid-version\&amp;quot;
...

</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2728</commentid>
    <comment_count>3</comment_count>
    <who name="Dmitry V. Levin">ldv</who>
    <bug_when>2002-03-14 15:16:42 +0300</bug_when>
    <thetext>Fixed in imlib-1.9.13-alt1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>6093</commentid>
    <comment_count>4</comment_count>
    <who name="Dmitry V. Levin">ldv</who>
    <bug_when>2002-03-14 15:16:42 +0300</bug_when>
    <thetext>Fixed in imlib-1.9.13-alt1</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>