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

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

    <bug>
          <bug_id>13167</bug_id>
          
          <creation_ts>2007-10-20 00:35:08 +0400</creation_ts>
          <short_desc>Не собирается без apache2-devel</short_desc>
          <delta_ts>2007-11-13 21:34:56 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>netams</component>
          <version>unstable</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>NOTABUG</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P5</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="PeterVF">petervf</reporter>
          <assigned_to name="serpiph">serpiph</assigned_to>
          <cc>serpiph</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>56761</commentid>
    <comment_count>0</comment_count>
    <who name="PeterVF">petervf</who>
    <bug_when>2007-10-20 00:35:10 +0400</bug_when>
    <thetext>Т.к используются rpm-макросы, из apache2-devel, может стоит указать
соответствующую зависимость?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>56817</commentid>
    <comment_count>1</comment_count>
    <who name="serpiph">serpiph</who>
    <bug_when>2007-10-22 11:15:27 +0400</bug_when>
    <thetext>Вырезка из netams-3.4.0rc2-alt1 из Сизифа:
....
BuildRequires: rrd-perl postgresql-devel apache2-devel libpam0-devel libdb1-devel
...

Так что всё есть. </thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>56829</commentid>
    <comment_count>2</comment_count>
    <who name="PeterVF">petervf</who>
    <bug_when>2007-10-22 15:28:22 +0400</bug_when>
    <thetext>Все верно, проблема прячется где-то в недрах RPM:

$ cat ~/RPM/SPECS/netams.spec|grep BuildRequires
...
BuildRequires: rrd-perl postgresql-devel apache2-devel libpam0-devel libdb1-devel
...
$ sudo apt-get remove apache2-devel
Password:
Reading Package Lists... Done
Building Dependency Tree... Done
The following packages will be REMOVED:
  apache2-devel
0 upgraded, 0 newly installed, 1 removed and 0 not upgraded.
...
Done.
$ rpmbuild -ba ~/RPM/SPECS/netams.spec
предупреждение: Macro %apache_addonconfdir not found
предупреждение: Macro %apache_datadir not found
...
предупреждение: Macro %apache_addonconfdir not found
предупреждение: Macro %apache_datadir not found
...
ошибка: Macro %apache_webmaster not found
ошибка: Macro %apache_addonconfdir not found
ошибка: строка 164:
%config(noreplace)%attr(0664,root,%apache_webmaster)%apache_addonconfdir/N.netams-stat.conf
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>56889</commentid>
    <comment_count>3</comment_count>
    <who name="serpiph">serpiph</who>
    <bug_when>2007-10-23 17:04:34 +0400</bug_when>
    <thetext>Тогда вешайте багу на RPM. Кстати, попробуйте команду
rpm -bb netams.spec</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>56892</commentid>
    <comment_count>4</comment_count>
    <who name="serpiph">serpiph</who>
    <bug_when>2007-10-23 17:27:41 +0400</bug_when>
    <thetext>Так, понял, что ему надо. Перенести apache2-devel из BuildRequires: в BuildPreReq:
Сделаю на днях.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>