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

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

    <bug>
          <bug_id>57275</bug_id>
          
          <creation_ts>2025-12-18 15:53:54 +0300</creation_ts>
          <short_desc>Некорректная обработка пробелов в пути до файла</short_desc>
          <delta_ts>2025-12-20 18:01:37 +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>alien</component>
          <version>unstable</version>
          <rep_platform>x86_64</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>P5</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Лавренко Егор Сергеевич">lavrenkoes</reporter>
          <assigned_to name="Vitaly Lipatov">lav</assigned_to>
          <cc>cas</cc>
    
    <cc>lav</cc>
    
    <cc>rider</cc>
    
    <cc>ruslandh</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>279240</commentid>
    <comment_count>0</comment_count>
    <who name="Лавренко Егор Сергеевич">lavrenkoes</who>
    <bug_when>2025-12-18 15:53:54 +0300</bug_when>
    <thetext>Системы (Обновленные до Sisyphus):
Alt Server 11.0 x86-64
Alt Workstation 11.1 x86-64
Alt Workstation K 11.1.1 x86-64
Alt Education 11.0 XFCE x86-64 
Alt Education 11.0 KDE x86-64

Версия:
alien-8.95.9-alt2

Шаги воспроизведения:
1. Установить alien:
   # apt-get install alien rpm-build
1. Создать директорию с пробелом в названии:
   $ mkdir &quot;Test Dir&quot; &amp;&amp; cd Test\ Dir/
2. Скачать любой .deb пакет (в качестве примера используется пакет hello)
3. Запустить конвертацию в rpm:
   $ alien --to-rpm hello_amd64.deb 

Ожидаемый результат:
hello-2.10-6.x86_64.rpm generated

Реальный результат:
Package build failed. Here&apos;s the log of the command (cd hello-2.10; rpmbuild --buildroot=&apos;/home/test/Test Dir/hello-2.10&apos; -bb --target x86_64 &apos;hello-2.10-6.spec&apos;):
ошибка: строка 1: Ярлык требует только один аргумент: Buildroot: /home/test/Test Dir/hello-2.10
Платформы для сборки: x86_64
Сборка для платформы x86_64

Дополнительно:
1. Воспроизводится в P11 (alien-8.95.6-alt1)
2. Если в пути нет пробела, то конвертация выполняется корректно</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>279312</commentid>
    <comment_count>1</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2025-12-20 18:01:37 +0300</bug_when>
    <thetext>alien-8.95.9-alt3 -&gt; sisyphus:

Sat Dec 20 2025 Anton Farygin &lt;rider@altlinux&gt; 8.95.9-alt3
- restored tar fallback for tgz generation when
  makepkg was unavailable (Closes: #57269)
- fixed rpm build failure when working directory contained spaces (Closes: #57275)</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>