NetBSD Problem Report #37117

From yx@fxp0-660.lrou.x.ua  Fri Oct 12 15:41:51 2007
Return-Path: <yx@fxp0-660.lrou.x.ua>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by narn.NetBSD.org (Postfix) with ESMTP id CCBB263BA4F
	for <gnats-bugs@gnats.NetBSD.org>; Fri, 12 Oct 2007 15:41:50 +0000 (UTC)
Message-Id: <200710121535.l9CFZGsJ024323@fxp0-660.lrou.x.ua>
Date: Fri, 12 Oct 2007 18:35:16 +0300 (EEST)
From: Yakovetsky Vladimir <yx@x.ua>
Reply-To: yx@x.ua
To: joerg@NetBSD.org, gnats-bugs@NetBSD.org
Subject: x11/libXfont compiles with ipv6 despite -inet6 option
X-Send-Pr-Version: 3.95

>Number:         37117
>Category:       pkg
>Synopsis:       x11/libXfont compiles with ipv6 despite -inet6 option
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    joerg
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Oct 12 15:45:00 +0000 2007
>Closed-Date:    Mon Sep 17 11:52:31 +0000 2018
>Last-Modified:  Mon Sep 17 11:52:31 +0000 2018
>Originator:     Yakovetsky Vladimir
>Release:        NetBSD 4.99.31
>Organization:
>Environment:
System: NetBSD lrou.x.ua 4.99.31 NetBSD 4.99.31 (lrou_odd-1.852) #0: Sun Sep 30 18:16:16 EEST 2007 yx@lrou.x.ua:/sys/arch/i386/compile/lrou_odd i386
Architecture: i386
Machine: i386

>Description:
	x11/libXfont compiles with ipv6 despite -inet6 option

>How-To-Repeat:
% grep -i inet6 /etc/mk.conf
MKINET6=		no
PKG_DEFAULT_OPTIONS+=	-inet6

% cd /usr/pkgsrc/x11/libXfont && make
...
checking if IPv6 support should be built... yes
...


>Fix:
:r x11/libXfont/options.mk

PKG_OPTIONS_VAR=	PKG_OPTIONS.libXfont
PKG_SUPPORTED_OPTIONS+=	inet6

.include "../../mk/bsd.options.mk"

.if !empty(PKG_OPTIONS:Minet6)
CONFIGURE_ARGS+=	--enable-ipv6
.else
CONFIGURE_ARGS+=	--disable-ipv6
.endif


--- x11/libXfont/Makefile.orig
+++ x11/libXfont/Makefile
@@ -19,6 +19,8 @@

 PKGCONFIG_OVERRIDE+=	xfont.pc.in

+.include "options.mk"
+
 .include "../../devel/zlib/buildlink3.mk"
 .include "../../graphics/freetype2/buildlink3.mk"
 .include "../../x11/fontcacheproto/buildlink3.mk"

>Release-Note:

>Audit-Trail:
From: "Jeremy C. Reed" <reed@reedmedia.net>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/37117: x11/libXfont compiles with ipv6 despite -inet6 option
Date: Fri, 12 Oct 2007 16:42:46 -0500 (CDT)

 On Fri, 12 Oct 2007, Yakovetsky Vladimir wrote:

 > >How-To-Repeat:
 > % grep -i inet6 /etc/mk.conf
 > MKINET6=		no
 > PKG_DEFAULT_OPTIONS+=	-inet6
 > 
 > % cd /usr/pkgsrc/x11/libXfont && make
 > ...
 > checking if IPv6 support should be built... yes
 > ...

 I think that is just in the default configure for these modular Xorg 
 packages pulling in the xtrans autoconf macro.

 I didn't test, but did this make any difference to the build?

 The libXfont doesn't know IPv6 itself.

From: Yakovetsky Vladimir <yx@x.ua>
To: "Jeremy C. Reed" <reed@reedmedia.net>
Cc: gnats-bugs@NetBSD.org, pkg-manager@NetBSD.org,
	gnats-admin@NetBSD.org, pkgsrc-bugs@NetBSD.org
Subject: Re: pkg/37117: x11/libXfont compiles with ipv6 despite -inet6 option
Date: Sun, 14 Oct 2007 20:41:04 +0300

 On Fri, Oct 12, 2007 at 09:45:02PM +0000, Jeremy C. Reed wrote:
 > On Fri, 12 Oct 2007, Yakovetsky Vladimir wrote:
 >> % cd /usr/pkgsrc/x11/libXfont && make
 >> ...
 >> checking if IPv6 support should be built... yes
 >> ...
 >  
 > I think that is just in the default configure for these modular Xorg 
 > packages pulling in the xtrans autoconf macro.
 >  
 > I didn't test, but did this make any difference to the build?
 >  
   yes.

 > The libXfont doesn't know IPv6 itself.
 >  
   How much I understand it:  the fstrans - part of libXfont,
   whereas Xtransport (and libXfont/fstrans too) know IPv6.

   for example
   % nm /usr/pkg/lib/libXfont.so.1.4.1 | grep INET6
   0005ea20 D _FontTransSocketINET6Funcs


 -- 
 Yakovetsky Vladimir

Responsible-Changed-From-To: pkg-manager->joerg
Responsible-Changed-By: obache@netbsd.org
Responsible-Changed-When: Tue, 16 Oct 2007 01:03:35 +0000
Responsible-Changed-Why:
Over to maintainer.


From: "Aleksey Cheusov" <cheusov@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/37117 CVS commit: pkgsrc/x11/libXfont
Date: Mon, 14 Nov 2011 14:07:35 +0000

 Module Name:	pkgsrc
 Committed By:	cheusov
 Date:		Mon Nov 14 14:07:35 UTC 2011

 Modified Files:
 	pkgsrc/x11/libXfont: Makefile
 Added Files:
 	pkgsrc/x11/libXfont: options.mk

 Log Message:
 Add inet6 option as requiested in PR 37117. Tested on current.
    Approved by wiz@.


 To generate a diff of this commit:
 cvs rdiff -u -r1.20 -r1.21 pkgsrc/x11/libXfont/Makefile
 cvs rdiff -u -r0 -r1.1 pkgsrc/x11/libXfont/options.mk

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

State-Changed-From-To: open->closed
State-Changed-By: cheusov@NetBSD.org
State-Changed-When: Mon, 14 Nov 2011 14:11:31 +0000
State-Changed-Why:
Commited. Thanks!


From: Joerg Sonnenberger <joerg@britannica.bec.de>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: PR/37117 CVS commit: pkgsrc/x11/libXfont
Date: Mon, 14 Nov 2011 15:22:40 +0100

 On Mon, Nov 14, 2011 at 02:10:05PM +0000, Aleksey Cheusov wrote:
 > The following reply was made to PR pkg/37117; it has been noted by GNATS.
 > 
 > From: "Aleksey Cheusov" <cheusov@netbsd.org>
 > To: gnats-bugs@gnats.NetBSD.org
 > Cc: 
 > Subject: PR/37117 CVS commit: pkgsrc/x11/libXfont
 > Date: Mon, 14 Nov 2011 14:07:35 +0000
 > 
 >  Module Name:	pkgsrc
 >  Committed By:	cheusov
 >  Date:		Mon Nov 14 14:07:35 UTC 2011
 >  
 >  Modified Files:
 >  	pkgsrc/x11/libXfont: Makefile
 >  Added Files:
 >  	pkgsrc/x11/libXfont: options.mk
 >  
 >  Log Message:
 >  Add inet6 option as requiested in PR 37117. Tested on current.
 >     Approved by wiz@.

 I would prefer if you stop committing incorrect changes to Xorg
 packages, thanks.

 Joerg

From: David Holland <dholland-pbugs@netbsd.org>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: pkg/37117: x11/libXfont compiles with ipv6 despite -inet6 option
Date: Mon, 14 Nov 2011 16:33:21 +0000

 For the record.

    ------

 From: Joerg Sonnenberger <joerg@netbsd.org>
 To: pkgsrc-changes@NetBSD.org
 Subject: CVS commit: pkgsrc/x11/libXfont
 Date: Mon, 14 Nov 2011 14:24:14 +0000

 Module Name:	pkgsrc
 Committed By:	joerg
 Date:		Mon Nov 14 14:24:14 UTC 2011

 Modified Files:
 	pkgsrc/x11/libXfont: Makefile
 Removed Files:
 	pkgsrc/x11/libXfont: options.mk

 Log Message:
 Revert.


 To generate a diff of this commit:
 cvs rdiff -u -r1.21 -r1.22 pkgsrc/x11/libXfont/Makefile
 cvs rdiff -u -r1.1 -r0 pkgsrc/x11/libXfont/options.mk

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

State-Changed-From-To: closed->open
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Mon, 14 Nov 2011 16:36:26 +0000
State-Changed-Why:
commit was reverted.


State-Changed-From-To: open->closed
State-Changed-By: maya@NetBSD.org
State-Changed-When: Mon, 17 Sep 2018 11:52:31 +0000
State-Changed-Why:
Closing all X11 inet6 bugs as wontfix - this might've been of marginal utility when the bug was made, but it seems increasingly silly as time goes on.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.