NetBSD Problem Report #46242

From www@NetBSD.org  Thu Mar 22 09:37:50 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 F3FD663DEE6
	for <gnats-bugs@gnats.NetBSD.org>; Thu, 22 Mar 2012 09:37:49 +0000 (UTC)
Message-Id: <20120322093748.7C47063B946@www.NetBSD.org>
Date: Thu, 22 Mar 2012 09:37:48 +0000 (UTC)
From: dvollen@gmail.com
Reply-To: dvollen@gmail.com
To: gnats-bugs@NetBSD.org
Subject: mpc fails to build on Linux from pkgsrc-2011Q4
X-Send-Pr-Version: www-1.0

>Number:         46242
>Category:       pkg
>Synopsis:       mpc fails to build on Linux from pkgsrc-2011Q4
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    simonb
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Mar 22 09:40:00 +0000 2012
>Last-Modified:  Sat Mar 24 05:56:02 +0000 2012
>Originator:     Dave Vollenweider
>Release:        None (Linux 2.6.37.6)
>Organization:
>Environment:
Linux shinji 2.6.37.6 #2 Sun Apr 10 01:09:12 CDT 2011 i686 Intel(R) Atom(TM) CPU N450   @ 1.66GHz GenuineIntel GNU/Linux
>Description:
audio/mpc fails to build.  The issue seems to involve iconv.  Here's the output of the error and the command the preceded it:

gcc -std=gnu99 -Wall -Wextra -Wno-deprecated-declarations -Wmissing-prototypes -Wshadow -Wpointer-arith -Wstrict-prototypes -Wcast-qual -Wwrite-strings -O2 -Wno-error -I/usr/pkg/include  -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -o src/mpc src_mpc-main.o src_mpc-list.o  src_mpc-password.o src_mpc-status.o  src_mpc-util.o src_mpc-command.o  src_mpc-sticker.o src_mpc-idle.o  src_mpc-search.o src_mpc-options.o   src_mpc-charset.o -lnsl  -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -lmpdclient 
src_mpc-charset.o: In function `charset_close':
charset.c:(.text+0x1b): undefined reference to `libiconv_close'
src_mpc-charset.o: In function `charset_conv_strdup':
charset.c:(.text+0x11a): undefined reference to `libiconv'
src_mpc-charset.o: In function `charset_set':
charset.c:(.text+0x40e): undefined reference to `libiconv_open'
collect2: ld returned 1 exit status
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/audio/mpc/work.shinji/mpc-0.20
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/audio/mpc/work.shinji/mpc-0.20
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/audio/mpc
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/audio/mpc

>How-To-Repeat:
Run bmake clean on the directory and try again
>Fix:

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->simonb
Responsible-Changed-By: obache@NetBSD.org
Responsible-Changed-When: Thu, 22 Mar 2012 12:20:27 +0000
Responsible-Changed-Why:
Over to maintainer
(I don't know why configure will check "iconv() in -lintl"...?)


>Unformatted:

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.