unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Thompson, David" <dthompson2@worcester.edu>
To: Daniel Pimentel <d4n1@openmailbox.org>
Cc: guix-devel <guix-devel@gnu.org>
Subject: Re: Create package and guix-daemon
Date: Thu, 23 Jul 2015 16:40:44 -0400	[thread overview]
Message-ID: <CAJ=RwfZwBmQ2kVYu_bfpnMJYkdNCK7XaNMjrNV2tJibSC6jVzg@mail.gmail.com> (raw)
In-Reply-To: <4c86aace96953a3ef6aebc6867855425@openmailbox.org>

On Thu, Jul 23, 2015 at 4:35 PM, Daniel Pimentel <d4n1@openmailbox.org> wrote:
> Hi guix,
>
> I'm tried create a simple package (ipcalc, but in soon I'll try build the
> complex packages), but there's a error with guix-daemon socket:
>
> ./pre-inst-env guix build ipcalc --keep-failed
> ;;; note: source file
> /home/dani/Desktop/development/git/guix/guix/config.scm
> ;;;       newer than compiled
> /run/current-system/profile/share/guile/site/2.0/guix/config.go
> guix build: error: failed to connect to
> `/usr/local/var/guix/daemon-socket/socket': No such file or directory
>
> I added my user, dani, to guixbuild in my config.scm, and I tried with root
> "guix-daemon --build-users-group=guixbuild" but without success.

Eek!  Remove your user from that group!  Your regular system users
should never be in the guixbuild group.

> Help me :(

The problem is that you haven't configured your Guix development
environment to use the right $localstatedir.  If you're running
GuixSD, you need to configure the Guix you are building from source
like so:

    ./configure --localstatedir=/var

> P.S: I my system there isn't /usr directory.

GuixSD does not conform to the FHS, so there is no /usr.

Hope this helps.

- Dave

  reply	other threads:[~2015-07-23 20:40 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-23 20:35 Create package and guix-daemon Daniel Pimentel
2015-07-23 20:40 ` Thompson, David [this message]
2015-07-24 12:41   ` Daniel Pimentel
2015-07-24 12:44     ` Thompson, David
2015-07-24 12:57       ` Daniel Pimentel
2015-07-23 20:42 ` Andreas Enge
2015-07-24 12:44   ` Daniel Pimentel
2015-07-24 12:58     ` Andreas Enge
2015-07-24 13:01       ` Daniel Pimentel

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='CAJ=RwfZwBmQ2kVYu_bfpnMJYkdNCK7XaNMjrNV2tJibSC6jVzg@mail.gmail.com' \
    --to=dthompson2@worcester.edu \
    --cc=d4n1@openmailbox.org \
    --cc=guix-devel@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).