-
Notifications
You must be signed in to change notification settings - Fork 277
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
Adoption of AUR package but ran into issues #3490
Comments
@kitbellew I am a little confused about what this issue has to do with it. Are you trying to highlight that 3.7.2 does not build with native image due to an underlying bug? |
Ok yes it is an issue with the release, are you happy with me patching 3.7.2 with the PR which has been merged, so that the package is functional before the next release. If not when is the next release scheduled? |
I see that the latest release also have builds available, this means that someone managed to build it, however the PR which references this issue has not yet been merged into upstream, and thus, I do not see how it was built :/ |
i don't fully understand the problem, so i deferred to the others. which pr has been merged? |
Nevermind I ended up conflicting myself, the PR you have sent above is still awaiting merging. Guess I will have to wait for the others to have time to respond :) |
Sorry for some reason I cant ping @jchyb properly, sorry jupblb for notifying you! |
As I got the actual issue is in @PolarianDev current scalafmt build relies on that it used from git repo (version inference using git) while you are trying to build it from source.tar.gz from github. To workaround that issue you need to run |
@dos65 I just attempted to do what you suggested but I just get an error, see PR comment: https://onedev.polarian.dev/polarrepo/scalafmt-native/~pulls/1#PullRequestComment-95 |
I am going to attempt to build this outside the chroot on my laptop and see if it works first :) |
I think I might adjust the package to use git and to clone the latest tag, as building from a source archive obviously seems to be problematic :) |
I rewrote the pkgbuild to use git, however then I still find this issue: https://onedev.polarian.dev/polarrepo/scalafmt-native/~pulls/1#PullRequestComment-98 I assume I am missing dependencies, so I will list what I have so far:
I might have overlooked the need for scala, but it built on my laptop without having scala installed. As this is a clean chroot its missing a lot of linux commands you would assume to be there, please could you link every external dependency you rely on, and I will see if one of them is the issue. Until then I am postponing the update of |
As a note, the AUR package has now been deleted as it was disfunctional, and this issue stagnated. I will most likely let this package go as it has been 2 months without any response from upstream. I will keep this issue open if upstream want to provide me any solutions to the issue, but until then I will give up trying to fix this package. Thank you for the help I got so far, I am sorry that the package was not fixed. |
Hello, I hope you don't mind completely ignoring the template you want to use.
This issue is for a discussion and is not to report an issue. So lets get started.
Today I received an email about scalafmt-native, the graalvm build of the scalafmt command line tool was being deleted due to lack of maintainer and misnaming of the package. I decided to adopt it and save the package from the trash, you can see the aur package here.
The issue was brought up is that this package is meant to be a source install, this is where the source code of the package is pulled and built no binary is pulled, however you do not seem to have a build from source guide (if you want this added through contributions, help me through this and I will write up a PR).
The previous maintainer did not write a compliant PKGBUILD, but when attempting to build in a clean chroot, I keep getting an error which I do not know what is going wrong (a clean chroot has almost every single dependency stripped from it, its a good way to find dependencies which have not been specified).
The package invokes the native image script which you distribute, but the following error occurs:
Please could you explain why this happens, I assume it is a missing dependency which the scalafmt team has not specified as it builds fine on my laptop, which has all the libraries you would expect on a linux system installed, but clean chroots DO NOT.
You can track the progress of the update to the PKGBUILD, including the corrections to become compliant to the AUR packaging guidelines, and also updating this 3-4 year outdated package right up the latest version below:
https://onedev.polarian.dev/polarrepo/scalafmt-native/~pulls/1
I like to contact the developer anyways saying heads up I am the maintainer of the AUR package anyways, you are free to contact me by email
[email protected]
The current dependencies I have deduced through trail and error:
If there are any more dependencies I am missing, please let me know!
Have a good night!
The text was updated successfully, but these errors were encountered: