NetBSD Problem Report #47107

From www@NetBSD.org  Mon Oct 22 19:04:03 2012
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	by www.NetBSD.org (Postfix) with ESMTP id 7CBAE63E3A5
	for <gnats-bugs@gnats.NetBSD.org>; Mon, 22 Oct 2012 19:04:03 +0000 (UTC)
Message-Id: <20121022190402.7DA2B63CA81@www.NetBSD.org>
Date: Mon, 22 Oct 2012 19:04:02 +0000 (UTC)
From: mail@benjaminlorenz.de
Reply-To: mail@benjaminlorenz.de
To: gnats-bugs@NetBSD.org
Subject: pkgsrc/news/trn does not link
X-Send-Pr-Version: www-1.0

>Number:         47107
>Category:       pkg
>Synopsis:       pkgsrc/news/trn does not link
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Oct 22 19:05:00 +0000 2012
>Originator:     Benjamin Lorenz
>Release:        6.0_RC2
>Organization:
>Environment:
NetBSD home.lorenzfamily.eu 6.0_RC2 NetBSD 6.0_RC2 (GENERIC) #0: Sun Oct  7 20:38:08 CEST 2012  bjjl@home.lorenzfamily.eu:/usr/obj/sys/arch/i386/compile/GENERIC i386
>Description:
When linking the program, you get

/usr/pkg/lib/libncurses.a(lib_termcap.o):(.bss+0x0): multiple definition of `UP'
term.o:(.bss+0x10): first defined here
/usr/pkg/lib/libncurses.a(lib_termcap.o):(.bss+0x4): multiple definition of `BC'
term.o:(.bss+0xc): first defined here
/usr/pkg/lib/libncurses.a(lib_tputs.o):(.bss+0x0): multiple definition of `PC'
term.o:(.bss+0x62): first defined here
/usr/pkg/lib/libncurses.a(lib_setup.o):(.bss+0x4): multiple definition of `COLS'
term.o:(.bss+0x6c): first defined here
/usr/pkg/lib/libncurses.a(lib_setup.o):(.bss+0x0): multiple definition of `LINES'
term.o:(.bss+0x68): first defined here
*** Error code 1


>How-To-Repeat:
$ cd pkgsrc/news/trn
$ make install

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