NetBSD Problem Report #45497
From www@NetBSD.org Wed Oct 19 13:10:18 2011
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
by www.NetBSD.org (Postfix) with ESMTP id 4DBF263D585
for <gnats-bugs@gnats.NetBSD.org>; Wed, 19 Oct 2011 13:10:18 +0000 (UTC)
Message-Id: <20111019131017.164B163C592@www.NetBSD.org>
Date: Wed, 19 Oct 2011 13:10:17 +0000 (UTC)
From: ano@bestmx.ru
Reply-To: ano@bestmx.ru
To: gnats-bugs@NetBSD.org
Subject: databases/postgresql91-client - "LIBS.SunOS+=-lintl" forgotten
X-Send-Pr-Version: www-1.0
>Number: 45497
>Category: pkg
>Synopsis: databases/postgresql91-client - "LIBS.SunOS+=-lintl" forgotten
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: adam
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Oct 19 13:15:00 +0000 2011
>Closed-Date: Tue Dec 20 06:41:19 +0000 2011
>Last-Modified: Tue Dec 20 06:41:19 +0000 2011
>Originator: Andrey N. Oktyabrski
>Release: OpenIndiana 151a
>Organization:
>Environment:
$ uname -a
SunOS thinkpot 5.11 oi_151a i86pc i386 i86pc Solaris
$ isainfo
amd64 i386
$ which gcc
/usr/bin/gcc
$ /usr/bin/gcc -v
Using built-in specs.
COLLECT_GCC=/usr/bin/gcc
COLLECT_LTO_WRAPPER=/usr/gcc/4.6/lib/gcc/i386-pc-solaris2.11/4.6.1/lto-wrapper
Target: i386-pc-solaris2.11
Configured with: ../gcc-4.6.1/configure --prefix=/usr/gcc/4.6 --libdir=/usr/gcc/4.6/lib --libexecdir=/usr/gcc/4.6/lib --mandir=/usr/gcc/4.6/share/man --infodir=/usr/gcc/4.6/info --with-build-time-tools=/usr/sfw --with-as=/usr/sfw/bin/gas --with-gnu-as --with-ld=/opt/dtbld/bin/ld-wrapper --without-gnu-ld --enable-languages=c,c++,fortran,objc --enable-shared --disable-static --enable-decimal-float --with-gmp=/usr/gnu --with-mpfr=/usr/gnu --with-mpc=/usr/gnu --with-libiconv-prefix=/usr/gnu -enable-nls
Thread model: posix
gcc version 4.6.1 (GCC)
>Description:
gcc -O -I/usr/pkg/include -I/usr/include -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wformat-security -fno-strict-aliasing -fwrapv -D_REENTRANT -D_REENTRANT -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS -DECPG_COMPILE -L../../../../src/port -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -Wl,-R'/usr/pkg/lib' preproc.o type.o ecpg.o output.o parser.o keywords.o c_keywords.o ecpg_keywords.o kwlookup.o ../ecpglib/typename.o descriptor.o variable.o -lpgport -lssl -lcrypto -lz -lreadline -lnsl -lsocket -lm -lpthread -lrt -o ecpg
Undefined first referenced
symbol in file
libintl_gettext preproc.o
libintl_textdomain ../../../../src/port/libpgport.a(exec.o)
libintl_bindtextdomain ../../../../src/port/libpgport.a(exec.o)
libintl_ngettext variable.o
ld: fatal: symbol referencing errors. No output written to ecpg
collect2: ld returned 1 exit status
gmake[2]: *** [ecpg] Error 1
gmake[2]: Leaving directory `/tmp/pkgwrk/databases/postgresql91-client/work/postgresql-9.1.1/src/interfaces/ecpg/preproc'
>How-To-Repeat:
$ cd /usr/pkgsrc/databases/postgresql91-client
$ bmake
>Fix:
--- Makefile.orig 2011-10-19 17:10:32.079441839 +0400
+++ Makefile 2011-10-19 16:55:56.692888175 +0400
@@ -37,6 +37,8 @@
# Without this, the Darwin build fails (related to -bundle_loader).
BUILD_DIRS+= src/backend
+LIBS.SunOS+= -lintl
+
.for f in pg_service.conf psqlrc
CONF_FILES+= share/postgresql/${f}.sample ${PKG_SYSCONFDIR}/${f}
.endfor
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: pkg-manager->adam
Responsible-Changed-By: gls@NetBSD.org
Responsible-Changed-When: Thu, 20 Oct 2011 20:53:56 +0000
Responsible-Changed-Why:
Over to maintainer>
From: "Andrey N. Oktyabrski" <ano@bestmx.ru>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: pkg/45497 (databases/postgresql91-client - "LIBS.SunOS+=-lintl"
forgotten)
Date: Tue, 20 Dec 2011 09:02:58 +0300
I think, it must be closed, because already fixed.
State-Changed-From-To: open->closed
State-Changed-By: adam@NetBSD.org
State-Changed-When: Tue, 20 Dec 2011 06:41:19 +0000
State-Changed-Why:
Fixed. Thank you for the PR.
>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-2007
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.