Public bug reported:

Trying to convert a custom program (it's really simple, just a set of
files in /opt/program, and some shortcuts), fails when converting
through alien:

aus...@ubuntu:~$ rm -rf program-1.8.0/ ; sudo alien -r 
program-1.8.0.1-1_i386.deb 
[sudo] password for austin: 
Warning: Skipping conversion of scripts in package program: postinst
Warning: Use the --scripts parameter to include the scripts.
Package build failed. Here's the log of the command (cd program-1.8.0 ; 
rpmbuild -bb --target i386 program-1.8.0 -2.spec):
-2.spec: unknown option

An extra space is getting inserted somewhere...

I looked at the script a slight bit, removing '.$this->version."-"' from 
/usr/share/perl/5.10.0/Alien/Package/Rpm.pm then gives:
aus...@ubuntu:~$ rm -rf program-1.8.0/ ; sudo alien -r 
program_1.8.0.1-1_i386.deb 
Warning: Skipping conversion of scripts in package program: postinst
Warning: Use the --scripts parameter to include the scripts.
Package build failed. Here's the log of the command (cd program-1.8.0 ; 
rpmbuild -bb --target i386 program-2.spec):
error: failed to stat /home/austin/program-1.8.0/program-2.spec: No such file 
or directory

which of course fails. Perhaps I need to edit the .spec creation to
remove the version as well, but I haven't tried yet. I don't know
perl...

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

-- 
alien fails to convert deb to rpm
https://bugs.launchpad.net/bugs/388052
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to