NetBSD Problem Report #47590

From diro@nixsyspaus.org  Sun Feb 24 19:06:12 2013
Return-Path: <diro@nixsyspaus.org>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	by www.NetBSD.org (Postfix) with ESMTP id 8F85C63EF9A
	for <gnats-bugs@gnats.netbsd.org>; Sun, 24 Feb 2013 19:06:12 +0000 (UTC)
Message-Id: <20130224190609.D54AF20421C@asche.nixsyspaus.org>
Date: Sun, 24 Feb 2013 19:06:09 +0000 (UTC)
From: diro@nixsyspaus.org
Reply-To: diro@nixsyspaus.org
To: gnats-bugs@gnats.netbsd.org
Subject: comms/obexftp needs -liconv added to LDFLAGS to build with native libiconv
X-Send-Pr-Version: 3.95

>Number:         47590
>Category:       pkg
>Synopsis:       comms/obexftp needs -liconv added to LDFLAGS to build with native libiconv
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Feb 24 19:10:00 +0000 2013
>Last-Modified:  Fri Mar 08 11:15:02 +0000 2013
>Originator:     diro@nixsyspaus.org
>Release:        NetBSD 6.0.1
>Organization:
>Environment:
System: NetBSD gift2 6.0.1 NetBSD 6.0.1 (GIFT) #1: Fri Feb 22 12:41:38 UTC 2013  root@gift:/usr/obj/sys/arch/amd64/compile/GIFT amd64
Architecture: amd64
Machine: amd64
>Description:
	comms/obexftp breaks with native libiconv.
	cannot find iconv_open etc during linking
>How-To-Repeat:
	PREFER_PKGSRC=yes and PREFER_NATIVE.libiconv=yes in mk.conf
>Fix:
	LDFLAGS+=               -liconv
before 'post-patch:'

>Audit-Trail:
From: "OBATA Akio" <obache@netbsd.org>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: pkg/47590: comms/obexftp needs -liconv added to LDFLAGS to build
 with native libiconv
Date: Fri, 08 Mar 2013 20:12:36 +0900

 On Mon, 25 Feb 2013 04:10:01 +0900, <diro@nixsyspaus.org> wrote:

 > 	comms/obexftp breaks with native libiconv.
 > 	cannot find iconv_open etc during linking
 >> How-To-Repeat:
 > 	PREFER_PKGSRC=yes and PREFER_NATIVE.libiconv=yes in mk.conf

 `PREFER_NATIVE.libiconv=yes' should be no effect to prefer native libiconv.
 Use `PREFER_NATIVE+=iconv` instead.

 Then this issue is `with pkgsrc libiconv'.

 -- 
 OBATA Akio / obache@NetBSD.org

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.