NetBSD Problem Report #35255

From  Thu Dec 14 11:00:31 2006
Return-Path: <>
Received: from ( [])
	by (Postfix) with ESMTP id CDDC563BA6D
	for <>; Thu, 14 Dec 2006 11:00:30 +0000 (UTC)
Message-Id: <>
Date: Thu, 14 Dec 2006 13:00:23 +0200 (EET)
Subject: Hardcoded references to DESTDIR found in some files
X-Send-Pr-Version: 3.95

>Number:         35255
>Category:       bin
>Synopsis:       Hardcoded references to DESTDIR found in some files
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Dec 14 11:05:01 +0000 2006
>Last-Modified:  Thu May 28 05:25:00 +0000 2009
>Originator:     Martti Kuparinen
>Release:        NetBSD 4.99.6
System: NetBSD n117 4.99.6 NetBSD 4.99.6 (LIFEBOOK) #4: Tue Dec 12 09:23:10 UTC 2006  root@n117:/usr/src/sys/arch/i386/compile/LIFEBOOK i386
Architecture: i386
Machine: i386

I have built a release (./ -ux -D /var/tmp/d -R /var/tmp/r release)
and then installed those release sets on my laptop.

Now it seems like some files have hardcoded references to the $DESTDIR (in
my case it was /var/tmp/d).

At least one of the trouble makers is msginit (built from
src/gnu/usr.bin/gettext/msginit) as I see these errors when using pkgsrc:

msginit --no-translator -i proftpd.pot -o en_US.po -l en_US
/bin/sh: Can't open /var/tmp/d/usr/share/gettext/project-id
msginit: /var/tmp/d/usr/share/gettext/project-id subprocess I/O error
/bin/sh: Can't open /var/tmp/d/usr/share/gettext/project-id
msginit: /var/tmp/d/usr/share/gettext/project-id subprocess I/O error


cd /usr/bin
strings * | grep /var/tmp/d




From: David Holland <>
Subject: Re: bin/35255: Hardcoded references to DESTDIR found in some files
Date: Thu, 28 May 2009 05:21:33 +0000

 Problem still exists in -current and is caused by


 in src/gnu/usr.bin/gettext/libnlspr/Makefile.

 Probably removing ${DESTDIR} from those paths will DTRT, but I don't
 feel up to chasing through the source tonight.

 David A. Holland


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.