I dig the new script, and it seems to perform it's job, and when requesting that we create an xzm, it just leaves a txz. It also complains about firefox itself being corrupt. I've tried stable and beta, and they seem to fail in much the same fashion.
Here's some of the grueling details. Look towards the end. notice my ls expecting an xzm only to find a txz and all the other complaints.
I'm running the script as root inside the /tmp directory - is that a problem?
Code: Select all
A slackware package will be created.
Would you like to create a Porteus module? [y/n]
Downloading: firefox-68.0b13.tar.bz2 DONE
Decompressing firefox tarball ...
firefox/update-settings.ini
firefox/libnspr4.so
firefox/updater
firefox/firefox-bin
firefox/libmozavcodec.so
firefox/pingsender
firefox/libfreeblpriv3.so
firefox/minidump-analyzer
firefox/libsoftokn3.so
firefox/liblgpllibs.so
firefox/libssl3.so
firefox/libsmime3.so
firefox/libnssdbm3.chk
firefox/firefox
firefox/libmozwayland.so
firefox/gmp-clearkey/0.1/manifest.json
firefox/gmp-clearkey/0.1/libclearkey.so
firefox/libxul.so
firefox/libnssckbi.so
firefox/dependentlibs.list
firefox/libnss3.so
firefox/libplc4.so
firefox/application.ini
firefox/libnssdbm3.so
firefox/updater.ini
firefox/omni.ja
firefox/libmozsandbox.so
firefox/fonts/TwemojiMozilla.ttf
firefox/libnssutil3.so
firefox/libmozsqlite3.so
firefox/chrome.manifest
firefox/crashreporter
firefox/defaults/pref/channel-prefs.js
firefox/libplds4.so
firefox/libmozavutil.so
firefox/gtk2/libmozgtk.so
firefox/precomplete
firefox/crashreporter.ini
firefox/libfreeblpriv3.chk
firefox/Throbber-small.gif
firefox/libsoftokn3.chk
firefox/platform.ini
firefox/libmozgtk.so
firefox/icons/updater.png
firefox/browser/omni.ja
firefox/browser/blocklist.xml
firefox/browser/chrome.manifest
firefox/browser/chrome/icons/default/default32.png
firefox/browser/chrome/icons/default/default64.png
firefox/browser/chrome/icons/default/default16.png
firefox/browser/chrome/icons/default/default48.png
firefox/browser/chrome/icons/default/default128.png
firefox/browser/features/webcompat-reporter@mozilla.org.xpi
firefox/browser/features/screenshots@mozilla.org.xpi
firefox/browser/features/fxmonitor@mozilla.org.xpi
firefox/browser/features/webcompat@mozilla.org.xpi
firefox/browser/features/formautofill@mozilla.org.xpi
firefox/browser/crashreporter-override.ini
firefox/removed-files
firefox/plugin-container
firefox/firefox-bin.sig
firefox/firefox.sig
firefox/gmp-clearkey/0.1/libclearkey.so.sig
firefox/libxul.so.sig
firefox/plugin-container.sig
Linking firefox binary ...
/tmp/portff
Copying firefox files ...
Creating default settings ...
Creating install files ...
Copying config files ...
cp: cannot stat '/tmp/files/*': No such file or directory
chown: cannot access '/tmp/portff/ff.2428/home/guest': No such file or directory
Adding home page ...
Creating slackware package ...
Slackware package maker, version 3.1415927.
Searching for symbolic links:
usr/bin/firefox /usr/lib64/firefox-68.0b13/firefox
usr/lib64/firefox ./firefox-68.0b13
Making symbolic link creation script:
( cd usr/bin ; rm -rf firefox )
( cd usr/bin ; ln -sf /usr/lib64/firefox-68.0b13/firefox firefox )
( cd usr/lib64 ; rm -rf firefox )
( cd usr/lib64 ; ln -sf ./firefox-68.0b13 firefox )
It is recommended that you make these lines your new installation script.
Would you like to make this stuff the install script for this package
and remove the symbolic links ([y]es, [n]o)? y
Removing symbolic links:
removed './usr/bin/firefox'
removed './usr/lib64/firefox'
Creating your new ./install/doinst.sh...
This next step is optional - you can set the directories in your package
to some sane permissions. If any of the directories in your package have
special permissions, then DO NOT reset them here!
Would you like to reset all directory permissions to 755 (drwxr-xr-x) and
directory ownerships to root.root ([y]es, [n]o)? n
Creating Slackware package: /tmp/firefox-68.0b13-x86_64-en-US-1.txz
xz: (stdin): Cannot allocate memory
./
install/
install/doinst.sh
install/slack-desc
usr/
usr/share/
usr/share/applications/
usr/share/applications/browser.desktop
usr/share/applications/mozilla-firefox.desktop
ERROR: xz -9 --threads=2 -c returned error code 1 -- makepkg failed.
/tmp/portff
Converting to module ...
Verifying package firefox-68.0b13-x86_64-en-US-1.txz.
xz: (stdin): File format not recognized
Unable to install /tmp/firefox-68.0b13-x86_64-en-US-1.txz: tar archive is corrupt (tar returned error code 2)
error installing /tmp/firefox-68.0b13-x86_64-en-US-1.txz package
Your file is at: /tmp/firefox-68.0b13-x86_64-en-US-1.xzm
Please move it to your modules folder to survive a reboot.
root@porteus:/tmp# ls
firefox-68.0b13-x86_64-en-US-1.txz xdg-runtime-guest/
txz2xzm2573/ xdg-runtime-root/
root@porteus:/tmp#