From: ludo@gnu.org (Ludovic Courtès)
To: Adonay Felipe Nogueira <adfeno@openmailbox.org>
Cc: 24834@debbugs.gnu.org
Subject: bug#24834: Samba commands expect configuration file inside store
Date: Wed, 23 Nov 2016 23:16:22 +0100 [thread overview]
Message-ID: <87bmx54zbd.fsf@gnu.org> (raw)
In-Reply-To: <87h96ybhll.fsf@openmailbox.org> (Adonay Felipe Nogueira's message of "Wed, 23 Nov 2016 08:44:54 -0200")
Hi,
Adonay Felipe Nogueira <adfeno@openmailbox.org> 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/wafadmin/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] Permission denied: '/etc/samba')
>
> make: *** [Makefile:11: install] Error 1
> phase `install' failed after 0.5 seconds
That’s a common issue as I mentioned in
<https://debbugs.gnu.org/cgi/bugreport.cgi?bug=24834#8> (‘sysconfdir’
corresponds to /etc here.)
Do address it, we need to modify Samba’s build system to not attempt to
create /etc. Samba uses Waf, so we’d have to comment out the Waf bit
that leads to this attempt to create /etc. I’m not familiar with Waf so
I’d “grep -r” 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’m afraid.
Thanks,
Ludo’.
next prev parent reply other threads:[~2016-11-23 22:17 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-10-31 10:17 bug#24834: Samba commands expect configuration file inside store Adonay Felipe Nogueira
2016-11-03 13:38 ` Ludovic Courtès
2016-11-18 9:50 ` Adonay Felipe Nogueira
2016-11-23 10:44 ` Adonay Felipe Nogueira
2016-11-23 22:16 ` Ludovic Courtès [this message]
2016-11-23 10:52 ` Adonay Felipe Nogueira
2016-12-04 0:06 ` Adonay Felipe Nogueira
2016-12-07 23:29 ` Ludovic Courtès
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87bmx54zbd.fsf@gnu.org \
--to=ludo@gnu.org \
--cc=24834@debbugs.gnu.org \
--cc=adfeno@openmailbox.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).