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

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

    <bug>
          <bug_id>41896</bug_id>
          
          <creation_ts>2022-02-08 16:19:54 +0300</creation_ts>
          <short_desc>epm play ошибка: макрос %_tmppath пуст</short_desc>
          <delta_ts>2022-04-28 10:43:39 +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>eepm</component>
          <version>unstable</version>
          <rep_platform>x86_64</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>WORKSFORME</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="Sergey V Turchin">zerg</reporter>
          <assigned_to name="Vitaly Lipatov">lav</assigned_to>
          <cc>lav</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>207556</commentid>
    <comment_count>0</comment_count>
    <who name="Sergey V Turchin">zerg</who>
    <bug_when>2022-02-08 16:19:54 +0300</bug_when>
    <thetext>Попробовал потыкать -- очень часто плюётся строками: &quot;Ошибка: макрос %_tmppath пуст&quot; и &quot;error: Macro %_tmppath has empty body&quot;. При этом установка выполняется.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>208649</commentid>
    <comment_count>1</comment_count>
    <who name="Vitaly Lipatov">lav</who>
    <bug_when>2022-03-20 10:04:51 +0300</bug_when>
    <thetext>Если %_tmppath не задан в ~/.rpmmacros, то вроде как задаётся в
/usr/lib/rpm/macros
%_tmppath     %{_tmpdir}

Интересно, как создать такую конфигурацию, чтобы _tmpdir был пуст. Он задаётся на основании TMPDIR, а если в TMPDIR не содержится доступного для записи каталога, то устанавливается /tmp

$ TMPDIR=/var/empty rpm --eval &quot;%_tmpdir&quot;
/tmp

$ TMPDIR=/var/tmp rpm --eval &quot;%_tmpdir&quot;
/var/tmp

$ TMPDIR= rpm --eval &quot;%_tmpdir&quot;
/tmp</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>210197</commentid>
    <comment_count>2</comment_count>
    <who name="Vitaly Lipatov">lav</who>
    <bug_when>2022-04-27 19:44:51 +0300</bug_when>
    <thetext>Не воспроизводится.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>210215</commentid>
    <comment_count>3</comment_count>
    <who name="Sergey V Turchin">zerg</who>
    <bug_when>2022-04-28 10:43:39 +0300</bug_when>
    <thetext>Попробовал -- с ходу тоже не воспроизвелось.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>