Public bug reported:

The command "alien --to-rpm some_application.deb" fails when the path
from where it is called contains a parenthesis.

I only tried with the conversion from .deb to .rpm.  If I try to convert
it from an other location for example "/home/proyecto/Escritorio/rpm" it
works correctly.

I also tried to execute the script "/var/tmp/rpm-tmp.6tv2Hz" adding
quotation marks around the failing path and it works fine so it could be
a solution, generating the script with quotation marks around the paths.


------------------  Screen output --------------
root@asusin-vbox:/home/proyecto/Escritorio/Código fuente (MaNetS)/rpm# alien 
--to-rpm manets_0.9-1_i386.deb 
Package build failed. Here's the log of the command (cd manets-0.9; rpmbuild 
--buildroot='/home/proyecto/Escritorio/Código fuente (MaNetS)/rpm/manets-0.9' 
-bb --target i386 'manets-0.9-2.spec'):
Construyendo las plataformas de destino: i386
Construyendo para el destino i386
Procesando archivos: manets-0.9-2.i386
unknown, 0: Warning: using regular magic file `/etc/magic'
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires: libc.so.6 libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1) 
libc.so.6(GLIBC_2.2) libc.so.6(GLIBC_2.3) libc.so.6(GLIBC_2.4) 
libc.so.6(GLIBC_2.7) libcdk.so.5 libgcrypt.so.11 libgcrypt.so.11(GCRYPT_1.2) 
libglib-2.0.so.0 libiw.so.30 libncursesw.so.5 rtld(GNU_HASH)
Comprobando si hay archivos desempaquetados: /usr/lib/rpm/check-files 
/home/proyecto/Escritorio/Código fuente (MaNetS)/rpm/manets-0.9
Escrito: ../manets-0.9-2.i386.rpm
Ejecutando (%clean): /bin/sh -e /var/tmp/rpm-tmp.6tv2Hz
+ umask 022
+ cd /root/rpmbuild/BUILD
/var/tmp/rpm-tmp.6tv2Hz: 25: Syntax error: "(" unexpected
error: Estado de salida erróneo de /var/tmp/rpm-tmp.6tv2Hz (%clean)


Errores de construcción RPM:
    Estado de salida erróneo de /var/tmp/rpm-tmp.6tv2Hz (%clean)

------------------- End screen output ------------------


------------------- /var/tmp/rpm-tmp.6tv2Hz file
------------------------

#!/bin/sh

  RPM_SOURCE_DIR="/root/rpmbuild/SOURCES"
  RPM_BUILD_DIR="/root/rpmbuild/BUILD"
  RPM_OPT_FLAGS="-O2 -g -march=i386 -mtune=i686"
  RPM_ARCH="i386"
  RPM_OS="linux"
  export RPM_SOURCE_DIR RPM_BUILD_DIR RPM_OPT_FLAGS RPM_ARCH RPM_OS
  RPM_DOC_DIR="/usr/share/doc"
  export RPM_DOC_DIR
  RPM_PACKAGE_NAME="manets"
  RPM_PACKAGE_VERSION="0.9"
  RPM_PACKAGE_RELEASE="2"
  export RPM_PACKAGE_NAME RPM_PACKAGE_VERSION RPM_PACKAGE_RELEASE
  LANG=C
  export LANG
  unset CDPATH DISPLAY ||:
  RPM_BUILD_ROOT="/home/proyecto/Escritorio/Código fuente 
(MaNetS)/rpm/manets-0.9"
  export RPM_BUILD_ROOT
  
  
  set -x
  umask 022
  cd "/root/rpmbuild/BUILD"
 /bin/rm -rf /home/proyecto/Escritorio/Código fuente (MaNetS)/rpm/manets-0.9
exit 0

---------------- end /var/tmp/rpm-tmp.6tv2Hz file
--------------------------

** Affects: alien (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/918627

Title:
  Conversion fails with parenthesis in the path

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/alien/+bug/918627/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to