From: Andreas Enge <andreas@enge.fr>
To: Nikita Karetnikov <nikita@karetnikov.org>
Cc: bug-guix@gnu.org
Subject: Re: [PATCH] distro: Add MIT Kerberos 5.
Date: Sun, 30 Dec 2012 14:10:39 +0100 [thread overview]
Message-ID: <201212301410.39301.andreas@enge.fr> (raw)
In-Reply-To: <87sj6oqslj.fsf@karetnikov.org>
[-- Attachment #1: Type: text/plain, Size: 1900 bytes --]
Am Sonntag, 30. Dezember 2012 schrieb Nikita Karetnikov:
> > + `(#:tests? #f
> Ludo told me some time ago that it's necessary to write a comment when
> you disable tests. It should explain why they were disabled.
This is a mistake, thanks for spotting it!
Actually, the tests do fail with:
make[2]: Entering directory `/tmp/nix-build-mit-
krb5-1.11.drv-0/krb5-1.11/src/tests/resolve'
LD_LIBRARY_PATH=`echo -L../../lib | sed -e "s/-L//g" -e "s/ /:/g"`; export
LD_LIBRARY_PATH; ./resolve
Error looking up IP address
Hostname: localhost
Host address: 127.0.0.1
FQDN: localhost
Resolve library appears to have passed the test
LD_LIBRARY_PATH=`echo -L../../lib | sed -e "s/-L//g" -e "s/ /:/g"`; export
LD_LIBRARY_PATH; ./addrinfo-test -p telnet
getaddrinfo(hostname (null), service telnet,
hints { no-flags }):
error => Servname not supported for ai_socktype
make[2]: *** [check] Error 1
In my non-guix environment, I obtain
privat@debian:/tmp/krb5-1.11/src/tests/resolve$ ./addrinfo-test -p telnet
getaddrinfo(hostname (null), service telnet,
hints { no-flags }):
0x2109f40:
family = AF_INET6 proto = TCP socktype = STREAM
addr = ::1 port = 23
getnameinfo => ip6-localhost, telnet
0x2109270:
family = AF_INET proto = TCP socktype = STREAM
addr = 127.0.0.1 port = 23
getnameinfo => localhost, telnet
I suppose the problem is that the telnet ports are not defined in guix;
when I manually do
./addrinfo-test -p t
I obtain the same kind of error:
getaddrinfo(hostname (null), service t,
hints { no-flags }):
error => Servname not supported for ai_socktype
Instead of disabling all tests, one might patch the Makefile.in inside
src/tests/resolve to not execute the telnet related tests.
What do you think?
Andreas
[-- Attachment #2: Type: text/html, Size: 9027 bytes --]
next prev parent reply other threads:[~2012-12-30 13:10 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-12-29 23:09 [PATCH] distro: Add MIT Kerberos 5 Andreas Enge
2012-12-30 0:41 ` Nikita Karetnikov
2012-12-30 13:10 ` Andreas Enge [this message]
2012-12-30 16:31 ` Ludovic Courtès
2013-01-01 14:05 ` Andreas Enge
2013-01-20 21:35 ` Andreas Enge
2013-01-02 0:19 ` 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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=201212301410.39301.andreas@enge.fr \
--to=andreas@enge.fr \
--cc=bug-guix@gnu.org \
--cc=nikita@karetnikov.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 external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.