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

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

    <bug>
          <bug_id>35803</bug_id>
          
          <creation_ts>2018-12-21 06:02:36 +0300</creation_ts>
          <short_desc>line 53: warning: here-document at line 51 delimited by end-of-file</short_desc>
          <delta_ts>2018-12-21 07:04:08 +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>rpm-build</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="Alexei Takaseev">taf</reporter>
          <assigned_to name="placeholder@altlinux.org">placeholder</assigned_to>
          <cc>arseny</cc>
    
    <cc>glebfm</cc>
    
    <cc>imz</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>176887</commentid>
    <comment_count>0</comment_count>
    <who name="Alexei Takaseev">taf</who>
    <bug_when>2018-12-21 06:02:36 +0300</bug_when>
    <thetext>При наличии в spec-файле конструкции вида:

%filter_from_requires /^\/etc\/sysconfig\/network/d
%filter_from_requires /^\/etc\/sysconfig\/zabbix-java-gateway/d

при сборке пакетов в логах появляются сообщения:

...
/usr/src/tmp/rpm-tmp.65759: line 53: warning: here-document at line 51 delimited by end-of-file (wanted `!FIND!REQUIRES!FILTER!&apos;)
...

При этом в файле в указанной позиции;

        export RPM_FIND_REQUIRES_FILTER=$(cat &lt;&lt;&apos;!FIND!REQUIRES!FILTER!&apos;
/bin/sed -e &apos;/^\/etc\/sysconfig\/network/d&apos; -e &apos;/^\/etc\/sysconfig\/zabbix-java-gateway/d&apos;
!FIND!REQUIRES!FILTER!)


Сама фильтрация нежелательной зависимости работает.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>176888</commentid>
    <comment_count>1</comment_count>
    <who name="Alexei Takaseev">taf</who>
    <bug_when>2018-12-21 06:05:12 +0300</bug_when>
    <thetext>Небольшое пояснение по содержимому rpm-tmp с разбивкой по строкам:

1: export RPM_FIND_REQUIRES_FILTER=$(cat &lt;&lt;&apos;!FIND!REQUIRES!FILTER!&apos;

2: bin/sed -e &apos;/^\/etc\/sysconfig\/network/d&apos; -e &apos;/^\/etc\/sysconfig\/zabbix-java-gateway/d&apos;

3: !FIND!REQUIRES!FILTER!)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>176889</commentid>
    <comment_count>2</comment_count>
    <who name="Dmitry V. Levin">ldv</who>
    <bug_when>2018-12-21 06:28:43 +0300</bug_when>
    <thetext>Понятно, новый bash почему-то хочет увидеть после !FIND!REQUIRES!FILTER! конец строки, а не конец файла.  Но при этом всё равно работает.  Ладно, мне не жалко ему лишней строки.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>176890</commentid>
    <comment_count>3</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2018-12-21 07:04:08 +0300</bug_when>
    <thetext>rpm-build-4.0.4-alt121 -&gt; sisyphus:

Fri Dec 21 2018 Dmitry V. Levin &lt;ldv@altlinux&gt; 4.0.4-alt121
- verify-elf: disabled stack verification and elflint on RISC-V (arei@).
- platform.in: removed harmless bash4 noise from %filter_from_* macros
  (closes: #35803).</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>