NetBSD Problem Report #55064

From www@netbsd.org  Thu Mar 12 07:56:28 2020
Return-Path: <www@netbsd.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 C40F71A9213
	for <gnats-bugs@gnats.NetBSD.org>; Thu, 12 Mar 2020 07:56:27 +0000 (UTC)
Message-Id: <20200312075626.B16171A924B@mollari.NetBSD.org>
Date: Thu, 12 Mar 2020 07:56:26 +0000 (UTC)
From: joern.clausen@uni-bielefeld.de
Reply-To: joern.clausen@uni-bielefeld.de
To: gnats-bugs@NetBSD.org
Subject: devel/editline conflicts with devel/ncurses
X-Send-Pr-Version: www-1.0

>Number:         55064
>Category:       pkg
>Synopsis:       devel/editline conflicts with devel/ncurses
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    ryoon
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Mar 12 08:00:00 +0000 2020
>Last-Modified:  Thu Mar 12 08:02:06 +0000 2020
>Originator:     Joern Clausen
>Release:        
>Organization:
Bielefeld University
>Environment:
>Description:
Compiling devel/editline fails with

In file included from terminal.c:56:
/opt/pkgsrc/pkg-hrz/pkgsrc/devel/editline/work.pkgsrc-sol11i86/.buildlink/include/ncurses/termcap.h:61:31: error: conflicting types for 'tgetstr'
   61 | extern NCURSES_EXPORT(char *) tgetstr (const char *, char **);
      |                               ^~~~~~~
In file included from ../config.h:296,
                 from terminal.c:35:
./sys.h:139:14: note: previous declaration of 'tgetstr' was here
  139 | extern char* tgetstr(char*, char**);
      |              ^~~~~~~


The referenced ncurses headers are from devel/ncurses 6.2, the compiler is GCC 9.2.0.
>How-To-Repeat:

>Fix:

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->ryoon
Responsible-Changed-By: bsiegert@NetBSD.org
Responsible-Changed-When: Thu, 12 Mar 2020 08:02:06 +0000
Responsible-Changed-Why:
Over to maintainer.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.46 2020/01/03 16:35:01 leot Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2020 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.