RPM2XZM fails to make a XZM file

Post here if you are a new Porteus member and you're looking for some help.
Post Reply
mirko
White ninja
White ninja
Posts: 4
Joined: 21 Apr 2021, 14:33
Distribution: Porteus 5 x64

RPM2XZM fails to make a XZM file

Post#1 by mirko » 21 Apr 2021, 14:40

Tried to run
rpm2xzm binance-x86_64-linux.rpm
Go this:
/sbin/makepkg: line 416: 1860 Done find ./
1861 | LC_COLLATE=C sort
1862 | sed '2,$s,^\./,,'
1863 | tar --no-recursion $ACLS $XATTRS $MTIME -T - -cvf -
1864 Killed | $COMPRESSOR > ${TARGET_NAME}/${TAR_NAME}.${EXTENSION}
ERROR: xz -9 --threads=2 -c returned error code 137 -- makepkg failed.
Verifying package binance-x86_64-linux.txz.
xz: (stdin): File format not recognized
Unable to install /tmp/rpm2xzm1788/binance-x86_64-linux.txz: tar archive is corrupt (tar returned error code 2)
error installing /tmp/rpm2xzm1788/binance-x86_64-linux.txz package
mv: cannot stat 'binance-x86_64-linux.xzm': No such file or directory
/usr/bin/rpm2xzm: line 102: gtkdialog.py: command not found

What so wrong with my RPM? My Porteus is running on 64bit CPU as a 64bit OS.

User avatar
ncmprhnsbl
DEV Team
DEV Team
Posts: 3050
Joined: 20 Mar 2012, 03:42
Distribution: 5.0-current-64bit
Location: australia
Contact:

RPM2XZM fails to make a XZM file

Post#2 by ncmprhnsbl » 21 Apr 2021, 22:35

seems to be a couple of different things going on there..
first, grab this module of updated scripts for 5.0rc2, which should fix : "/usr/bin/rpm2xzm: line 102: gtkdialog.py: command not found" part.
09-pscripts-RC2-20210326.xzm ( Porteus 5.0 RC2 bug reports (Post by ncmprhnsbl #78128) )
bit hard to say why makepkg failed, could be something wrong with the rpm .. could maybe try rpm2txz directly, and see if that fails the same way..
the other thing to try is, if you are using changes, boot in "always fresh" (and activate the updated scripts module) and try again, in case there's a module or something in your changes interfering..
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44

mirko
White ninja
White ninja
Posts: 4
Joined: 21 Apr 2021, 14:33
Distribution: Porteus 5 x64

RPM2XZM fails to make a XZM file

Post#3 by mirko » 26 Apr 2021, 21:19

I tried to use RC2-20210326.xzm, but the error is still the same. This RPM was running on Ubuntu, what does it need to be run on Porteus?

roadie
Full of knowledge
Full of knowledge
Posts: 328
Joined: 02 Jan 2011, 18:41
Distribution: Porteus 5.0-RC1
Location: In a hayfield

RPM2XZM fails to make a XZM file

Post#4 by roadie » 26 Apr 2021, 23:28

mirko wrote:
26 Apr 2021, 21:19
I tried to use RC2-20210326.xzm, but the error is still the same. This RPM was running on Ubuntu, what does it need to be run on Porteus?
Which version of Porteus are you using?
I'm using Porteus-v5.0-rc2 and it's working here. I downloaded the binance .rpm from here:

https://ftp.binance.com/electron-deskto ... -linux.rpm

I ran rpm2xzm on it and it produced an xzm module which runs and opens. That's as far as I went with it as I don't use Binance, but with Porteus-v5.0rc2 it seems to work fine.



@ncmprhnsbl
It did throw the "gtkdialog.py: command not found" even with the updated scripts, but built, and also built using the rpm2txz command. Editing the rpm2xzm script to use the full path gives the gtkdialog popup on completion.

EDIT: I see why the updated scripts don't make a difference.....rpm2xzm isn't in the module.

User avatar
ncmprhnsbl
DEV Team
DEV Team
Posts: 3050
Joined: 20 Mar 2012, 03:42
Distribution: 5.0-current-64bit
Location: australia
Contact:

RPM2XZM fails to make a XZM file

Post#5 by ncmprhnsbl » 27 Apr 2021, 05:42

roadie wrote:
26 Apr 2021, 23:28
@ncmprhnsbl
It did throw the "gtkdialog.py: command not found" even with the updated scripts, but built, and also built using the rpm2txz command. Editing the rpm2xzm script to use the full path gives the gtkdialog popup on completion.
EDIT: I see why the updated scripts don't make a difference.....rpm2xzm isn't in the module.
thanks, i missed including that one :unknown: (fixed now Porteus 5.0 RC2 bug reports )

@mirko, the rpm2xzm error you're getting shows it failing with makepkg, specifically the archiving part(s) .. i've seen something like this before, no idea what causes it, but it is usually something in the changes folder or file. or in a module.
so, if you havn't already tried it , i suggest booting in "Always Fresh" mode(choose it at the boot menu) to try converting it..
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44

mirko
White ninja
White ninja
Posts: 4
Joined: 21 Apr 2021, 14:33
Distribution: Porteus 5 x64

RPM2XZM fails to make a XZM file

Post#6 by mirko » 08 May 2021, 21:42

Tried to get a fresh ISO for Porteus-XFCE 5RC2 x64, added the XZM from Porteus 5.0 RC2 bug reports but no luck, the error is the same. What else should I do to have this app running?

PS. If I use a DEB version via deb2xzm, it creates me a XZM successfully , and I can run the app after activating the XZM. I wonder what's the difference between these source files that stops the first working.

Post Reply