NetBSD Problem Report #52847

From www@NetBSD.org  Thu Dec 21 09:38:43 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 "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 5DE477A1E1
	for <gnats-bugs@gnats.NetBSD.org>; Thu, 21 Dec 2017 09:38:43 +0000 (UTC)
Message-Id: <20171221093841.E66877A1E6@mollari.NetBSD.org>
Date: Thu, 21 Dec 2017 09:38:41 +0000 (UTC)
From: joern.clausen@uni-bielefeld.de
Reply-To: joern.clausen@uni-bielefeld.de
To: gnats-bugs@NetBSD.org
Subject: databases/postgresql96-client needs gettext
X-Send-Pr-Version: www-1.0

>Number:         52847
>Category:       pkg
>Synopsis:       databases/postgresql96-client needs gettext
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Dec 21 09:40:00 +0000 2017
>Originator:     Joern Clausen
>Release:        NetBSD 7.1/amd64
>Organization:
University of Bielefeld
>Environment:
>Description:
Compiling databases/postgresql96-client on NetBSD 7.1/amd64 fails with

gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -pthread  -D_REENTRANT -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS -DECPG_COMPILE -L../../../../src/port -L../../../../src/common -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -L/usr/pkg/lib  -Wl,--as-needed -Wl,-R'/usr/pkg/lib'  preproc.o pgc.o type.o ecpg.o output.o parser.o keywords.o c_keywords.o ecpg_keywords.o ../ecpglib/typename.o descriptor.o variable.o -lpgcommon -lpgport -lxml2 -lssl -lcrypto -lgssapi_krb5 -lz -ledit -lcurses -lrt -lcrypt -lm   -o ecpg
preproc.o: In function `vmmerror':
preproc.c:(.text+0x16): undefined reference to `gettext'
preproc.c:(.text+0x74): undefined reference to `gettext'
preproc.c:(.text+0xbe): undefined reference to `gettext'
preproc.o: In function `mmfatal':
preproc.c:(.text+0x273): undefined reference to `gettext'

>How-To-Repeat:

>Fix:

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.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.