NetBSD Problem Report #39859

From www@NetBSD.org  Mon Nov  3 11:08:03 2008
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by narn.NetBSD.org (Postfix) with ESMTP id 8734363BAB3
	for <gnats-bugs@gnats.netbsd.org>; Mon,  3 Nov 2008 11:08:03 +0000 (UTC)
Message-Id: <20081103110721.D910263BAB3@narn.NetBSD.org>
Date: Mon,  3 Nov 2008 11:07:21 +0000 (UTC)
From: joern.clausen@uni-bielefeld.de
Reply-To: joern.clausen@uni-bielefeld.de
To: gnats-bugs@NetBSD.org
Subject: net/rsync should pull in libiconv
X-Send-Pr-Version: www-1.0

>Number:         39859
>Category:       pkg
>Synopsis:       net/rsync should pull in libiconv
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    tron
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Nov 03 11:10:00 +0000 2008
>Closed-Date:    Mon Nov 03 12:13:57 +0000 2008
>Last-Modified:  Mon Nov 03 12:13:57 +0000 2008
>Originator:     Jörn Clausen
>Release:        
>Organization:
University of Bielefeld
>Environment:
SunOS spare280 5.10 Generic_137111-07 sun4u sparc SUNW,Sun-Fire-280R

>Description:
net/rsync can use libiconv. It checks for the presence of it via autoconf. But due to suboptimal tests (or usage of their results), using gcc under Solaris, the build fails. Solaris' libiconv is considered sufficient, which it is not. Using the Sun Studio compiler, the tests fails in a different way, and libiconv is not used. See

https://bugzilla.samba.org/show_bug.cgi?id=5532

for reference.
>How-To-Repeat:

>Fix:
Adding

.include "../../converters/libiconv/buildlink3.mk"

fixes the problem. Maybe this could be done conditionally (only for SunOS), but I think it is not a bad idea in general.

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->tron
Responsible-Changed-By: obache@NetBSD.org
Responsible-Changed-When: Mon, 03 Nov 2008 11:19:23 +0000
Responsible-Changed-Why:
Over to maintainer.


From: Matthias Scheler <tron@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/39859 CVS commit: pkgsrc/net/rsync
Date: Mon,  3 Nov 2008 11:55:01 +0000 (UTC)

 Module Name:	pkgsrc
 Committed By:	tron
 Date:		Mon Nov  3 11:55:01 UTC 2008

 Modified Files:
 	pkgsrc/net/rsync: Makefile

 Log Message:
 Include "converters/libiconv/buildlink3.mk" to fix build problems under
 Solaris as suggested by Joern Clausen in PR pkg/39859. Bump the package
 revision because this might change the binary package on some platforms.


 To generate a diff of this commit:
 cvs rdiff -r1.78 -r1.79 pkgsrc/net/rsync/Makefile

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

State-Changed-From-To: open->closed
State-Changed-By: tron@NetBSD.org
State-Changed-When: Mon, 03 Nov 2008 12:13:57 +0000
State-Changed-Why:
I've made the suggested change. Thanks a lot for the bug report.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.