alien fails to convert deb to rpm
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
alien (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
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:
austin@ubuntu:~$ rm -rf program-1.8.0/ ; sudo alien -r program-
[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-
austin@ubuntu:~$ rm -rf program-1.8.0/ ; sudo alien -r program_
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/
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...
Linux ubuntu 2.6.27-14-generic #1 SMP Wed Apr 15 18:59:16 UTC 2009 i686 GNU/Linux
Ubuntu 8.10
Alien 8.72
also tried 8.76 from author's site, same problem.