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

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

    <bug>
          <bug_id>897</bug_id>
          
          <creation_ts>2002-05-08 00:41:21 +0400</creation_ts>
          <short_desc>Dependencies of a package vary on the presence of that package at build time</short_desc>
          <delta_ts>2007-09-25 13:23:37 +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>rpm-build</component>
          <version>unstable</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>WORKSFORME</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="Mikhail Zabaluev">mhz</reporter>
          <assigned_to name="Gleb F-Malinovskiy">glebfm</assigned_to>
          <cc>arseny</cc>
    
    <cc>glebfm</cc>
    
    <cc>imz</cc>
    
    <cc>mike</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>854</commentid>
    <comment_count>0</comment_count>
    <who name="Mikhail Zabaluev">mhz</who>
    <bug_when>2002-05-08 00:41:21 +0400</bug_when>
    <thetext>Steps to reproduce:
- remove libxslt from the system
- rebuild the libxslt package and save it for comparison
- install the libxslt package just built
- rebuild the package again
The second package will have libxslt.so.? in Requires, whereas the first package won\&apos;t.
---

---

</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>3611</commentid>
    <comment_count>1</comment_count>
    <who name="Mikhail Zabaluev">mhz</who>
    <bug_when>2002-06-05 12:24:27 +0400</bug_when>
    <thetext>Ditto for shell auto-dependencies, e.g. initscripts will require itself if it\&apos;s present in the system (in the build environment, to be correct) during the build, and miss it if it\&apos;s not present.

I see the following solutions to overcome this problem:
1. For filename-based dependencies (libraries, plain pathnames), search for the
   file referenced by a dependency both in the system and in the build root.
   the perl.req script already does this.
2. (Ugly) Before a package rebuild in the build environment, a developer
may provide the produced binary packages, built on the developer\&apos;s workstation, as a hint: the build environment will (non-fatally) resolve dependencies of the preliminary binary packages for its mockup filesystem and package database.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>6976</commentid>
    <comment_count>2</comment_count>
    <who name="Mikhail Zabaluev">mhz</who>
    <bug_when>2002-06-05 12:24:27 +0400</bug_when>
    <thetext>Ditto for shell auto-dependencies, e.g. initscripts will require itself if it\&apos;s present in the system (in the build environment, to be correct) during the build, and miss it if it\&apos;s not present.

I see the following solutions to overcome this problem:
1. For filename-based dependencies (libraries, plain pathnames), search for the
   file referenced by a dependency both in the system and in the build root.
   the perl.req script already does this.
2. (Ugly) Before a package rebuild in the build environment, a developer
may provide the produced binary packages, built on the developer\&apos;s workstation, as a hint: the build environment will (non-fatally) resolve dependencies of the preliminary binary packages for its mockup filesystem and package database.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>55718</commentid>
    <comment_count>3</comment_count>
    <who name="Michael Shigorin">mike</who>
    <bug_when>2007-09-24 11:41:49 +0400</bug_when>
    <thetext>Кажется, это всё с тех пор изрядно менялось, в т.ч. по части отфильтровывания
self requires?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>55722</commentid>
    <comment_count>4</comment_count>
    <who name="Dmitry V. Levin">ldv</who>
    <bug_when>2007-09-24 14:24:26 +0400</bug_when>
    <thetext>С внедрением hasher&apos;а неактуально.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>