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

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

    <bug>
          <bug_id>40753</bug_id>
          
          <creation_ts>2021-08-16 18:17:43 +0300</creation_ts>
          <short_desc>Erroneous manipulations with CFLAGS</short_desc>
          <delta_ts>2021-08-16 18:56:07 +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>libnfc-nci</component>
          <version>unstable</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></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="Dmitry V. Levin">ldv</reporter>
          <assigned_to name="Nobody&apos;s working on this, feel free to take it">nobody</assigned_to>
          
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>201674</commentid>
    <comment_count>0</comment_count>
    <who name="Dmitry V. Levin">ldv</who>
    <bug_when>2021-08-16 18:17:43 +0300</bug_when>
    <thetext>В configure.ac есть такие конструкции:
CFLAGS=`echo &quot;$CFLAGS&quot; | $SED -e &apos;s/[[:space:]]-g[0-9]*//g&apos;`

Не вдаваясь здесь в осмысленность этого и других сомнительных действий в configure.ac,
обращаю внимание, что они работают неправильно, когда в %optflags появляются ещё
какие нибудь параметры, начинающиеся на -g, мы это увидели, например, тут:
/beehive/logs/icarus/x86_64/latest/error/libnfc-nci-2.4.1-alt1
Другими словами, пакет скоро может стать FTBFS.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>201675</commentid>
    <comment_count>1</comment_count>
    <who name="Николай Костригин">nickel</who>
    <bug_when>2021-08-16 18:27:48 +0300</bug_when>
    <thetext>Спасибо за информацию, посмотрю, как можно переделать.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>201678</commentid>
    <comment_count>2</comment_count>
    <who name="Николай Костригин">nickel</who>
    <bug_when>2021-08-16 18:56:07 +0300</bug_when>
    <thetext>Вообще, года 2 назад я им закидывал удочку на эту тему, тогда оно уже не собиралось, реакции не последовало:

https://github.com/NXPNFCLinux/linux_libnfc-nci/pull/108/commits/ed8c8e7a7ea33bd706118c6704eaff7a4f93b086

Наверное, нужно переделать это место кардинально...</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>