NetBSD Problem Report #36307

From martin@duskware.de  Fri May 11 13:57:16 2007
Return-Path: <martin@duskware.de>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by narn.NetBSD.org (Postfix) with ESMTP id 85BF163B853
	for <gnats-bugs@gnats.netbsd.org>; Fri, 11 May 2007 13:57:16 +0000 (UTC)
Message-Id: <20070511095723.D940C63B8BD@narn.NetBSD.org>
Date: Fri, 11 May 2007 09:57:23 +0000 (UTC)
From: raymond.meyer@rambler.ru
Reply-To: raymond.meyer@rambler.ru
To: netbsd-bugs-owner@NetBSD.org
Subject: sysutils/xfce4-xarchiver fails to build on Sparc Solaris
X-Send-Pr-Version: www-1.0

>Number:         36307
>Category:       pkg
>Synopsis:       sysutils/xfce4-xarchiver fails to build on Sparc Solaris
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    solaris-pkg-people
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri May 11 14:00:00 +0000 2007
>Closed-Date:    Sun Jun 03 23:24:41 +0000 2018
>Last-Modified:  Sun Jun 03 23:24:41 +0000 2018
>Originator:     raymond
>Release:        
>Organization:
>Environment:
SunOS ultra10 5.10 Generic_118833-36 sun4u sparc SUNW,Ultra-5_10
>Description:
Building sysutils/xfce4-xarchiver fails on Solaris with the following error message:

Undefined                       first referenced
 symbol                             in file
mkdtemp                             xarchiver-extract_dialog.o
ld: fatal: Symbol referencing errors. No output written to xarchiver
collect2: ld returned 1 exit status

This is because xarchiver-0.4.6/src/string_utils.c declares mkdtemp as 'static', so the function is not visible outside that file. Solaris does not have a native implementation of mkdtemp.
>How-To-Repeat:

>Fix:
To fix the error, simply remove the 'static' keyword.

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->solaris-pkg-people
Responsible-Changed-By: snj@netbsd.org
Responsible-Changed-When: Fri, 11 May 2007 14:23:29 +0000
Responsible-Changed-Why:
Solaris-specific problem.


State-Changed-From-To: open->closed
State-Changed-By: youri@NetBSD.org
State-Changed-When: Sun, 03 Jun 2018 23:24:41 +0000
State-Changed-Why:
Joyent reports xarchiver builds fine on SUnOS.


>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.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.