Is your lsof package *actually* from the last snapshot, or is it an older one that hasn't been updated (because libc is still the same version)? If it's older then pkg_delete lsof and pkg_add lsof. lsof should be kept in-sync with the kernel.
Normally we handle this situation with library bumps or PKGNAME bumps when needed, but the kernel changes that affect this are currently only in snaps, not committed yet. On 2010/07/23 04:59, Chris Bennett wrote: > On 07/23/10 02:35, Antoine Jacoutot wrote: > >On Fri, 23 Jul 2010, David Coppa wrote: > > > >>On Thu, Jul 22, 2010 at 5:28 PM, Christian Weisgerber > >><na...@mips.inka.de> wrote: > >>>Here's the latest list: > >>> > >>> devel/mico > >>> devel/qt4-eventsview > >>> emulators/qemu-old > >>> lang/classpath > >>> lang/gcc/3.3,-ada why does dpb3 even try to build this? > >>> lang/nhc98 > >>> math/maxima > >>> misc/brs > >>> misc/calentool > >>> palm/pose > >>> www/chromium > >>> x11/olvwm > >> > >>Add sysutils/lsof to this list: it compiles but doesn't work at all. > > > >Really? I use it here without issue. > >Is just running `lsof' enough to see the breakage or should I run it > >with specific options? > > > Broken here too. > > OpenBSD 4.7-current (GENERIC.MP) #214: Tue Jul 20 13:47:51 MDT 2010 > dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP > cpu0: Intel(R) Pentium(R) 4 CPU 3.20GHz ("GenuineIntel" 686-class) 3.20 GHz > cpu0: > FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF, > SSE3,MWAIT,DS-CPL,CNXT-ID,xTPR > real mem = 517361664 (493MB) > avail mem = 498900992 (475MB) > etc > > sudo lsof, however I get a different output than he posted in last > post about it now. Got SAME bad output with earlier snap > > > $ sudo lsof > lsof: no pwd entry for UID 5 > lsof: no pwd entry for UID 5 > lsof: no pwd entry for UID 5 > lsof: no pwd entry for UID 5 > lsof: no pwd entry for UID 5 > lsof: no pwd entry for UID 5 > lsof: no pwd entry for UID 5 > lsof: no pwd entry for UID 5 > lsof: no pwd entry for UID 5 > lsof: no pwd entry for UID 5 > lsof: no pwd entry for UID 5 > lsof: no pwd entry for UID 5 > COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME > (unknown) -5 root cwd > unknown file system type: -793989152 > (unknown) -5 root rtd > unknown file system type: 0 > (unknown) -5 root tr > can't read vnode at 0xffffffff > lsof: no pwd entry for UID 5 > \f 14888 5 cwd VDIR 0,25 5120 1585024 > /home (/dev/wd1j) > lsof: no pwd entry for UID 5 > \f 14888 5 txt VREG 0,22 282417 2208642 /usr > (/dev/wd1g) > lsof: no pwd entry for UID 5 > \f 14888 5 txt VREG 0,22 2496253 2208651 /usr > (/dev/wd1g) > lsof: no pwd entry for UID 5 > \f 14888 5 txt VREG 0,22 47457 5066890 /usr > (/dev/wd1g) > lsof: no pwd entry for UID 5 > \f 14888 5 txt VREG 0,26 124892 6236216 > /usr/local (/dev/wd1k) > lsof: no pwd entry for UID 5 > \f 14888 5 txt VREG 0,20 91743 1481094 /var > (/dev/wd1e) > lsof: no pwd entry for UID 5 > \f 14888 5 0u VCHR 5,0 0t101715 78704 /dev/ttyp0 > lsof: no pwd entry for UID 5 > \f 14888 5 1u VCHR 5,0 0t101715 78704 /dev/ttyp0 > lsof: no pwd entry for UID 5 > \f 14888 5 2u VCHR 5,0 0t101715 78704 /dev/ttyp0 > lsof: no pwd entry for UID 5 > \f 14888 5 3r VCHR 2,0 0t0 79380 /dev/mem > lsof: no pwd entry for UID 5 > \f 14888 5 4r VCHR 2,1 0t0 79381 /dev/kmem > lsof: no pwd entry for UID 5 > \f 14888 5 5r VREG 0,20 1282048 366258 /var > (/dev/wd1e) > ^K 19045 root cwd VDIR 0,20 512 77953 /var > (/dev/wd1e) > ^K 19045 root txt VREG 0,22 2303232 2208898 /usr > (/dev/wd1g) > ^K 19045 root txt VREG 0,22 4476689 2208660 /usr > (/dev/wd1g) > ^K 19045 root txt VREG 0,22 1289897 2208782 /usr > (/dev/wd1g) > ^K 19045 root txt VREG 0,22 2496253 2208651 /usr > (/dev/wd1g) > ^K 19045 root txt VREG 0,26 1332144 6574455 > /usr/local (/dev/wd1k) > ^K 19045 root txt VREG 0,26 1050652 6574197 > /usr/local (/dev/wd1k) > ^K 19045 root txt VREG 0,22 329770 2208643 /usr > (/dev/wd1g) > ^K 19045 root txt VREG 0,22 163341 2208869 /usr > (/dev/wd1g) > ^K 19045 root txt VREG 0,22 47457 5066890 /usr > (/dev/wd1g) > ^K 19045 root txt VREG 0,26 4535095 4756414 > /usr/local (/dev/wd1k) > ^K 19045 root txt VREG 0,20 91743 1481094 /var > (/dev/wd1e) > ^K 19045 root 0r VCHR 2,2 0t0 79382 /dev/null > ^K 19045 root 1w VREG 0,20 64725 78141 /var > (/dev/wd1e) > ^K 19045 root 2w VREG 0,20 64725 78141 /var > (/dev/wd1e) > ^K 19045 root 3u IPv4 0xd5aa6198 0t0 TCP > localhost:postgresql (LISTEN) > ^K 19045 root 4u IPv6 0xd5aa6328 0t0 TCP > localhost:postgresql (LISTEN) > ^K 19045 root 5u unix 0xd5aa76a8 0t0 > /tmp/.s.PGSQL.5432 > ^K 19045 root 6u IPv4 0xd5abdb98 0t0 UDP > localhost:5219->localhost:5219 >