rgammans / AvocentViewer

AppImage Builder for Avocent IP KVM client.
4 stars 1 forks source link

JRE 6 location and run directory #1

Closed jelabarre59 closed 1 month ago

jelabarre59 commented 6 months ago

Are we supposed to extract the jre-6u27-linux-x64.bin file before running pkg2appimage? I just have the file in the root of the source directory currently (along with the Avocent JAR files), and not extracted.

Also, is pkg2appimage supposed to be rin from the root of the source directory? the paths in avctviewer.yml make it look like we're supposed to be using a subdirectory but I don't see anything that changes directories.

The build is failing with:

$ ~/Applications/pkg2appimage--x86_64.AppImage avctviewer.yml
+ check_dependencies dpkg dpkg-deb convert wget grep sed cut file desktop-file-validate strings
+ for executable in $@
+ which dpkg
+ for executable in $@
+ which dpkg-deb
+ for executable in $@
+ which convert
+ for executable in $@
+ which wget
+ for executable in $@
+ which grep
+ for executable in $@
+ which sed
+ for executable in $@
+ which cut
+ for executable in $@
+ which file
+ for executable in $@
+ which desktop-file-validate
+ for executable in $@
+ which strings
+ '[' '!' -f avctviewer.yml ']'
++ readlink -f avctviewer.yml
+ YAMLFILE=/AllData/AltHome/jelabarre/Sourcecode/AvocentViewer/avctviewer.yml
+ parse_yaml /AllData/AltHome/jelabarre/Sourcecode/AvocentViewer/avctviewer.yml _
+ local prefix=_
+ local s
+ local w
+ local fs
+ s='[[:blank:]]*'
+ w='[a-zA-Z0-9_]*'
++ echo @
++ tr @ '\034'
+ fs=$'\034'
+ sed -ne 's|^\([[:blank:]]*\)\([a-zA-Z0-9_]*\)[[:blank:]]*:[[:blank:]]*"\(.*\)"[[:blank:]]*$|\1\2\3|p' -e 's|^\([[:blank:]]*\)\([a-zA-Z0-9_]*\)[[:blank:]]*[:-][[:blank:]]*\(.*\)[[:blank:]]*$|\1\2\3|p' /AllData/AltHome/jelabarre/Sourcecode/AvocentViewer/avctviewer.yml
+ awk $'-F\034' '{
    indent = length($1)/2;
    vname[indent] = $2;
    for (i in vname) {if (i > indent) {delete vname[i]}}
        if (length($3) > 0) {
            vn=""; for (i=0; i<indent; i++) {vn=(vn)(vname[i])("_")}
            printf("%s%s%s=(\"%s\")\n", "_",vn, $2, $3);
        }
    }'
+ sed s/_=/+=/g
sed: /tmp/.mount_pkg2apuC6kYa/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by sed)
sed: /tmp/.mount_pkg2apuC6kYa/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by sed)
_app=("avctviewer")
_ingredients_script+=("echo "=============================="")
_ingredients_script+=("mkdir -p avctviewer.AppDir/usr/share/avctviewer")
_ingredients_script+=("mkdir -p avctviewer.AppDir/usr/bin")
_ingredients_script+=("cp ../*.jar avctviewer.AppDir/usr/share/avctviewer")
_ingredients_script+=("cp ../avctviewer.sh avctviewer.AppDir/usr/bin/avctviewer")
_ingredients_script+=("cp ../avctviewer.desktop avctviewer.AppDir/usr/share/applications")
_ingredients_script+=("cp ../avctviewer.desktop avctviewer.AppDir/.")
_ingredients_script+=("cp ../avctviewer.png avctviewer.AppDir/.")
_script+=("cp ../../java.security etc/java-6-openjdk/security/")
_script+=("( cd usr; ../../../jre-6u27-linux-x64.bin )")
++ parse_yaml /AllData/AltHome/jelabarre/Sourcecode/AvocentViewer/avctviewer.yml _
++ local prefix=_
++ local s
++ local w
++ local fs
++ s='[[:blank:]]*'
++ w='[a-zA-Z0-9_]*'
+++ echo @
+++ tr @ '\034'
++ fs=$'\034'
++ sed -ne 's|^\([[:blank:]]*\)\([a-zA-Z0-9_]*\)[[:blank:]]*:[[:blank:]]*"\(.*\)"[[:blank:]]*$|\1\2\3|p' -e 's|^\([[:blank:]]*\)\([a-zA-Z0-9_]*\)[[:blank:]]*[:-][[:blank:]]*\(.*\)[[:blank:]]*$|\1\2\3|p' /AllData/AltHome/jelabarre/Sourcecode/AvocentViewer/avctviewer.yml
++ awk $'-F\034' '{
    indent = length($1)/2;
    vname[indent] = $2;
    for (i in vname) {if (i > indent) {delete vname[i]}}
        if (length($3) > 0) {
            vn=""; for (i=0; i<indent; i++) {vn=(vn)(vname[i])("_")}
            printf("%s%s%s=(\"%s\")\n", "_",vn, $2, $3);
        }
    }'
++ sed s/_=/+=/g
sed: /tmp/.mount_pkg2apuC6kYa/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by sed)
sed: /tmp/.mount_pkg2apuC6kYa/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by sed)
+ eval '_app=("avctviewer")' '_ingredients_script+=("echo' '"=============================="")' '_ingredients_script+=("mkdir' -p 'avctviewer.AppDir/usr/share/avctviewer")' '_ingredients_script+=("mkdir' -p 'avctviewer.AppDir/usr/bin")' '_ingredients_script+=("cp' '../*.jar' 'avctviewer.AppDir/usr/share/avctviewer")' '_ingredients_script+=("cp' ../avctviewer.sh 'avctviewer.AppDir/usr/bin/avctviewer")' '_ingredients_script+=("cp' ../avctviewer.desktop 'avctviewer.AppDir/usr/share/applications")' '_ingredients_script+=("cp' ../avctviewer.desktop 'avctviewer.AppDir/.")' '_ingredients_script+=("cp' ../avctviewer.png 'avctviewer.AppDir/.")' '_script+=("cp' ../../java.security 'etc/java-6-openjdk/security/")' '_script+=("(' cd 'usr;' ../../../jre-6u27-linux-x64.bin ')")'
++ _app=("avctviewer")
++ _ingredients_script+=("echo "=============================="")
++ _ingredients_script+=("mkdir -p avctviewer.AppDir/usr/share/avctviewer")
++ _ingredients_script+=("mkdir -p avctviewer.AppDir/usr/bin")
++ _ingredients_script+=("cp ../*.jar avctviewer.AppDir/usr/share/avctviewer")
++ _ingredients_script+=("cp ../avctviewer.sh avctviewer.AppDir/usr/bin/avctviewer")
++ _ingredients_script+=("cp ../avctviewer.desktop avctviewer.AppDir/usr/share/applications")
++ _ingredients_script+=("cp ../avctviewer.desktop avctviewer.AppDir/.")
++ _ingredients_script+=("cp ../avctviewer.png avctviewer.AppDir/.")
++ _script+=("cp ../../java.security etc/java-6-openjdk/security/")
++ _script+=("( cd usr; ../../../jre-6u27-linux-x64.bin )")
+ '[' '!' -z ']'
+ APP=avctviewer
+ LOWERAPP=avctviewer
+ '[' '!' -z ']'
+ mkdir -p ./avctviewer/avctviewer.AppDir/usr/lib
mkdir: /tmp/.mount_pkg2apuC6kYa/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by mkdir)
+ cd ./avctviewer/
+ '[' -d ./avctviewer.AppDir/ ']'
+ rm -rf ./avctviewer.AppDir/
+ '[' -e /tmp/.mount_pkg2apuC6kYa/usr/share/pkg2appimage/functions.sh ']'
+ . /tmp/.mount_pkg2apuC6kYa/usr/share/pkg2appimage/functions.sh
++ '[' -z master ']'
++ OPTIONS='-o Debug::NoLocking=1
-o APT::Cache-Limit=125829120
-o Dir::Etc::sourcelist=./sources.list
-o Dir::State=./tmp
-o Dir::Cache=./tmp
-o Dir::State::status=./status
-o Dir::Etc::sourceparts=-
-o APT::Get::List-Cleanup=0
-o APT::Get::AllowUnauthenticated=1
-o Debug::pkgProblemResolver=true
-o Debug::pkgDepCache::AutoInstall=true
-o APT::Install-Recommends=0
-o APT::Install-Suggests=0
'
++ grep docker /proc/1/cgroup
++ true
++ case "$(uname -i)" in
+++ uname -i
++ case "$(uname -m)" in
+++ uname -m
++ SYSTEM_ARCH=x86_64
+ '[' '!' -z '' ']'
+ '[' '!' -z '' ']'
+ '[' '!' -z '' ']'
+ '[' '!' -z 'echo ==============================' ']'
+ shell_execute /AllData/AltHome/jelabarre/Sourcecode/AvocentViewer/avctviewer.yml _ingredients_script
+ '[' -f /tmp/recipe_script ']'
+ rm /tmp/recipe_script
+ parse_yaml /AllData/AltHome/jelabarre/Sourcecode/AvocentViewer/avctviewer.yml _
+ local prefix=_
+ local s
+ local w
+ local fs
+ s='[[:blank:]]*'
+ grep '^_ingredients_script+='
+ w='[a-zA-Z0-9_]*'
++ echo @
++ tr @ '\034'
+ fs=$'\034'
+ sed -ne 's|^\([[:blank:]]*\)\([a-zA-Z0-9_]*\)[[:blank:]]*:[[:blank:]]*"\(.*\)"[[:blank:]]*$|\1\2\3|p' -e 's|^\([[:blank:]]*\)\([a-zA-Z0-9_]*\)[[:blank:]]*[:-][[:blank:]]*\(.*\)[[:blank:]]*$|\1\2\3|p' /AllData/AltHome/jelabarre/Sourcecode/AvocentViewer/avctviewer.yml
+ awk $'-F\034' '{
    indent = length($1)/2;
    vname[indent] = $2;
    for (i in vname) {if (i > indent) {delete vname[i]}}
        if (length($3) > 0) {
            vn=""; for (i=0; i<indent; i++) {vn=(vn)(vname[i])("_")}
            printf("%s%s%s=(\"%s\")\n", "_",vn, $2, $3);
        }
    }'
+ sed s/_=/+=/g
sed: /tmp/.mount_pkg2apuC6kYa/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by sed)
sed: /tmp/.mount_pkg2apuC6kYa/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by sed)
+ sed -i -e 's|^_ingredients_script+=("||g' /tmp/recipe_script
sed: /tmp/.mount_pkg2apuC6kYa/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by sed)
+ sed -i -e 's|")$||g' /tmp/recipe_script
sed: /tmp/.mount_pkg2apuC6kYa/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by sed)
+ bash -ex /tmp/recipe_script
+ echo ==============================
==============================
+ mkdir -p avctviewer.AppDir/usr/share/avctviewer
mkdir: /tmp/.mount_pkg2apuC6kYa/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by mkdir)
+ mkdir -p avctviewer.AppDir/usr/bin
mkdir: /tmp/.mount_pkg2apuC6kYa/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by mkdir)
+ cp ../avctIBMViewer.jar ../avctKVMIOLinux.jar ../avctVMLinux.jar avctviewer.AppDir/usr/share/avctviewer
cp: /tmp/.mount_pkg2apuC6kYa/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by cp)
+ cp ../avctviewer.sh avctviewer.AppDir/usr/bin/avctviewer
cp: /tmp/.mount_pkg2apuC6kYa/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by cp)
+ cp ../avctviewer.desktop avctviewer.AppDir/usr/share/applications
cp: /tmp/.mount_pkg2apuC6kYa/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by cp)
+ cp ../avctviewer.desktop avctviewer.AppDir/.
cp: /tmp/.mount_pkg2apuC6kYa/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by cp)
+ cp ../avctviewer.png avctviewer.AppDir/.
cp: /tmp/.mount_pkg2apuC6kYa/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by cp)
+ rm /tmp/recipe_script
+ '[' '!' -z '' ']'
+ '[' '!' -z '' ']'
+ mkdir -p ./avctviewer.AppDir/
mkdir: /tmp/.mount_pkg2apuC6kYa/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by mkdir)
+ cd ./avctviewer.AppDir/
+ mkdir -p usr/bin usr/lib
mkdir: /tmp/.mount_pkg2apuC6kYa/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by mkdir)
+ find '../*.deb' -exec dpkg-deb -X '{}' . ';'
find: /tmp/.mount_pkg2apuC6kYa/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by find)
find: ‘../*.deb’: No such file or directory
+ true
+ unset LD_PRELOAD
+ mkdir -p usr/share/icons/hicolor/22x22/apps/ usr/share/icons/hicolor/24x24/apps/ usr/share/icons/hicolor/32x32/apps/ usr/share/icons/hicolor/48x48/apps/ usr/share/icons/hicolor/64x64/apps/ usr/share/icons/hicolor/128x128/apps/ usr/share/icons/hicolor/256x256/apps/ usr/share/icons/hicolor/512x512/apps/
mkdir: /tmp/.mount_pkg2apuC6kYa/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by mkdir)
+ find . -path '*icons*' -path '*22*' -name '*avctviewer*' -exec cp '{}' usr/share/icons/hicolor/22x22/apps/ ';'
find: /tmp/.mount_pkg2apuC6kYa/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by find)
+ find . -path '*icons*' -path '*24*' -name '*avctviewer*' -exec cp '{}' usr/share/icons/hicolor/24x24/apps/ ';'
find: /tmp/.mount_pkg2apuC6kYa/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by find)
+ find . -path '*icons*' -path '*32*' -name '*avctviewer*' -exec cp '{}' usr/share/icons/hicolor/32x32/apps/ ';'
find: /tmp/.mount_pkg2apuC6kYa/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by find)
+ find . -path '*icons*' -path '*48*' -name '*avctviewer*' -exec cp '{}' usr/share/icons/hicolor/48x48/apps/ ';'
find: /tmp/.mount_pkg2apuC6kYa/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by find)
+ find . -path '*icons*' -path '*64*' -name '*avctviewer*' -exec cp '{}' usr/share/icons/hicolor/64x64/apps/ ';'
find: /tmp/.mount_pkg2apuC6kYa/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by find)
+ find . -path '*icons*' -path '*128*' -name '*avctviewer*' -exec cp '{}' usr/share/icons/hicolor/128x128/apps/ ';'
find: /tmp/.mount_pkg2apuC6kYa/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by find)
+ find . -path '*icons*' -path '*256*' -name '*avctviewer*' -exec cp '{}' usr/share/icons/hicolor/256x256/apps/ ';'
find: /tmp/.mount_pkg2apuC6kYa/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by find)
+ find . -path '*icons*' -path '*512*' -name '*avctviewer*' -exec cp '{}' usr/share/icons/hicolor/512x512/apps/ ';'
find: /tmp/.mount_pkg2apuC6kYa/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by find)
+ get_icon
+ find ./usr/share/pixmaps/avctviewer.png -exec cp '{}' . ';'
+ true
+ find ./usr/share/icons -path '*64*' -name avctviewer.png -exec cp '{}' . ';'
+ find ./usr/share/icons -path '*128*' -name avctviewer.png -exec cp '{}' . ';'
+ find ./usr/share/icons -path '*512*' -name avctviewer.png -exec cp '{}' . ';'
+ find ./usr/share/icons -path '*256*' -name avctviewer.png -exec cp '{}' . ';'
+ ls -lh avctviewer.png
ls: /tmp/.mount_pkg2apuC6kYa/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by ls)
-rw-r--r--. 1 jelabarre jelabarre 0 Mar 19 11:24 avctviewer.png
+ '[' -z '' ']'
+ get_apprun
+ TARGET_ARCH=x86_64
+ wget -c https://github.com/AppImage/AppImageKit/releases/download/continuous/AppRun-x86_64 -O AppRun
--2024-03-19 11:24:00--  https://github.com/AppImage/AppImageKit/releases/download/continuous/AppRun-x86_64
Resolving github.com (github.com)... 140.82.114.4
Connecting to github.com (github.com)|140.82.114.4|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://objects.githubusercontent.com/github-production-release-asset-2e65be/9435153/534c9b87-8986-40cc-b8cb-45333a07a6a1?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAVCODYLSA53PQK4ZA%2F20240319%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20240319T152401Z&X-Amz-Expires=300&X-Amz-Signature=ab030c244c5cb2005afd706fdca68c2c1d132738a86da3381e66eb69e0dcb1f9&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=9435153&response-content-disposition=attachment%3B%20filename%3DAppRun-x86_64&response-content-type=application%2Foctet-stream [following]
--2024-03-19 11:24:01--  https://objects.githubusercontent.com/github-production-release-asset-2e65be/9435153/534c9b87-8986-40cc-b8cb-45333a07a6a1?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAVCODYLSA53PQK4ZA%2F20240319%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20240319T152401Z&X-Amz-Expires=300&X-Amz-Signature=ab030c244c5cb2005afd706fdca68c2c1d132738a86da3381e66eb69e0dcb1f9&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=9435153&response-content-disposition=attachment%3B%20filename%3DAppRun-x86_64&response-content-type=application%2Foctet-stream
Resolving objects.githubusercontent.com (objects.githubusercontent.com)... 185.199.111.133, 185.199.109.133, 185.199.108.133, ...
Connecting to objects.githubusercontent.com (objects.githubusercontent.com)|185.199.111.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 31552 (31K) [application/octet-stream]
Saving to: ‘AppRun’

AppRun                                    100%[==================================================================================>]  30.81K  --.-KB/s    in 0.02s   

2024-03-19 11:24:01 (1.40 MB/s) - ‘AppRun’ saved [31552/31552]

+ chmod a+x AppRun
+ get_desktop
+ find usr/share/applications -iname '*avctviewer.desktop' -exec cp '{}' . ';'
find: /tmp/.mount_pkg2apuC6kYa/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by find)
+ unset QTPATH
++ find usr/lib -type d -name qt4 -or -name qt5
++ sed -e 's|usr/|../|g'
find: /tmp/.mount_pkg2apuC6kYa/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by find)
sed: /tmp/.mount_pkg2apuC6kYa/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by sed)
+ QTPATH=
+ '[' '!' -z ']'
+ '[' -e usr/lib/mono ']'
+ '[' -d ./usr/lib/x86_64-linux-gnu/gstreamer-1.0/ ']'
+ '[' -d ./usr/lib/x86_64-linux-gnu/pulseaudio/ ']'
+ '[' '!' -z 'cp ../../java.security etc/java-6-openjdk/security/' ']'
+ shell_execute /AllData/AltHome/jelabarre/Sourcecode/AvocentViewer/avctviewer.yml _script
+ '[' -f /tmp/recipe_script ']'
+ parse_yaml /AllData/AltHome/jelabarre/Sourcecode/AvocentViewer/avctviewer.yml _
+ local prefix=_
+ local s
+ local w
+ local fs
+ s='[[:blank:]]*'
+ w='[a-zA-Z0-9_]*'
+ grep '^_script+='
++ echo @
++ tr @ '\034'
+ fs=$'\034'
+ sed -ne 's|^\([[:blank:]]*\)\([a-zA-Z0-9_]*\)[[:blank:]]*:[[:blank:]]*"\(.*\)"[[:blank:]]*$|\1\2\3|p' -e 's|^\([[:blank:]]*\)\([a-zA-Z0-9_]*\)[[:blank:]]*[:-][[:blank:]]*\(.*\)[[:blank:]]*$|\1\2\3|p' /AllData/AltHome/jelabarre/Sourcecode/AvocentViewer/avctviewer.yml
+ awk $'-F\034' '{
    indent = length($1)/2;
    vname[indent] = $2;
    for (i in vname) {if (i > indent) {delete vname[i]}}
        if (length($3) > 0) {
            vn=""; for (i=0; i<indent; i++) {vn=(vn)(vname[i])("_")}
            printf("%s%s%s=(\"%s\")\n", "_",vn, $2, $3);
        }
    }'
+ sed s/_=/+=/g
sed: /tmp/.mount_pkg2apuC6kYa/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by sed)
sed: /tmp/.mount_pkg2apuC6kYa/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by sed)
+ sed -i -e 's|^_script+=("||g' /tmp/recipe_script
sed: /tmp/.mount_pkg2apuC6kYa/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by sed)
+ sed -i -e 's|")$||g' /tmp/recipe_script
sed: /tmp/.mount_pkg2apuC6kYa/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by sed)
+ bash -ex /tmp/recipe_script
+ cp ../../java.security etc/java-6-openjdk/security/
cp: /tmp/.mount_pkg2apuC6kYa/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by cp)
cp: cannot create regular file 'etc/java-6-openjdk/security/': No such file or directory
rgammans commented 6 months ago

Hm. I away from my usual machine for a few weeks, and can't seem to download the relevant files to allow me to try to reproduce.

But, looking at the script that running, I wonder if I've managed to swap the order of two steps, I don't quite know why I hadn't noticed before. Can you try the diff below and get back on wether it makes a difference?

diff --git a/avctviewer.yml b/avctviewer.yml
index 1fe145a..1787e7f 100644
--- a/avctviewer.yml
+++ b/avctviewer.yml
@@ -14,5 +14,5 @@ ingredients:

 script:
-  - cp ../../java.security etc/java-6-openjdk/security/
   - ( cd usr; ../../../jre-6u27-linux-x64.bin )
+  - cp ../../java.security etc/java-6-openjdk/security/
jelabarre59 commented 6 months ago

That does extract the jre, but it still hits the error with sed and/or the ibselinux.so.1 library.

This is on Fedora 29, in case you're on a different distribution. Maybe this evening I'll see where that library is coming from (meetings during the day, in fact I have to update information for this morning's dev/qe meeting)

rgammans commented 5 months ago

I've made a new commit 18407cc , which fixes all my build problems.

I can build a working app image from a clean checkout on Debian Bookworm with this.

I've added a log of my build so you can find any issues you might have.

roger@buckle:${PROJECTDIR}$ cp ../AvocentViewer/*.jar .
roger@buckle:${PROJECTDIR}$ cp ../AvocentViewer/jre-6u27-linux-x64.bin 
roger@buckle:${PROJECTDIR}$ ../../pkg2appimage--x86_64.AppImage avctviewer.yml
+ check_dependencies dpkg dpkg-deb convert wget grep sed cut file desktop-file-validate strings
+ for executable in $@
+ which dpkg
+ for executable in $@
+ which dpkg-deb
+ for executable in $@
+ which convert
+ for executable in $@
+ which wget
+ for executable in $@
+ which grep
+ for executable in $@
+ which sed
+ for executable in $@
+ which cut
+ for executable in $@
+ which file
+ for executable in $@
+ which desktop-file-validate
+ for executable in $@
+ which strings
+ '[' '!' -f avctviewer.yml ']'
++ readlink -f avctviewer.yml
+ YAMLFILE=/$PROJECTDIR//avctviewer.yml
+ parse_yaml /$PROJECTDIR//avctviewer.yml _
+ local prefix=_
+ local s
+ local w
+ local fs
+ s='[[:blank:]]*'
+ w='[a-zA-Z0-9_]*'
++ echo @
++ tr @ '\034'
+ fs=$'\034'
+ sed -ne 's|^\([[:blank:]]*\)\([a-zA-Z0-9_]*\)[[:blank:]]*:[[:blank:]]*"\(.*\)" [[:blank:]]*$|\1\2\3|p' -e 's|^\([[:blank:]]*\)\([a-zA-Z0-9_]*\)[[:blank:]]*[: -][[:blank:]]*\(.*\)[[:blank:]]*$|\1\2\3|p' /$PROJECTDIR//avctviewer.yml
+ awk $'-F\034' '{
    indent = length($1)/2;
    vname[indent] = $2;
    for (i in vname) {if (i > indent) {delete vname[i]}}
        if (length($3) > 0) {
            vn=""; for (i=0; i<indent; i++) {vn=(vn)(vname[i])("_")}
            printf("%s%s%s=(\"%s\")\n", "_",vn, $2, $3);
        }
    }'
+ sed s/_=/+=/g
sed: /tmp/.mount_pkg2ap5wpkGN/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by sed)
sed: /tmp/.mount_pkg2ap5wpkGN/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by sed)
_app=("avctviewer")
_ingredients_script+=("echo "=============================="")
_ingredients_script+=("mkdir -p avctviewer.AppDir/usr/share/avctviewer")
_ingredients_script+=("mkdir -p avctviewer.AppDir/usr/bin")
_ingredients_script+=("cp ../*.jar avctviewer.AppDir/usr/share/avctviewer")
_ingredients_script+=("cp ../avctviewer.sh avctviewer.AppDir/usr/bin/avctviewer"
)
_ingredients_script+=("cp ../avctviewer.desktop avctviewer.AppDir/usr/share/appl
ications")
_ingredients_script+=("cp ../avctviewer.desktop avctviewer.AppDir/.")
_ingredients_script+=("cp ../avctviewer.png avctviewer.AppDir/.")
_script+=("( cd usr; ../../../jre-6u27-linux-x64.bin )")
_script+=("mkdir -p etc/java-6-openjdk/security/")
_script+=("cp ../../java.security etc/java-6-openjdk/security/")
++ parse_yaml /$PROJECTDIR//avctviewer.yml _
++ local prefix=_
++ local s
++ local w
++ local fs
++ s='[[:blank:]]*'
++ w='[a-zA-Z0-9_]*'
+++ echo @
+++ tr @ '\034'
++ fs=$'\034'
++ sed -ne 's|^\([[:blank:]]*\)\([a-zA-Z0-9_]*\)[[:blank:]]*:[[:blank:]]*"\(.*\)
"[[:blank:]]*$|\1\2\3|p' -e 's|^\([[:blank:]]*\)\([a-zA-Z0-9_]*\)[[:blank:]]*[
:-][[:blank:]]*\(.*\)[[:blank:]]*$|\1\2\3|p' /$PROJECTDIR//
avctviewer.yml
++ awk $'-F\034' '{
    indent = length($1)/2;
    vname[indent] = $2;
    for (i in vname) {if (i > indent) {delete vname[i]}}
        if (length($3) > 0) {
            vn=""; for (i=0; i<indent; i++) {vn=(vn)(vname[i])("_")}
            printf("%s%s%s=(\"%s\")\n", "_",vn, $2, $3);
        }
    }'
++ sed s/_=/+=/g
sed: /tmp/.mount_pkg2ap5wpkGN/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by sed)
sed: /tmp/.mount_pkg2ap5wpkGN/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by sed)
+ eval '_app=("avctviewer")' '_ingredients_script+=("echo' '"=============================="")' '_ingredients_script+=("mkdir' -p 'avctviewer.AppDir/usr/share/avctviewer")' '_ingredients_script+=("mkdir' -p 'avctviewer.AppDir/usr/bin")' '_ingredients_script+=("cp' '../*.jar' 'avctviewer.AppDir/usr/share/avctviewer")' '_ingredients_script+=("cp' ../avctviewer.sh 'avctviewer.AppDir/usr/bin/avctviewer")' '_ingredients_script+=("cp' ../avctviewer.desktop 'avctviewer.AppDir/usr/share/applications")' '_ingredients_script+=("cp' ../avctviewer.desktop 'avctviewer.AppDir/.")' '_ingredients_script+=("cp' ../avctviewer.png 'avctviewer.AppDir/. ")' '_script+=("(' cd 'usr;' ../../../jre-6u27-linux-x64.bin ')")' '_script+=("mkdir' -p 'etc/java-6-openjdk/security/")' '_script+=("cp' ../../java.security 'etc/java-6-openjdk/security/")'
++ _app=("avctviewer")
++ _ingredients_script+=("echo "=============================="")
++ _ingredients_script+=("mkdir -p avctviewer.AppDir/usr/share/avctviewer")
++ _ingredients_script+=("mkdir -p avctviewer.AppDir/usr/bin")
++ _ingredients_script+=("cp ../*.jar avctviewer.AppDir/usr/share/avctviewer")
++ _ingredients_script+=("cp ../avctviewer.sh avctviewer.AppDir/usr/bin/avctview
er")
++ _ingredients_script+=("cp ../avctviewer.desktop avctviewer.AppDir/usr/share/applications")
++ _ingredients_script+=("cp ../avctviewer.desktop avctviewer.AppDir/.")
++ _ingredients_script+=("cp ../avctviewer.png avctviewer.AppDir/.")
++ _script+=("( cd usr; ../../../jre-6u27-linux-x64.bin )")
++ _script+=("mkdir -p etc/java-6-openjdk/security/")
++ _script+=("cp ../../java.security etc/java-6-openjdk/security/")
+ '[' '!' -z ']'
+ APP=avctviewer
+ LOWERAPP=avctviewer
+ '[' '!' -z ']'
+ mkdir -p ./avctviewer/avctviewer.AppDir/usr/lib
mkdir: /tmp/.mount_pkg2ap5wpkGN/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by mkdir)
+ cd ./avctviewer/
+ '[' -d ./avctviewer.AppDir/ ']'
+ rm -rf ./avctviewer.AppDir/
+ '[' -e /tmp/.mount_pkg2ap5wpkGN/usr/share/pkg2appimage/functions.sh ']'
+ . /tmp/.mount_pkg2ap5wpkGN/usr/share/pkg2appimage/functions.sh
++ '[' -z master ']'
++ OPTIONS='-o Debug::NoLocking=1
-o APT::Cache-Limit=125829120
-o Dir::Etc::sourcelist=./sources.list
-o Dir::State=./tmp
-o Dir::Cache=./tmp
-o Dir::State::status=./status
-o Dir::Etc::sourceparts=-
-o APT::Get::List-Cleanup=0
-o APT::Get::AllowUnauthenticated=1
-o Debug::pkgProblemResolver=true
-o Debug::pkgDepCache::AutoInstall=true
-o APT::Install-Recommends=0
-o APT::Install-Suggests=0
'
++ grep docker /proc/1/cgroup
++ true
++ case "$(uname -i)" in
+++ uname -i
++ case "$(uname -m)" in
+++ uname -m
++ SYSTEM_ARCH=x86_64
+ '[' '!' -z '' ']'
+ '[' '!' -z '' ']'
+ '[' '!' -z '' ']'
+ '[' '!' -z 'echo ==============================' ']'
+ shell_execute /$PROJECTDIR//avctviewer.yml _ingredients_script
+ '[' -f /tmp/recipe_script ']'
+ parse_yaml /$PROJECTDIR//avctviewer.yml _
+ local prefix=_
+ local s
+ local w
+ local fs
+ s='[[:blank:]]*'
+ w='[a-zA-Z0-9_]*'
+ grep '^_ingredients_script+='
++ echo @
++ tr @ '\034'
+ fs=$'\034'
+ sed -ne 's|^\([[:blank:]]*\)\([a-zA-Z0-9_]*\)[[:blank:]]*:[[:blank:]]*"\(.*\)"[[:blank:]]*$|\1\2\3|p' -e 's|^\([[:blank:]]*\)\([a-zA-Z0-9_]*\)[[:blank:]]*[:
-][[:blank:]]*\(.*\)[[:blank:]]*$|\1\2\3|p' /$PROJECTDIR//avctviewer.yml
+ awk $'-F\034' '{
    indent = length($1)/2;
    vname[indent] = $2;
    for (i in vname) {if (i > indent) {delete vname[i]}}
        if (length($3) > 0) {
            vn=""; for (i=0; i<indent; i++) {vn=(vn)(vname[i])("_")}
            printf("%s%s%s=(\"%s\")\n", "_",vn, $2, $3);
        }
    }'
+ sed s/_=/+=/g
sed: /tmp/.mount_pkg2ap5wpkGN/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by sed)
sed: /tmp/.mount_pkg2ap5wpkGN/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by sed)
+ sed -i -e 's|^_ingredients_script+=("||g' /tmp/recipe_script
sed: /tmp/.mount_pkg2ap5wpkGN/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by sed)
+ sed -i -e 's|")$||g' /tmp/recipe_script
sed: /tmp/.mount_pkg2ap5wpkGN/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by sed)
+ bash -ex /tmp/recipe_script
+ echo ==============================
==============================
+ mkdir -p avctviewer.AppDir/usr/share/avctviewer
mkdir: /tmp/.mount_pkg2ap5wpkGN/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by mkdir)
+ mkdir -p avctviewer.AppDir/usr/bin
mkdir: /tmp/.mount_pkg2ap5wpkGN/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by mkdir)
+ cp ../avctVideo.jar ../avctVM.jar avctviewer.AppDir/usr/share/avctviewer
cp: /tmp/.mount_pkg2ap5wpkGN/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by cp)
+ cp ../avctviewer.sh avctviewer.AppDir/usr/bin/avctviewer
cp: /tmp/.mount_pkg2ap5wpkGN/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by cp)
+ cp ../avctviewer.desktop avctviewer.AppDir/usr/share/applications
cp: /tmp/.mount_pkg2ap5wpkGN/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by cp)
+ cp ../avctviewer.desktop avctviewer.AppDir/.
cp: /tmp/.mount_pkg2ap5wpkGN/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by cp)
+ cp ../avctviewer.png avctviewer.AppDir/.
cp: /tmp/.mount_pkg2ap5wpkGN/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by cp)
+ rm /tmp/recipe_script
+ '[' '!' -z '' ']'
+ '[' '!' -z '' ']'
+ mkdir -p ./avctviewer.AppDir/
mkdir: /tmp/.mount_pkg2ap5wpkGN/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by mkdir)
+ cd ./avctviewer.AppDir/
+ mkdir -p usr/bin usr/lib
mkdir: /tmp/.mount_pkg2ap5wpkGN/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by mkdir)
+ find '../*.deb' -exec dpkg-deb -X '{}' . ';'
find: /tmp/.mount_pkg2ap5wpkGN/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by find)
find: ‘../*.deb’: No such file or directory
+ true
+ unset LD_PRELOAD
+ mkdir -p usr/share/icons/hicolor/22x22/apps/ usr/share/icons/hicolor/24x24/apps/ usr/share/icons/hicolor/32x32/apps/ usr/share/icons/hicolor/48x48/apps/ usr/s
hare/icons/hicolor/64x64/apps/ usr/share/icons/hicolor/128x128/apps/ usr/share/icons/hicolor/256x256/apps/ usr/share/icons/hicolor/512x512/apps/mkdir: /tmp/.mount_pkg2ap5wpkGN/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by mkdir)
+ find . -path '*icons*' -path '*22*' -name '*avctviewer*' -exec cp '{}' usr/share/icons/hicolor/22x22/apps/ ';' 
find: /tmp/.mount_pkg2ap5wpkGN/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by find)
+ find . -path '*icons*' -path '*24*' -name '*avctviewer*' -exec cp '{}' usr/sha re/icons/hicolor/24x24/apps/ ';'
find: /tmp/.mount_pkg2ap5wpkGN/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by find)
+ find . -path '*icons*' -path '*32*' -name '*avctviewer*' -exec cp '{}' usr/share/icons/hicolor/32x32/apps/ ';'
find: /tmp/.mount_pkg2ap5wpkGN/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by find)
+ find . -path '*icons*' -path '*48*' -name '*avctviewer*' -exec cp '{}' usr/share/icons/hicolor/48x48/apps/ ';'
find: /tmp/.mount_pkg2ap5wpkGN/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by find)
+ find . -path '*icons*' -path '*64*' -name '*avctviewer*' -exec cp '{}' usr/share/icons/hicolor/64x64/apps/ ';'
find: /tmp/.mount_pkg2ap5wpkGN/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by find)
+ find . -path '*icons*' -path '*128*' -name '*avctviewer*' -exec cp '{}' usr/share/icons/hicolor/128x128/apps/ ';'
find: /tmp/.mount_pkg2ap5wpkGN/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by find)
+ find . -path '*icons*' -path '*256*' -name '*avctviewer*' -exec cp '{}' usr/share/icons/hicolor/256x256/apps/ ';'
find: /tmp/.mount_pkg2ap5wpkGN/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by find)
+ find . -path '*icons*' -path '*512*' -name '*avctviewer*' -exec cp '{}' usr/share/icons/hicolor/512x512/apps/ ';'
find: /tmp/.mount_pkg2ap5wpkGN/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by find)
+ get_icon
+ find ./usr/share/pixmaps/avctviewer.png -exec cp '{}' . ';'
+ true
+ find ./usr/share/icons -path '*64*' -name avctviewer.png -exec cp '{}' . ';'
+ find ./usr/share/icons -path '*128*' -name avctviewer.png -exec cp '{}' . ';'
+ find ./usr/share/icons -path '*512*' -name avctviewer.png -exec cp '{}' . ';'
+ find ./usr/share/icons -path '*256*' -name avctviewer.png -exec cp '{}' . ';'
+ ls -lh avctviewer.png
ls: /tmp/.mount_pkg2ap5wpkGN/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by ls)
-rw-r--r-- 1 roger roger 0 Apr 22 00:32 avctviewer.png
+ '[' -z '' ']'
+ get_apprun
+ TARGET_ARCH=x86_64
+ wget -c https://github.com/AppImage/AppImageKit/releases/download/continuous/AppRun-x86_64 -O AppRun
--2024-04-22 00:32:15--  https://github.com/AppImage/AppImageKit/releases/download/continuous/AppRun-x86_64
Resolving github.com (github.com)... 20.26.156.215
Connecting to github.com (github.com)|20.26.156.215|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://objects.githubusercontent.com/github-production-release-asset-2e65be/9435153/534c9b87-8986-40cc-b8cb-45333a07a6a1?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAVCODYLSA53PQK4ZA%2F20240421%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20240421T123212Z&X-Amz-Expires=300&X-Amz-Signature=ee266ff045ad79ecd040f292ef033de22eaa133c3455ff759aaaf2d3415b3f33&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=9435153&response-content-disposition=attachment%3B%20filename%3DAppRun-x86_64&response-content-type=application%2Foctet-stream [following]
--2024-04-22 00:32:16--  https://objects.githubusercontent.com/github-production-release-asset-2e65be/9435153/534c9b87-8986-40cc-b8cb-45333a07a6a1?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAVCODYLSA53PQK4ZA%2F20240421%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20240421T123212Z&X-Amz-Expires=300&X-Amz-Signature=ee266ff045ad79ecd040f292ef033de22eaa133c3455ff759aaaf2d3415b3f33&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=9435153&response-content-disposition=attachment%3B%20filename%3DAppRun-x86_64&response-content-type=application%2Foctet-stream
Resolving objects.githubusercontent.com (objects.githubusercontent.com)... 185.199.111.133, 185.199.109.133, 185.199.110.133, ...
Connecting to objects.githubusercontent.com (objects.githubusercontent.com)|185.199.111.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 31552 (31K) [application/octet-stream]
Saving to: ‘AppRun’

AppRun                              0%[                                         
AppRun                            100%[=========================================
==================>]  30.81K  --.-KB/s    in 0.006s  

2024-04-22 00:32:16 (4.74 MB/s) - ‘AppRun’ saved [31552/31552]

+ chmod a+x AppRun
+ get_desktop
+ find usr/share/applications -iname '*avctviewer.desktop' -exec cp '{}' . ';'
find: /tmp/.mount_pkg2ap5wpkGN/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by find)
+ unset QTPATH
++ find usr/lib -type d -name qt4 -or -name qt5
++ sed -e 's|usr/|../|g'
find: /tmp/.mount_pkg2ap5wpkGN/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by find)
sed: /tmp/.mount_pkg2ap5wpkGN/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by sed)
+ QTPATH=
+ '[' '!' -z ']'
+ '[' -e usr/lib/mono ']'
+ '[' -d ./usr/lib/x86_64-linux-gnu/gstreamer-1.0/ ']'
+ '[' -d ./usr/lib/x86_64-linux-gnu/pulseaudio/ ']'
+ '[' '!' -z '( cd usr; ../../../jre-6u27-linux-x64.bin )' ']'
+ shell_execute /$PROJECTDIR//avctviewer.yml _script
+ '[' -f /tmp/recipe_script ']'
+ parse_yaml /$PROJECTDIR//avctviewer.yml _
+ local prefix=_
+ local s
+ local w
+ local fs
+ s='[[:blank:]]*'
+ w='[a-zA-Z0-9_]*'
+ grep '^_script+='
++ echo @
++ tr @ '\034'
+ fs=$'\034'
+ sed -ne 's|^\([[:blank:]]*\)\([a-zA-Z0-9_]*\)[[:blank:]]*:[[:blank:]]*"\(.*\)"[[:blank:]]*$|\1\2\3|p' -e 's|^\([[:blank:]]*\)\([a-zA-Z0-9_]*\)[[:blank:]]*[:-][[:blank:]]*\(.*\)[[:blank:]]*$|\1\2\3|p' /$PROJECTDIR//avctviewer.yml
+ awk $'-F\034' '{
    indent = length($1)/2;
    vname[indent] = $2;
    for (i in vname) {if (i > indent) {delete vname[i]}}
        if (length($3) > 0) {
            vn=""; for (i=0; i<indent; i++) {vn=(vn)(vname[i])("_")}
            printf("%s%s%s=(\"%s\")\n", "_",vn, $2, $3);
        }
    }'
+ sed s/_=/+=/g
sed: /tmp/.mount_pkg2ap5wpkGN/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by sed)
sed: /tmp/.mount_pkg2ap5wpkGN/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by sed)
+ sed -i -e 's|^_script+=("||g' /tmp/recipe_script
sed: /tmp/.mount_pkg2ap5wpkGN/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by sed)
+ sed -i -e 's|")$||g' /tmp/recipe_script
sed: /tmp/.mount_pkg2ap5wpkGN/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by sed)
+ bash -ex /tmp/recipe_script
+ cd usr
+ ../../../jre-6u27-linux-x64.bin
Unpacking...
Checksumming...
Extracting...
UnZipSFX 5.50 of 17 February 2002, by Info-ZIP (Zip-Bugs@lists.wku.edu).
   creating: jre1.6.0_27/
   creating: jre1.6.0_27/bin/
  inflating: jre1.6.0_27/bin/java    
  inflating: jre1.6.0_27/bin/orbd    
  inflating: jre1.6.0_27/bin/rmid    
  inflating: jre1.6.0_27/bin/keytool  
  inflating: jre1.6.0_27/bin/unpack200  
    linking: jre1.6.0_27/bin/ControlPanel  -> ./jcontrol 
  inflating: jre1.6.0_27/bin/javaws  
  inflating: jre1.6.0_27/bin/tnameserv  
  inflating: jre1.6.0_27/bin/servertool  
  inflating: jre1.6.0_27/bin/pack200  
  inflating: jre1.6.0_27/bin/java_vm  
  inflating: jre1.6.0_27/bin/rmiregistry  
  inflating: jre1.6.0_27/bin/policytool  
  inflating: jre1.6.0_27/bin/jcontrol  
   creating: jre1.6.0_27/lib/
[...  Much Java files removed ... ]
   creating: jre1.6.0_27/javaws/
    linking: jre1.6.0_27/javaws/javaws  -> ../bin/javaws 
   creating: jre1.6.0_27/plugin/
   creating: jre1.6.0_27/plugin/desktop/
 extracting: jre1.6.0_27/plugin/desktop/sun_java.png  
  inflating: jre1.6.0_27/plugin/desktop/sun_java.desktop  
  inflating: jre1.6.0_27/COPYRIGHT   
Creating jre1.6.0_27/lib/rt.jar
Creating jre1.6.0_27/lib/jsse.jar
Creating jre1.6.0_27/lib/charsets.jar
Creating jre1.6.0_27/lib/ext/localedata.jar
Creating jre1.6.0_27/lib/plugin.jar
Creating jre1.6.0_27/lib/javaws.jar
Creating jre1.6.0_27/lib/deploy.jar
sed: /tmp/.mount_pkg2ap5wpkGN/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by sed)
mkdir: /tmp/.mount_pkg2ap5wpkGN/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by mkdir)

Done.
+ mkdir -p etc/java-6-openjdk/security/
mkdir: /tmp/.mount_pkg2ap5wpkGN/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by mkdir)
+ cp ../../java.security etc/java-6-openjdk/security/
cp: /tmp/.mount_pkg2ap5wpkGN/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by cp)
+ rm /tmp/recipe_script
++ find . -name '*.desktop'
++ sort
++ head -n 1
find: /tmp/.mount_pkg2ap5wpkGN/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by find)
+ DESKTOP=./avctviewer.desktop
+ fix_desktop ./avctviewer.desktop
+ for key in Actions Categories Implements Keywords MimeType NotShowIn OnlyShowIn
+ sed -i '/Actions.*[^;]$/s/$/;/' ./avctviewer.desktop
sed: /tmp/.mount_pkg2ap5wpkGN/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by sed)
+ for key in Actions Categories Implements Keywords MimeType NotShowIn OnlyShowIn
+ sed -i '/Categories.*[^;]$/s/$/;/' ./avctviewer.desktop
sed: /tmp/.mount_pkg2ap5wpkGN/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by sed)
+ for key in Actions Categories Implements Keywords MimeType NotShowIn OnlyShowIn
+ sed -i '/Implements.*[^;]$/s/$/;/' ./avctviewer.desktop
sed: /tmp/.mount_pkg2ap5wpkGN/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by sed)
+ for key in Actions Categories Implements Keywords MimeType NotShowIn OnlyShowIn
+ sed -i '/Keywords.*[^;]$/s/$/;/' ./avctviewer.desktop
sed: /tmp/.mount_pkg2ap5wpkGN/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by sed)
+ for key in Actions Categories Implements Keywords MimeType NotShowIn OnlyShowIn
+ sed -i '/MimeType.*[^;]$/s/$/;/' ./avctviewer.desktop
sed: /tmp/.mount_pkg2ap5wpkGN/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by sed)
+ for key in Actions Categories Implements Keywords MimeType NotShowIn OnlyShowIn
+ sed -i '/NotShowIn.*[^;]$/s/$/;/' ./avctviewer.desktop
sed: /tmp/.mount_pkg2ap5wpkGN/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by sed)
+ for key in Actions Categories Implements Keywords MimeType NotShowIn OnlyShowIn
+ sed -i '/OnlyShowIn.*[^;]$/s/$/;/' ./avctviewer.desktop
sed: /tmp/.mount_pkg2ap5wpkGN/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by sed)
+ '[' -z ./avctviewer.desktop ']'
+ desktop-file-validate ./avctviewer.desktop
++ grep -o '^Exec=.*$' ./avctviewer.desktop
++ head -n 1
++ cut -d ' ' -f 1
+ ORIG=Exec=avctviewer
+++ grep -o '^Exec=.*$' ./avctviewer.desktop
+++ head -n 1
+++ cut -d ' ' -f 1
+++ sed -e 's|Exec=||g'
sed: /tmp/.mount_pkg2ap5wpkGN/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by sed)
++ basename avctviewer
+ REPL=avctviewer
+ sed -i -e 's|Exec=avctviewer|Exec=avctviewer|g' ./avctviewer.desktop
sed: /tmp/.mount_pkg2ap5wpkGN/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by sed)
+ '[' -d usr/share/glib-2.0/schemas/ ']'
+ '[' -f ../VERSION ']'
+ get_version
++ find '../*.deb' -name 'avctviewer_*'
++ head -n 1
find: /tmp/.mount_pkg2ap5wpkGN/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by find)
find: ‘../*.deb’: No such file or directory
+ THEDEB=
+ '[' -z '' ']'
+ echo 'Version could not be determined from the .deb; you need to determine it manually'
Version could not be determined from the .deb; you need to determine it manually

++ echo
++ cut -d '~' -f 1
++ cut -d _ -f 2
++ cut -d - -f 1
++ sed -e 's|1%3a||g'
++ sed -e 's|.dfsg||g'
sed: /tmp/.mount_pkg2ap5wpkGN/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by sed)
sed: /tmp/.mount_pkg2ap5wpkGN/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by sed)
+ VERSION=
+ echo

+ '[' '!' -z '' ']'
+ '[' '!' -z '' ']'
+ delete_blacklisted
++ cat_file_from_url https://github.com/AppImage/pkg2appimage/raw/master/excludelist
++ cat_excludelist='wget -q https://github.com/AppImage/pkg2appimage/raw/master/excludelist -O -'
++ sed 's|#.*||g'
++ '[' -e /excludelist ']'
++ wget -q https://github.com/AppImage/pkg2appimage/raw/master/excludelist -O -sed: /tmp/.mount_pkg2ap5wpkGN/usr/lib/x86_64-linux-gnu/libselinux.so.1: no versi
on information available (required by sed)
+ BLACKLISTED_FILES='

ld-linux.so.2
ld-linux-x86-64.so.2
libanl.so.1
libBrokenLocale.so.1
libcidn.so.1

libc.so.6
libdl.so.2
libm.so.6
libmvec.so.1

libnss_compat.so.2

libnss_dns.so.2
libnss_files.so.2
libnss_hesiod.so.2
libnss_nisplus.so.2
libnss_nis.so.2
libpthread.so.0
libresolv.so.2
librt.so.1
libthread_db.so.1
libutil.so.1

libstdc++.so.6

libGL.so.1

libEGL.so.1

libGLdispatch.so.0
libGLX.so.0

libOpenGL.so.0

libdrm.so.2

libglapi.so.0

libgbm.so.1

libxcb.so.1

libX11.so.6

libX11-xcb.so.1

libasound.so.2

libfontconfig.so.1

libthai.so.0

libfreetype.so.6
libharfbuzz.so.0

libcom_err.so.2
libexpat.so.1
libgcc_s.so.1
libgpg-error.so.0

libICE.so.6

libSM.so.6
libusb-1.0.so.0
libuuid.so.1

libz.so.1

libgpg-error.so.0

libjack.so.0

libxcb-dri3.so.0 
libxcb-dri2.so.0 

libfribidi.so.0 

libgmp.so.10'
+ echo ld-linux.so.2 ld-linux-x86-64.so.2 libanl.so.1 libBrokenLocale.so.1 libcidn.so.1 libc.so.6 libdl.so.2 libm.so.6 libmvec.so.1 libnss_compat.so.2 libnss_dns.so.2 libnss_files.so.2 libnss_hesiod.so.2 libnss_nisplus.so.2 libnss_nis.so.2 libpthread.so.0 libresolv.so.2 librt.so.1 libthread_db.so.1 libutil.so.1 libstdc++.so.6 libGL.so.1 libEGL.so.1 libGLdispatch.so.0 libGLX.so.0 libOpenGL.so.0 libdrm.so.2 libglapi.so.0 libgbm.so.1 libxcb.so.1 libX11.so.6 libX11-xcb.so.1 libasound.so.2 libfontconfig.so.1 libthai.so.0 libfreetype.so.6 libharfbuzz.so.0 libcom_err.so.2 libexpat.so.1 libgcc_s.so.1 libgpg-error.so.0 libICE.so.6 libSM.so.6 libusb-1.0.so.0 libuuid.so.1 libz.so.1 libgpg-error.so.0 libjack.so.0 libxcb-dri3.so.0 libxcb-dri2.so.0 libfribidi.so.0 libgmp.so.10ld-linux.so.2 ld-linux-x86-64.so.2 libanl.so.1 libBrokenLocale.so.1 libcidn.so.1 libc.so.6 libdl.so.2 libm.so.6 libmvec.so.1 libnss_compat.so.2 libnss_dns.so.2 libnss_files.so.2 libnss_hesiod.so.2 libnss_nisplus.so.2 libnss_nis.so.2 libpthread.so.0 libresolv.so.2 librt.so.1 libthread_db.so.1 libutil.so.1 libstdc++.so.6 libGL.so.1 libEGL.so.1 libGLdispatch.so.0 libGLX.so.0 libOpenGL.so.0 libdrm.so.2 libglapi.so.0 libgbm.so.1 libxcb.so.1 libX11.so.6 libX11-xcb.so.1 libasound.so.2 libfontconfig.so.1 libthai.so.0 libfreetype.so.6 libharfbuzz.so.0 libcom_err.so.2 libexpat.so.1 libgcc_s.so.1 libgpg-error.so.0 libICE.so.6 libSM.so.6 libusb-1.0.so.0 libuuid.so.1 libz.so.1 libgpg-error.so.0 libjack.so.0 libxcb-dri3.so.0 libxcb-dri2.so.0 libfribidi.so.0 libgmp.so.10
++ readlink -f .
+ local DOT_DIR=/$PROJECTDIR//avctviewer/avctviewer.AppDir
+ local TARGET
+ for FILE in $BLACKLISTED_FILES
++ find . -name ld-linux.so.2 -not -path './usr/optional/*'
find: /tmp/.mount_pkg2ap5wpkGN/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by find)
+ FILES=
+ for FILE in $BLACKLISTED_FILES
++ find . -name ld-linux-x86-64.so.2 -not -path './usr/optional/*'
find: /tmp/.mount_pkg2ap5wpkGN/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by find)
+ FILES=
+ for FILE in $BLACKLISTED_FILES
++ find . -name libanl.so.1 -not -path './usr/optional/*'
find: /tmp/.mount_pkg2ap5wpkGN/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by find)
+ FILES=
+ for FILE in $BLACKLISTED_FILES
++ find . -name libBrokenLocale.so.1 -not -path './usr/optional/*'
find: /tmp/.mount_pkg2ap5wpkGN/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by find)
+ FILES=
+ for FILE in $BLACKLISTED_FILES
++ find . -name libcidn.so.1 -not -path './usr/optional/*'
find: /tmp/.mount_pkg2ap5wpkGN/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by find)
+ FILES=
+ for FILE in $BLACKLISTED_FILES
++ find . -name libc.so.6 -not -path './usr/optional/*'
find: /tmp/.mount_pkg2ap5wpkGN/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by find)
+ FILES=
+ for FILE in $BLACKLISTED_FILES
++ find . -name libdl.so.2 -not -path './usr/optional/*'
find: /tmp/.mount_pkg2ap5wpkGN/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by find)
+ FILES=
+ for FILE in $BLACKLISTED_FILES
++ find . -name libm.so.6 -not -path './usr/optional/*'
find: /tmp/.mount_pkg2ap5wpkGN/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by find)
+ FILES=
+ for FILE in $BLACKLISTED_FILES
++ find . -name libmvec.so.1 -not -path './usr/optional/*'
find: /tmp/.mount_pkg2ap5wpkGN/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by find)
+ FILES=
+ for FILE in $BLACKLISTED_FILES
++ find . -name libnss_compat.so.2 -not -path './usr/optional/*'
find: /tmp/.mount_pkg2ap5wpkGN/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by find)
+ FILES=
+ for FILE in $BLACKLISTED_FILES
++ find . -name libnss_dns.so.2 -not -path './usr/optional/*'
find: /tmp/.mount_pkg2ap5wpkGN/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by find)
+ FILES=
+ for FILE in $BLACKLISTED_FILES
++ find . -name libnss_files.so.2 -not -path './usr/optional/*'
find: /tmp/.mount_pkg2ap5wpkGN/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by find)
+ FILES=
+ for FILE in $BLACKLISTED_FILES
++ find . -name libnss_hesiod.so.2 -not -path './usr/optional/*'
find: /tmp/.mount_pkg2ap5wpkGN/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by find)
+ FILES=
+ for FILE in $BLACKLISTED_FILES
++ find . -name libnss_nisplus.so.2 -not -path './usr/optional/*'
find: /tmp/.mount_pkg2ap5wpkGN/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by find)
+ FILES=
+ for FILE in $BLACKLISTED_FILES
++ find . -name libnss_nis.so.2 -not -path './usr/optional/*'
find: /tmp/.mount_pkg2ap5wpkGN/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by find)
+ FILES=
+ for FILE in $BLACKLISTED_FILES
++ find . -name libpthread.so.0 -not -path './usr/optional/*'
find: /tmp/.mount_pkg2ap5wpkGN/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by find)
+ FILES=
+ for FILE in $BLACKLISTED_FILES
++ find . -name libresolv.so.2 -not -path './usr/optional/*'
find: /tmp/.mount_pkg2ap5wpkGN/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by find)
+ FILES=
+ for FILE in $BLACKLISTED_FILES
++ find . -name librt.so.1 -not -path './usr/optional/*'
find: /tmp/.mount_pkg2ap5wpkGN/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by find)
+ FILES=
+ for FILE in $BLACKLISTED_FILES
++ find . -name libthread_db.so.1 -not -path './usr/optional/*'
find: /tmp/.mount_pkg2ap5wpkGN/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by find)
+ FILES=
+ for FILE in $BLACKLISTED_FILES
++ find . -name libutil.so.1 -not -path './usr/optional/*'
find: /tmp/.mount_pkg2ap5wpkGN/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by find)
+ FILES=
+ for FILE in $BLACKLISTED_FILES
++ find . -name libstdc++.so.6 -not -path './usr/optional/*'
find: /tmp/.mount_pkg2ap5wpkGN/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by find)
+ FILES=
+ for FILE in $BLACKLISTED_FILES
++ find . -name libGL.so.1 -not -path './usr/optional/*'
find: /tmp/.mount_pkg2ap5wpkGN/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by find)
+ FILES=
+ for FILE in $BLACKLISTED_FILES
++ find . -name libEGL.so.1 -not -path './usr/optional/*'
find: /tmp/.mount_pkg2ap5wpkGN/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by find)
+ FILES=
+ for FILE in $BLACKLISTED_FILES
++ find . -name libGLdispatch.so.0 -not -path './usr/optional/*'
find: /tmp/.mount_pkg2ap5wpkGN/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by find)
+ FILES=
+ for FILE in $BLACKLISTED_FILES
++ find . -name libGLX.so.0 -not -path './usr/optional/*'
find: /tmp/.mount_pkg2ap5wpkGN/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by find)
+ FILES=
+ for FILE in $BLACKLISTED_FILES
++ find . -name libOpenGL.so.0 -not -path './usr/optional/*'
find: /tmp/.mount_pkg2ap5wpkGN/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by find)
+ FILES=
+ for FILE in $BLACKLISTED_FILES
++ find . -name libdrm.so.2 -not -path './usr/optional/*'
find: /tmp/.mount_pkg2ap5wpkGN/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by find)
+ FILES=
+ for FILE in $BLACKLISTED_FILES
++ find . -name libglapi.so.0 -not -path './usr/optional/*'
find: /tmp/.mount_pkg2ap5wpkGN/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by find)
+ FILES=
+ for FILE in $BLACKLISTED_FILES
++ find . -name libgbm.so.1 -not -path './usr/optional/*'
find: /tmp/.mount_pkg2ap5wpkGN/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by find)
+ FILES=
+ for FILE in $BLACKLISTED_FILES
++ find . -name libxcb.so.1 -not -path './usr/optional/*'
find: /tmp/.mount_pkg2ap5wpkGN/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by find)
+ FILES=
+ for FILE in $BLACKLISTED_FILES
++ find . -name libX11.so.6 -not -path './usr/optional/*'
find: /tmp/.mount_pkg2ap5wpkGN/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by find)
+ FILES=
+ for FILE in $BLACKLISTED_FILES
++ find . -name libX11-xcb.so.1 -not -path './usr/optional/*'
find: /tmp/.mount_pkg2ap5wpkGN/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by find)
+ FILES=
+ for FILE in $BLACKLISTED_FILES
++ find . -name libasound.so.2 -not -path './usr/optional/*'
find: /tmp/.mount_pkg2ap5wpkGN/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by find)
+ FILES=
+ for FILE in $BLACKLISTED_FILES
++ find . -name libfontconfig.so.1 -not -path './usr/optional/*'
find: /tmp/.mount_pkg2ap5wpkGN/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by find)
+ FILES=
+ for FILE in $BLACKLISTED_FILES
++ find . -name libthai.so.0 -not -path './usr/optional/*'
find: /tmp/.mount_pkg2ap5wpkGN/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by find)
+ FILES=
+ for FILE in $BLACKLISTED_FILES
++ find . -name libfreetype.so.6 -not -path './usr/optional/*'
find: /tmp/.mount_pkg2ap5wpkGN/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by find)
+ FILES=
+ for FILE in $BLACKLISTED_FILES
++ find . -name libharfbuzz.so.0 -not -path './usr/optional/*'
find: /tmp/.mount_pkg2ap5wpkGN/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by find)
+ FILES=
+ for FILE in $BLACKLISTED_FILES
++ find . -name libcom_err.so.2 -not -path './usr/optional/*'
find: /tmp/.mount_pkg2ap5wpkGN/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by find)
+ FILES=
+ for FILE in $BLACKLISTED_FILES
++ find . -name libexpat.so.1 -not -path './usr/optional/*'
find: /tmp/.mount_pkg2ap5wpkGN/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by find)
+ FILES=
+ for FILE in $BLACKLISTED_FILES
++ find . -name libgcc_s.so.1 -not -path './usr/optional/*'
find: /tmp/.mount_pkg2ap5wpkGN/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by find)
+ FILES=
+ for FILE in $BLACKLISTED_FILES
++ find . -name libgpg-error.so.0 -not -path './usr/optional/*'
find: /tmp/.mount_pkg2ap5wpkGN/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by find)
+ FILES=
+ for FILE in $BLACKLISTED_FILES
++ find . -name libICE.so.6 -not -path './usr/optional/*'
find: /tmp/.mount_pkg2ap5wpkGN/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by find)
+ FILES=
+ for FILE in $BLACKLISTED_FILES
++ find . -name libSM.so.6 -not -path './usr/optional/*'
find: /tmp/.mount_pkg2ap5wpkGN/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by find)
+ FILES=
+ for FILE in $BLACKLISTED_FILES
++ find . -name libusb-1.0.so.0 -not -path './usr/optional/*'
find: /tmp/.mount_pkg2ap5wpkGN/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by find)
+ FILES=
+ for FILE in $BLACKLISTED_FILES
++ find . -name libuuid.so.1 -not -path './usr/optional/*'
find: /tmp/.mount_pkg2ap5wpkGN/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by find)
+ FILES=
+ for FILE in $BLACKLISTED_FILES
++ find . -name libz.so.1 -not -path './usr/optional/*'
find: /tmp/.mount_pkg2ap5wpkGN/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by find)
+ FILES=
+ for FILE in $BLACKLISTED_FILES
++ find . -name libgpg-error.so.0 -not -path './usr/optional/*'
find: /tmp/.mount_pkg2ap5wpkGN/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by find)
+ FILES=
+ for FILE in $BLACKLISTED_FILES
++ find . -name libjack.so.0 -not -path './usr/optional/*'
find: /tmp/.mount_pkg2ap5wpkGN/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by find)
+ FILES=
+ for FILE in $BLACKLISTED_FILES
++ find . -name libxcb-dri3.so.0 -not -path './usr/optional/*'
find: /tmp/.mount_pkg2ap5wpkGN/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by find)
+ FILES=
+ for FILE in $BLACKLISTED_FILES
++ find . -name libxcb-dri2.so.0 -not -path './usr/optional/*'
find: /tmp/.mount_pkg2ap5wpkGN/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by find)
+ FILES=
+ for FILE in $BLACKLISTED_FILES
++ find . -name libfribidi.so.0 -not -path './usr/optional/*'
find: /tmp/.mount_pkg2ap5wpkGN/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by find)
+ FILES=
+ for FILE in $BLACKLISTED_FILES
++ find . -name libgmp.so.10 -not -path './usr/optional/*'
find: /tmp/.mount_pkg2ap5wpkGN/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by find)
+ FILES=
+ rm -rf usr/include
+ rm -rf usr/lib/cmake
+ rm -rf usr/lib/pkgconfig
+ find . -name '*.la'
+ xargs -i rm '{}'
find: /tmp/.mount_pkg2ap5wpkGN/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by find)
+ '[' no = yes ']'
+ sed -i -e 's|\.png||g' avctviewer.desktop
sed: /tmp/.mount_pkg2ap5wpkGN/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by sed)
+ sed -i -e 's|\.svg||g' avctviewer.desktop
sed: /tmp/.mount_pkg2ap5wpkGN/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by sed)
+ sed -i -e 's|\.svgz||g' avctviewer.desktop
sed: /tmp/.mount_pkg2ap5wpkGN/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by sed)
+ sed -i -e 's|\.xpm||g' avctviewer.desktop
sed: /tmp/.mount_pkg2ap5wpkGN/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by sed)
+ '[' '!' -z '' ']'
+ cd ..
+ '[' -z '' ']'
+ generate_type2_appimage
++ which appimagetool
+ '[' -z /tmp/.mount_pkg2ap5wpkGN/usr/bin//appimagetool ']'
++ which appimagetool
+ appimagetool=/tmp/.mount_pkg2ap5wpkGN/usr/bin//appimagetool
+ '[' '' ']'
+ '[' -z ']'
++ glibc_needed
++ find . -name '*.so' -or -name '*.so.*' -or -type f -executable -exec strings '{}' ';'
++ grep '^GLIBC_2'
++ sed s/GLIBC_//g
++ sort --version-sort
++ uniq
++ tail -n 1
find: /tmp/.mount_pkg2ap5wpkGN/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by find)
sed: /tmp/.mount_pkg2ap5wpkGN/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by sed)
+ GLIBC_NEEDED=2.3
+ VERSION_EXPANDED=.glibc2.3
+ set +x
find: /tmp/.mount_pkg2ap5wpkGN/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by find)
sed: /tmp/.mount_pkg2ap5wpkGN/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by sed)
appimagetool, continuous build (commit 5735cc5), build <local dev build> built on 2023-03-08 22:52:04 UTC
Desktop file: /$PROJECTDIR//avctviewer/avctviewer.AppDir/avct
viewer.desktop
Name: Avocent KVM Console viewer
Icon: avctviewer
Exec: avctviewer %u
Comment entry not found in desktop file
Comment: (null)
Type: Application
Categories: Network;RemoteAccess;Java;
/$PROJECTDIR//avctviewer/avctviewer.AppDir/AppRun used for determining architecture x86_64
/$PROJECTDIR//avctviewer/avctviewer.AppDir/usr/jre1.6.0_27/bin/servertool used for determining architecture x86_64
/$PROJECTDIR//avctviewer/avctviewer.AppDir/usr/jre1.6.0_27/bin/rmid used for determining architecture x86_64
/$PROJECTDIR//avctviewer/avctviewer.AppDir/usr/jre1.6.0_27/bin/tnameserv used for determining architecture x86_64
/$PROJECTDIR//avctviewer/avctviewer.AppDir/usr/jre1.6.0_27/bin/policytool used for determining architecture x86_64
/$PROJECTDIR//avctviewer/avctviewer.AppDir/usr/jre1.6.0_27/bin/rmiregistry used for determining architecture x86_64
/$PROJECTDIR//avctviewer/avctviewer.AppDir/usr/jre1.6.0_27/bin/java used for determining architecture x86_64
/$PROJECTDIR//avctviewer/avctviewer.AppDir/usr/jre1.6.0_27/bin/pack200 used for determining architecture x86_64
/$PROJECTDIR//avctviewer/avctviewer.AppDir/usr/jre1.6.0_27/bin/keytool used for determining architecture x86_64
/$PROJECTDIR//avctviewer/avctviewer.AppDir/usr/jre1.6.0_27/bin/unpack200 used for determining architecture x86_64
/$PROJECTDIR//avctviewer/avctviewer.AppDir/usr/jre1.6.0_27/bin/javaws used for determining architecture x86_64
/$PROJECTDIR//avctviewer/avctviewer.AppDir/usr/jre1.6.0_27/bin/java_vm used for determining architecture x86_64
/$PROJECTDIR//avctviewer/avctviewer.AppDir/usr/jre1.6.0_27/bin/orbd used for determining architecture x86_64
/$PROJECTDIR//avctviewer/avctviewer.AppDir/usr/jre1.6.0_27/lib/amd64/libcmm.so used for determining architecture x86_64
/$PROJECTDIR//avctviewer/avctviewer.AppDir/usr/jre1.6.0_27/lib/amd64/libnio.so used for determining architecture x86_64
/$PROJECTDIR//avctviewer/avctviewer.AppDir/usr/jre1.6.0_27/lib/amd64/libunpack.so used for determining architecture x86_64
/$PROJECTDIR//avctviewer/avctviewer.AppDir/usr/jre1.6.0_27/lib/amd64/libdeploy.so used for determining architecture x86_64
/$PROJECTDIR//avctviewer/avctviewer.AppDir/usr/jre1.6.0_27/lib/amd64/libdcpr.so used for determining architecture x86_64
/$PROJECTDIR//avctviewer/avctviewer.AppDir/usr/jre1.6.0_27/lib/amd64/xawt/libmawt.so used for determining architecture x86_64
/$PROJECTDIR//avctviewer/avctviewer.AppDir/usr/jre1.6.0_27/lib/amd64/motif21/libmawt.so used for determining architecture x86_64
/$PROJECTDIR//avctviewer/avctviewer.AppDir/usr/jre1.6.0_27/lib/amd64/libjsoundalsa.so used for determining architecture x86_64
/$PROJECTDIR//avctviewer/avctviewer.AppDir/usr/jre1.6.0_27/lib/amd64/libdt_socket.so used for determining architecture x86_64
/$PROJECTDIR//avctviewer/avctviewer.AppDir/usr/jre1.6.0_27/lib/amd64/libawt.so used for determining architecture x86_64
/$PROJECTDIR//avctviewer/avctviewer.AppDir/usr/jre1.6.0_27/lib/amd64/libmlib_image.so used for determining architecture x86_64
/$PROJECTDIR//avctviewer/avctviewer.AppDir/usr/jre1.6.0_27/lib/amd64/libjdwp.so used for determining architecture x86_64
/$PROJECTDIR//avctviewer/avctviewer.AppDir/usr/jre1.6.0_27/lib/amd64/libnpt.so used for determining architecture x86_64
/$PROJECTDIR//avctviewer/avctviewer.AppDir/usr/jre1.6.0_27/lib/amd64/libnative_chmod_g.so used for determining architecture x86_64
/$PROJECTDIR//avctviewer/avctviewer.AppDir/usr/jre1.6.0_27/lib/amd64/libjsig.so used for determining architecture x86_64
/$PROJECTDIR//avctviewer/avctviewer.AppDir/usr/jre1.6.0_27/lib/amd64/libj2pcsc.so used for determining architecture x86_64
/$PROJECTDIR//avctviewer/avctviewer.AppDir/usr/jre1.6.0_27/lib/amd64/libjava.so used for determining architecture x86_64
/$PROJECTDIR//avctviewer/avctviewer.AppDir/usr/jre1.6.0_27/lib/amd64/libmanagement.so used for determining architecture x86_64
/$PROJECTDIR//avctviewer/avctviewer.AppDir/usr/jre1.6.0_27/lib/amd64/libnet.so used for determining architecture x86_64
/$PROJECTDIR//avctviewer/avctviewer.AppDir/usr/jre1.6.0_27/lib/amd64/libjpeg.so used for determining architecture x86_64
/$PROJECTDIR//avctviewer/avctviewer.AppDir/usr/jre1.6.0_27/lib/amd64/libioser12.so used for determining architecture x86_64
/$PROJECTDIR//avctviewer/avctviewer.AppDir/usr/jre1.6.0_27/lib/amd64/libfontmanager.so used for determining architecture x86_64
/$PROJECTDIR//avctviewer/avctviewer.AppDir/usr/jre1.6.0_27/lib/amd64/libinstrument.so used for determining architecture x86_64
/$PROJECTDIR//avctviewer/avctviewer.AppDir/usr/jre1.6.0_27/lib/amd64/native_threads/libhpi.so used for determining architecture x86_64
/$PROJECTDIR//avctviewer/avctviewer.AppDir/usr/jre1.6.0_27/lib/amd64/libjsound.so used for determining architecture x86_64
/$PROJECTDIR//avctviewer/avctviewer.AppDir/usr/jre1.6.0_27/lib/amd64/libjaas_unix.so used for determining architecture x86_64
/$PROJECTDIR//avctviewer/avctviewer.AppDir/usr/jre1.6.0_27/lib/amd64/libhprof.so used for determining architecture x86_64
/$PROJECTDIR//avctviewer/avctviewer.AppDir/usr/jre1.6.0_27/lib/amd64/libJdbcOdbc.so used for determining architecture x86_64
/$PROJECTDIR//avctviewer/avctviewer.AppDir/usr/jre1.6.0_27/lib/amd64/librmi.so used for determining architecture x86_64
/$PROJECTDIR//avctviewer/avctviewer.AppDir/usr/jre1.6.0_27/lib/amd64/jli/libjli.so used for determining architecture x86_64
/$PROJECTDIR//avctviewer/avctviewer.AppDir/usr/jre1.6.0_27/lib/amd64/libjava_crw_demo.so used for determining architecture x86_64
/$PROJECTDIR//avctviewer/avctviewer.AppDir/usr/jre1.6.0_27/lib/amd64/libnative_chmod.so used for determining architecture x86_64
/$PROJECTDIR//avctviewer/avctviewer.AppDir/usr/jre1.6.0_27/lib/amd64/server/libjvm.so used for determining architecture x86_64
/$PROJECTDIR//avctviewer/avctviewer.AppDir/usr/jre1.6.0_27/lib/amd64/libverify.so used for determining architecture x86_64
/$PROJECTDIR//avctviewer/avctviewer.AppDir/usr/jre1.6.0_27/lib/amd64/libzip.so used for determining architecture x86_64
/$PROJECTDIR//avctviewer/avctviewer.AppDir/usr/jre1.6.0_27/lib/amd64/libjawt.so used for determining architecture x86_64
/$PROJECTDIR//avctviewer/avctviewer.AppDir/usr/jre1.6.0_27/lib/amd64/libnpjp2.so used for determining architecture x86_64
/$PROJECTDIR//avctviewer/avctviewer.AppDir/usr/jre1.6.0_27/lib/amd64/headless/libmawt.so used for determining architecture x86_64
/$PROJECTDIR//avctviewer/avctviewer.AppDir/usr/jre1.6.0_27/lib/amd64/libj2pkcs11.so used for determining architecture x86_64
/$PROJECTDIR//avctviewer/avctviewer.AppDir/usr/jre1.6.0_27/lib/amd64/libjavaplugin_jni.so used for determining architecture x86_64
/$PROJECTDIR//avctviewer/avctviewer.AppDir/usr/jre1.6.0_27/lib/amd64/libsplashscreen.so used for determining architecture x86_64
/$PROJECTDIR//avctviewer/avctviewer.AppDir/usr/jre1.6.0_27/lib/amd64/libj2gss.so used for determining architecture x86_64
/$PROJECTDIR//avctviewer/avctviewer.AppDir/usr/jre1.6.0_27/lib/jexec used for determining architecture x86_64
Using architecture x86_64
App name for filename: Avocent_KVM_Console_viewer
/$PROJECTDIR//avctviewer/avctviewer.AppDir should be packaged
 as Avocent_KVM_Console_viewer-.glibc2.3-x86_64.AppImage
Deleting pre-existing .DirIcon
Creating .DirIcon symlink based on information from desktop file
Generating squashfs...
Size of the embedded runtime: 193728 bytes
mksquashfs commandline: /tmp/.mount_pkg2ap5wpkGN/usr/bin/../lib/appimagekit/mksquashfs /$PROJECTDIR//avctviewer/avctviewer.AppDir Avocent_KVM
_Console_viewer-.glibc2.3-x86_64.AppImage -offset 193728 -comp gzip -root-owned -noappend -mkfs-time 0 
Parallel mksquashfs: Using 16 processors
Creating 4.0 filesystem on Avocent_KVM_Console_viewer-.glibc2.3-x86_64.AppImage,
 block size 131072.
[=======|                                                                       
[=========================================-                                     
[===============================================================================
====================================-] 1378/1378 100%

Exportable Squashfs 4.0 filesystem, gzip compressed, data block size 131072
compressed data, compressed metadata, compressed fragments,
compressed xattrs, compressed ids
duplicates are removed
Filesystem size 32517.33 Kbytes (31.76 Mbytes)
35.95% of uncompressed filesystem size (90448.45 Kbytes)
Inode table size 9549 bytes (9.33 Kbytes)
31.35% of uncompressed inode table size (30461 bytes)
Directory table size 8706 bytes (8.50 Kbytes)
49.82% of uncompressed directory table size (17474 bytes)
Number of duplicate files found 65
Number of inodes 864
Number of files 724
Number of fragments 35
Number of symbolic links  5
Number of device nodes 0
Number of fifo nodes 0
Number of socket nodes 0
Number of directories 135
Number of ids (unique uids + gids) 1
Number of uids 1
root (0)
Number of gids 1
root (0)
Embedding ELF...
Marking the AppImage as executable...
Embedding MD5 digest
Success

Please consider submitting your AppImage to AppImageHub, the crowd-sourced
central directory of available AppImages, by opening a pull request
at https://github.com/AppImage/appimage.github.io
+ mkdir -p ../out/
mkdir: /tmp/.mount_pkg2ap5wpkGN/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by mkdir)
+ mv Avocent_KVM_Console_viewer-.glibc2.3-x86_64.AppImage ../out/
mv: /tmp/.mount_pkg2ap5wpkGN/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by mv)
+ ls -lh ../out/Avocent_KVM_Console_viewer-.glibc2.3-x86_64.AppImage
ls: /tmp/.mount_pkg2ap5wpkGN/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by ls)
-rwxr-xr-x 1 roger roger 32M Apr 22 00:32 ../out/Avocent_KVM_Console_viewer-.glibc2.3-x86_64.AppImage

Hope this helps.

jelabarre59 commented 5 months ago

It finally compiled with your edits. I've had to remove AppimageLauncher to get the compiled appimage to run though. And now I have a new error (to be posted in a new issue)