From: Alexander Vorobiev <alexander.vorobiev@gmail.com>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: guix-devel@gnu.org
Subject: Re: Daemon update
Date: Thu, 28 May 2015 12:56:47 -0500 [thread overview]
Message-ID: <CAGOCFPUrNKHPZDO8iq-RKCtWTbcApQ6n-YXtUo5VmPbcg+uSsg@mail.gmail.com> (raw)
In-Reply-To: <87r3q1bv6p.fsf@gnu.org>
[-- Attachment #1: Type: text/plain, Size: 3763 bytes --]
I have some good progress finally. I started from scratch and pulled the
latest from git. I am now running guix-daemon as root with only one option
--no-substitutes. The make guix-binary* ran for hours and built a lot of
stuff (bash, gcc, perl, etc) but stumbled upon openldap which doesn't seem
to be available at the url it wants to use:
building path(s)
`/shared/shape_tier3/common/local/guix/store/50l6s098sy4ig2irjm1g4c8y261nxzfc-openldap-2.4.40.tgz'
starting download of
`/shared/shape_tier3/common/local/guix/store/50l6s098sy4ig2irjm1g4c8y261nxzfc-openldap-2.4.40.tgz'
from `
ftp://sunsite.cnlab-switch.ch/mirror/OpenLDAP/openldap-release/openldap-2.4.40.tgz'.
..
ERROR: In procedure getaddrinfo: Name or service not known
failed to download
"/shared/shape_tier3/common/local/guix/store/50l6s098sy4ig2irjm1g4c8y261nxzfc-openldap-2.4.40.tgz"
from "
ftp://sunsite.cnlab-switch.ch/mirror/OpenLDAP/openldap-release/openldap-2.4.40.tgz
"
I tried modifying gnu/packages/openldap.scm to use correct url (
ftp://mirror.switch.ch/mirror/OpenLDAP/openldap-release/...) but that
didn't change anything since (I am guessing) the .drv files in store
weren't rebuilt and still point to the old url. How do I fix that without
rebuilding everything that it created so far?
As a side note, would it be possible to modify the files you suggested (gnu
packages package-management and gnu system instal) for the custom local
state dir in such a way (through configure? scheme variable?) that it
wouldn't be hard-coded? I am guessing any update to guix would cause my
changes to be lost?
Thanks,
Alex
On Wed, May 27, 2015 at 3:51 PM, Ludovic Courtès <ludo@gnu.org> wrote:
> Alexander Vorobiev <alexander.vorobiev@gmail.com> skribis:
>
> > I modified the files (to use my paths for the cache and store) and ran
> > guix-daemon as root. Now it got much, much further! But still failed, it
> > seems while building perl. Here is the end of the log file:
> >
> > In unknown file:
> > ?: 5 [load-compiled/vm
> >
> "/home/alex/.cache/guile/ccache/2.0-LE-8-2.0/home/alex/src/guix/build-aux/make-binary-tarball.scm.go"]
> > In build-aux/make-binary-tarball.scm:
> > 38: 4 [#<procedure 21c0840 ()>]
> > In guix/store.scm:
> > 986: 3 [run-with-store # ...]
> > In build-aux/make-binary-tarball.scm:
> > 41: 2 [#<procedure 3961960 at build-aux/make-binary-tarball.scm:40:7
> > (state)> #]
> > In guix/store.scm:
> > 933: 1 [#<procedure 4ed3f30 at guix/store.scm:932:28 (store)> #]
> > 624: 0 [build-things # #]
> >
> > guix/store.scm:624:0: In procedure build-things:
> > guix/store.scm:624:0: Throw to key `srfi-34' with args `(#<condition
> > &nix-protocol-error [message: "| | | bind mounting `/dev/full' to
> >
> `/shared/shape_tier3/commo/local/guix/store/828rlmpkg4bi5i28lif2a1af7g4s62yq-perl-5.16.1.drv.chroot/dev/full'"
> > status: 1] 4b4cae0>)'.
> > Makefile:4331: recipe for target 'guix-binary.x86_64-linux.tar.xz' failed
>
> You seem to be running the daemon with --debug no? What surprises me is
> that the above is not an error message but a debugging message. The
> actual error seems to be elsewhere.
>
> > I also tried to use --disable-chroot but it also failed while building
> > perl. The first error message seems to be during perl's configure run:
>
> If you can run the daemon as root, then do run it as root, but without
> --disable-chroot; as the manual states, --disable-chroot is a last
> resort, and it’s only needed if you cannot run the daemon as root.
>
> In the case of Perl, I wouldn’t be surprised if its Configure script
> looks at stuff from the host distro in /usr/lib and so on, which can
> lead to a failure down the path.
>
> Ludo’.
>
[-- Attachment #2: Type: text/html, Size: 4830 bytes --]
next prev parent reply other threads:[~2015-05-28 17:57 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-19 14:15 Daemon update Ludovic Courtès
2015-05-21 3:03 ` Alex Vorobiev
2015-05-21 7:24 ` Taylan Ulrich Bayırlı/Kammer
2015-05-21 8:24 ` Ludovic Courtès
2015-05-22 1:47 ` Alexander Vorobiev
2015-05-22 8:35 ` Taylan Ulrich Bayırlı/Kammer
2015-05-22 13:45 ` Ludovic Courtès
2015-05-27 3:27 ` Alexander Vorobiev
2015-05-27 15:18 ` Ludovic Courtès
2015-05-27 20:10 ` Alexander Vorobiev
2015-05-27 20:51 ` Ludovic Courtès
2015-05-28 17:56 ` Alexander Vorobiev [this message]
2015-05-29 20:57 ` Ludovic Courtès
2015-05-29 22:34 ` Alexander Vorobiev
2015-05-31 19:14 ` Ludovic Courtès
2015-06-01 16:50 ` Alexander Vorobiev
2015-06-01 19:58 ` Ludovic Courtès
2015-06-01 20:23 ` Alexander Vorobiev
2015-06-02 5:26 ` Alexander Vorobiev
2015-06-03 8:24 ` Ludovic Courtès
2015-06-03 16:04 ` Alexander Vorobiev
-- strict thread matches above, loose matches on Subject: below --
2015-05-12 7:58 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=CAGOCFPUrNKHPZDO8iq-RKCtWTbcApQ6n-YXtUo5VmPbcg+uSsg@mail.gmail.com \
--to=alexander.vorobiev@gmail.com \
--cc=guix-devel@gnu.org \
--cc=ludo@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).