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

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

    <bug>
          <bug_id>40598</bug_id>
          
          <creation_ts>2021-07-28 22:26:11 +0300</creation_ts>
          <short_desc>jadetex FTBFS: %post scriptlet fails</short_desc>
          <delta_ts>2021-08-16 19:42:49 +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>jadetex</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>https://lists.altlinux.org/pipermail/sisyphus-incominger/2021-July/625455.html</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P5</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>27222</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Dmitry V. Levin">ldv</reporter>
          <assigned_to name="viy">viy</assigned_to>
          <cc>aen</cc>
    
    <cc>viy</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>201000</commentid>
    <comment_count>0</comment_count>
    <who name="Dmitry V. Levin">ldv</who>
    <bug_when>2021-07-28 22:26:11 +0300</bug_when>
    <thetext>http://git.altlinux.org/tasks/281174/logs/events.1.1.log:
2021-Jul-28 07:38:15 :: message: demonstrate %post scriptlet error
#100 build jadetex-3.13-alt4_13.src.rpm from sisyphus
...
        x86_64: jadetex=3.13-alt4_13 install failed:
 &lt;13&gt;Jul 28 07:45:35 rpmi: jadetex-3.13-alt4_13 sisyphus+281174.100.1.1 1627458023 installed
 error: %post(jadetex-3.13-alt4_13.noarch) scriptlet failed, exit status 2
 error: jadetex-3.13-alt4_13.noarch: install failed
 hsh-install: Packages installation failed.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>201268</commentid>
    <comment_count>1</comment_count>
    <who name="viy">viy</who>
    <bug_when>2021-08-06 09:38:15 +0300</bug_when>
    <thetext>jadetex надо будет перекладывать вместе с с новым texlive 2021. Не надо спешить.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>201269</commentid>
    <comment_count>2</comment_count>
    <who name="AEN">aen</who>
    <bug_when>2021-08-06 09:43:02 +0300</bug_when>
    <thetext>Ок. 
Ждем. Удачи.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>201276</commentid>
    <comment_count>3</comment_count>
    <who name="Dmitry V. Levin">ldv</who>
    <bug_when>2021-08-06 11:54:36 +0300</bug_when>
    <thetext>(In reply to viy from comment #1)
&gt; jadetex надо будет перекладывать вместе с с новым texlive 2021. Не надо
&gt; спешить.

А новый texlive надо будет тестировать.
Может быть, есть какой-то простой фикс?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>201277</commentid>
    <comment_count>4</comment_count>
    <who name="Dmitry V. Levin">ldv</who>
    <bug_when>2021-08-06 11:59:08 +0300</bug_when>
    <thetext>(In reply to Dmitry V. Levin from comment #3)
&gt; (In reply to viy from comment #1)
&gt; &gt; jadetex надо будет перекладывать вместе с с новым texlive 2021. Не надо
&gt; &gt; спешить.
&gt; 
&gt; А новый texlive надо будет тестировать.
&gt; Может быть, есть какой-то простой фикс?

В точности такая же проблема присутствует и в p9 при сборке пакетов:
ghostscript-9.27-alt1.M90P.1:error: %post(jadetex-3.13-alt4_13.noarch) scriptlet failed, exit status 2
libdbi-drivers-1:0.9.0-alt4:error: %post(jadetex-3.13-alt4_13.noarch) scriptlet failed, exit status 2
linphone-3.12.0-alt5:error: %post(jadetex-3.13-alt4_13.noarch) scriptlet failed, exit status 2
xorg-docs-1:1.7.1-alt1:error: %post(jadetex-3.13-alt4_13.noarch) scriptlet failed, exit status 2

Мы ведь не планируем обновлять texlive в p9?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>201590</commentid>
    <comment_count>5</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2021-08-15 22:10:36 +0300</bug_when>
    <thetext>jadetex-3.13-alt4_17 -&gt; sisyphus:

 Fri Aug 06 2021 Igor Vlasenko &lt;viy@altlinux&gt; 3.13-alt4_17
 - new release (closes: #40598)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>201592</commentid>
    <comment_count>6</comment_count>
    <who name="Dmitry V. Levin">ldv</who>
    <bug_when>2021-08-16 00:40:48 +0300</bug_when>
    <thetext>$ rpmquery --scripts -p p10/files/noarch/RPMS/jadetex-3.13-alt4_13.noarch.rpm 
postinstall scriptlet (through /bin/sh):
/usr/bin/env - PATH=$PATH:/usr/bin fmtutil-sys \
	       --cnffile /usr/share/texmf-dist/tex/jadetex/jadefmtutil.cnf \
	       --all --fmtdir /usr/share/texmf-dist/web2c \
	       &gt; /tmp/jadetex-fmtutil-sys.log 2&gt;&amp;1

Т.е. это ещё и уязвимость была, надо бэкпортить в p10 и p9.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>201683</commentid>
    <comment_count>7</comment_count>
    <who name="viy">viy</who>
    <bug_when>2021-08-16 19:42:49 +0300</bug_when>
    <thetext>да, я планирую в p10 вместе с texlive.
с p9 надо еще проверить, не будет ли проблем, если одинокий пакет переложить.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>