You are not logged in.

#1 2010-12-04 19:00:37

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,729
Website

MAKEFLAGS not honored when building an a chroot

I'm building within a chroot but only 1/4 of my cores seem to be allowed to do the work despite /etc/makepkg.conf from inside the chroot saying -j5.  Another setting I need to tweak maybe?

Last edited by graysky (2010-12-04 19:00:49)

Offline

#2 2010-12-04 23:26:10

ngoonee
Forum Fellow
From: Between Thailand and Singapore
Registered: 2009-03-17
Posts: 7,360

Re: MAKEFLAGS not honored when building an a chroot

Doesn't the chroot have its own /etc/makepkg.conf?


Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.

Offline

#3 2010-12-04 23:27:44

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,729
Website

Re: MAKEFLAGS not honored when building an a chroot

@ngoonee - yes, that's what I meant by "inside the chroot."  This is not normal behavior I'm guessing.

Offline

#4 2010-12-04 23:30:26

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: MAKEFLAGS not honored when building an a chroot

are you using devtools to build the packages? what is your make version?

Last edited by wonder (2010-12-04 23:30:41)


Give what you have. To someone, it may be better than you dare to think.

Offline

#5 2010-12-04 23:34:02

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,729
Website

Re: MAKEFLAGS not honored when building an a chroot

@wonder - yep, it's also updated.

$ make --version
GNU Make 3.81
Copyright (C) 2006  Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.

This program built for x86_64-unknown-linux-gnu

Offline

#6 2010-12-04 23:42:20

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: MAKEFLAGS not honored when building an a chroot

1) makechrootpkg is not using your system /etc/makepkg.conf and it has its own in chroot/root/etc/makepkg.conf which is copied in chroot/copy and compilation
2) you need a ~/.makepkg.conf  with MAKEFLAGS="-j5" and this would be used inside chroot by makechrootpkg
3) just for future references. make 3.82 doesn't honor  makeflags. https://savannah.gnu.org/support/index.php?107487

Last edited by wonder (2010-12-05 01:10:25)


Give what you have. To someone, it may be better than you dare to think.

Offline

#7 2010-12-05 11:26:35

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,729
Website

Re: MAKEFLAGS not honored when building an a chroot

@wonder - thanks for the info.  Just so you guys don't think I'm an idiot, I do understand that the chroot has its own makepkg.conf.

graysky wrote:

I'm building within a chroot but only 1/4 of my cores seem to be allowed to do the work despite /etc/makepkg.conf from inside the chroot saying -j5.

Offline

Board footer

Powered by FluxBB