Subject: pkg/10972: editors/emacs does not work correctly (IPV6 support seems incorrect)
To: None <gnats-bugs@gnats.netbsd.org>
From: None <boquist@crt.se>
List: netbsd-bugs
Date: 09/07/2000 12:04:15
>Number:         10972
>Category:       pkg
>Synopsis:       emacs fails to open a network connection if compiled with IPV6 support
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Sep 07 12:05:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Urban Boquist
>Release:        NetBSD-current 2000-09-06
>Organization:
Carlstedt Research & Technology AB, Sweden
>Environment:
System: NetBSD iller 1.5E NetBSD 1.5E (ILLER-$Revision: 1.21 $) #0: Thu Aug 31 00:02:39 CEST 2000 root@iller:/usr/src/sys/arch/i386/compile/ILLER i386


>Description:
	When emacs is configured to use IPV6 (--with-ipv6 flag) the
	builtin LISP function open-network-stream does not work. The
	example below demonstrates this. For me it fails with:

		error creating socket: protocol not supported, mail

	If I change editors/emacs/Makefile to instead configure with
	--without-ipv6 the example below works as expected.
	For reference:
	# $NetBSD: Makefile,v 1.39 2000/06/24 17:03:37 minoura Exp $

>How-To-Repeat:
	Try reading news with GNUS in emacs, or try the following
	example:

	(let ((foo (get-buffer-create "foo")))
	  (open-network-stream "mail" foo "localhost" "smtp"))

	Put this code in the *scratch* buffer , put the cursor
	afterwards and press Ctrl-X Ctrl-E. You may need to change
	localhost to something that responds on port 25.
>Fix:
	Unknown. Probably easy for someone who knows IPV6?
>Release-Note:
>Audit-Trail:
>Unformatted: