NetBSD Problem Report #52883

From jgw@sdf.org  Sun Dec 31 22:19:02 2017
Return-Path: <jgw@sdf.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id C77387A19A
	for <gnats-bugs@gnats.NetBSD.org>; Sun, 31 Dec 2017 22:19:02 +0000 (UTC)
Message-Id: <20171231203212.B246B93212@think.sleepy.cat>
Date: Sun, 31 Dec 2017 13:32:12 -0700 (MST)
From: jgw@sdf.org
Reply-To: jgw@sdf.org
To: gnats-bugs@NetBSD.org
Subject: chat/scrollz fails to build with inet6 option (default)
X-Send-Pr-Version: 3.95

>Number:         52883
>Category:       pkg
>Synopsis:       chat/scrollz-2.2.3nb3 pkg fails to build with default inet6 option
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Dec 31 22:20:00 +0000 2017
>Closed-Date:    Sat Jan 13 08:54:15 +0000 2018
>Last-Modified:  Sat Jan 13 22:40:00 +0000 2018
>Originator:     Jeff Woodall
>Release:        NetBSD 8.99.9 - 201712240430Z
>Organization:
n/a
>Environment:
System: NetBSD think 8.99.9 NetBSD 8.99.9 (THINK) #0: Wed Dec 27 23:58:03 MST 2017 root@think:/usr/src/sys/arch/i386/compile/THINK i386
Architecture: i386
Machine: i386
>Description:
	Despite chat/scrollz being listed in ../pkgsrc/README-IPv6.html
	as "known to support IPv6" it does not:

	(pkgsrc tree is 'current', updated via cvs prior to build attempt)

	% cd /usr/pkgsrc/chat/scrollz
	% sudo make -s configure
	..
	checking whether to enable ipv6... yes
	checking ipv6 stack type... kame
	You do not have (need) inet6 library, using libc
	checking getaddrinfo bug... buggy
	configure: error: Fatal: You must get working getaddrinfo() function.
	*** Error code 1

	Stop.
	make[1]: stopped in /usr/pkgsrc/chat/scrollz
	*** Error code 1

	Stop.
	make: stopped in /usr/pkgsrc/chat/scrollz

>How-To-Repeat:
	% sudo make -s clean && sudo make -s configure
>Fix:
	Only way to build package currently is to disable inet6 option
	in ../options.mk.  For some reason the package doesn't see the
	native getaddrinfo() which I *think* is sufficently non-buggy
	to be used..

>Release-Note:

>Audit-Trail:
From: jgw@sdf.org
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/52883: chat/scrollz fails to build with inet6 option
 (default)
Date: Tue, 09 Jan 2018 11:37:46 -0700

 gnats-admin@netbsd.org wrote:

 > Thank you very much for your problem report.
 > It has the internal identification `pkg/52883'.
 > The individual assigned to look at your
 > report is: pkg-manager. 
 >
 > >Category:       pkg
 > >Responsible:    pkg-manager
 > >Synopsis:       chat/scrollz-2.2.3nb3 pkg fails to build with default inet6 option
 > >Arrival-Date:   Sun Dec 31 22:20:00 +0000 2017

 A follow-up:

 Further testing revealed a conflict between the --enable-ipv6 and --with-efence
 configure options for this package.  Given e-fence is just a debugger, the
 following work-around is proposed:

 % diff -U1 options.mk.orig options.mk
 --- options.mk.orig     2018-01-09 11:17:40.409367515 -0700
 +++ options.mk  2018-01-09 11:17:09.833301127 -0700
 @@ -4,3 +4,3 @@
  PKG_SUPPORTED_OPTIONS=         efence inet6 regexp utf8
 -PKG_SUGGESTED_OPTIONS+=                efence inet6
 +PKG_SUGGESTED_OPTIONS+=                inet6
  PKG_OPTIONS_OPTIONAL_GROUPS=   socks ssl
 @@ -13,3 +13,3 @@
  .include "../../devel/electric-fence/buildlink3.mk"
 -CONFIGURE_ARGS+=       --with-efence
 +CONFIGURE_ARGS+=       --with-efence --disable-ipv6
  .else
 @@ -26,3 +26,3 @@
  .if !empty(PKG_OPTIONS:Minet6)
 -CONFIGURE_ARGS+=       --enable-ipv6
 +CONFIGURE_ARGS+=       --enable-ipv6 --disable-efence
  .else

 This change, in conjunction with 'PKG_OPTIONS.scrollz+=  gnutls' in the
 Makefile, resulted in a successful build on a slightly modified GENERIC/i386
 system running a current snapshot dated Dec. 27, 2017.

State-Changed-From-To: open->closed
State-Changed-By: wiz@NetBSD.org
State-Changed-When: Sat, 13 Jan 2018 08:54:15 +0000
State-Changed-Why:
I made the two options conflicting, thanks for the bug report.


From: "Thomas Klausner" <wiz@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/52883 CVS commit: pkgsrc/chat/scrollz
Date: Sat, 13 Jan 2018 08:53:58 +0000

 Module Name:	pkgsrc
 Committed By:	wiz
 Date:		Sat Jan 13 08:53:58 UTC 2018

 Modified Files:
 	pkgsrc/chat/scrollz: Makefile options.mk

 Log Message:
 scrollz: efence and inet6 options conflict

 According to PR 52883. Put them in one option group. Disable efence.

 Bump PKGREVISION.


 To generate a diff of this commit:
 cvs rdiff -u -r1.23 -r1.24 pkgsrc/chat/scrollz/Makefile
 cvs rdiff -u -r1.2 -r1.3 pkgsrc/chat/scrollz/options.mk

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

From: jgw@sdf.org
To: wiz@NetBSD.org, pkgsrc-bugs@netbsd.org, pkg-manager@netbsd.org,
 gnats-bugs@NetBSD.org, gnats-admin@netbsd.org
Cc: 
Subject: Re: pkg/52883 (chat/scrollz-2.2.3nb3 pkg fails to build with default
 inet6 option)
Date: Sat, 13 Jan 2018 09:37:33 -0700

 wiz@NetBSD.org wrote:

 > Synopsis: chat/scrollz-2.2.3nb3 pkg fails to build with default inet6 option
 >
 > State-Changed-From-To: open->closed
 > State-Changed-By: wiz@NetBSD.org
 > State-Changed-When: Sat, 13 Jan 2018 08:54:15 +0000
 > State-Changed-Why:
 > I made the two options conflicting, thanks for the bug report.
 >

 Shouldn't you retain the following ? :

 options.mk
 ..
 PKG_SUPPORTED_OPTIONS=          efence inet6 regexp utf8

 Otherwise efence and inet6 are not listed as supported even though they are,
 just not when used concurrently.  Actually, gnutls should also be listed as
 a supported option.

 Suggested change (assuming it's possible to re-open a PR):

 % diff -U1 options.mk~ options.mk
 --- options.mk~ 2018-01-13 09:35:02.788655301 -0700
 +++ options.mk  2018-01-13 09:35:11.231656616 -0700
 @@ -3,3 +3,3 @@
  PKG_OPTIONS_VAR=               PKG_OPTIONS.scrollz
  -PKG_SUPPORTED_OPTIONS=         regexp utf8
  +PKG_SUPPORTED_OPTIONS=         efence inet6 regexp utf8 gnutls
   PKG_SUGGESTED_OPTIONS+=        inet6

From: Thomas Klausner <wiz@NetBSD.org>
To: NetBSD bugtracking <gnats-bugs@NetBSD.org>
Cc: 
Subject: Re: pkg/52883 (chat/scrollz-2.2.3nb3 pkg fails to build with default
 inet6 option)
Date: Sat, 13 Jan 2018 23:37:40 +0100

 On Sat, Jan 13, 2018 at 09:37:33AM -0700, jgw@sdf.org wrote:
 > Shouldn't you retain the following ? :

 No, that's not necessary. Try it out.
  Thomas

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.