NetBSD Problem Report #44653
From www@NetBSD.org Mon Feb 28 19:49:45 2011
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
by www.NetBSD.org (Postfix) with ESMTP id 2880A63B8EB
for <gnats-bugs@gnats.NetBSD.org>; Mon, 28 Feb 2011 19:49:45 +0000 (UTC)
Message-Id: <20110228194944.5CD1163B8E0@www.NetBSD.org>
Date: Mon, 28 Feb 2011 19:49:44 +0000 (UTC)
From: MarkoSchuetz@web.de
Reply-To: MarkoSchuetz@web.de
To: gnats-bugs@NetBSD.org
Subject: lang/icon destdir support breaks package
X-Send-Pr-Version: www-1.0
>Number: 44653
>Category: pkg
>Synopsis: lang/icon destdir support breaks package
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Feb 28 19:50:00 +0000 2011
>Closed-Date: Tue Mar 01 10:09:09 +0000 2011
>Last-Modified: Tue Mar 01 10:10:03 +0000 2011
>Originator: Marko Schuetz Schmuck
>Release: NetBSD/amd64 5.0.2
>Organization:
individual
>Environment:
NetBSD prpad.dyndns.org 5.0.2 NetBSD 5.0.2 (PRPAD) #0: Mon May 3 15:16:09 AST 2010 root@prpad.dyndns.org:/usr/obj/sys/arch/amd64/compile/PRPAD amd64
>Description:
after building lang/icon with pkg_comp and installing the package
>How-To-Repeat:
marko@prpad:icon% icon firstSteps.icon
exec: /pkg_comp/obj/pkgsrc/lang/icon/default/.destdir/usr/pkg/bin/iconx: not found
>Fix:
To be able to run icon, I basically changed patches/patch-aj not to prepend $(DESTDIR) when patching the executables.
+ ./bin/patchstr ./bin/icont $(PREFIX)/bin/iconx
+ ./bin/patchstr ./bin/iconc $(PREFIX)/lib/icon/
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed
State-Changed-By: wiz@NetBSD.org
State-Changed-When: Tue, 01 Mar 2011 10:09:09 +0000
State-Changed-Why:
Fixed, thanks.
From: "Thomas Klausner" <wiz@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/44653 CVS commit: pkgsrc/lang/icon
Date: Tue, 1 Mar 2011 10:08:27 +0000
Module Name: pkgsrc
Committed By: wiz
Date: Tue Mar 1 10:08:27 UTC 2011
Modified Files:
pkgsrc/lang/icon: Makefile distinfo
pkgsrc/lang/icon/patches: patch-aj
Log Message:
Fix icon binary, it had the destdir embedded. From Mark Schuetz Schmuck
in PR 44653. Bump PKGREVISION.
Set LICENSE.
To generate a diff of this commit:
cvs rdiff -u -r1.47 -r1.48 pkgsrc/lang/icon/Makefile
cvs rdiff -u -r1.17 -r1.18 pkgsrc/lang/icon/distinfo
cvs rdiff -u -r1.8 -r1.9 pkgsrc/lang/icon/patches/patch-aj
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.