From: Adonay Felipe Nogueira <adfeno@openmailbox.org>
To: 24834@debbugs.gnu.org
Subject: bug#24834: Samba commands expect configuration file inside store
Date: Wed, 23 Nov 2016 08:52:36 -0200 [thread overview]
Message-ID: <87lgwaa2ob.fsf@openmailbox.org> (raw)
In-Reply-To: <87polt9kw1.fsf@openmailbox.org> (Adonay Felipe Nogueira's message of "Fri, 18 Nov 2016 07:50:54 -0200")
[-- Attachment #1: Type: text/plain, Size: 394 bytes --]
Tested the patch today
It seems that, during the `install' phase, something tries to make
"/etc/samba" directory.
The log from the start of the error is attached.
I did `guix build samba` as normal user, and since I'm new to this
situation, I must ask: should I run it as root instead? Or should we
find a way to tell the `install' phase to not make such paths? Or, do
you have other ideas?
[-- Attachment #2: guix build samba.log --]
[-- Type: application/octet-stream, Size: 2240 bytes --]
Waf: Leaving directory `/tmp/guix-build-samba-4.5.1.drv-0/samba-4.5.1/bin'
'build' finished successfully (12m43.849s)
phase `build' succeeded after 764.2 seconds
starting phase `check'
test suite not run
phase `check' succeeded after 0.0 seconds
starting phase `install'
WAF_MAKE=1 python ./buildtools/bin/waf install
Waf: Entering directory `/tmp/guix-build-samba-4.5.1.drv-0/samba-4.5.1/bin'
* creating /etc/samba
/tmp/guix-build-samba-4.5.1.drv-0/samba-4.5.1/wscript: error: Traceback (most re
cent call last):
File "/tmp/guix-build-samba-4.5.1.drv-0/samba-4.5.1/third_party/waf/wafadmin/U
tils.py", line 669, in recurse
exec(compile(txt, file_path, 'exec'), dc)
File "/tmp/guix-build-samba-4.5.1.drv-0/samba-4.5.1/wscript_build", line 47, i
n <module>
bld.RECURSE('dynconfig')
File "./buildtools/wafsamba/samba_utils.py", line 453, in RECURSE
return ctx.add_subdirs(relpath)
File "/tmp/guix-build-samba-4.5.1.drv-0/samba-4.5.1/third_party/waf/wafadmin/Build.py", line 997, in add_subdirs
self.recurse(dirs, 'build')
File "/tmp/guix-build-samba-4.5.1.drv-0/samba-4.5.1/third_party/waf/wafadmin/Utils.py", line 656, in recurse
f(self)
File "/tmp/guix-build-samba-4.5.1.drv-0/samba-4.5.1/dynconfig/wscript", line 423, in build
bld.INSTALL_DIRS("", "${CONFIGDIR} ${PRIVATE_DIR} ${LOGFILEBASE}");
File "./buildtools/wafsamba/wafsamba.py", line 889, in INSTALL_DIRS
bld.install_dir(os.path.join(destdir, d))
File "/tmp/guix-build-samba-4.5.1.drv-0/samba-4.5.1/third_party/waf/wafadmin/Build.py", line 844, in install_dir
Utils.check_dir(destpath)
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
builder for `/gnu/store/...-samba-4.5.1.drv' failed with exit code 1
@ build-failed /gnu/store/...-samba-4.5.1.drv - 1 builder for `/gnu/store/...-samba-4.5.1.drv' failed with exit code 1
guix build: error: build failed: build of `/gnu/store/...-samba-4.5.1.drv' failed
next prev parent reply other threads:[~2016-11-23 10:53 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
2016-11-23 10:52 ` Adonay Felipe Nogueira [this message]
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=87lgwaa2ob.fsf@openmailbox.org \
--to=adfeno@openmailbox.org \
--cc=24834@debbugs.gnu.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).