pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/37483: lsof does not build



>Number:         37483
>Category:       pkg
>Synopsis:       lsof 4.78.3.1_STABLEnb1 does not build
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Dec 05 18:45:00 +0000 2007
>Originator:     Per Amund Amundsen
>Release:        NetBSD 3.1_STABLE & NetBSD 4.0_RC5
>Organization:
University of Stavanger
-- 
Per Amund Amundsen                              per-am%ux.uis.no@localhost
Department of Mathematics and Natural Science   per.a.amundsen%uis.no@localhost
University of Stavanger                         Tlf: (+47) 51 83 18 77
N-4036 Stavanger                                Fax: (+47) 51 83 17 50
>Environment:
        
        
System: NetBSD bsd-amundsen 3.1_STABLE NetBSD 3.1_STABLE (BSDA4) #11: Mon Sep 3 
12:05:34 CEST 2007 pa@bsd-amundsen:/usr/src/sys/arch/i386/compile/BSDA4 i386
Architecture: i386
Machine: i386
>Description:
  lsof  4.78.3.1_STABLEnb1 does not build because of undefined
  variable V_ROOT introduced in version  1.12 of patch-af. 

>How-To-Repeat:
   cd pkgsrc/sysutils/lsof
   make

   See make failing with

   rnmh.c: In function `ncache_isroot':
   rnmh.c:262: error: `V_ROOT' undeclared (first use in this function)
   rnmh.c:262: error: (Each undeclared identifier is reported only once
   rnmh.c:262: error: for each function it appears in.)
   *** Error code 1

   Stop.
   make: stopped in /usr/pkgsrc/sysutils/lsof/work/lsof_4.78/lsof_4.78_src/lib
   *** Error code 1

   Stop.
   make: stopped in /usr/pkgsrc/sysutils/lsof/work/lsof_4.78/lsof_4.78_src
   *** Error code 1

   Stop.
   make: stopped in /usr/pkgsrc/sysutils/lsof
   *** Error code 1


>Fix:
   It seems by reading the comments in the source file lib/rnmh.c that
   the variable V_ROOT introduced in patch-af 1.12 should really be
   VROOT. With this change the program compiles and runs, hopefully
   correctly. 

        

>Unformatted:
        
        



Home | Main Index | Thread Index | Old Index