Bug 19687

Summary: Perl Install on make installworld fails
Product: Base System Reporter: drwho <drwho>
Component: gnuAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 3.5-STABLE   
Hardware: Any   
OS: Any   

Description drwho 2000-07-04 03:40:01 UTC
Ran "make buildworld".  Everything compiled cleanly.  When running
"make installworld", however, the install fails on perl with the following
errors:

vm/vm_zone.h -> vm/vm_zone.ph
vm/vnode_pager.h -> vm/vnode_pager.ph
*** Error code 1

Stop.

Fix: 

None available.
How-To-Repeat: 
Either try running "make installworld" or just cd /usr/src/gnu/usr.bin/perl
and run "make install".
Comment 1 Vallo Kallaste 2000-07-04 10:49:04 UTC
On Mon, Jul 03, 2000 at 09:33:03PM -0500, drwho@xnet.com wrote:

> >Number:         19687
> >Category:       gnu
> >Synopsis:       Perl Install on make installworld fails
> >Confidential:   no
> 
> >Description:
> 
> Ran "make buildworld".  Everything compiled cleanly.  When running
> "make installworld", however, the install fails on perl with the following
> errors:
> 
> vm/vm_zone.h -> vm/vm_zone.ph
> vm/vnode_pager.h -> vm/vnode_pager.ph
> *** Error code 1
> 
> Stop.

Accordingly to lists, you may have stale symlinks in the /usr/include
and h2ph script exits with error code, stopping installworld. Make sure
you don't have any symlinks in /usr/include without target.
-- 

Vallo Kallaste
vallo@matti.ee
Comment 2 Sheldon Hearn freebsd_committer freebsd_triage 2000-07-05 10:30:28 UTC
State Changed
From-To: open->closed

You can identify the dangling symlinks in /usr/include with this 
ugly but workable shell construct: 

find /usr/include -ls |  
sed -ne 's/^.*[^ ][^ ]* -> ([^ ][^ ]*)$/1/p' |  
xargs ls