You are not logged in.
Hello,
When I run `makepkg -s`, dependencies in the repos are automatically installed through binary. However, I would like to build the dependencies from source as well as the package, similar to how `emerge` does it. Is there some kind of option to automate this process that comes with libalpm? Or would my best option be to make a C program to do it myself?
Thank you for your time.
Offline
If you actually want to rebuild repository packages (why?) you're likely to have to do that yourself, see https://wiki.archlinux.org/index.php/Arch_Build_System for some existing helper tools.
If this is about getting AUR dependencies resolved as well, that's what AUR helpers can help with, make sure you heed the warning and understand how makepkg works first.
If you want to actually turn Arch into a source based distro, while I know a few that do so, you will likely be more generally happy by sticking with a distro designed for the use case, e.g. gentoo
Offline
If you want to actually turn Arch into a source based distro, while I know a few that do so, ...
Yes, this is pretty much what I was looking for. Could you list or provide references to those? I'll also look into source-based distros.
Offline
Could you list or provide references to those? I'll also look into source-based distros.
Eenie meenie, chili beanie, the spirits are about to speak -- Bullwinkle J. Moose
It's a big club...and you ain't in it -- George Carlin
Registered Linux user #149839
perl -e 'print$i=pack(c5,(41*2),sqrt(7056),(unpack(c,H)-2),oct(115),10); '
Offline
merlock, I think Toad39 is asking V1del for references to people here who build all Arch packages from source. If you can get those references from ddg, please share the search you used.
Toad39, for more about source-based distros, check here: https://wiki.archlinux.org/index.php/Ar … urce-based
I have used Gentoo, CRUX, and LFS. CRUX is my favorite of the three.
Offline
I think Toad39 is asking V1del for references to people here who build all Arch packages from source.
If that's the case, then I apologize for the misinterpretation.
Eenie meenie, chili beanie, the spirits are about to speak -- Bullwinkle J. Moose
It's a big club...and you ain't in it -- George Carlin
Registered Linux user #149839
perl -e 'print$i=pack(c5,(41*2),sqrt(7056),(unpack(c,H)-2),oct(115),10); '
Offline
Sorry, I didn't understand V1Del's statement. I thought they meant tools that do it, not people.
Offline
I did indeed mean people and I don't remember names offhand, I just know some mentions here and there. It's certainly doable, as mentioned, ABS is your friend and afaik some of the AUR helpers provide this as a byproduct of what they are doing.
It's certainly doable and I do know of people that have done it, but I'd consider it more cumbersome than just using something that's specifically tailored to do this.
But you should read the link on ABS and then you'll see that it's definitely doable, with some small scripting glue, e.g. at the very least combining asp and makepkg or so.
Offline
There was pacbuilder, but I don't know if it still works and it did some stuff with the arch mirrors and the package RPC interface.
https://github.com/arfoll/pacbuilder
| alias CUTF='LANG=en_XX.UTF-8@POSIX ' | alias ENGLISH='LANG=C.UTF-8 ' |
Offline