Subject: install/34897: h2ph chokes on recursive symlinks when building p5-perl-headers
To: None <install-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <thomas@intevation.de>
List: netbsd-bugs
Date: 10/24/2006 14:15:01
>Number: 34897
>Category: install
>Synopsis: h2ph chokes on recursive symlinks when building p5-perl-headers
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: install-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Oct 24 14:15:00 +0000 2006
>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