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

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

    <bug>
          <bug_id>23793</bug_id>
          
          <creation_ts>2010-07-21 06:13:38 +0400</creation_ts>
          <short_desc>ExtUtils-ParseXS сломал сборку perl-Wx</short_desc>
          <delta_ts>2011-04-18 18:13:05 +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>perl-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="Slava Dubrovskiy">dubrsl</reporter>
          <assigned_to name="viy">viy</assigned_to>
          <cc>aen</cc>
    
    <cc>at</cc>
    
    <cc>crux</cc>
    
    <cc>real.altlinux.org</cc>
    
    <cc>viy</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>110723</commentid>
    <comment_count>0</comment_count>
    <who name="Slava Dubrovskiy">dubrsl</who>
    <bug_when>2010-07-21 06:13:38 +0400</bug_when>
    <thetext>При попытке пересобрать perl-Wx получаю 

make[1]: Entering directory `/usr/src/RPM/BUILD/Wx-0.9702/ext&apos;
make[2]: Entering directory `/usr/src/RPM/BUILD/Wx-0.9702/ext/richtext&apos;
cp lib/Wx/RichText.pm ../../blib/lib/Wx/RichText.pm
/usr/bin/perl /usr/lib/perl5/ExtUtils/xsubpp  -noprototypes -nolinenumbers  -typemap /usr/lib/perl5/ExtUtils/typemap -typemap ../../typemap -typemap typemap  RichText.xs &gt; RichText.xsc &amp;&amp; mv RichText.xsc RichText.c
Error: Function definition too short &apos;INCLUDE_COMMAND: $^X -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp -t ../../typemap.xsp XS/RichTextCtrl.xsp&apos; in RichText.xs, line 65
Error: Function definition too short &apos;INCLUDE_COMMAND: $^X -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp -t ../../typemap.xsp XS/RichTextAttr.xsp&apos; in RichText.xs, line 67
Error: Function definition too short &apos;INCLUDE_COMMAND: $^X -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp -t ../../typemap.xsp XS/RichTextStyle.xsp&apos; in RichText.xs, line 69
Error: Function definition too short &apos;INCLUDE_COMMAND: $^X -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp -t ../../typemap.xsp XS/RichTextStyleCtrl.xsp&apos; in RichText.xs, line 71
Error: Function definition too short &apos;INCLUDE_COMMAND: $^X -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp -t ../../typemap.xsp XS/RichTextFormattingDialog.xsp&apos; in RichText.xs, line 73
Error: Function definition too short &apos;INCLUDE_COMMAND: $^X -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp -t ../../typemap.xsp XS/RichTextFileHandler.xsp&apos; in RichText.xs, line 75
Error: Function definition too short &apos;INCLUDE_COMMAND: $^X -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp -t ../../typemap.xsp XS/RichTextBuffer.xsp&apos; in RichText.xs, line 77
Error: Function definition too short &apos;INCLUDE_COMMAND: $^X -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp -t ../../typemap.xsp XS/SymbolPickerDialog.xsp&apos; in RichText.xs, line 79
Error: Function definition too short &apos;INCLUDE_COMMAND: $^X -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp -t ../../typemap.xsp XS/RichTextStyleOrganiserDialog.xsp&apos; in RichText.xs, line 81
Error: Function definition too short &apos;INCLUDE_COMMAND: $^X -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp -t ../../typemap.xsp XS/RichTextPrinting.xsp&apos; in RichText.xs, line 83
make[2]: *** [RichText.c] Error 1
make[2]: Leaving directory `/usr/src/RPM/BUILD/Wx-0.9702/ext/richtext&apos;
make[1]: *** [subdirs] Error 2
make[1]: Leaving directory `/usr/src/RPM/BUILD/Wx-0.9702/ext&apos;
make: *** [subdirs] Error 2
make: Leaving directory `/usr/src/RPM/BUILD/Wx-0.9702&apos;
error: Bad exit status from /usr/src/tmp/rpm-tmp.79362 (%build)

Подобный баг есть в gentoo http://bugs.gentoo.org/304483 где написано:
Upgrade to ExtUtils-ParseXS-2.22.02-r1 should fix it for now.
It installs ExtUtils/xsubpp too.

Возможно ли обновить ExtUtils-ParseXS или исправить?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>115786</commentid>
    <comment_count>1</comment_count>
    <who name="Slava Dubrovskiy">dubrsl</who>
    <bug_when>2010-11-28 00:13:40 +0300</bug_when>
    <thetext>пинг?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>117730</commentid>
    <comment_count>2</comment_count>
    <who name="Vladimir Lettiev">crux</who>
    <bug_when>2011-01-27 14:00:56 +0300</bug_when>
    <thetext>А не обновить ли ExtUtils::ParseXS до версии 2.2206 в perl-devel? А то действительно в 2.21 нет поддержки директивы INCLUDE_COMMAND</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>118321</commentid>
    <comment_count>3</comment_count>
    <who name="Vladimir Lettiev">crux</who>
    <bug_when>2011-02-14 12:21:06 +0300</bug_when>
    <thetext>Я локально собрал perl-Wx 0.98, выложил также в git http://git.altlinux.org/people/crux/packages/perl-Wx.git

Небольшой хак с подменой ExtUtils::ParseXS думаю вполне легален, т.к. модуль используется только при сборке</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>118328</commentid>
    <comment_count>4</comment_count>
    <who name="at@altlinux.org">at</who>
    <bug_when>2011-02-14 13:06:38 +0300</bug_when>
    <thetext>Нет!
export XSUBPP_NO_STATIC_XS=1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>118334</commentid>
    <comment_count>5</comment_count>
    <who name="at@altlinux.org">at</who>
    <bug_when>2011-02-14 14:12:00 +0300</bug_when>
    <thetext>А, в смысле совсем сломался?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>118338</commentid>
    <comment_count>6</comment_count>
    <who name="Vladimir Lettiev">crux</who>
    <bug_when>2011-02-14 15:01:11 +0300</bug_when>
    <thetext>(In reply to comment #4)
&gt; Нет!
&gt; export XSUBPP_NO_STATIC_XS=1

кстати, а какой эффект даёт объявление этих функций статическими вместо
объявления через extern &quot;C&quot;?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>118339</commentid>
    <comment_count>7</comment_count>
    <who name="Vladimir Lettiev">crux</who>
    <bug_when>2011-02-14 15:07:21 +0300</bug_when>
    <thetext>(In reply to comment #5)
&gt; А, в смысле совсем сломался?

Смысл в том, чтобы обновить perl-Wx с 0.96 до 0.98 требуется обновить ExtUtils::ParseXS &gt;= 2.2203
Мне нужен новый perl-Wx, потому что там заработало отображение html,  некоторые программы используют эту фичу.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>120484</commentid>
    <comment_count>8</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2011-04-18 18:13:05 +0400</bug_when>
    <thetext>perl-1:5.12.3-alt4 -&gt; sisyphus:

* Mon Apr 18 2011 Dmitry V. Levin &lt;ldv@altlinux&gt; 1:5.12.3-alt4
- Reverted the change in XS functions prototypes introduced in previous
  release, due to massive build breakage (closes: #23793).</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>