Gitea sources question 12 May 2024, 12:04:20 Hello,If I search for, say, mkinitcpio on Gitea I see:1) mirrors / mkinitcpio (which has a lot more files in it)and2) packages / mkinitcpio (which has fewer files)All have a PKGBUILD but they are also different.What does it mean and what should I use in such cases?I guess I know what's wrong. I was searching from here: https://gitea.artixlinux.org/explore/reposAnyway, I'm still curious what is the other source of this package (mirrors / mkinitcpio).UPDATE: I cannot recompile the package for myself. It fails on its tests/checks. Scroll to the third comment here, please. Last Edit: 12 May 2024, 16:33:11 by TheExplorer
Re: Gitea sources question Reply #1 – 12 May 2024, 12:30:46 When I search mkinitcpio on gitea.artixlinux.org it shows me only packages. I think that there is PKGBUILD sources for actual package. 1 Likes
Re: Gitea sources question Reply #2 – 12 May 2024, 12:33:33 Btw, I can't compile the package myself. It simply fails on tests/checks like:find_module_from_symboladd_all_modules_from_symboladd_checked_modules_from_symbolAlso UKI fails for some reason. In the end I have 52 tests, 7 failures and:==> ERROR: A failure occurred in check()What's the problem?
Re: Gitea sources question Reply #3 – 12 May 2024, 15:37:47 Did you try to build in clean chroot?https://wiki.archlinux.org/title/DeveloperWiki:Building_in_a_clean_chroothttps://forum.artixlinux.org/index.php/topic,2442.msg16207.html
Re: Gitea sources question Reply #4 – 12 May 2024, 16:32:43 Quote from: Ambie – on 12 May 2024, 15:37:47Did you try to build in clean chroot?https://wiki.archlinux.org/title/DeveloperWiki:Building_in_a_clean_chroothttps://forum.artixlinux.org/index.php/topic,2442.msg16207.htmlNo, on my current system? Should this be a problem?
Re: Gitea sources question Reply #5 – 12 May 2024, 16:44:52 Quote from: Ambie – on 12 May 2024, 15:37:47Did you try to build in clean chroot?I remember stumbling at the very first command arch-nspawn... What's the Artix alternative?Anyway, thanks to God, I fixed my problem without recompiling. There's an issue with mkinitcpio actually (the patch is not yet in the upstream) and I could edit the /usr/lib/initcpio/install/kms file by hand. That was enough.
Re: Gitea sources question Reply #6 – 12 May 2024, 17:51:08 Quote from: TheExplorer – on 12 May 2024, 16:44:52I remember stumbling at the very first command arch-nspawn... What's the Artix alternative?Just use buildpkg script from artools-pkg. Run it in the PKGBUILD directory. It automatically creates chroot environment and builds package in it. 1 Likes
Re: Gitea sources question Reply #7 – 12 May 2024, 19:10:31 Quote from: Ambie – on 12 May 2024, 17:51:08Just use buildpkg script from artools-pkg. Run it in the PKGBUILD directory. It automatically creates chroot environment and builds package in it.Thanks!
Re: Gitea sources question Reply #8 – 12 May 2024, 19:41:49 Quote from: Ambie – on 12 May 2024, 17:51:08Just use buildpkg script from artools-pkg. Run it in the PKGBUILD directory. It automatically creates chroot environment and builds package in it.Compiled without issues. Strange, what could be wrong with my working system then? (I installed it from an XFCE runit ISO like a year or so ago).One more question: what are the alternatives of makepkg -esr / osr in buildpkg? I mean, if I want to get the sources and extract them only without rebuilding. Then do some changes to the code and rebuild afterwards. How is it possible?
Re: Gitea sources question Reply #9 – 12 May 2024, 20:05:30 Quote from: TheExplorer – on 12 May 2024, 19:41:49One more question: what are the alternatives of makepkg -esr / osr in buildpkg?I'm not sure there's such parameters, never used it like that. You can check code upstream or locally though, for artools are bash scripts.