NetBSD Problem Report #52642

From www@NetBSD.org  Mon Oct 23 07:20:58 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 4B15D7A1C4
	for <gnats-bugs@gnats.NetBSD.org>; Mon, 23 Oct 2017 07:20:58 +0000 (UTC)
Message-Id: <20171023072057.794CA7A1CD@mollari.NetBSD.org>
Date: Mon, 23 Oct 2017 07:20:57 +0000 (UTC)
From: joern.clausen@uni-bielefeld.de
Reply-To: joernc@gmail.com
To: gnats-bugs@NetBSD.org
Subject: print/fig2dev not using libiconv on Solaris
X-Send-Pr-Version: www-1.0

>Number:         52642
>Category:       pkg
>Synopsis:       print/fig2dev not using libiconv on Solaris
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    solaris-pkg-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Oct 23 07:25:00 +0000 2017
>Last-Modified:  Tue Jan 29 06:47:34 +0000 2019
>Originator:     Joern Clausen
>Release:        
>Organization:
University of Bielefeld
>Environment:
>Description:
Compiling print/fig2dev on Solaris 11.3 fails with

Making all in tests
--- fig2dev ---
gcc -std=gnu99 -Wno-parentheses -O2 -D_FORTIFY_SOURCE=2 -I/opt/pkg-hrz/20170814/include -L/opt/pkg-hrz/20170814/lib -L/opt/pkg-hrz/20170814/lib -Wl,-R/opt/pkg-hrz/20170814/lib -o fig2dev arrow.o bound.o colors.o  creationdate.o fig2dev.o free.o  iso2tex.o localmath.o psfonts.o  read1_3.o read.o trans_spline.o  getopt.o  dev/libdrivers.a -lXpm -lpng -lm
Undefined                       first referenced
 symbol                             in file
libiconv_close                      dev/libdrivers.a(genemf.o)
libiconv_open                       dev/libdrivers.a(genemf.o)
libiconv                            dev/libdrivers.a(genemf.o)
ld: fatal: symbol referencing errors
collect2: error: ld returned 1 exit status


Probably one of the configure tests is a bit too optimistic:

checking iconv.h usability... yes
checking iconv.h presence... yes
checking for iconv.h... yes
checking for library containing iconv... none required




>How-To-Repeat:

>Fix:

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->solaris-pkg-people
Responsible-Changed-By: wiz@NetBSD.org
Responsible-Changed-When: Mon, 23 Oct 2017 08:02:10 +0000
Responsible-Changed-Why:
Solaris pkgsrc problem.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.43 2018/01/16 07:36:43 maya Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2017 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.