Skip to content

Build error: App built from tarball has GUI broken #8373

Description

@ItachiSan

Hello,

Creating this as a blank issue since the templates are not really matching this one.
Also, I will replace certain Arch specific terms with more generic ones.

Problem

Users are not able to build Jan from a source tarball, for example:
https://github.com/janhq/jan/archive/refs/tags/v0.8.3.tar.gz

Context

I am an Arch user and use Jan via the AUR.

The "official" package is available here: https://aur.archlinux.org/packages/jan

This build script requires downloading the whole Jan repository that is over 2GB.
This can be heavy if a person clears the Git repo folder.

I've then tried to modify the build script to use the tarball, with a big failure

Expected

  1. Modify build script to use tarball rather than Git repo
  2. Run build script
  3. App is built, install app
  4. App works

What happens

The GUI is broken, for some reasons; there is no clear log of broken UI.

Resolution

Investigate why the Git metadata is required for a successful GUI.

Additional informations

I'm attaching the terminal logs of both tarball and regular builds, plus the screenshot of how the GUI looks like.

Tarball build

jan_tarball.log

Image

Git tree build

jan_git.log

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    Status
    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions