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

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

    <bug>
          <bug_id>35969</bug_id>
          
          <creation_ts>2019-01-24 17:48:05 +0300</creation_ts>
          <short_desc>389-ds-base build fails</short_desc>
          <delta_ts>2019-01-29 15:52:13 +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>libnet-snmp-devel</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>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Stanislav Levin">slev</reporter>
          <assigned_to name="Stanislav Levin">slev</assigned_to>
          <cc>grenka</cc>
    
    <cc>shaba</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>177807</commentid>
    <comment_count>0</comment_count>
    <who name="Stanislav Levin">slev</who>
    <bug_when>2019-01-24 17:48:05 +0300</bug_when>
    <thetext>389-ds-base build fails with:
&quot;&quot;&quot;
In file included from ldap/servers/snmp/main.c:20:                              
ldap/servers/snmp/ldap-agent.h:128:12: error: conflicting types for snmptrap_oid
 extern oid snmptrap_oid[];                                                     
            ^~~~~~~~~~~~                                                        
In file included from /usr/include/net-snmp/agent/net-snmp-agent-includes.h:17, 
                 from ldap/servers/snmp/ldap-agent.h:43,                        
                 from ldap/servers/snmp/main.c:20:                              
/usr/include/net-snmp/agent/agent_trap.h:16:24: note: previous declaration of snmptrap_oid was here
 extern const oid       snmptrap_oid[];                                         
                        ^~~~~~~~~~~~                                            
In file included from ldap/servers/snmp/main.c:20:                              
ldap/servers/snmp/ldap-agent.h:129:15: error: conflicting type qualifiers for snmptrap_oid_len
 extern size_t snmptrap_oid_len;                                                
               ^~~~~~~~~~~~~~~~                                                 
In file included from /usr/include/net-snmp/agent/net-snmp-agent-includes.h:17, 
                 from ldap/servers/snmp/ldap-agent.h:43,                        
                 from ldap/servers/snmp/main.c:20:                              
/usr/include/net-snmp/agent/agent_trap.h:18:24: note: previous declaration of snmptrap_oid_len was here
 extern const size_t    snmptrap_oid_len;                                       
                        ^~~~~~~~~~~~~~~~                                        
make[1]: *** [Makefile:10170: ldap/servers/snmp/ldap_agent-main.o] Error 1      
make[1]: Leaving directory /usr/src/RPM/BUILD/389-ds-base-1.4.0.20
&quot;&quot;&quot;

This problem is related to:
https://sourceforge.net/p/net-snmp/code/ci/81b65f4d23a976d2106bbfc2262694c1c90f457c/tree/include/net-snmp/agent/agent_trap.h?diff=09a42c954593f70a09cc1b1925dde40891b0ac0b

bug is filed in upstream:
https://sourceforge.net/p/net-snmp/bugs/2831/

and has a fix.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>177809</commentid>
    <comment_count>1</comment_count>
    <who name="Stanislav Levin">slev</who>
    <bug_when>2019-01-24 17:49:49 +0300</bug_when>
    <thetext>Link to fix:
https://sourceforge.net/p/net-snmp/code/ci/f42aeb52e63147b5789cccde1ef997370191849e</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>177813</commentid>
    <comment_count>2</comment_count>
    <who name="Stanislav Levin">slev</who>
    <bug_when>2019-01-24 19:49:11 +0300</bug_when>
    <thetext>The build is prepared http://git.altlinux.org/tasks/219939/
Waiting for completion of &quot;big&quot; Perl task.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>177902</commentid>
    <comment_count>3</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2019-01-29 15:04:13 +0300</bug_when>
    <thetext>net-snmp30-5.7.3-alt5 -&gt; sisyphus:

Thu Jan 24 2019 Stanislav Levin &lt;slev@altlinux&gt; 5.7.3-alt5
- Applied patches from upstream (closes: #35969).</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>