pkgsrc-Bugs archive

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

pkg/54794: sysutils/lsof does not build under -current after 9.99.18



>Number:         54794
>Category:       pkg
>Synopsis:       sysutils/lsof does not build under -current after 9.99.18
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Dec 22 17:10:00 +0000 2019
>Originator:     Chavdar Ivanov
>Release:        pkgsrc branch -current as of 22/12/2019
>Organization:
CI4 Consulting Ltd
>Environment:
NetBSD ymir 9.99.28 NetBSD 9.99.28 (GENERIC) #3: Sun Dec 22 15:23:57 GMT 2019  sysbuild@ymir:/home/sysbuild/amd64/obj/home/sysbuild/src/sys/arch/amd64/compile/GENERIC amd64

>Description:
Since 9.99.18 lsof does not build with the same error:
...
gcc -O2  -DNETBSDV=7000000 -DN_UNIXV=/dev/ksyms -DHASKVMGETPROC2 -DHASNFSPROTO -DHASIPv6 -DHASFDESCFS=1 -DHASFDLINK -DHASNULLFS -DHASPROCFS
 -DHASPROCFS_PFSROOT -DHASBUFQ_H -DHAS9660FS=1 -DHASMSDOSFS=1 -DHASKERNFS -DHASKERNFS_KFS_KT -DHASI_FFS1 -DHASEXT2FS -DHASI_E2FS_PTR -DHASLFS -DHASPTYFS -DHASTMPFS -DHASNFSVATTRP -DHAS_ADVLOCK_ARGS -DHAS_LWP_H -DHAS_SYS_PIPEH -DHASSTATVFS -DUVM -I/usr/pkgsrc/sysutils/lsof/work/
lsof_4.91/lsof_4.91_src/dialects/n+obsd/include -DHAS_UVM_INCL -DHAS_STRFTIME -DLSOF_VSTR="9.99.28"    -D_KMEMUSER -D__NAMECACHE_PRIVATE -c
 dvch.c
In file included from /usr/include/sys/ptrace.h:63,
                 from /usr/include/miscfs/procfs/procfs.h:75,
                 from ../dlsof.h:369,
                 from ../lsof.h:221,
                 from dvch.c:43:
/usr/include/amd64/ptrace.h:104:10: fatal error: sys/module_hook.h: No such file or directory
 #include <sys/module_hook.h>
          ^~~~~~~~~~~~~~~~~~~
compilation terminated.
*** Error code 1
.....

The above is included conditionaly on _KERNEL.  

The last version I have apparently starts up, but the output is mostly garbage on later versions, which is to be expected. 
>How-To-Repeat:
Try to build sysutils/lsof past 9.99.18. 
>Fix:
N/A



Home | Main Index | Thread Index | Old Index