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

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

    <bug>
          <bug_id>20510</bug_id>
          
          <creation_ts>2009-06-20 14:19:47 +0400</creation_ts>
          <short_desc>Ошибка упаковки пакета</short_desc>
          <delta_ts>2009-06-22 07:37:23 +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>libnetcdf</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>minor</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Alexei V. Mezin">alexei.mezin</reporter>
          <assigned_to name="real@altlinux.org">real.altlinux.org</assigned_to>
          <cc>mike</cc>
    
    <cc>rider</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>93356</commentid>
    <comment_count>0</comment_count>
    <who name="Alexei V. Mezin">alexei.mezin</who>
    <bug_when>2009-06-20 14:19:47 +0400</bug_when>
    <thetext>При dist-upgrade при установке
libnetcdf-devel-4.0.1-alt3.i586.rpm

выскакивает

 554: libnetcdf-devel        error: unpacking of archive failed on file /usr/include/netcdf-3: cpio: rename failed - Это каталог</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>93409</commentid>
    <comment_count>1</comment_count>
    <who name="Michael Shigorin">mike</who>
    <bug_when>2009-06-21 20:38:12 +0400</bug_when>
    <thetext>Бывает при превращении в симлинк...

2 real: придётся спрашивать, как в таких случаях быть, _и_ рисовать триггер (хорошо бы по мотивам уже проверенного для аналогичной ситуации).  См. тж. /usr/share/doc/rpm-4.0.4/manual/triggers</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>93444</commentid>
    <comment_count>2</comment_count>
    <who name="real@altlinux.org">real.altlinux.org</who>
    <bug_when>2009-06-22 06:31:18 +0400</bug_when>
    <thetext>А триггеры разве уже не поздно будет использовать? Я просто не в курсе, в какой момент альтернативы вмешиваются: до или после триггеров.

Ещё можно рассмотреть два варианта:

1. Не создавать альтернативы для хедеров. Но тогда сломается всё, что требует при сборке devel-пакет. Плохо.

2. Где-то в процессе установки удалять /usr/include/netcdf-3
Либо в %pre (если на корректное поведение альтернатив полагаться нельзя), либо в %post

В общем, надо подождать, что другие здесь скажут насчёт варианта с триггерами.

PS: &quot;придётся спрашивать&quot;

Так я и спрашиваю. Здесь. Больше негде (кроме как приватно).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>93445</commentid>
    <comment_count>3</comment_count>
    <who name="real@altlinux.org">real.altlinux.org</who>
    <bug_when>2009-06-22 06:42:13 +0400</bug_when>
    <thetext>Так, это не тот случай. Здесь симлинк руками создаётся. Значит, останавливаюсь на варианте удаления в %pre</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>93446</commentid>
    <comment_count>4</comment_count>
    <who name="real@altlinux.org">real.altlinux.org</who>
    <bug_when>2009-06-22 07:37:23 +0400</bug_when>
    <thetext>4.0.1-alt4
улетел в Сизиф</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>