Just dead stuck on building this package in 2023. No CMAKE_Java_COMPILER could be found
on the build box.
E: Had to manually install package jdk11-openjdk
.
Git Clone URL: | https://aur.archlinux.org/multimc5.git (read-only, click to copy) |
---|---|
Package Base: | multimc5 |
Description: | Minecraft launcher with ability to manage multiple instances. |
Upstream URL: | https://multimc.org/ |
Keywords: | launcher minecraft |
Licenses: | Apache |
Conflicts: | multimc |
Provides: | multimc |
Submitter: | vorpalblade |
Maintainer: | None |
Last Packager: | g3tchoo |
Votes: | 128 |
Popularity: | 0.031647 |
First Submitted: | 2015-06-06 11:37 (UTC) |
Last Updated: | 2023-02-06 06:15 (UTC) |
Just dead stuck on building this package in 2023. No CMAKE_Java_COMPILER could be found
on the build box.
E: Had to manually install package jdk11-openjdk
.
abdulhakeem, it doesn't appear the checksum has changed for the tarball since the most recent bump. makepkg might think it's already downloaded due to the new one having the same name. if you have a custom SRCDEST
set in makepkg.conf, please remove mmc-stable-lin64.tar.gz
from the directory. afterwards, run makepkg with --cleanbuild
Failing to pass validity check when trying to update
multimc is no longer using stable releases, which obsoletes this package (see this commit)
please consider switching to prismlauncher for continued support. you can find a migration guide here
edit: multimc-git was previously recommended, but has not been updated for more than a year and does not build off develop currently, so it has been removed. multimc-bin may also not be viable for the same reasons as this package, so the only alternative i am comfortable recommending is prismlauncher.
No need to specify submodule revisions.
The license
field MUST be changed if this package cannot actually be conveyed under the terms of the Apache license. I suggest changing it to "custom" or using an array with "Apache" and "custom" if you wish to indicate that the project is composed of software released under multiple licenses. See https://wiki.archlinux.org/title/PKGBUILD#license
Further clarification of the licensing situation of the package would be appreciated. Is the issue here with the use of trademarked branding? If so, then "custom" would be appropriate, but a better solution might be to split off parts of the package that are not free software (if possible) similar to "frogatto" and "frogatto-data" in the community repository.
Cannot build when debug is enabled in makepkg.conf. It will try to run the test and find the file in debug src folder but cannot find the file.
Ah, the problem is that in line 26 of the PKGBUILD the file is always downloaded just under the package name, so if you have an older version still in cache the name doesn't change and it will find that.
@g3tchoo, please include the $pkgver
variable in the download name in line 26 (before the ::
). Then this issue can't occur.
old: still broken sha512sum, please fix
as @g3tchoo has written before, after cleaning the cache for paru via
paru -Sau --clean
solves the problem
Fetching origin
-> Found mmc-stable-lin64.tar.gz
-> Found modern-java.patch
-> Found 0001-Readd-lin-system-and-LAUNCHER_LINUX_DATADIR.patch
-> Found fix-jars.patch
-> Found mmc-brand.patch
-> Found multimc.desktop
==> Validating source files with sha512sums...
multimc5 ... Skipped
libnbtplusplus ... Skipped
quazip ... Skipped
mmc-stable-lin64.tar.gz ... FAILED
modern-java.patch ... Passed
0001-Readd-lin-system-and-LAUNCHER_LINUX_DATADIR.patch ... Passed
fix-jars.patch ... Passed
mmc-brand.patch ... Passed
multimc.desktop ... Passed
==> ERROR: One or more files did not pass the validity check!
error: failed to download sources for 'multimc5-0.6.14-5':
The sources for this package do not pass validation.
@g3tchoo, please update the checksums.
Pinned Comments
g3tchoo commented on 2023-02-06 04:26 (UTC) (edited on 2023-02-06 04:45 (UTC) by g3tchoo)
multimc is no longer using stable releases, which obsoletes this package (see this commit)
please consider switching to prismlauncher for continued support. you can find a migration guide here
edit: multimc-git was previously recommended, but has not been updated for more than a year and does not build off develop currently, so it has been removed. multimc-bin may also not be viable for the same reasons as this package, so the only alternative i am comfortable recommending is prismlauncher.
g3tchoo commented on 2021-12-18 18:53 (UTC) (edited on 2021-12-18 18:53 (UTC) by g3tchoo)
Leaving this as a permanent disclaimer:
It is illegal to redistribute any binaries created with this script because of the upstream project's licensing.