From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Thompson, David" Subject: Re: Create package and guix-daemon Date: Thu, 23 Jul 2015 16:40:44 -0400 Message-ID: References: <4c86aace96953a3ef6aebc6867855425@openmailbox.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:58759) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZINIQ-0000Hr-V1 for guix-devel@gnu.org; Thu, 23 Jul 2015 16:40:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZINIL-0007gY-LY for guix-devel@gnu.org; Thu, 23 Jul 2015 16:40:50 -0400 Received: from mail-pd0-f178.google.com ([209.85.192.178]:33211) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZINIL-0007gU-FU for guix-devel@gnu.org; Thu, 23 Jul 2015 16:40:45 -0400 Received: by pdbnt7 with SMTP id nt7so1735039pdb.0 for ; Thu, 23 Jul 2015 13:40:44 -0700 (PDT) In-Reply-To: <4c86aace96953a3ef6aebc6867855425@openmailbox.org> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Daniel Pimentel Cc: guix-devel On Thu, Jul 23, 2015 at 4:35 PM, Daniel Pimentel 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