kuiperzone / PupNet-HelloWorld

A Hello World demonstration for PupNet Deploy cross-platform utility for .NET
GNU Affero General Public License v3.0
3 stars 0 forks source link

"execv error: No such file or directory" on current version of the demo appimage #2

Closed AQDuck97 closed 1 year ago

AQDuck97 commented 1 year ago

OS: Arch Linux 6.2.8-zen kernel .NET: 7.0.103 PupNet: 1.2.1

My first attempts at running the demo appimage was by running pupnet -k appimage from the cloned repo and while it was built successfully, when I tried to run it I was greeted by the above error. I made sure that the name was correct and that I had execution rights.

I then tried to download the latest appimage from the "patch" release and it also failed to run, however when I tried the initial release version it finally worked without a hitch.

Out of curiosity I also tried your other app "AvantGarde", and the latest release appimage works fine as well, however when I try and build my own from the source I get the same error again when I try to run that version.

Here's the log of the build of helloworld demo:

$ pupnet -k appimage --verbose

PupNet Deploy 1.2.1
Configuration: [None]

============================================================
APPLICATION: HelloWorld 1.0.1 [1]
============================================================

AppBaseName: HelloWorld
AppId: zone.kuiper.helloworld
AppVersion: 1.0.1
PackageRelease: 1
StartCommand: helloworld [Not Supported]

============================================================
OUTPUT: APPIMAGE
============================================================

PackageKind: AppImage
Runtime: linux-x64
Arch: Auto (x86_64)
Build: Release
OutputName: HelloWorld.x86_64.AppImage
OutputDirectory: /home/kde/RiderProjects/PupNet-HelloWorld/Deploy/bin

============================================================
CONFIGURATION: HelloWorld.pupnet.conf
============================================================

# PUPNET DEPLOY: 1.2.1

# APP PREAMBLE
AppBaseName = HelloWorld
AppFriendlyName = Hello World
AppId = zone.kuiper.helloworld
AppVersionRelease = 1.0.1[1]
AppShortSummary = A Hello World application
AppLicenseId = GPL-3.0-or-later
AppLicenseFile = /home/kde/RiderProjects/PupNet-HelloWorld/Deploy/LICENSE

# PUBLISHER
PublisherName = Kuiper Zone
PublisherCopyright = Copyright (C) Kuiper 2023
PublisherLinkName = Home Page
PublisherLinkUrl = https://kuiper.zone
PublisherEmail = nobody@kuiper.zone

# DESKTOP INTEGRATION
DesktopNoDisplay = false
DesktopTerminal = true
DesktopFile = /home/kde/RiderProjects/PupNet-HelloWorld/Deploy/app.desktop
StartCommand = helloworld
PrimeCategory = Utility
MetaFile = /home/kde/RiderProjects/PupNet-HelloWorld/Deploy/app.metainfo.xml
IconFiles = """
    /home/kde/RiderProjects/PupNet-HelloWorld/Deploy/HelloWorld.16x16.png
    /home/kde/RiderProjects/PupNet-HelloWorld/Deploy/HelloWorld.24x24.png
    /home/kde/RiderProjects/PupNet-HelloWorld/Deploy/HelloWorld.32x32.png
    /home/kde/RiderProjects/PupNet-HelloWorld/Deploy/HelloWorld.48x48.png
    /home/kde/RiderProjects/PupNet-HelloWorld/Deploy/HelloWorld.64x64.png
    /home/kde/RiderProjects/PupNet-HelloWorld/Deploy/HelloWorld.svg
    /home/kde/RiderProjects/PupNet-HelloWorld/Deploy/HelloWorld.ico
"""

# DOTNET PUBLISH
DotnetProjectPath = /home/kde/RiderProjects/PupNet-HelloWorld
DotnetPublishArgs = -p:Version=${APP_VERSION} --self-contained true -p:DebugType=None -p:DebugSymbols=false
DotnetPostPublish = /home/kde/RiderProjects/PupNet-HelloWorld/Deploy/PostPublish.sh
DotnetPostPublishOnWindows = /home/kde/RiderProjects/PupNet-HelloWorld/Deploy/PostPublish.bat

# PACKAGE OUTPUT
PackageName = HelloWorld
OutputDirectory = /home/kde/RiderProjects/PupNet-HelloWorld/Deploy/bin

# APPIMAGE OPTIONS
AppImageArgs = 
AppImageVersionOutput = false

# FLATPAK OPTIONS
FlatpakPlatformRuntime = org.freedesktop.Platform
FlatpakPlatformSdk = org.freedesktop.Sdk
FlatpakPlatformVersion = 22.08
FlatpakFinishArgs = """
    --socket=wayland
    --socket=x11
    --filesystem=host
    --share=network
"""
FlatpakBuilderArgs = 

# WINDOWS SETUP OPTIONS
SetupAdminInstall = false
SetupCommandPrompt = Command Prompt
SetupMinWindowsVersion = 10
SetupSignTool = 
SetupSuffixOutput = 
SetupVersionOutput = false

============================================================
DESKTOP: app.desktop
============================================================

[Desktop Entry]
Type=Application
Name=Hello World
Icon=zone.kuiper.helloworld
Comment=A Hello World application
Exec=usr/bin/HelloWorld
TryExec=usr/bin/HelloWorld
NoDisplay=false
X-AppImage-Integrate=true
Terminal=true
Categories=Utility
MimeType=
Keywords=

============================================================
DEPLOY ASSETS
============================================================

usr/share/icons/hicolor/16x16/apps/zone.kuiper.helloworld.png
usr/share/icons/hicolor/24x24/apps/zone.kuiper.helloworld.png
usr/share/icons/hicolor/32x32/apps/zone.kuiper.helloworld.png
usr/share/icons/hicolor/48x48/apps/zone.kuiper.helloworld.png
usr/share/icons/hicolor/64x64/apps/zone.kuiper.helloworld.png
usr/share/icons/hicolor/scalable/apps/zone.kuiper.helloworld.svg
usr/share/applications/zone.kuiper.helloworld.desktop
usr/share/metainfo/zone.kuiper.helloworld.appdata.xml

============================================================
METAINFO: app.metainfo.xml
============================================================

<?xml version="1.0" encoding="UTF-8"?>
<component type="desktop-application">
    <metadata_license>MIT</metadata_license>

    <id>zone.kuiper.helloworld</id>
    <name>Hello World</name>
    <summary>A Hello World application</summary>
    <developer_name>Kuiper Zone</developer_name>
    <url type="homepage">https://kuiper.zone</url>
    <project_license>GPL-3.0-or-later</project_license>
    <content_rating type="oars-1.1" />

    <launchable type="desktop-id">zone.kuiper.helloworld.desktop</launchable>

    <description>
        <p>Hello World demonstrates all the major features of building distributable packages with PupNet.
        It can be built for all package kinds, including AppImage, Flatpak, DEB and RPM formats on Linux,
        and as a Setup file on Windows. It provides an example of using desktop and AppStream metadata files,
        as well as icons and post-publish scripts.</p>

        <p>You will notice, for example, that this AppStream metadata file and associated desktop file, both of which</p>
        <p> make use of macro variables for a high degree of content automation, so that information need only be
        specified once in the primary configuration.</p>

        <p>On execution, the Hello World program displays command arguments and assembly information. The assembly
        version confirms that version information may be provided in the deployment configuration, and passed through
        the build system, to the application.</p>
    </description>

    <!-- Freedesktop Categories -->
    <categories>
        <category>Utility</category>
    </categories>

    <keywords>
        <keyword>development</keyword>
        <keyword>programming</keyword>
    </keywords>

    <screenshots>
        <screenshot type="default">
            <image>https://i.postimg.cc/6pHch7br/Screenshot.png</image>
        </screenshot>
    </screenshots>

    <releases>
        <release version="1.0.1" date="2023-04-13">
            <description><p>The latest release.</p></description>
        </release>
    </releases>

</component>

============================================================
BUILD PROJECT: PupNet-HelloWorld
============================================================

dotnet publish "/home/kde/RiderProjects/PupNet-HelloWorld" -r linux-x64 -c Release -p:Version=1.0.1 --self-contained true -p:DebugType=None -p:DebugSymbols=false -o "/tmp/KuiperZone.PupNet/zone.kuiper.helloworld-linux-x64-Release-AppImage/AppDir/usr/bin"

/home/kde/RiderProjects/PupNet-HelloWorld/Deploy/PostPublish.sh

============================================================
BUILD PACKAGE: HelloWorld.x86_64.AppImage
============================================================

/home/kde/.dotnet/tools/.store/kuiperzone.pupnet/1.2.1/kuiperzone.pupnet/1.2.1/tools/net7.0/any/appimagetool-x86_64.AppImage  --runtime-file="/home/kde/.dotnet/tools/.store/kuiperzone.pupnet/1.2.1/kuiperzone.pupnet/1.2.1/tools/net7.0/any/runtime-fuse2-x86_64" "/tmp/KuiperZone.PupNet/zone.kuiper.helloworld-linux-x64-Release-AppImage/AppDir" "/home/kde/RiderProjects/PupNet-HelloWorld/Deploy/bin/HelloWorld.x86_64.AppImage" --verbose

============================================================
ISSUES
============================================================

[None Detected]

Continue? [N/y]: Y
Remove: . ... OK
Create Directory: . ... OK
Create Directory: AppDir ... OK
Create Directory: AppDir/usr/bin ... OK
Create Directory: AppDir/usr/share ... OK
Create Directory: AppDir/usr/share/icons ... OK
Create Directory: AppDir/usr/share/applications ... OK
Create Directory: AppDir/usr/share/metainfo ... OK
Create File: AppDir/usr/share/applications/zone.kuiper.helloworld.desktop ... OK
Create File: AppDir/usr/share/metainfo/zone.kuiper.helloworld.appdata.xml ... OK
Create Directory: AppDir/usr/share/icons/hicolor/16x16/apps ... OK
Create File: AppDir/usr/share/icons/hicolor/16x16/apps/zone.kuiper.helloworld.png ... OK
Create Directory: AppDir/usr/share/icons/hicolor/24x24/apps ... OK
Create File: AppDir/usr/share/icons/hicolor/24x24/apps/zone.kuiper.helloworld.png ... OK
Create Directory: AppDir/usr/share/icons/hicolor/32x32/apps ... OK
Create File: AppDir/usr/share/icons/hicolor/32x32/apps/zone.kuiper.helloworld.png ... OK
Create Directory: AppDir/usr/share/icons/hicolor/48x48/apps ... OK
Create File: AppDir/usr/share/icons/hicolor/48x48/apps/zone.kuiper.helloworld.png ... OK
Create Directory: AppDir/usr/share/icons/hicolor/64x64/apps ... OK
Create File: AppDir/usr/share/icons/hicolor/64x64/apps/zone.kuiper.helloworld.png ... OK
Create Directory: AppDir/usr/share/icons/hicolor/scalable/apps ... OK
Create File: AppDir/usr/share/icons/hicolor/scalable/apps/zone.kuiper.helloworld.svg ... OK
Create File: AppDir/zone.kuiper.helloworld.desktop ... OK
Create File: AppDir/zone.kuiper.helloworld.appdata.xml ... OK
Create File: AppDir/zone.kuiper.helloworld.svg ... OK
ln -s "usr/bin/HelloWorld" "/tmp/KuiperZone.PupNet/zone.kuiper.helloworld-linux-x64-Release-AppImage/AppDir/AppRun"

Building Project ...
dotnet publish "/home/kde/RiderProjects/PupNet-HelloWorld" -r linux-x64 -c Release -p:Version=1.0.1 --self-contained true -p:DebugType=None -p:DebugSymbols=false -o "/tmp/KuiperZone.PupNet/zone.kuiper.helloworld-linux-x64-Release-AppImage/AppDir/usr/bin"
MSBuild version 17.4.1+fedecea9d for .NET
  Determining projects to restore...
  All projects are up-to-date for restore.
  HelloWorld -> /home/kde/RiderProjects/PupNet-HelloWorld/HelloWorld/bin/Release/net7.0/linux-x64/HelloWorld.dll
  HelloWorld -> /tmp/KuiperZone.PupNet/zone.kuiper.helloworld-linux-x64-Release-AppImage/AppDir/usr/bin/

/home/kde/RiderProjects/PupNet-HelloWorld/Deploy/PostPublish.sh 

===========================
POST_PUBLISH BASH SCRIPT
===========================

BUILD_ARCH: x64
BUILD_TARGET: Release
BUILD_SHARE: /tmp/KuiperZone.PupNet/zone.kuiper.helloworld-linux-x64-Release-AppImage/AppDir/usr/share
BUILD_APP_BIN: /tmp/KuiperZone.PupNet/zone.kuiper.helloworld-linux-x64-Release-AppImage/AppDir/usr/bin

Do work...
+ mkdir -p /tmp/KuiperZone.PupNet/zone.kuiper.helloworld-linux-x64-Release-AppImage/AppDir/usr/bin/subdir
+ touch /tmp/KuiperZone.PupNet/zone.kuiper.helloworld-linux-x64-Release-AppImage/AppDir/usr/bin/subdir/file.test
+ set +x

===========================
POST_PUBLISH END
===========================

Deploy Files:
AppRun
zone.kuiper.helloworld.svg
zone.kuiper.helloworld.appdata.xml
zone.kuiper.helloworld.desktop
usr/bin/HelloWorld
usr/bin/HelloWorld.dll
usr/bin/netstandard.dll
usr/bin/System.dll
usr/bin/mscorlib.dll
usr/bin/WindowsBase.dll
usr/bin/System.Xml.dll
usr/bin/System.Xml.XmlSerializer.dll
usr/bin/System.Xml.XPath.dll
usr/bin/System.Xml.XmlDocument.dll
usr/bin/System.Xml.XPath.XDocument.dll
usr/bin/System.Xml.XDocument.dll
usr/bin/System.Xml.Serialization.dll
usr/bin/System.Xml.Linq.dll
usr/bin/System.Xml.ReaderWriter.dll
usr/bin/System.Windows.dll
usr/bin/System.Web.dll
usr/bin/System.Web.HttpUtility.dll
usr/bin/System.ValueTuple.dll
usr/bin/System.Transactions.dll
usr/bin/System.Transactions.Local.dll
usr/bin/System.Threading.Timer.dll
usr/bin/System.Threading.dll
usr/bin/System.Threading.ThreadPool.dll
usr/bin/System.Threading.Tasks.dll
usr/bin/System.Threading.Thread.dll
usr/bin/System.Threading.Tasks.Parallel.dll
usr/bin/System.Threading.Tasks.Extensions.dll
usr/bin/System.Threading.Tasks.Dataflow.dll
usr/bin/System.Threading.Overlapped.dll
usr/bin/System.Threading.Channels.dll
usr/bin/System.Text.RegularExpressions.dll
usr/bin/System.Text.Json.dll
usr/bin/System.Text.Encodings.Web.dll
usr/bin/System.Text.Encoding.dll
usr/bin/System.Text.Encoding.Extensions.dll
usr/bin/System.Text.Encoding.CodePages.dll
usr/bin/System.ServiceProcess.dll
usr/bin/System.ServiceModel.Web.dll
usr/bin/System.Security.dll
usr/bin/System.Security.Principal.dll
usr/bin/System.Security.SecureString.dll
usr/bin/System.Security.Principal.Windows.dll
usr/bin/System.Security.Cryptography.dll
usr/bin/System.Security.Cryptography.X509Certificates.dll
usr/bin/System.Security.Cryptography.Primitives.dll
usr/bin/System.Security.Cryptography.Encoding.dll
usr/bin/System.Security.Cryptography.OpenSsl.dll
usr/bin/System.Security.Cryptography.Csp.dll
usr/bin/System.Security.Cryptography.Cng.dll
usr/bin/System.Security.AccessControl.dll
usr/bin/System.Security.Claims.dll
usr/bin/System.Security.Cryptography.Algorithms.dll
usr/bin/System.Runtime.dll
usr/bin/System.Runtime.Serialization.dll
usr/bin/System.Runtime.Serialization.Xml.dll
usr/bin/System.Runtime.Serialization.Primitives.dll
usr/bin/System.Runtime.Serialization.Json.dll
usr/bin/System.Runtime.Serialization.Formatters.dll
usr/bin/System.Runtime.Numerics.dll
usr/bin/System.Runtime.Loader.dll
usr/bin/System.Runtime.Intrinsics.dll
usr/bin/System.Runtime.InteropServices.dll
usr/bin/System.Runtime.InteropServices.RuntimeInformation.dll
usr/bin/System.Runtime.Handles.dll
usr/bin/System.Runtime.InteropServices.JavaScript.dll
usr/bin/System.Runtime.Extensions.dll
usr/bin/System.Runtime.CompilerServices.VisualC.dll
usr/bin/System.Runtime.CompilerServices.Unsafe.dll
usr/bin/System.Resources.Writer.dll
usr/bin/System.Resources.ResourceManager.dll
usr/bin/System.Resources.Reader.dll
usr/bin/System.Reflection.dll
usr/bin/System.Reflection.TypeExtensions.dll
usr/bin/System.Reflection.Primitives.dll
usr/bin/System.Reflection.Metadata.dll
usr/bin/System.Reflection.Extensions.dll
usr/bin/System.Reflection.Emit.dll
usr/bin/System.Reflection.Emit.Lightweight.dll
usr/bin/System.Reflection.Emit.ILGeneration.dll
usr/bin/System.Reflection.DispatchProxy.dll
usr/bin/System.Private.Xml.Linq.dll
usr/bin/System.Private.Xml.dll
usr/bin/System.Private.DataContractSerialization.dll
usr/bin/System.Private.Uri.dll
usr/bin/System.Private.CoreLib.dll
usr/bin/System.ObjectModel.dll
usr/bin/System.Numerics.dll
usr/bin/System.Numerics.Vectors.dll
usr/bin/System.Net.dll
usr/bin/System.Net.WebSockets.dll
usr/bin/System.Net.WebSockets.Client.dll
usr/bin/System.Net.WebProxy.dll
usr/bin/System.Net.WebHeaderCollection.dll
usr/bin/System.Net.WebClient.dll
usr/bin/System.Net.Sockets.dll
usr/bin/System.Net.Security.dll
usr/bin/System.Net.ServicePoint.dll
usr/bin/System.Net.Requests.dll
usr/bin/System.Net.Quic.dll
usr/bin/System.Net.Primitives.dll
usr/bin/System.Net.Ping.dll
usr/bin/System.Net.NetworkInformation.dll
usr/bin/System.Net.NameResolution.dll
usr/bin/System.Net.Mail.dll
usr/bin/System.Net.HttpListener.dll
usr/bin/System.Net.Http.dll
usr/bin/System.Net.Http.Json.dll
usr/bin/System.Memory.dll
usr/bin/System.Linq.dll
usr/bin/System.Linq.Queryable.dll
usr/bin/System.Linq.Parallel.dll
usr/bin/System.Linq.Expressions.dll
usr/bin/System.IO.Pipes.dll
usr/bin/System.IO.dll
usr/bin/System.IO.UnmanagedMemoryStream.dll
usr/bin/System.IO.Pipes.AccessControl.dll
usr/bin/System.IO.MemoryMappedFiles.dll
usr/bin/System.IO.FileSystem.dll
usr/bin/System.IO.IsolatedStorage.dll
usr/bin/System.IO.FileSystem.Watcher.dll
usr/bin/System.IO.FileSystem.Primitives.dll
usr/bin/System.IO.FileSystem.DriveInfo.dll
usr/bin/System.IO.FileSystem.AccessControl.dll
usr/bin/System.IO.Compression.dll
usr/bin/System.IO.Compression.FileSystem.dll
usr/bin/System.IO.Compression.ZipFile.dll
usr/bin/System.IO.Compression.Brotli.dll
usr/bin/System.Globalization.dll
usr/bin/System.Globalization.Extensions.dll
usr/bin/System.Formats.Tar.dll
usr/bin/System.Globalization.Calendars.dll
usr/bin/System.Formats.Asn1.dll
usr/bin/System.Dynamic.Runtime.dll
usr/bin/System.Drawing.dll
usr/bin/System.Drawing.Primitives.dll
usr/bin/System.Diagnostics.TraceSource.dll
usr/bin/System.Diagnostics.Tracing.dll
usr/bin/System.Diagnostics.Tools.dll
usr/bin/System.Diagnostics.TextWriterTraceListener.dll
usr/bin/System.Diagnostics.StackTrace.dll
usr/bin/System.Diagnostics.FileVersionInfo.dll
usr/bin/System.Diagnostics.Process.dll
usr/bin/System.Diagnostics.DiagnosticSource.dll
usr/bin/System.Diagnostics.Debug.dll
usr/bin/System.Diagnostics.Contracts.dll
usr/bin/System.Data.dll
usr/bin/System.Data.DataSetExtensions.dll
usr/bin/System.Data.Common.dll
usr/bin/System.Core.dll
usr/bin/System.Console.dll
usr/bin/System.Configuration.dll
usr/bin/System.ComponentModel.dll
usr/bin/System.ComponentModel.TypeConverter.dll
usr/bin/System.ComponentModel.Primitives.dll
usr/bin/System.ComponentModel.EventBasedAsync.dll
usr/bin/System.ComponentModel.DataAnnotations.dll
usr/bin/System.ComponentModel.Annotations.dll
usr/bin/System.Collections.dll
usr/bin/System.Collections.Specialized.dll
usr/bin/System.Collections.NonGeneric.dll
usr/bin/System.Collections.Immutable.dll
usr/bin/System.Collections.Concurrent.dll
usr/bin/System.Buffers.dll
usr/bin/System.AppContext.dll
usr/bin/Microsoft.Win32.Registry.dll
usr/bin/Microsoft.Win32.Primitives.dll
usr/bin/Microsoft.VisualBasic.dll
usr/bin/Microsoft.VisualBasic.Core.dll
usr/bin/Microsoft.CSharp.dll
usr/bin/libmscordbi.so
usr/bin/libmscordaccore.so
usr/bin/libhostpolicy.so
usr/bin/libhostfxr.so
usr/bin/libcoreclrtraceptprovider.so
usr/bin/libcoreclr.so
usr/bin/libclrjit.so
usr/bin/libclrgc.so
usr/bin/libSystem.Security.Cryptography.Native.OpenSsl.so
usr/bin/libSystem.Net.Security.Native.so
usr/bin/HelloWorld.runtimeconfig.json
usr/bin/createdump
usr/bin/libSystem.Native.so
usr/bin/libSystem.Globalization.Native.so
usr/bin/libSystem.IO.Compression.Native.so
usr/bin/HelloWorld.deps.json
usr/share/metainfo/zone.kuiper.helloworld.appdata.xml
usr/share/applications/zone.kuiper.helloworld.desktop
usr/bin/subdir/file.test
usr/share/icons/hicolor/scalable/apps/zone.kuiper.helloworld.svg
usr/share/icons/hicolor/64x64/apps/zone.kuiper.helloworld.png
usr/share/icons/hicolor/48x48/apps/zone.kuiper.helloworld.png
usr/share/icons/hicolor/32x32/apps/zone.kuiper.helloworld.png
usr/share/icons/hicolor/24x24/apps/zone.kuiper.helloworld.png
usr/share/icons/hicolor/16x16/apps/zone.kuiper.helloworld.png

Building Package ...
Exists?: AppDir/usr/bin/HelloWorld ... OK
Create File: AppDir/usr/bin/LICENSE ... OK
/home/kde/.dotnet/tools/.store/kuiperzone.pupnet/1.2.1/kuiperzone.pupnet/1.2.1/tools/net7.0/any/appimagetool-x86_64.AppImage --runtime-file="/home/kde/.dotnet/tools/.store/kuiperzone.pupnet/1.2.1/kuiperzone.pupnet/1.2.1/tools/net7.0/any/runtime-fuse2-x86_64" "/tmp/KuiperZone.PupNet/zone.kuiper.helloworld-linux-x64-Release-AppImage/AppDir" "/home/kde/RiderProjects/PupNet-HelloWorld/Deploy/bin/HelloWorld.x86_64.AppImage" --verbose
appimagetool, continuous build (commit 8bbf694), build <local dev build> built on 2020-12-31 11:48:33 UTC
Desktop file: /tmp/KuiperZone.PupNet/zone.kuiper.helloworld-linux-x64-Release-AppImage/AppDir/zone.kuiper.helloworld.desktop
Name: Hello World
Icon: zone.kuiper.helloworld
Exec: usr/bin/HelloWorld
Comment: A Hello World application
Type: Application
Categories: Utility
Environmental variable ARCH used for determining architecture x86_64
Using architecture x86_64
App name for filename: Hello_World
/tmp/KuiperZone.PupNet/zone.kuiper.helloworld-linux-x64-Release-AppImage/AppDir should be packaged as /home/kde/RiderProjects/PupNet-HelloWorld/Deploy/bin/HelloWorld.x86_64.AppImage
Deleting pre-existing .DirIcon
Creating .DirIcon symlink based on information from desktop file
AppStream upstream metadata found in usr/share/metainfo/zone.kuiper.helloworld.appdata.xml
Trying to validate AppStream information with the appstreamcli tool
In case of issues, please refer to https://github.com/ximion/appstream
zone.kuiper.helloworld.appdata.xml
  I: zone.kuiper.helloworld:15: description-first-word-not-capitalized

? Validation was successful: infos: 1, pedantic: 1
Trying to validate AppStream information with the appstream-util tool
In case of issues, please refer to https://github.com/hughsie/appstream-glib
/tmp/KuiperZone.PupNet/zone.kuiper.helloworld-linux-x64-Release-AppImage/AppDir/usr/share/metainfo/zone.kuiper.helloworld.appdata.xml: OK
Generating squashfs...
Size of the embedded runtime: 594264 bytes
mksquashfs commandline: /tmp/.mount_appimatUebDs/usr/bin/../lib/appimagekit/mksquashfs /tmp/KuiperZone.PupNet/zone.kuiper.helloworld-linux-x64-Release-AppImage/AppDir /home/kde/RiderProjects/PupNet-HelloWorld/Deploy/bin/HelloWorld.x86_64.AppImage -offset 594264 -comp gzip -root-owned -noappend -mkfs-time 0 
Parallel mksquashfs: Using 16 processors
Creating 4.0 filesystem on /home/kde/RiderProjects/PupNet-HelloWorld/Deploy/bin/HelloWorld.x86_64.AppImage, block size 131072.
[=======================================================================================================================================================================================/] 707/707 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 31851.00 Kbytes (31.10 Mbytes)
        43.37% of uncompressed filesystem size (73444.75 Kbytes)
Inode table size 4136 bytes (4.04 Kbytes)
        43.96% of uncompressed inode table size (9408 bytes)
Directory table size 2900 bytes (2.83 Kbytes)
        37.78% of uncompressed directory table size (7676 bytes)
Number of duplicate files found 4
Number of inodes 222
Number of files 199
Number of fragments 44
Number of symbolic links  2
Number of device nodes 0
Number of fifo nodes 0
Number of socket nodes 0
Number of directories 21
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

OUTPUT OK:
/home/kde/RiderProjects/PupNet-HelloWorld/Deploy/bin/HelloWorld.x86_64.AppImage
kuiperzone commented 1 year ago

Thank you.

I cannot repeat the problem here (running Fedora 37).

Interesting. You say that PupNet-Deploy.x86_64.AppImage version 1.2.1 does not run on your system, but version 1.0.0 runs fine, along with the Avant Garde AppImage?

There is one difference between how these were built, which is the runtime is explicitly provided in the later version. I.e. we call:

/home/kde/.dotnet/tools/.store/kuiperzone.pupnet/1.2.1/kuiperzone.pupnet/1.2.1/tools/net7.0/any/appimagetool-x86_64.AppImage --runtime-file="/home/kde/.dotnet/tools/.store/kuiperzone.pupnet/1.2.1/kuiperzone.pupnet/1.2.1/tools/net7.0/any/runtime-fuse2-x86_64" "/tmp/KuiperZone.PupNet/zone.kuiper.helloworld-linux-x64-Release-AppImage/AppDir" "/home/kde/RiderProjects/PupNet-HelloWorld/Deploy/bin/HelloWorld.x86_64.AppImage" --verbose

rather than:

/home/kde/.dotnet/tools/.store/kuiperzone.pupnet/1.2.1/kuiperzone.pupnet/1.2.1/tools/net7.0/any/appimagetool-x86_64.AppImage "/tmp/KuiperZone.PupNet/zone.kuiper.helloworld-linux-x64-Release-AppImage/AppDir" "/home/kde/RiderProjects/PupNet-HelloWorld/Deploy/bin/HelloWorld.x86_64.AppImage" --verbose

This should make no difference tho. I'm going to test on a Ubuntu LTS and get back to you.

Cheers

Andy

kuiperzone commented 1 year ago

Update. Ref: https://github.com/AppImage/AppImageKit/issues/1004

AQDuck97 commented 1 year ago

Thank you for the quick reply, I just tried the appimage version of pupnet-deploy and the first 2 releases (before fuse was included) works great and was able to use them instead of the dotnet tools version to build the appimages. The later versions gets execv error: No such file or directory.

Maybe it has something to do with the included fuse runtime? My system runs fuse2 2.9.9

kuiperzone commented 1 year ago

Hello @justbugs97

Can you try the test HelloWorld AppImage link below and let me know if it runs on your system? It is just the same, but without the explicit --runtime arg to the appimagetool.

https://github.com/kuiperzone/PupNet-HelloWorld/releases/download/v1-temp/HelloWorld.x86_64.AppImage

Cheers, thanks

PS. I will have another to try shortly, as have an idea what the problem could be.

AQDuck97 commented 1 year ago

That it does!

I guess that's the culprit found

kuiperzone commented 1 year ago

Thank you. The problem with that as a solution, is that a package built on x86_64 for Arm64 will not run on the target system unless I explicitly supply the runtime during the build. That is why I did it.

However, I was given a link to the fuse runtimes during a discussion with AppImageKit author concerning Arm. The thing is that the link he gave me points to a continuous build repository, hence the runtime I supply are not the same version as appimagetool expects.

At least that's my thinking. So gonna try a new HelloWorld shortly.

If that fails, I will need to go back to the AppImage guys.

AQDuck97 commented 1 year ago

Alright, I'm off for a few hours but I'll try as soon as I get home

kuiperzone commented 1 year ago

OK. Try this one:

https://github.com/kuiperzone/PupNet-HelloWorld/releases/download/v1-temp/HelloWorld2.x86_64.AppImage

If this works, the problem should be resolved and there'll be a patch release immediately.

AQDuck97 commented 1 year ago

That works!

Was in a bit of an accident, I'm mostly fine now.

kuiperzone commented 1 year ago

Hope the accident wasn't serious and you're OK. Thank you for raising this one.

See:

https://github.com/kuiperzone/PupNet-Deploy/releases/tag/v1.2.2