NetBSD Problem Report #33398

From www@netbsd.org  Mon May  1 02:40:28 2006
Return-Path: <www@netbsd.org>
Received: by narn.netbsd.org (Postfix, from userid 31301)
	id 9B2D563B882; Mon,  1 May 2006 02:40:28 +0000 (UTC)
Message-Id: <20060501024028.9B2D563B882@narn.netbsd.org>
Date: Mon,  1 May 2006 02:40:28 +0000 (UTC)
From: chap@NetBSD.org
Reply-To: chap@NetBSD.org
To: gnats-bugs@netbsd.org
Subject: qt3-libs and qt3-tools refer to work directory in packaged files' RPATH
X-Send-Pr-Version: www-1.0

>Number:         33398
>Category:       pkg
>Synopsis:       qt3-libs and qt3-tools refer to work directory in packaged files' RPATH
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    adam
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon May 01 02:45:00 +0000 2006
>Last-Modified:  Mon May 01 09:33:01 +0000 2006
>Originator:     Chapman Flack
>Release:        3.99.18
>Organization:
>Environment:
not relevant
>Description:
The shared objects built by qt3-libs and qt3-tools 3.3.5nb6 for NetBSD
3.0/i386 contain references to their pkgsrc work directories in RPATH.

You'd think that might be harmless, but it isn't in some circumstances
(such as when pkgsrc involves a union mount and the RPATH lookup causes
a process to hang in unionlk2) and anyway it should be fixed.

A fresh source build had the same problem.
>How-To-Repeat:
$ ftp \
ftp.NetBSD.org:pub/NetBSD/packages/3.0/i386/All/qt3-libs-3.3.5nb6.tgz
$ pax -rzf qt3-libs-3.3.5nb6.tgz qt3/lib
$ cd qt3/lib
$ readelf -d *.so | grep RPATH

Note that the last RPATH element refers to the build work directory.
>Fix:

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->adam
Responsible-Changed-By: wiz@netbsd.org
Responsible-Changed-When: Mon, 01 May 2006 09:33:01 +0000
Responsible-Changed-Why:
Over to maintainer.


>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.