Page 1 of 1

RPM2XZM fails to make a XZM file

Posted: 21 Apr 2021, 14:40
by mirko
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.

RPM2XZM fails to make a XZM file

Posted: 21 Apr 2021, 22:35
by ncmprhnsbl
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..

RPM2XZM fails to make a XZM file

Posted: 26 Apr 2021, 21:19
by mirko
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?

RPM2XZM fails to make a XZM file

Posted: 26 Apr 2021, 23:28
by roadie
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.

RPM2XZM fails to make a XZM file

Posted: 27 Apr 2021, 05:42
by ncmprhnsbl
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..

RPM2XZM fails to make a XZM file

Posted: 08 May 2021, 21:42
by mirko
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.