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

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

    <bug>
          <bug_id>29691</bug_id>
          
          <creation_ts>2014-01-08 20:01:49 +0400</creation_ts>
          <short_desc>breaks correct selection of the language for a man-page</short_desc>
          <delta_ts>2014-04-19 16:56:25 +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>mpi-selector</component>
          <version>unstable</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>WONTFIX</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="Ivan Zakharyaschev">imz</reporter>
          <assigned_to name="Andrey Cherepanov">cas</assigned_to>
          <cc>cas</cc>
    
    <cc>mike</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>144499</commentid>
    <comment_count>0</comment_count>
    <who name="Ivan Zakharyaschev">imz</who>
    <bug_when>2014-01-08 20:01:49 +0400</bug_when>
    <thetext>For example:

mpi-selector-1.0.3-alt2
man-1.6f-alt11
gnupg-1.4.11-alt1

Compare which file (its lnaguage) is selected before the installation of mpi-selector and after. The difference is due to MANPATH set in /etc/profile.d/ :

[imz@cerob ~]$ LANG=C man -d gpg
Reading config file /etc/man.conf
found man directory /usr/share/man
found man directory /usr/X11R6/man
found man directory /usr/local/man
found man directory /usr/local/share/man
found manpath map /bin --&gt; /usr/share/man
found manpath map /sbin --&gt; /usr/share/man
found manpath map /usr/bin --&gt; /usr/share/man
found manpath map /usr/sbin --&gt; /usr/share/man
found manpath map /usr/local/bin --&gt; /usr/local/share/man
found manpath map /usr/local/sbin --&gt; /usr/local/share/man
found manpath map /usr/X11R6/bin --&gt; /usr/X11R6/man
found manpath map /usr/bin/X11 --&gt; /usr/X11R6/man
found manpath map /usr/bin/mh --&gt; /usr/share/man

using /usr/bin/less -isR as pager

using /usr/bin/less -isR as browser

using /bin/cat to dump HTML pages as text

path directory /home/imz/bin is not in the config file
and we found no man directory nearby

path directory /bin is in the config file
adding /usr/share/man to manpath

path directory /usr/bin is in the config file

path directory /usr/local/bin is in the config file
adding /usr/local/share/man to manpath

path directory /usr/X11R6/bin is in the config file
adding /usr/X11R6/man to manpath

path directory /usr/games is not in the config file
and we found no man directory nearby

adding mandatory man directories

adding /usr/local/man to manpath
no cat page stored because of nonstandard line length
using default preprocessor sequence
man: 
not executing command:
  (cd &quot;/usr/share/man&quot; &amp;&amp; man-source &apos;/usr/share/man/man1/gpg.1.bz2&apos; &apos;188&apos; &apos;1100i&apos; | /usr/bin/nroff -S -p -t -Dkoi8-r -mtty -mandoc | /usr/bin/iconv -c -f UTF-8 | /usr/bin/less -isR)
[imz@cerob ~]$ echo $MANPATH

[imz@cerob ~]$ sudo apt-get install mpi-selector
[sudo] password for imz:
Чтение списков пакетов... Завершено
Построение дерева зависимостей... Завершено
Следующие дополнительные пакеты будут установлены:
  rpm-macros-mpi-selector
Следующие НОВЫЕ пакеты будут установлены:
  mpi-selector rpm-macros-mpi-selector
0 будет обновлено, 2 новых установлено, 0 пакетов будет удалено и 275 не будет обновлено.
Необходимо получить 25,1kB архивов.
После распаковки потребуется дополнительно 46,6kB дискового пространства.
Продолжить? [Y/n] 
Получено: 1 ftp://ftp.altlinux.org noarch/classic rpm-macros-mpi-selector 1.0.3-alt2 [2687B]
Получено: 2 ftp://ftp.altlinux.org noarch/classic mpi-selector 1.0.3-alt2 [22,4kB]
Получено 25,1kB за 0s (164kB/s).
Совершаем изменения...
Preparing...                                                                                          ################################################################################################### [100%]
1: rpm-macros-mpi-selector                                                                            ################################################################################################### [ 50%]
2: mpi-selector                                                                                       ################################################################################################### [100%]
Running /usr/lib/rpm/posttrans-filetriggers
Завершено.
[imz@cerob ~]$ su - imz
Password: 
[imz@cerob ~]$ LANG=C man -d gpg
Reading config file /etc/man.conf
found man directory /usr/share/man
found man directory /usr/X11R6/man
found man directory /usr/local/man
found man directory /usr/local/share/man
found manpath map /bin --&gt; /usr/share/man
found manpath map /sbin --&gt; /usr/share/man
found manpath map /usr/bin --&gt; /usr/share/man
found manpath map /usr/sbin --&gt; /usr/share/man
found manpath map /usr/local/bin --&gt; /usr/local/share/man
found manpath map /usr/local/sbin --&gt; /usr/local/share/man
found manpath map /usr/X11R6/bin --&gt; /usr/X11R6/man
found manpath map /usr/bin/X11 --&gt; /usr/X11R6/man
found manpath map /usr/bin/mh --&gt; /usr/share/man

using /usr/bin/less -isR as pager

using /usr/bin/less -isR as browser

using /bin/cat to dump HTML pages as text
adding /usr/share/man/ru to manpath
adding /usr/share/man to manpath
adding /usr/local/share/man to manpath
adding /usr/X11R6/man to manpath
adding /usr/local/man to manpath
no cat page stored because of nonstandard line length
using default preprocessor sequence
man: 
not executing command:
  (cd &quot;/usr/share/man/ru&quot; &amp;&amp; man-source &apos;/usr/share/man/ru/man1/gpg.1.bz2&apos; &apos;188&apos; &apos;1100i&apos; | /usr/bin/nroff -S -p -t -Dkoi8-r -mtty -mandoc | /usr/bin/iconv -c -f UTF-8 | /usr/bin/less -isR)
[imz@cerob ~]$ echo $MANPATH 
/usr/share/man/ru:/usr/share/man:/usr/local/share/man:/usr/X11R6/man:/usr/local/man
[imz@cerob ~]$</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>146270</commentid>
    <comment_count>1</comment_count>
    <who name="Michael Shigorin">mike</who>
    <bug_when>2014-04-19 16:56:25 +0400</bug_when>
    <thetext>I think it&apos;s NOTABUG/WONTFIX as relying on translations with MPI isn&apos;t gonna help much anyways.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>