Gentoo Archives: gentoo-user

From: Alan McKinnon <alan.mckinnon@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] creating overlay to modify net-fs/samba-3.6.18
Date: Wed, 11 Sep 2013 20:17:26
Message-Id: 5230CEDB.9050908@gmail.com
In Reply to: Re: [gentoo-user] creating overlay to modify net-fs/samba-3.6.18 by Timur Aydin
1 On 11/09/2013 00:22, Timur Aydin wrote:
2 > On 09/11/13 00:01, Alan McKinnon wrote:
3
4 >> I suspect your make.conf is faulty.
5 >>
6 >> What is the contents of make.conf?
7 >> what is ls -al $PORTDIR/eclass/pam.eclass
8 >>
9 >
10 > Here are the contents of /etc/portage/make.conf:
11 >
12 > ======================================================================
13 > # These settings were set by the catalyst build script that automatically
14 > # built this stage.
15 > # Please consult /usr/share/portage/config/make.conf.example for a more
16 > # detailed example.
17 > CFLAGS="-O2 -pipe"
18 > CXXFLAGS="${CFLAGS}"
19 > # WARNING: Changing your CHOST is not something that should be done lightly.
20 > # Please consult http://www.gentoo.org/doc/en/change-chost.xml before
21 > changing.
22 > CHOST="x86_64-pc-linux-gnu"
23 > # These are the USE flags that were used in addition to what is provided
24 > by the
25 > # profile used for building.
26 > MAKEOPTS="-j8"
27 > GENTOO_MIRRORS="ftp://ftp.linux.org.tr/pub/gentoo"
28 > USE="nptl nptlonly unicode minizip tk udev python threads xvfb perl dlz
29 > caps sqlite upcall systemd -gtk2 -gtk3 -acl"
30 > ACCEPT_KEYWORDS="~amd64"
31 > ACCEPT_LICENSE="*"
32 > VIDEO_CARDS="intel"
33 > INPUT_DEVICES="evdev keyboard mouse"
34 > FEATURES="-test"
35 > PORTDIR_OVERLAY="/usr/local/portage"
36 > ======================================================================
37 >
38 > And here is the pam.eclass perms:
39 >
40 > bonsai ~ # ls -al /usr/portage/eclass/pam.eclass
41 > -rw-r--r-- 1 portage portage 6455 Aug 5 2012
42 > /usr/portage/eclass/pam.eclass
43
44
45
46 I can't reproduce that fault here, and google hits on the matter seem to
47 point towards stale metadata referencing eclasses that no longer exist.
48 I have a hunch you do not have valid metadata for your local overlay, so
49 I suggest:
50
51 1. delete the eclass directory from your overlay, run "emerge
52 --metadata" and emerge samba again. See what that does.
53
54 2. Set PORTDIR_CACHE_METHOD and/or OVERLAY_CACHE_METHOD explicitly in
55 make.conf, the best reference for these is in the eix man page
56
57
58 --
59 Alan McKinnon
60 alan.mckinnon@×××××.com

Replies

Subject Author
Re: [gentoo-user] creating overlay to modify net-fs/samba-3.6.18 Timur Aydin <ta@××××××.org>