NetBSD Problem Report #36680
From yx@rtk0.lneuro.x.ua Mon Jul 23 09:40:16 2007
Return-Path: <yx@rtk0.lneuro.x.ua>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
by narn.NetBSD.org (Postfix) with ESMTP id AC5CD63B97A
for <gnats-bugs@gnats.NetBSD.org>; Mon, 23 Jul 2007 09:40:16 +0000 (UTC)
Message-Id: <200707230940.l6N9eB2L017208@rtk0.lneuro.x.ua>
Date: Mon, 23 Jul 2007 12:40:11 +0300 (EEST)
From: yx@x.ua
Reply-To: yx@x.ua
To: atatat@NetBSD.org, gnats-bugs@NetBSD.org
Subject: sysutils/lsof: fails to build with sys/mount.h,v 1.162
X-Send-Pr-Version: 3.95
>Number: 36680
>Category: pkg
>Synopsis: sysutils/lsof: fails to build with sys/mount.h,v 1.162
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: veego
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Jul 23 09:45:01 +0000 2007
>Closed-Date: Sun Aug 19 21:09:49 +0000 2007
>Last-Modified: Sun Aug 19 21:09:49 +0000 2007
>Originator: Yakovetsky Vladimir
>Release: NetBSD 4.99.24
>Organization:
>Environment:
System: NetBSD lrou.x.ua 4.99.24 NetBSD 4.99.24 (lrou-1.838) #0: Fri Jul 20 12:19:05 EEST 2007 yx@lrou.x.ua:/sys/arch/i386/compile/lrou i386
Architecture: i386
Machine: i386
>Description:
sysutils/lsof fails to build with sys/mount.h,v 1.162
>How-To-Repeat:
% cd /usr/pkgsrc/sysutils/lsof
% make
...
cc -O2 -march=pentium4 -finline-functions -fomit-frame-pointer -ffast-math -DNETBSDV=1006000 -DHASGETBOOTFILE -DHASKVMGETPROC2 -DHASNFSPROTO -DHASIPv6 -DHASFDESCFS=1 -DHASFDLINK -DHASNULLFS -DHASPROCFS -DHASPROCFS_PFSROOT -DHASBUFQ_H -DHAS9660FS=1 -DHASMSDOSFS=1 -DHASKERNFS -DHASKERNFS_KFS_KT -DHASI_FFS1 -DHASEFFNLINK=i_ffs_effnlink -DHASEXT2FS -DHASI_E2FS_PTR -DHASLFS -DHASPTYFS -DHASNFSVATTRP -DHAS_ADVLOCK_ARGS -DHAS_LWP_H -DHASCWDINFO -DHAS_SYS_PIPEH -DHASSTATVFS -DUVM -I/usr/obj/sysutils/lsof/work/lsof_4.78/lsof_4.78_src/dialects/n+obsd/include -DHAS_UVM_INCL -DLSOF_VSTR="4.99.24" -O -DLSOF_MORE_SECURE=0 -DLSOF_LESS_SECURE_SOCKETS=0 -c dvch.c
In file included from ../lsof.h:191,
from dvch.c:43:
../dlsof.h:492: error: 'MFSNAMELEN' undeclared here (not in a function)
*** Error code 1
>Fix:
:r /usr/pkgsrc/sysutils/lsof/patches/patch-ag
--- dialects/n+obsd/dlsof.h~ 2007-07-23 11:55:02.000000000 +0300
+++ dialects/n+obsd/dlsof.h 2007-07-23 11:58:01.000000000 +0300
@@ -97,6 +97,14 @@
#include <sys/mount.h>
+#ifndef MFSNAMELEN
+#ifdef VFS_NAMELEN
+#define MFSNAMELEN VFS_NAMELEN
+#else
+#define MFSNAMELEN 16
+#endif
+#endif
+
# if (defined(OPENBSDV) && OPENBSDV>=3030) \
|| (defined(NETBSDV) && __NetBSD_Version__>=106060000)
#undef _KERNEL
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: pkg-manager->atatat
Responsible-Changed-By: wiz@netbsd.org
Responsible-Changed-When: Mon, 23 Jul 2007 23:48:02 +0000
Responsible-Changed-Why:
Over to maintainer.
From: Bernd Ernesti <veego@NetBSD.org>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: pkg/36680
Date: Sat, 11 Aug 2007 20:58:32 +0200
IMHO the original patch in the pr has some room for improvements.
Here is a different one:
- Don't hardcode the MFSNAMELEN length, inspired by commits from
Christos (patch-ae and patch-af)
- Define NETBSD_SYS in the pkgsrc Makefile so it works if NETBSDSRCDIR is
not pointing to a default location and thus some featues, like ptyfs
support was disabled
- Update the line numbers in patch-aa
- Add tmpfs support (patch-ad, patch-af and in the new patch-ag)
- Update the NetBSD versions in Configure otherwise NETBSDV would fall
back to 1006000 and so at least one feature was not found, the PFSfd
procfs support (in the new patch-ag)
- Bump pkg revision for new features (normaly I wouldn't have bumped the
version if it were only to fix a -current compile, because the version
also includes the kernel version)
00PORTING was not modified. It has to be adapted for the HASTMPFS changes
when the changes are send back to the author:
HASTMPFS indicates the *BSD dialect has a tmpfs file system.
I used 499002500 for the MFSNAMELEN changes because it was changed in the
middle of the 4.99.24 source code.
You can also find the patch file on ftp.NetBSD.org:/pub/NetBSD/misc/veego/36680.patch
in the case gnats changes the format.
Bernd
--- Makefile 6 May 2007 21:41:30 -0000 1.92
+++ Makefile 11 Aug 2007 15:26:37 -0000
@@ -3,6 +3,7 @@
DISTNAME= lsof_4.78
PKGNAME= ${DISTNAME:S/_/-/}.${OS_VERSION}
+PKGREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/ \
ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/NEW/ \
@@ -34,6 +35,7 @@
.if ${OPSYS} == "NetBSD"
REAL_GROUP= -g kmem
+CONFIGURE_ENV+= NETBSD_SYS="${NETBSDSRCDIR}/sys"
.elif ${OPSYS} == "SunOS"
MAKE_ENV+= CPPFLAGS=
.endif
--- distinfo 6 May 2007 21:42:02 -0000 1.66
+++ distinfo 11 Aug 2007 17:49:01 -0000
@@ -3,8 +3,9 @@
SHA1 (lsof_4.78.tar.bz2) = 0379fc9f38a931ce19e8386e662314d96fc2a099
RMD160 (lsof_4.78.tar.bz2) = 50d71e500f1109cda717b73ce209c0e100a6dbe9
Size (lsof_4.78.tar.bz2) = 756729 bytes
-SHA1 (patch-aa) = 332eb1ac95d86023dde66d1b99b9335c8f54b81f
+SHA1 (patch-aa) = 051015025297ab131c30ceb62e926750c365d14a
SHA1 (patch-ab) = 1501d8b0e6fd2c61949ba0d447c7b726655725c4
-SHA1 (patch-ad) = bbdd2c4c997233f7743a0c99ffcc6ce29679a8a9
-SHA1 (patch-ae) = ba3804e89101fb504edd33983f35904559a63dbf
-SHA1 (patch-af) = 0ceeb8e4a704d89aba5b9271d17afe038d877e8f
+SHA1 (patch-ad) = ac9ade0dce7299704d60daa15fb95a436938f456
+SHA1 (patch-ae) = 1d8c1c3baf9575631c23d3ced7b12fab1df95cd6
+SHA1 (patch-af) = 7110b279ca99bd399d1654683b6fc8367d2fee8d
+SHA1 (patch-ag) = b992cc4a80563f143e72fe3f27557a460af38121
diff -b -u -r1.25 patch-aa
--- patches/patch-aa 17 Jan 2005 14:54:01 -0000 1.25
+++ patches/patch-aa 11 Aug 2007 16:21:46 -0000
@@ -5,9 +5,9 @@
Set LSOF_LESS_SECURE_SOCKETS to non-zero in order to allow non-root
users to see open sockets, even when LSOF_MORE_SECURE is set.
---- dialects/n+obsd/machine.h.orig 2004-10-17 17:55:27.000000000 -0400
-+++ dialects/n+obsd/machine.h
-@@ -383,7 +383,9 @@
+--- dialects/n+obsd/machine.h.orig 2006-03-28 23:54:17.000000000 +0200
++++ dialects/n+obsd/machine.h 2007-08-11 18:01:56.000000000 +0200
+@@ -410,7 +410,9 @@
* (the one that its user logged on with) of the lsof process.
*/
@@ -18,7 +18,7 @@
/*
-@@ -392,7 +394,9 @@
+@@ -419,7 +421,9 @@
* listing is selected by the "-i" option.
*/
--- patches/patch-ad 6 May 2007 21:41:30 -0000 1.12
+++ patches/patch-ad 11 Aug 2007 17:48:59 -0000
@@ -1,7 +1,7 @@
$NetBSD: patch-ad,v 1.12 2007/05/06 21:41:30 christos Exp $
---- dialects/n+obsd/dnode.c.orig 2007-04-24 12:22:06.000000000 -0400
-+++ dialects/n+obsd/dnode.c 2007-05-06 16:43:51.000000000 -0400
+--- dialects/n+obsd/dnode.c.orig 2007-04-24 18:22:06.000000000 +0200
++++ dialects/n+obsd/dnode.c 2007-08-11 19:46:43.000000000 +0200
@@ -38,6 +38,9 @@
#include "lsof.h"
@@ -12,7 +12,7 @@
#if defined(HAS_DINODE_U)
#define DINODE_U dinode_u
-@@ -194,7 +197,9 @@
+@@ -194,12 +197,17 @@
unsigned char ns;
unsigned char rdevs;
char *ep, *ty;
@@ -21,8 +21,37 @@
+#endif
struct inode i;
struct mfsnode m;
++#if defined(HASTMPFS)
++ struct tmpfs_node tmp;
++#endif /* defined(HASTMPFS) */
struct nfsnode n;
-@@ -619,6 +624,7 @@
+ enum nodetype {NONODE, CDFSNODE, DOSNODE, EXT2NODE, FDESCNODE, INODE,
+- KERNFSNODE, MFSNODE, NFSNODE, PFSNODE, PTYFSNODE} nty;
++ KERNFSNODE, MFSNODE, NFSNODE, PFSNODE, PTYFSNODE, TMPFSNODE} nty;
+ enum vtype type;
+ struct vnode *v, vb;
+ struct l_vfs *vfs;
+@@ -471,6 +479,19 @@
+ nty = MFSNODE;
+ break;
+
++#if defined(HASTMPFS)
++ case VT_TMPFS:
++ if (!v->v_data
++ || kread((KA_T)v->v_data, (char *)&tmp, sizeof(tmp))) {
++ (void) snpf(Namech, Namechl, "can't read tmpfs_node at: %s",
++ print_kptr((KA_T)v->v_data, (char *)NULL, 0));
++ enter_nm(Namech);
++ return;
++ }
++ nty = TMPFSNODE;
++ break;
++#endif /* defined(HASTMPFS) */
++
+ #if defined(HASMSDOSFS)
+ case VT_MSDOSFS:
+ if (!v->v_data
+@@ -619,6 +640,7 @@
}
@@ -30,7 +59,7 @@
if ((lff = i.i_lockf)) {
/*
-@@ -667,6 +673,7 @@
+@@ -667,6 +689,7 @@
break;
} while ((lfp = lf.lf_next) && lfp != lff);
}
@@ -38,3 +67,41 @@
break;
default:
if (v->v_type == VBAD || v->v_type == VNON)
+@@ -900,6 +923,13 @@
+ break;
+ #endif /* defined(HASPTYFS) */
+
++#if defined(HASTMPFS)
++ case TMPFSNODE:
++ Lf->inode = (INODETYPE)tmp.tn_id;
++ Lf->inp_ty = 1;
++ break;
++#endif /* defined(HASTMPFS) */
++
+ }
+
+ /*
+@@ -1019,6 +1049,13 @@
+ Lf->sz_def = 1;
+ break;
+
++#if defined(HASTMPFS)
++ case TMPFSNODE:
++ Lf->sz = (SZOFFTYPE)tmp.tn_size;
++ Lf->sz_def = 1;
++ break;
++#endif /* defined(HASTMPFS) */
++
+ #if defined(HASEXT2FS)
+ case EXT2NODE:
+ # if defined(HASI_E2FS_PTR)
+@@ -1221,6 +1258,9 @@
+ Lf->dev_def = Lf->rdev_def = 0;
+ (void) snpf(Namech, Namechl, "%#x", m.mfs_baseoff);
+ enter_dev_ch("memory");
++ } else if (nty == TMPFSNODE) {
++ Lf->dev_def = Lf->rdev_def = 0;
++ enter_dev_ch("memory");
+ }
+
+ #if defined(HASPROCFS)
--- patches/patch-ae 1 Aug 2006 12:29:59 -0000 1.10
+++ patches/patch-ae 11 Aug 2007 12:48:50 -0000
@@ -1,7 +1,7 @@
$NetBSD: patch-ae,v 1.10 2006/08/01 12:29:59 tron Exp $
---- dialects/n+obsd/dmnt.c.orig 2005-08-08 20:53:31.000000000 +0100
-+++ dialects/n+obsd/dmnt.c 2006-08-01 13:25:57.000000000 +0100
+--- dialects/n+obsd/dmnt.c.orig 2005-08-08 21:53:31.000000000 +0200
++++ dialects/n+obsd/dmnt.c 2007-08-11 14:43:05.000000000 +0200
@@ -45,6 +45,15 @@
#include <sys/statvfs.h>
#endif /* defined(NETBSDV) && defined(HASSTATVFS) */
@@ -18,3 +18,16 @@
#include "lsof.h"
+@@ -94,7 +103,12 @@
+ for (; n; n--, mb++) {
+ if (mb->f_fstypename[0] == '\0')
+ continue;
++#if defined(NETBSDV) && __NetBSD_Version__ >= 499002500
++ /* MFSNAMELEN was removed from the kernel source after 4.99.24 */
++ mb->f_fstypename[sizeof(mb->f_fstypename) - 1] = '\0';
++#else
+ mb->f_fstypename[MFSNAMELEN - 1] = '\0';
++#endif
+ /*
+ * Interpolate a possible symbolic directory link.
+ */
diff -b -u -r1.7 patch-af
--- patches/patch-af 6 May 2007 21:41:30 -0000 1.7
+++ patches/patch-af 11 Aug 2007 16:20:52 -0000
@@ -1,7 +1,7 @@
$NetBSD: patch-af,v 1.7 2007/05/06 21:41:30 christos Exp $
---- dialects/n+obsd/dlsof.h.orig 2006-03-28 16:54:15.000000000 -0500
-+++ dialects/n+obsd/dlsof.h 2007-05-06 17:37:00.000000000 -0400
+--- dialects/n+obsd/dlsof.h.orig 2006-03-28 23:54:15.000000000 +0200
++++ dialects/n+obsd/dlsof.h 2007-08-11 18:16:59.000000000 +0200
@@ -161,6 +161,7 @@
#include <sys/socketvar.h>
#include <sys/un.h>
@@ -18,3 +18,26 @@
#include <netinet/in_pcb.h>
#include <netinet/ip_var.h>
#include <netinet/tcp.h>
+@@ -264,6 +264,9 @@
+
+ #undef KERNEL
+ #include <ufs/mfs/mfsnode.h>
++# if defined(HASTMPFS)
++#include <fs/tmpfs/tmpfs.h>
++# endif /* defined(HASTMPFS) */
+
+ # if defined(HASNFSPROTO)
+ #include <nfs/rpcv2.h>
+@@ -489,7 +492,12 @@
+ struct l_vfs {
+ KA_T addr; /* kernel address */
+ fsid_t fsid; /* file system ID */
++#if defined(NETBSDV) && __NetBSD_Version__ >= 499002500
++ /* MFSNAMELEN was removed from the kernel source after 4.99.24 */
++ char type[sizeof(((struct statvfs *)NULL)->f_fstypename)]; /* type of file system */
++#else
+ char type[MFSNAMELEN]; /* type of file system */
++#endif
+ char *dir; /* mounted directory */
+ char *fsname; /* file system name */
+ struct l_vfs *next; /* forward link */
diff -N patches/patch-ag
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ patches/patch-ag 11 Aug 2007 16:01:31 -0000
@@ -0,0 +1,103 @@
+$NetBSD$
+
+--- Configure.orig 2007-04-24 21:00:22.000000000 +0200
++++ Configure 2007-08-11 18:00:38.000000000 +0200
+@@ -86,6 +86,7 @@
+ # $LSOF_LOCALSUFFIX local suffix for Makefile
+ # $LSOF_NBSD_BUFQH NetBSD <sys/bufq.h> copy status
+ # $LSOF_NBSD_PTYFS NetBSD ${NETBSD_SYS}/sys/fs/ptyfs/ copy status
++# $LSOF_NBSD_TMPFS NetBSD ${NETBSD_SYS}/sys/fs/tmpfs/ copy status
+ # $LSOF_N_UNIXV *BSD system's kernel file
+ # $LSOF_PL patch level
+ # $LSOF_RANLIB randomizing command for the lsof library
+@@ -2447,6 +2448,19 @@
+ echo "!!!WARNING!!! Unsupported NetBSD version: $LSOF_VSTR"
+ echo "!!!WARNING!!! Configuring for NetBSD 3.0"
+ ;;
++ 4.0*)
++ LSOF_TSTBIGF=" "
++ LSOF_VERS="4000000"
++ ;;
++ 4.99.*)
++ LSOF_TSTBIGF=" "
++ LSOF_VERS="4099000"
++ ;;
++ 4*)
++ LSOF_VERS="4000000"
++ echo "!!!WARNING!!! Unsupported NetBSD version: $LSOF_VSTR"
++ echo "!!!WARNING!!! Configuring for NetBSD 4.0"
++ ;;
+ *)
+ echo "Unknown NetBSD release: $LSOF_VSTR"
+ echo Assuming NetBSD 1.6
+@@ -2464,6 +2478,8 @@
+ ;;
+ 3000000|3099000)
+ ;;
++ 4000000|4099000)
++ ;;
+ *)
+ echo "Unknown NetBSD version: $LSOF_VERS"
+ rm -f $LSOF_HLP
+@@ -2871,6 +2887,7 @@
+ fi # }
+ LSOF_TMP2="sys/vnode.h"
+ LSOF_NBSD_PTYFS=0
++ LSOF_NBSD_TMPFS=0
+ if test -r ${LSOF_INCLUDE}/$LSOF_TMP2 # {
+ then
+ LSOF_TMP3="${LSOF_INCLUDE}/$LSOF_TMP2"
+@@ -2948,6 +2965,24 @@
+ fi # }
+ fi # }
+ fi # }
++ grep -q VT_TMPFS $LSOF_TMP3
++ if test $? -eq 0 # {
++ then
++ LSOF_TMP2="fs/tmpfs/tmpfs.h"
++ if test -r ${LSOF_INCLUDE}/$LSOF_TMP2 # {
++ then
++ LSOF_CFGF="$LSOF_CFGF -DHASTMPFS"
++ else
++ if test -r ${NETBSD_SYS}/$LSOF_TMP2 # {
++ then
++ if test $NETBSD_SYS != $LSOF_INCLUDE # {
++ then
++ LSOF_CFGF="$LSOF_CFGF -DHASTMPFS"
++ LSOF_NBSD_TMPFS=1
++ fi # }
++ fi # }
++ fi # }
++ fi # }
+ if test "X$NETBSD_UVM" = "X" # {
+ then
+ grep -q UVM $LSOF_TMP3
+@@ -3233,6 +3268,28 @@
+ LSOF_CFGF="$LSOF_CFGF -I`pwd`/dialects/n+obsd/include"
+ fi # }
+ fi # }
++ if test $LSOF_NBSD_TMPFS -eq 1 # {
++ then
++
++ # Make a local copy of $NETBSD_SYS/sys/fs/tmpfs/tmpfs.h.
++
++ if test ! -d dialects/n+obsd/include # {
++ then
++ mkdir dialects/n+obsd/include
++ fi # }
++ if test ! -d dialects/n+obsd/include/fs # {
++ then
++ mkdir dialects/n+obsd/include/fs
++ fi # }
++ rm -rf dialects/n+obsd/include/fs/tmpfs
++ mkdir dialects/n+obsd/include/fs/tmpfs
++ cp $NETBSD_SYS/fs/tmpfs/tmpfs.h dialects/n+obsd/include/fs/tmpfs
++ echo $LSOF_CFGF | grep /dialects/n+obsd/include > /dev/null 2>&1
++ if test $? -ne 0 # {
++ then
++ LSOF_CFGF="$LSOF_CFGF -I`pwd`/dialects/n+obsd/include"
++ fi # }
++ fi # }
+ LSOF_CFGL="$LSOF_CFGL -lkvm"
+ LSOF_DIALECT_DIR=n+obsd
+ ;;
From: Bernd Ernesti <veego@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc:
Subject: PR/36680 CVS commit: pkgsrc/sysutils/lsof
Date: Tue, 14 Aug 2007 19:59:18 +0000 (UTC)
Module Name: pkgsrc
Committed By: veego
Date: Tue Aug 14 19:59:18 UTC 2007
Modified Files:
pkgsrc/sysutils/lsof: Makefile distinfo
pkgsrc/sysutils/lsof/patches: patch-aa patch-ad patch-ae patch-af
Added Files:
pkgsrc/sysutils/lsof/patches: patch-ag
Log Message:
- Don't hardcode the MFSNAMELEN length, inspired by commits from
Christos (patch-ae and patch-af). Fix PR 36680
- Define NETBSD_SYS in the pkgsrc Makefile so it works if NETBSDSRCDIR is
not pointing to a default location and thus some featues, like ptyfs
support were disabled
- Update the line numbers in patch-aa
- Add tmpfs support (patch-ad, patch-af and patch-ag)
- Update the NetBSD versions in Configure otherwise NETBSDV would fall
back to 1006000 and so at least one feature was not found, the PFSfd
procfs support (patch-ag)
- Bump pkg revision for new features (normaly I wouldn't have bumped the
version if it were only to fix a -current compile, because the version
also includes the kernel version)
To generate a diff of this commit:
cvs rdiff -r1.92 -r1.93 pkgsrc/sysutils/lsof/Makefile
cvs rdiff -r1.68 -r1.69 pkgsrc/sysutils/lsof/distinfo
cvs rdiff -r1.25 -r1.26 pkgsrc/sysutils/lsof/patches/patch-aa
cvs rdiff -r1.12 -r1.13 pkgsrc/sysutils/lsof/patches/patch-ad
cvs rdiff -r1.10 -r1.11 pkgsrc/sysutils/lsof/patches/patch-ae
cvs rdiff -r1.9 -r1.10 pkgsrc/sysutils/lsof/patches/patch-af
cvs rdiff -r0 -r1.3 pkgsrc/sysutils/lsof/patches/patch-ag
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Responsible-Changed-From-To: atatat->veego
Responsible-Changed-By: veego@netbsd.org
Responsible-Changed-When: Tue, 14 Aug 2007 20:01:42 +0000
Responsible-Changed-Why:
I commited a fix.
State-Changed-From-To: open->feedback
State-Changed-By: veego@netbsd.org
State-Changed-When: Tue, 14 Aug 2007 20:01:42 +0000
State-Changed-Why:
Does the package update works for you?
From: Yakovetsky Vladimir <yx@x.ua>
To: gnats-bugs@NetBSD.org
Cc: veego@NetBSD.org, atatat@NetBSD.org, pkgsrc-bugs@NetBSD.org,
gnats-admin@NetBSD.org
Subject: Re: pkg/36680 (sysutils/lsof: fails to build with sys/mount.h,v 1.162)
Date: Thu, 16 Aug 2007 22:21:51 +0300
On Tue, Aug 14, 2007 at 08:01:44PM +0000, veego@NetBSD.org wrote:
> Synopsis: sysutils/lsof: fails to build with sys/mount.h,v 1.162
>
> Responsible-Changed-From-To: atatat->veego
> Responsible-Changed-By: veego@netbsd.org
> Responsible-Changed-When: Tue, 14 Aug 2007 20:01:42 +0000
> Responsible-Changed-Why:
> I commited a fix.
>
>
> State-Changed-From-To: open->feedback
> State-Changed-By: veego@netbsd.org
> State-Changed-When: Tue, 14 Aug 2007 20:01:42 +0000
> State-Changed-Why:
> Does the package update works for you?
>
Yes, thanks. Your updatings have much exceeded
initialed "fails to build" in this PR.
Note: here remains a some small issue -
build with system sources and without is not identical.
For example, current version of lsof with system sources
has bufq/ptyfs/tmpfs support, without - has not.
IMHO, it would be quite good to reflect this difference
in the package name, something like (`sys' suffix):
.sinclude <bsd.kernobj.mk>
.if exists(${KERNSRCDIR})
PKGNAME= ${DISTNAME:S/_/-/}.${OS_VERSION}sys
.endif
--
Yakovetsky Vladimir
State-Changed-From-To: feedback->closed
State-Changed-By: veego@netbsd.org
State-Changed-When: Sun, 19 Aug 2007 21:09:49 +0000
State-Changed-Why:
Submitter confirmed that the problem is fixed.
And yes we should think about to change the pkgname if the kernel source directory
was found while the package was build, but this should be discussed on pkgsrc-users
maybe on tech-pkg because this seems to be a bigger technical change.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.