NetBSD Problem Report #42595

From bernd@arresum.veego.de  Fri Jan  8 21:38:27 2010
Return-Path: <bernd@arresum.veego.de>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by www.NetBSD.org (Postfix) with ESMTP id 3F58C63C503
	for <gnats-bugs@gnats.NetBSD.org>; Fri,  8 Jan 2010 21:38:27 +0000 (UTC)
Message-Id: <201001082138.o08LcBbl028523@arresum.veego.de>
Date: Fri, 8 Jan 2010 22:38:11 +0100 (CET)
From: Bernd Ernesti <pr201003@veego.de>
Reply-To: Bernd Ernesti <pr201003@veego.de>
To: gnats-bugs@gnats.NetBSD.org
Subject: inputmethod/kinput2 fails on NetBSD -current due too getline conflict
X-Send-Pr-Version: 3.95

>Number:         42595
>Category:       pkg
>Synopsis:       inputmethod/kinput2 fails on NetBSD -current due too getline conflict
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jan 08 21:40:01 +0000 2010
>Closed-Date:    Sat Jan 09 22:23:31 +0000 2010
>Last-Modified:  Sat Jan 09 22:23:31 +0000 2010
>Originator:     Bernd Ernesti
>Release:        NetBSD 5.99.22
>Organization:
>Environment:
System: NetBSD 5.99.22
Architecture: i386
Machine: i386
>Description:

	cc -c -O2 -fno-strict-aliasing    -I../include -Iimlib -I/usr/pkg/include/wnn -I/usr/pkg/include -I/usr/pkg/include/sj3lib -I/usr/pkg/include  -I/usr/pkg/include -I/usr/X11R7/include   -DCSRG_BASED  -DFUNCPROTO=15 -DNARROWPROTO   -DCCDEFPATH=\"/usr/pkg/lib/X11/ccdef/\"                       -DSJ3DEFPATH=\"/usr/pkg/lib/X11/sj3def/\"    cconv.c
cconv.c:759: warning: conflicting types for built-in function 'malloc'
cconv.c:770: error: conflicting types for 'getline'
/usr/include/stdio.h:245: error: previous declaration of 'getline' was here
*** Error code 1

Stop.
make: stopped in /pkgsrc/inputmethod/kinput2/work.i386/kinput2-v3/lib

>How-To-Repeat:
	cd inputmethod/kinput2
	make
>Fix:

>Release-Note:

>Audit-Trail:
From: Bernd Ernesti <pr201003@veego.de>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/42595: misc/kdrill has also conflicts for getline on NetBSD -current
Date: Fri, 8 Jan 2010 23:50:04 +0100

 misc/kdrill is broken too:

 ===> Building for kdrill-5.11.6nb4
 sed "s/version-sed/5.11.6/" patchlevel.h-dist >patchlevel.h
 cc -O2 -fno-strict-aliasing    -I/usr/pkg/include/X11  -I/usr/pkg/include -I/usr/X11R7/include   -DCSRG_BASED  -DFUNCPROTO=15 -DNARROWPROTO     -I/usr/pkg/include -I/usr/X11R7/include -c main.c
 In file included from main.c:16:
 externs.h:33: error: conflicting types for 'getline'
 /usr/include/stdio.h:245: error: previous declaration of 'getline' was here
 *** Error code 1

 Stop.
 make: stopped in /pkgsrc/misc/kdrill/work.i386/kdrill5.11.6

From: Bernd Ernesti <pr201003@veego.de>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/42595: textproc/subtitleripper has also conflicts for getline on NetBSD -current
Date: Sat, 9 Jan 2010 08:28:52 +0100

 textproc/subtitleripper is another package which is broken:

 Compiling vobsub.c
 vobsub.c:60: error: static declaration of 'getline' follows non-static declaration
 /usr/include/stdio.h:245: error: previous declaration of 'getline' was here
 [..]
 gmake: *** [vobsub.o] Error 1
 *** Error code 2

 Stop.
 make: stopped in /pkgsrc/textproc/subtitleripper

From: OBATA Akio <obache@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/42595 CVS commit: pkgsrc/inputmethod/kinput2
Date: Sat, 9 Jan 2010 11:50:37 +0000

 Module Name:	pkgsrc
 Committed By:	obache
 Date:		Sat Jan  9 11:50:36 UTC 2010

 Modified Files:
 	pkgsrc/inputmethod/kinput2: distinfo
 Added Files:
 	pkgsrc/inputmethod/kinput2/patches: patch-ac

 Log Message:
 Add patch-ac to avoid conflict with getline(3) in IEEE Std 1003.1-2008.
 PR#42595.


 To generate a diff of this commit:
 cvs rdiff -u -r1.3 -r1.4 pkgsrc/inputmethod/kinput2/distinfo
 cvs rdiff -u -r0 -r1.1 pkgsrc/inputmethod/kinput2/patches/patch-ac

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

From: OBATA Akio <obache@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/42595 CVS commit: pkgsrc/misc/kdrill
Date: Sat, 9 Jan 2010 12:03:04 +0000

 Module Name:	pkgsrc
 Committed By:	obache
 Date:		Sat Jan  9 12:03:04 UTC 2010

 Modified Files:
 	pkgsrc/misc/kdrill: distinfo
 Added Files:
 	pkgsrc/misc/kdrill/patches: patch-ab patch-ac

 Log Message:
 Add patch-a{b,c} to avoid conflict with getline(3) defined in IEEE Std 1003.1-2008.
 PR#42595.


 To generate a diff of this commit:
 cvs rdiff -u -r1.4 -r1.5 pkgsrc/misc/kdrill/distinfo
 cvs rdiff -u -r0 -r1.1 pkgsrc/misc/kdrill/patches/patch-ab \
     pkgsrc/misc/kdrill/patches/patch-ac

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

State-Changed-From-To: open->feedback
State-Changed-By: obache@NetBSD.org
State-Changed-When: Sat, 09 Jan 2010 12:26:20 +0000
State-Changed-Why:
All of them should be fixed in pkgsrc-HEAD.


From: OBATA Akio <obache@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/42595 CVS commit: pkgsrc/textproc/subtitleripper
Date: Sat, 9 Jan 2010 12:25:20 +0000

 Module Name:	pkgsrc
 Committed By:	obache
 Date:		Sat Jan  9 12:25:20 UTC 2010

 Modified Files:
 	pkgsrc/textproc/subtitleripper: distinfo
 Added Files:
 	pkgsrc/textproc/subtitleripper/patches: patch-ac

 Log Message:
 Add patch-ac to avoid conflict with getline(3) defined in IEEE Std 1003.1-2008.
 PR#42595.


 To generate a diff of this commit:
 cvs rdiff -u -r1.5 -r1.6 pkgsrc/textproc/subtitleripper/distinfo
 cvs rdiff -u -r0 -r1.1 pkgsrc/textproc/subtitleripper/patches/patch-ac

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

State-Changed-From-To: feedback->closed
State-Changed-By: veego@NetBSD.org
State-Changed-When: Sat, 09 Jan 2010 22:23:31 +0000
State-Changed-Why:
All are now fixed.
Thank you.


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