You are not logged in.

#1 2013-05-10 06:16:53

Rukiri
Member
Registered: 2011-11-08
Posts: 45

Compiling source

Hello, I'm looking for a way to recompile arch linux (fresh install) for my hardware and compile a select few applications like xorg-server, my desktop environment which is kde, and a few applications here and there with dependency resolution as kde is pretty large and takes an hr or so on my system to compile at least on gentoo anyway.

But I don't need to compile EVERYTHING from source which is why I'm moving away from gentoo, I find the arch linux core system (before you add on to it) to be pretty sane. 

I am aware of tools like abs and pacbuilder, but I've had some issues with pacbuilder in the past where it get's into a loop and can't move on without me just using pacman (beats the purpose if you want the package and it's dependencies compiled..)
So I'm looking for the best way to go about basically recompiling arch linux after the installation, and managing dependencies.

Is there a tool I maybe missing?

Offline

#2 2013-05-10 06:18:50

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: Compiling source

ABS and srcpac

Offline

#3 2013-05-10 06:24:44

Rukiri
Member
Registered: 2011-11-08
Posts: 45

Re: Compiling source

Is srcpac still being developed? The last commits are about 2 years old..  It might not be compatible with the latest upstream arch changes, and gcc 4.8.  I could be wrong though.

Offline

#4 2013-05-10 09:47:10

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,217
Website

Re: Compiling source

Moved to Creating & Modifying Packages

Offline

#5 2013-05-10 13:06:35

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: Compiling source

Honestly, I haven't actually tried it for anything more than a package or two.  But it seems to work at the most pasic of levels still.  It is just a bash wrapper, so if it is borked in some way, you could always try to fix it.

Offline

#6 2013-05-23 08:10:59

JohnnyWho
Member
Registered: 2013-03-21
Posts: 20

Re: Compiling source

Yes, srcpac works and is one of the best pacman wrappers available, as far as I am concerned. It is also really well written and easily hackable!

Offline

#7 2013-05-23 09:55:35

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,787
Website

Re: Compiling source

Build package in a clean chroot, using devtools. It'll allow you to compile packages (using ABS) just like the devs do -- in a controlled environment, where the only things installed are the base system, the package's dependencies, and the build-time dependencies (including base-devel). It'll stop you running into problems with "greedy" autodetect configure scripts compiling in unwanted features.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#8 2013-06-01 23:50:15

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Compiling source

JohnnyWho wrote:

Yes, srcpac works and is one of the best pacman wrappers available, as far as I am concerned. It is also really well written and easily hackable!

Although this thread https://bbs.archlinux.org/viewtopic.php … 2#p1279612 has been marked solved by OP, I'd like to know what have I done wrong, because unfortunately srcpac doesn't seem to work for me.

Offline

Board footer

Powered by FluxBB