From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 444381381F3 for ; Tue, 10 Sep 2013 20:13:23 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 78ED1E09AD; Tue, 10 Sep 2013 20:13:15 +0000 (UTC) Received: from gproxy1-pub.mail.unifiedlayer.com (gproxy1-pub.mail.unifiedlayer.com [69.89.25.95]) by pigeon.gentoo.org (Postfix) with SMTP id 50A92E093A for ; Tue, 10 Sep 2013 20:13:14 +0000 (UTC) Received: (qmail 32621 invoked by uid 0); 10 Sep 2013 20:13:12 -0000 Received: from unknown (HELO mailchannelsproxy4.unifiedlayer.com) (10.0.91.84) by roproxy1.unifiedlayer.com with SMTP; 10 Sep 2013 20:13:12 -0000 X-Sender-Id: {1590:box401.bluehost.com:taydinor:taydin.org} {sentby:smtp auth 176.41.233.165 authed with ta@taydin.org} Received: from box401.bluehost.com (box401.bluehost.com [69.89.31.201]) by 0.0.0.0:2500 (trex/4.8.87); Tue, 10 Sep 2013 20:13:12 GMT DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=taydin.org; s=default; h=Content-Transfer-Encoding:Content-Type:Subject:To:MIME-Version:From:Date:Message-ID; bh=9S82/CbvhA+BPP++PblKSyU9Dje5Ut8rnHq2T6l/Kr4=; b=m7Ez+qz7USHxs40J2UhflduZYN3qvFAI9lV4ep9W0kwG5LNBL+pjM5rNSzrGzf7rbn81vxg5vKARlje+srsYdbyNq4bIvbUhKRy+JzWV/4/E3pLNUoFv7hnd3zcU3gra; Received: from [176.41.233.165] (port=59518) by box401.bluehost.com with esmtpsa (TLSv1:CAMELLIA256-SHA:256) (Exim 4.80) (envelope-from ) id 1VJUJE-0002RN-AD for gentoo-user@lists.gentoo.org; Tue, 10 Sep 2013 14:13:12 -0600 Message-ID: <522F7CE5.8010801@taydin.org> Date: Tue, 10 Sep 2013 23:11:17 +0300 From: Timur Aydin User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130811 Thunderbird/17.0.8 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org Subject: [gentoo-user] creating overlay to modify net-fs/samba-3.6.18 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Identified-User: {1590:box401.bluehost.com:taydinor:taydin.org} {sentby:smtp auth 176.41.233.165 authed with ta@taydin.org} X-Archives-Salt: 5d4e5b47-1089-4bce-88aa-cd0742f97716 X-Archives-Hash: 6ef470482ef6aa51190f6483c954f0bd Today I had quite a bit of issues while creating a local overlay to modify samba. Got through all of them, but there were the following issues which I wanted to bring up, because I am not sure whether I have done anything wrong: - I had created the overlay under "/root/overlay", but this is causing "permission denied" errors from ebuild when creating the Manifest file: ====================================================================== /usr/lib64/portage/bin/ebuild.sh: line 545: /root/overlay/net-fs/samba/samba-3.6.18.ebuild: Permission denied * ERROR: net-fs/samba-3.6.18::myoverlay failed (depend phase): * error sourcing ebuild * * Call stack: * ebuild.sh, line 545: Called die * The specific snippet of code: * source "$EBUILD" || die "error sourcing ebuild" * * If you need support, post the output of `emerge --info '=net-fs/samba-3.6.18::myoverlay'`, * the complete build log and the output of `emerge -pqv '=net-fs/samba-3.6.18::myoverlay'`. * Working directory: '/usr/lib64/portage/pym' * S: '/var/tmp/portage/net-fs/samba-3.6.18/work/samba-3.6.18' ====================================================================== After trying many different things without luck, I tried using /usr/local/portage as the overlay folder and the problem went away! So my first question is, does ebuild have a special security feature which prevents it from processing overlays under /root ? - The second issue is eclass related. After I moved net-fs/samba under /usr/local/portage, I got the following error during Manifest creation: ====================================================================== bonsai samba # ebuild samba-3.6.18.ebuild manifest * ERROR: net-fs/samba-3.6.18::myoverlay failed (depend phase): * pam.eclass could not be found by inherit() * * Call stack: * ebuild.sh, line 545: Called source '/usr/local/portage/net-fs/samba/samba-3.6.18.ebuild' * samba-3.6.18.ebuild, line 7: Called inherit 'pam' 'versionator' 'multilib' 'eutils' 'systemd' * ebuild.sh, line 257: Called die * The specific snippet of code: * [[ -z ${location} ]] && die "${1}.eclass could not be found by inherit()" * * If you need support, post the output of `emerge --info '=net-fs/samba-3.6.18::myoverlay'`, * the complete build log and the output of `emerge -pqv '=net-fs/samba-3.6.18::myoverlay'`. * Working directory: '/usr/lib64/portage/pym' * S: '/var/tmp/portage/net-fs/samba-3.6.18/work/samba-3.6.18' ====================================================================== To resolve this, I just copied /usr/portage/eclass to /usr/local/portage/eclass. Is this a proper solution? -- Timur Aydin