unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
* Issues building older versions of Guix
@ 2018-02-28  8:55 Christopher Baines
  2018-03-02 13:54 ` Ludovic Courtès
  0 siblings, 1 reply; 3+ messages in thread
From: Christopher Baines @ 2018-02-28  8:55 UTC (permalink / raw)
  To: help-guix


[-- Attachment #1.1: Type: text/plain, Size: 142 bytes --]

Hey,

I've run in to some confusing issues building older versions of Guix
using a more recent version of Guix.

Take the following example.


[-- Attachment #1.2: test.scm --]
[-- Type: text/plain, Size: 558 bytes --]

(use-modules (guix packages)
             (guix git-download)
             (gnu packages package-management))

(package
  (inherit guix)
  (version "test")
  (source (origin
            (method git-fetch)
            (uri (git-reference
                  (url "https://git.savannah.gnu.org/r/guix.git")
                  (commit "8db8bf921d2749e35f7e190362e0fc73133a7c5f")))
            (sha256
             (base32
              "1bf3q0a6bvbg28yf11irrln68ad20np2h1i4bh3zv8gjfl1lmlw9"))
            (file-name (string-append "guix-" version "-checkout")))))

[-- Attachment #1.3: Type: text/plain, Size: 94 bytes --]


When I build this, I get the following errors that appear towards the
middle of the output.


[-- Attachment #1.4: Type: text/plain, Size: 3144 bytes --]

Compiling Scheme modules...
Updating ./doc/version.texi
  GEN      scripts/guix
  HELP2MAN doc/guix-daemon.1
  DOT      doc/images/bootstrap-graph.png
  DOT      doc/images/bootstrap-packages.png
help2man: can't get `--help' info from guix-daemon
Try `--no-discard-stderr' if option outputs to stderr
WARNING: 'help2man' is missing on your system.
         You should only need it if you modified a dependency of a man page.
         You may want to install the GNU Help2man package:
         <http://www.gnu.org/software/help2man/>
make[2]: [Makefile:5440: doc/guix-daemon.1] Error 127 (ignored)
  DOT      doc/images/coreutils-graph.png
  DOT      doc/images/coreutils-bag-graph.png
  DOT      doc/images/service-graph.png
  DOT      doc/images/shepherd-graph.png
  DL       gnu/packages/bootstrap/aarch64-linux/guile-2.0.14.tar.xz
  DL       gnu/packages/bootstrap/armhf-linux/guile-2.0.11.tar.xz
  LOAD     guix/base16.scm
  LOAD     guix/base32.scm
  LOAD     guix/base64.scm
  LOAD     guix/cpio.scm
Backtrace:
           4 (primitive-load "/tmp/guix-build-guix-test.drv-0/source…")
           3 (_ #<procedure a12ce0 at ice-9/eval.scm:330:13 ()> #<p…> …)
In web/client.scm:
   382:25  2 (http-get #<<uri> scheme: http userinfo: #f host: "alp…> …)
    180:7  1 (open-socket-for-uri _)
In unknown file:
           0 (getaddrinfo "alpha.gnu.org" "http" 0 #<undefined> #<u…> …)

ERROR: In procedure getaddrinfo:
In procedure getaddrinfo: Servname not supported for ai_socktype
downloading file `gnu/packages/bootstrap/aarch64-linux/guile-2.0.14.tar.xz'
from `http://alpha.gnu.org/gnu/guix/bootstrap/aarch64-linux/20170217/guile-2.0.14.tar.xz'...

Some deprecated features have been used.  Set the environment
variable GUILE_WARN_DEPRECATED to "detailed" and rerun the
program to get more information.  Set it to "no" to suppress
this message.
make[2]: *** [Makefile:5332: gnu/packages/bootstrap/aarch64-linux/guile-2.0.14.tar.xz] Error 1
make[2]: *** Waiting for unfinished jobs....
  LOAD     guix/records.scm
  LOAD     guix/gcrypt.scm
  LOAD     guix/hash.scm
  LOAD     guix/pk-crypto.scm
  LOAD     guix/pki.scm
Backtrace:
           4 (primitive-load "/tmp/guix-build-guix-test.drv-0/source…")
           3 (_ #<procedure a461a0 at ice-9/eval.scm:330:13 ()> #<p…> …)
In web/client.scm:
   382:25  2 (http-get #<<uri> scheme: http userinfo: #f host: "alp…> …)
    180:7  1 (open-socket-for-uri _)
In unknown file:
           0 (getaddrinfo "alpha.gnu.org" "http" 0 #<undefined> #<u…> …)

ERROR: In procedure getaddrinfo:
In procedure getaddrinfo: Servname not supported for ai_socktype
downloading file `gnu/packages/bootstrap/armhf-linux/guile-2.0.11.tar.xz'
from `http://alpha.gnu.org/gnu/guix/bootstrap/armhf-linux/20150101/guile-2.0.11.tar.xz'...

Some deprecated features have been used.  Set the environment
variable GUILE_WARN_DEPRECATED to "detailed" and rerun the
program to get more information.  Set it to "no" to suppress
this message.
make[2]: *** [Makefile:5328: gnu/packages/bootstrap/armhf-linux/guile-2.0.11.tar.xz] Error 1

[-- Attachment #1.5: Type: text/plain, Size: 204 bytes --]


Any ideas as to what this means? It seems to only happen when I build
the older package with a recent version of Guix. If I switch back to an
older version of Guix it seems to work fine.

Thanks,

Chris

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 962 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-03-03 23:10 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-02-28  8:55 Issues building older versions of Guix Christopher Baines
2018-03-02 13:54 ` Ludovic Courtès
2018-03-03 22:44   ` Christopher Baines

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).