NetBSD Problem Report #41275

From www@NetBSD.org  Fri Apr 24 12:41:12 2009
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 4552063BC38
	for <gnats-bugs@gnats.netbsd.org>; Fri, 24 Apr 2009 12:41:12 +0000 (UTC)
Message-Id: <20090424124112.04DE063B8A5@www.NetBSD.org>
Date: Fri, 24 Apr 2009 12:41:11 +0000 (UTC)
From: joern.clausen@uni-bielefeld.de
Reply-To: joern.clausen@uni-bielefeld.de
To: gnats-bugs@NetBSD.org
Subject: installed lang/parrot references build directory
X-Send-Pr-Version: www-1.0

>Number:         41275
>Category:       pkg
>Synopsis:       installed lang/parrot references build directory
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    he
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Apr 24 12:45:00 +0000 2009
>Closed-Date:    
>Last-Modified:  Sat Nov 28 23:57:09 +0000 2009
>Originator:     Jörn Clausen
>Release:        NetBSD 4.0.1
>Organization:
University of Bielefeld
>Environment:
NetBSD hrzkpgsrc 4.0.1 NetBSD 4.0.1 (GENERIC) #0: Tue Oct  7 22:58:48 PDT 2008  builds@wb30:/home/builds/ab/netbsd-4-0-1-RELEASE/i386/200810080053Z-obj/home/builds/ab/netbsd-4-0-1-RELEASE/src/sys/arch/i386/compile/GENERIC i386

>Description:
parrot_config from lang/parrot references its build directory:

$ parrot_config --dump | grep pkgsrc
build_dir => '/usr/pkgsrc/lang/parrot/work/parrot-1.0.0'
libparrot_ldflags => '-L/usr/pkgsrc/lang/parrot/work/parrot-1.0.0/blib/lib -lparrot'

"build_dir" is probably OK (this makes a build of Rakudo against this Parrot impossible, but that's mainly Rakudo's fault), but "libparrot_ldflags" looks just plain wrong.

In addition under Solaris, the variable "rpath_blib" references the build directory as well, similar to libparrot_ldflags.
>How-To-Repeat:

>Fix:

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->he
Responsible-Changed-By: wiz@NetBSD.org
Responsible-Changed-When: Fri, 24 Apr 2009 14:20:07 +0000
Responsible-Changed-Why:
Over to maintainer.


State-Changed-From-To: open->feedback
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Mon, 09 Nov 2009 07:05:02 +0000
State-Changed-Why:
The package has been updated several times in the last few months; does the
problem persist?


From: Havard Eidnes <he@NetBSD.org>
To: gnats-bugs@NetBSD.org, dholland@NetBSD.org
Cc: pkgsrc-bugs@netbsd.org, gnats-admin@netbsd.org,
 joern.clausen@uni-bielefeld.de
Subject: Re: pkg/41275 (installed lang/parrot references build directory)
Date: Mon, 09 Nov 2009 10:05:47 +0100 (CET)

 > The package has been updated several times in the last few
 > months; does the problem persist?

 I suspect it does...  I've tried to bring this up in the parrot
 community, but they say something to the effect that "you're not
 supposed to use that config variable to get at the parrot lib",
 and for some reason they don't think that references to the build
 directory in "supposed not to be used" config variables is a bug.
 I tend to differ, but it looks like I'm losing that battle.

 See https://trac.parrot.org/parrot/ticket/762 and
 https://trac.parrot.org/parrot/ticket/649.

 Best regards,

 - H=E5vard

State-Changed-From-To: feedback->open
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Sat, 28 Nov 2009 23:57:09 +0000
State-Changed-Why:
feedback received.


>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.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.