NetBSD Problem Report #43398

From  Tue Jun  1 09:22:04 2010
Return-Path: <>
Received: from ( [])
	by (Postfix) with ESMTP id 7E86663B8E3
	for <>; Tue,  1 Jun 2010 09:22:04 +0000 (UTC)
Message-Id: <>
Date: Tue,  1 Jun 2010 09:22:04 +0000 (UTC)
Subject: Failed create wrapper due to missing hard link support on Haiku OS
X-Send-Pr-Version: www-1.0

>Number:         43398
>Category:       pkg
>Synopsis:       Failed create wrapper due to missing hard link support on Haiku OS
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Tue Jun 01 09:25:00 +0000 2010
>Last-Modified:  Mon Aug 16 10:05:01 +0000 2010
>Originator:     OBATA Akio
Haiku OS
On Haiku OS, failed to create wrapper script due to missing hard link support:

In pkgsrc/mk/wrapper/ line 503:
  ${LN} -f $$wrapper ${.TARGET}

It' the only one using hard link in pkgsrc framework.
Use pkgsrc on Haiku (or other OS or filesystem not support hard link).

Even if I changed "${LN} -f" to "${LN} -sf", it works for me.
I'm not sure that hard link is really required on certain environment.

From: OBATA Akio <>
Subject: PR/43398 CVS commit: pkgsrc/mk
Date: Mon, 16 Aug 2010 10:03:45 +0000

 Module Name:	pkgsrc
 Committed By:	obache
 Date:		Mon Aug 16 10:03:44 UTC 2010

 Modified Files:

 Log Message:
 Force to use symbolic link for wrapper if WRAPPER_USE_SYMLINK is defined.
 Workaround for missing hard link support on Haiku, PR#43398.

 To generate a diff of this commit:
 cvs rdiff -u -r1.3 -r1.4 pkgsrc/mk/platform/
 cvs rdiff -u -r1.84 -r1.85 pkgsrc/mk/wrapper/

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

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD:,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.