NetBSD Problem Report #52105
From www@NetBSD.org Thu Mar 23 10:16:16 2017
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 "Postmaster NetBSD.org" (verified OK))
by mollari.NetBSD.org (Postfix) with ESMTPS id 8717C7A1FB
for <gnats-bugs@gnats.NetBSD.org>; Thu, 23 Mar 2017 10:16:16 +0000 (UTC)
Message-Id: <20170323101615.5AAD87A27B@mollari.NetBSD.org>
Date: Thu, 23 Mar 2017 10:16:15 +0000 (UTC)
From: joern.clausen@uni-bielefeld.de
Reply-To: joern.clausen@uni-bielefeld.de
To: gnats-bugs@NetBSD.org
Subject: editors/nano needs PCRE and curses without proper dependencies
X-Send-Pr-Version: www-1.0
>Number: 52105
>Category: pkg
>Synopsis: editors/nano needs PCRE and curses without proper dependencies
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Mar 23 10:20:00 +0000 2017
>Closed-Date: Fri Apr 21 13:17:06 +0000 2017
>Last-Modified: Fri Apr 21 13:17:06 +0000 2017
>Originator: Joern Clausen
>Release:
>Organization:
University of Bielefeld
>Environment:
>Description:
Compiling editors/nano on Solaris 11.2 fails with
gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/opt/pkg-hrz/20170105/lib/locale\" -DSYSCONFDIR=\"/opt/pkg-hrz/20170105/etc\" -D_XOPEN_SOURCE_EXTENDED=1 -I/opt/pkg-hrz/20170105/include -I/opt/pkg-hrz/20170105/include/ncurses -O2 -D_XOPEN_SOURCE_EXTENDED=1 -I/opt/pkg-hrz/20170105/include -I/opt/pkg-hrz/20170105/include/ncurses -Wall -MT utils.o -MD -MP -MF .deps/utils.Tpo -c -o utils.o utils.c
utils.c: In function 'strstrwrapper':
utils.c:356:6: error: 'REG_STARTEND' undeclared (first use in this function)
REG_STARTEND) != 0)
^
Simply adding a dependency on devel/pcre does not fix this problem.
Also, some warnings concerning undefined NCURSES_* pop up, so a proper dependency on one of the ncurses packages is probably also a good idea.
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
From: Thomas Klausner <wiz@NetBSD.org>
To: NetBSD bugtracking <gnats-bugs@NetBSD.org>
Cc:
Subject: Re: pkg/52105: editors/nano needs PCRE and curses without proper
dependencies
Date: Thu, 23 Mar 2017 13:25:51 +0100
On Thu, Mar 23, 2017 at 10:20:00AM +0000, joern.clausen@uni-bielefeld.de wrote:
> >Number: 52105
> >Category: pkg
> >Synopsis: editors/nano needs PCRE and curses without proper dependencies
...
> Compiling editors/nano on Solaris 11.2 fails with
>
> gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/opt/pkg-hrz/20170105/lib/locale\" -DSYSCONFDIR=\"/opt/pkg-hrz/20170105/etc\" -D_XOPEN_SOURCE_EXTENDED=1 -I/opt/pkg-hrz/20170105/include -I/opt/pkg-hrz/20170105/include/ncurses -O2 -D_XOPEN_SOURCE_EXTENDED=1 -I/opt/pkg-hrz/20170105/include -I/opt/pkg-hrz/20170105/include/ncurses -Wall -MT utils.o -MD -MP -MF .deps/utils.Tpo -c -o utils.o utils.c
> utils.c: In function 'strstrwrapper':
> utils.c:356:6: error: 'REG_STARTEND' undeclared (first use in this function)
> REG_STARTEND) != 0)
> ^
>
> Simply adding a dependency on devel/pcre does not fix this problem.
This is not pcre-related, it's regexec(3).
Thomas
From: =?UTF-8?Q?J=c3=b6rn_Clausen?= <joern.clausen@uni-bielefeld.de>
To: gnats-bugs@NetBSD.org, pkg-manager@NetBSD.org, gnats-admin@NetBSD.org,
pkgsrc-bugs@NetBSD.org
Cc:
Subject: Re: pkg/52105: editors/nano needs PCRE and curses without proper
dependencies
Date: Thu, 23 Mar 2017 13:42:49 +0100
> This is not pcre-related, it's regexec(3).
On Solaris the only header file I could find under /usr/include defining
this is
/usr/include/pcre/pcreposix.h
so I assumed this is PCRE.
--
Jörn Clausen
Plattformen & Serverdienste
Hochschulrechenzentrum
Universität Bielefeld
Universitätsstraße 25
33615 Bielefeld
Telefon: +49 521 106-12601
E-Mail: joern.clausen@uni-bielefeld.de
http://www.uni-bielefeld.de/hrz
From: =?UTF-8?Q?J=c3=b6rn_Clausen?= <joern.clausen@uni-bielefeld.de>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: pkg/52105: editors/nano needs PCRE and curses without proper
dependencies
Date: Fri, 21 Apr 2017 15:10:27 +0200
Please close this PR, the update to nano-2.8.1 fixed this problem.
--
Jörn Clausen
Plattformen & Serverdienste
Hochschulrechenzentrum
Universität Bielefeld
Universitätsstraße 25
33615 Bielefeld
Telefon: +49 521 106-12601
E-Mail: joern.clausen@uni-bielefeld.de
http://www.uni-bielefeld.de/hrz
From: =?UTF-8?Q?J=c3=b6rn_Clausen?= <joern.clausen@uni-bielefeld.de>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: pkg/52105: editors/nano needs PCRE and curses without proper
dependencies
Date: Fri, 21 Apr 2017 15:08:34 +0200
Please close this PR, the update to nano-2.8.1 fixed this problem.
--
Jörn Clausen
Plattformen & Serverdienste
Hochschulrechenzentrum
Universität Bielefeld
Universitätsstraße 25
33615 Bielefeld
Telefon: +49 521 106-12601
E-Mail: joern.clausen@uni-bielefeld.de
http://www.uni-bielefeld.de/hrz
State-Changed-From-To: open->closed
State-Changed-By: wiz@NetBSD.org
State-Changed-When: Fri, 21 Apr 2017 13:17:06 +0000
State-Changed-Why:
Confirmed fixed, thanks for the update!
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2014
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.