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

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

    <bug>
          <bug_id>3016</bug_id>
          
          <creation_ts>2003-09-21 23:14:36 +0400</creation_ts>
          <short_desc>buildreq: &quot;terminfo-extra&quot; is included sometimes</short_desc>
          <delta_ts>2005-07-13 15:45:26 +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-utils</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>P2</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ivan Zakharyaschev">imz</reporter>
          <assigned_to name="placeholder@altlinux.org">placeholder</assigned_to>
          <cc>at</cc>
    
    <cc>glebfm</cc>
    
    <cc>ldv</cc>
    
    <cc>placeholder</cc>
    
    <cc>vt</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>9397</commentid>
    <comment_count>0</comment_count>
    <who name="Ivan Zakharyaschev">imz</who>
    <bug_when>2003-09-21 23:14:36 +0400</bug_when>
    <thetext>The compiltaion process may use the terminfo database, and so the generated list
of dependencies may include &quot;terminfo-extra&quot; if buildreq was called from a rare
terminal.

Simply automatically ignoring this dependency may not be the right thing, since
it is possible that the terminfo data is really required to build the package.

Perhaps, setting TERM to a simple value (&quot;dumb&quot;) is a solution...


Packages involved:

$ rpm -qa rpm-utils terminfo-extra &apos;color*&apos;
rpm-utils-0.7.0-alt1
terminfo-extra-5.3.20021019-alt1
color-gcc-0.6.0-alt2
colorifer-0.6.0-alt2


Steps to Reproduce:
The info for the terminal type of Emacs&apos; shell/term is in terminfo-extra. Here
is how it gets into BuildReq&apos;s:

1. install terminfo-extra
2. emacs, M-x eshell RET
3. export TERM=eterm # &quot;eterm&quot; means Emacs&apos; term
4. buildreq urlview.spec

Actual Results:  
# Automatically added by buildreq on Sun Sep 21 2003
BuildRequires: OpenSP libncurses-devel libtinfo-devel sgml-tools terminfo-extra


Expected Results:  
# Automatically added by buildreq on Sun Sep 21 2003
BuildRequires: OpenSP libncurses-devel libtinfo-devel sgml-tools</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>9406</commentid>
    <comment_count>1</comment_count>
    <who name="Dmitry V. Levin">ldv</who>
    <bug_when>2003-09-22 00:42:56 +0400</bug_when>
    <thetext>Since hasher (more exactly, hasher-priv) defines TERM=dumb, probably packagereq may do 
the same without risk of break. </thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>9463</commentid>
    <comment_count>2</comment_count>
    <who name="Dmitry V. Levin">ldv</who>
    <bug_when>2003-09-22 18:46:02 +0400</bug_when>
    <thetext>Implemented in -0.7.1-alt1 </thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>