NetBSD Problem Report #34897

From www@NetBSD.org  Tue Oct 24 14:11:34 2006
Return-Path: <www@NetBSD.org>
Received: by narn.NetBSD.org (Postfix, from userid 31301)
	id 21BBB63B911; Tue, 24 Oct 2006 14:11:34 +0000 (UTC)
Message-Id: <20061024141134.21BBB63B911@narn.NetBSD.org>
Date: Tue, 24 Oct 2006 14:11:34 +0000 (UTC)
From: thomas@intevation.de
Reply-To: thomas@intevation.de
To: gnats-bugs@NetBSD.org
Subject: h2ph chokes on recursive symlinks when building p5-perl-headers
X-Send-Pr-Version: www-1.0

>Number:         34897
>Category:       pkg
>Synopsis:       h2ph chokes on recursive symlinks when building p5-perl-headers
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Oct 24 14:15:00 +0000 2006
>Last-Modified:  Sun Mar 21 16:10:52 +0000 2010
>Originator:     Thomas Arendsen Hein
>Release:        Debian GNU/Linux 3.1 with pkgsrc from CVS
>Organization:
Intevation GmbH
>Environment:
Linux thoe 2.6.17.13-id1-k8-1 #2 SMP Mon Sep 11 17:11:25 CEST 2006 i686 GNU/Linux
>Description:
During installation of devel/p5-perl-headers the following is executed:
( cd "/usr/include" &&  $PREFIX/bin/h2ph -d $PKGSRC/devel/p5-perl-headers/work/h2ph -r -l . )  > $PKGSRC/devel/p5-perl-headers/work/h2ph_log

In /usr/include is a symbolic link: gdal -> ../include/

h2ph recursively descends into /usr/include/gdal/gdal/gdal/... until recursion limit is reached.

If the symlink is
 gdal -> .
instead of
 gdal -> ../include/
everything works fine.

>How-To-Repeat:
cd /usr/include
ln -s ../install/ gdal
cd .../pkgsc/devel/p5-perl-headers
bmake install

>Fix:
cd /usr/include
rm gdal
ln -s . gdal

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: install-manager->pkg-manager
Responsible-Changed-By: tron@netbsd.org
Responsible-Changed-When: Wed, 25 Oct 2006 11:42:52 +0000
Responsible-Changed-Why:
This problem report is related to "pkgsrc", not NetBSD's installation system.


Responsible-Changed-From-To: pkg-manager->jlam
Responsible-Changed-By: snj@netbsd.org
Responsible-Changed-When: Fri, 27 Oct 2006 23:23:57 +0000
Responsible-Changed-Why:
Over to maintainer.


Responsible-Changed-From-To: jlam->pkg-manager
Responsible-Changed-By: wiz@NetBSD.org
Responsible-Changed-When: Sun, 21 Mar 2010 16:10:52 +0000
Responsible-Changed-Why:
Back to role account, jlam lost his commit bit.


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