From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Subject: bug#24834: Samba commands expect configuration file inside store Date: Wed, 23 Nov 2016 23:16:22 +0100 Message-ID: <87bmx54zbd.fsf@gnu.org> References: <1477909074.12434.4.camel@adfeno-VPCEG17FB> <87h97ovg28.fsf@gnu.org> <87polt9kw1.fsf@openmailbox.org> <87h96ybhll.fsf@openmailbox.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40456) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c9fqk-0006GJ-9f for bug-guix@gnu.org; Wed, 23 Nov 2016 17:17:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c9fqh-0004mt-3w for bug-guix@gnu.org; Wed, 23 Nov 2016 17:17:06 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:52491) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1c9fqh-0004mi-0U for bug-guix@gnu.org; Wed, 23 Nov 2016 17:17:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1c9fqg-00084H-Ai for bug-guix@gnu.org; Wed, 23 Nov 2016 17:17:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87h96ybhll.fsf@openmailbox.org> (Adonay Felipe Nogueira's message of "Wed, 23 Nov 2016 08:44:54 -0200") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Adonay Felipe Nogueira Cc: 24834@debbugs.gnu.org Hi, Adonay Felipe Nogueira skribis: > Tested the patch today > > It seems that, during the `install' phase, something tries to make > "/etc/samba" directory. [...] > File "/tmp/guix-build-samba-4.5.1.drv-0/samba-4.5.1/third_party/waf/waf= admin/Utils.py", line 458, in check_dir > raise WafError("Cannot create the folder '%s' (error: %s)" % (path, e= )) > WafError: Cannot create the folder '/etc/samba' (error: [Errno 13] Permis= sion denied: '/etc/samba')=20=20 > > make: *** [Makefile:11: install] Error 1 > phase `install' failed after 0.5 seconds That=E2=80=99s a common issue as I mentioned in (=E2=80=98sysconf= dir=E2=80=99 corresponds to /etc here.) Do address it, we need to modify Samba=E2=80=99s build system to not attemp= t to create /etc. Samba uses Waf, so we=E2=80=99d have to comment out the Waf b= it that leads to this attempt to create /etc. I=E2=80=99m not familiar with W= af so I=E2=80=99d =E2=80=9Cgrep -r=E2=80=9D in the source. :-) Could you look into it? There are similar cases in gnu/packages/*.scm but the fix always depends on the specifics of the build system being used, so nothing that really helps here I=E2=80=99m afraid. Thanks, Ludo=E2=80=99.