Gentoo Archives: gentoo-user

From: Timur Aydin <ta@××××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] creating overlay to modify net-fs/samba-3.6.18
Date: Tue, 10 Sep 2013 22:55:15
Message-Id: 522F9BAE.1050404@taydin.org
In Reply to: Re: [gentoo-user] creating overlay to modify net-fs/samba-3.6.18 by Alan McKinnon
1 On 09/11/13 00:01, Alan McKinnon wrote:
2 > Do you have userpriv set in FEATURES?
3 >
4 > That makes emerge run as portage which cannot read /root.
5
6 Here is the value of FEATURES, based on the output of emerge --info:
7
8 FEATURES="assume-digests binpkg-logs config-protect-if-modified
9 distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch
10 preserve-libs protect-owned sandbox sfperms strict unknown-features-warn
11 unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
12
13 So as you say, userpriv is set and it explains why /root/overlay doesn't
14 work.
15
16 >
17 > I suspect your make.conf is faulty.
18 >
19 > What is the contents of make.conf?
20 > what is ls -al $PORTDIR/eclass/pam.eclass
21 >
22
23 Here are the contents of /etc/portage/make.conf:
24
25 ======================================================================
26 # These settings were set by the catalyst build script that automatically
27 # built this stage.
28 # Please consult /usr/share/portage/config/make.conf.example for a more
29 # detailed example.
30 CFLAGS="-O2 -pipe"
31 CXXFLAGS="${CFLAGS}"
32 # WARNING: Changing your CHOST is not something that should be done lightly.
33 # Please consult http://www.gentoo.org/doc/en/change-chost.xml before
34 changing.
35 CHOST="x86_64-pc-linux-gnu"
36 # These are the USE flags that were used in addition to what is provided
37 by the
38 # profile used for building.
39 MAKEOPTS="-j8"
40 GENTOO_MIRRORS="ftp://ftp.linux.org.tr/pub/gentoo"
41 USE="nptl nptlonly unicode minizip tk udev python threads xvfb perl dlz
42 caps sqlite upcall systemd -gtk2 -gtk3 -acl"
43 ACCEPT_KEYWORDS="~amd64"
44 ACCEPT_LICENSE="*"
45 VIDEO_CARDS="intel"
46 INPUT_DEVICES="evdev keyboard mouse"
47 FEATURES="-test"
48 PORTDIR_OVERLAY="/usr/local/portage"
49 ======================================================================
50
51 And here is the pam.eclass perms:
52
53 bonsai ~ # ls -al /usr/portage/eclass/pam.eclass
54 -rw-r--r-- 1 portage portage 6455 Aug 5 2012
55 /usr/portage/eclass/pam.eclass

Replies

Subject Author
Re: [gentoo-user] creating overlay to modify net-fs/samba-3.6.18 Alan McKinnon <alan.mckinnon@×××××.com>