Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AUR Build Error #217

Closed
hofq opened this issue Jul 20, 2022 · 10 comments · Fixed by #314
Closed

AUR Build Error #217

hofq opened this issue Jul 20, 2022 · 10 comments · Fixed by #314
Labels
bug Something isn't working linux Linux-related

Comments

@hofq
Copy link

hofq commented Jul 20, 2022

First i tried installing it using paru -S gittyup then paru -S gittyup-git and last with git clone git clone https://aur.archlinux.org/gittyup.git & makepkg -si
Always the Same error.
Do you have an Idea how this could happen?

[***@*******-arch ~]$ gittyup
Theme dir:  QDir( "/home/***/packages/github/gittyup/src/build/Resources" , nameFilters = { "*" },  QDir::SortFlags( Name | IgnoreCase ) , QDir::Filters( Dirs|Files|Drives|AllEntries ) )
Theme dir:  QDir( "/home/***/packages/github/gittyup/src/build/Resources" , nameFilters = { "*" },  QDir::SortFlags( Name | IgnoreCase ) , QDir::Filters( Dirs|Files|Drives|AllEntries ) )
PANIC: unprotected error in call to Lua API (cannot open /home/***/packages/github/gittyup/src/build/Resources/System.lua: No such file or directory)
Aborted (core dumped)
[***@*****01-arch ~]$
@hofq
Copy link
Author

hofq commented Jul 20, 2022

OS: Arch
Kernal: 5.18.12-zen1-1-zen
WM: Awesome

@alerque
Copy link
Contributor

alerque commented Jul 20, 2022

This is the issue I was trying to fix a while back and #191 is work in that direction. The upstream project does not build properly on a host system right now, only the containerized build is known to work. I'll fix the AUR packaging as soon as the project itself has workable configuration options that allow it to build and run on a regular system (or if somebody wants to submit a way to hack around it I'm open to that too).

@exactly-one-kas exactly-one-kas added linux Linux-related bug Something isn't working labels Jul 27, 2022
@TheArcaneBrony
Copy link

Is there any reason why it would be calling lua files from the build directory rather then an installed location in the first place?

@Murmele
Copy link
Owner

Murmele commented Sep 21, 2022

@alerque @elman22 got the Aur package to work.

@hofq
Copy link
Author

hofq commented Sep 22, 2022

I had no Build Error, but after the Build the Software wouldn't run and through the Same Error:

Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
Theme dir:  QDir( "/home/jki/.cache/paru/clone/gittyup/src/build/Resources" , nameFilters = { "*" },  QDir::SortFlags( Name | IgnoreCase ) , QDir::Filters( Dirs|Files|Drives|AllEntries ) )
Theme dir:  QDir( "/home/jki/.cache/paru/clone/gittyup/src/build/Resources" , nameFilters = { "*" },  QDir::SortFlags( Name | IgnoreCase ) , QDir::Filters( Dirs|Files|Drives|AllEntries ) )
PANIC: unprotected error in call to Lua API (cannot open /home/jki/.cache/paru/clone/gittyup/src/build/Resources/System.lua: No such file or directory)
Aborted (core dumped)

Repository owner deleted a comment from hofq Sep 22, 2022
@Murmele
Copy link
Owner

Murmele commented Sep 22, 2022

He was able to get it running

@elman22
Copy link

elman22 commented Sep 24, 2022

When building directly from AUR, I got the same error as @hofq. But then I tried to edit PKGBUILD using patch by patlefort from https://aur.archlinux.org/packages/gittyup#comment-872036, changed version to 1.1.2 and it is working now.

@alerque
Copy link
Contributor

alerque commented Oct 22, 2022

Many of the issues AUR builds were running into have been fixed in master, but they haven't landed in a stable release yet. I'll update the stable AUR package when there is a new release. I've also contacated the -git package maintainer with an offer to help get it updated. In the mean time if you're hankering for a build you can try this PKGBUILD.

@Murmele
Copy link
Owner

Murmele commented Oct 22, 2022

@alerque this was the latest mr before the release mr. So it will not take that long anymore until the new release

@alerque
Copy link
Contributor

alerque commented Oct 22, 2022

Cool beans!

I don't think we're quite far enough along cleaning up the 3rd party dependency scene to move it to [community] this release cycle, but #314 sure brought it a lot closer. In any event even if [community] is one more release cycle off we should be able to get a pretty stable easy to compile AUR build going for this cycle (and of course I host prebuilt versions of all my AUR packages).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working linux Linux-related
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants