NetBSD Problem Report #24578
Received: (qmail 2560 invoked by uid 605); 27 Feb 2004 16:35:17 -0000
Message-Id: <20040227163516.98FA611154@narn.netbsd.org>
Date: Fri, 27 Feb 2004 16:35:16 +0000 (UTC)
From: dotz@irc.pl
Sender: gnats-bugs-owner@NetBSD.org
Reply-To: dotz@irc.pl
To: gnats-bugs@gnats.NetBSD.org
Subject: sysutils/fam is broken on Linux because of pkgsrc patches
X-Send-Pr-Version: www-1.0
>Number: 24578
>Category: pkg
>Synopsis: sysutils/fam is broken on Linux because of pkgsrc patches
>Confidential: no
>Severity: serious
>Priority: low
>Responsible: minskim
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Feb 27 16:36:00 +0000 2004
>Closed-Date: Sun Jun 06 15:18:01 +0000 2004
>Last-Modified: Sun Jun 06 15:18:01 +0000 2004
>Originator: Michal Pasternak
>Release: N/A
>Organization:
>Environment:
Slackware 9.1 (Linux 2.4.22)
>Description:
You can find error log at:
http://pkgsrc.w.lub.pl/fam-linux/fam-error.log
Unpatched configure runs okay:
http://pkgsrc.w.lub.pl/fam-linux/fam.configure-unpatched.log
http://pkgsrc.w.lub.pl/fam-linux/fam.config.log-unpatched
>How-To-Repeat:
Obvious
>Fix:
To get it to work:
bmake clean
mv patches/patch-ax .
bmake patch
-> edit ${WRKSRC}/config.h.in and add "#define HAVE_MNTENT_H 1", remove "#undef HAVE_MNTENT_H"
-> edit ${WRKSRC}/fam/mntent.h and change #include <mntent.h> to #include </usr/include/mntent.h> (to avoid include-file recursion on gcc 3.3)
I think, that the author of the original patches could re-think a bit
the strategy. I'm not touching them, they already seem complicated.
configure could test if mntent.h is available as detected
by original unpatched version, then it should "fall" to BSD-accepted
settings.
>Release-Note:
>Audit-Trail:
From: "Jeremy C. Reed" <reed@reedmedia.net>
To: dotz@irc.pl
Cc: gnats-bugs@gnats.NetBSD.org
Subject: Re: pkg/24578: sysutils/fam is broken on Linux because of pkgsrc
patches
Date: Fri, 27 Feb 2004 09:04:47 -0800 (PST)
On Fri, 27 Feb 2004 dotz@irc.pl wrote:
> >Synopsis: sysutils/fam is broken on Linux because of pkgsrc patches
Please see my fam PR too.
http://www.NetBSD.org/cgi-bin/query-pr-single.pl?number=23017
Jeremy C. Reed
http://bsd.reedmedia.net/
From: "Jeremy C. Reed" <reed@reedmedia.net>
To: gnats-bugs@gnats.netbsd.org
Cc:
Subject: pkg/24578
Date: Sat, 27 Mar 2004 15:01:00 -0800 (PST)
I had accidently sent this note to wrong PR a couple weeks ago:
I can confirm this. I just had exact same issue. Under Linux, it assumes
I have a sys/ucred.h header, but I don't. And then the MNT_RDONLY,
MNT_SYNCHRONOUS, and other macros are not defined.
(I needed this installed quick, so I used the suggested workaround.)
Jeremy C. Reed
http://bsd.reedmedia.net/
Date: Sun, 28 Mar 2004 16:55:37 -0600
From: Min Sik Kim <minskim@NetBSD.org>
Sender: gnats-bugs-owner@NetBSD.org
Message-Id: <20040328165537.33713ef8.minskim@NetBSD.org>
To: Michal Pasternak <dotz@irc.pl>
Cc: gnats-bugs@gnats.NetBSD.org
Subject: Re: sysutils/fam is broken on Linux because of pkgsrc patches
--Signature=_Sun__28_Mar_2004_16_55_37_-0600_s7MtGoH7nV1/QZ8g
Content-Type: text/plain; charset=US-ASCII
Content-Disposition: inline
Content-Transfer-Encoding: 7bit
I've applied the patch in PR pkg/23017, provided by Jeremy C. Reed.
Could you please test with fam-2.7.0?
--
Min Sik Kim
--Signature=_Sun__28_Mar_2004_16_55_37_-0600_s7MtGoH7nV1/QZ8g
Content-Type: application/pgp-signature
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (NetBSD)
iQEVAwUBQGdX6fQsKR/Zi7L+AQIRQwf/SHe5vKpyPnMMF9BVljffSjRSTmXubusa
7J6TYiVmBvdIf14FBTgvaCnQrgNxVoLI9KuRxktmcUWRfdCRadb73/Xz0z43cec3
/KNuESlV8o99bnud2GGiwHGjGR2fTGXEnmaOW1FnI9rDzK74LY5Fxr6wmkzgbnIy
l7HjvEBtLG+SA/R+IWUy3WI+byTkn18Twf4Oq2mno4FKhHxP52QzDM6QVb6mBF+L
LPKX31CCQV4p87kY28iptA7X97AapJQl6yQo8wegObp3T34aGIqyvDZxYzeKMsIQ
7HwzY2SNwG1Y25/euxQK93v2Ig7QfZlz8MusybM02a19Gd5x58QfMg==
=pGID
-----END PGP SIGNATURE-----
--Signature=_Sun__28_Mar_2004_16_55_37_-0600_s7MtGoH7nV1/QZ8g--
From: Min Sik Kim <minskim@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: pr/24578 CVS commit: pkgsrc
Date: Sun, 28 Mar 2004 22:00:05 +0000 (UTC)
Module Name: pkgsrc
Committed By: minskim
Date: Sun Mar 28 22:00:05 UTC 2004
Modified Files:
pkgsrc/doc: CHANGES
pkgsrc/sysutils/fam: MESSAGE Makefile PLIST distinfo
pkgsrc/sysutils/fam/patches: patch-ab patch-ae patch-af patch-ag
patch-ah patch-ai patch-aj patch-ao patch-ap patch-au patch-ax
Removed Files:
pkgsrc/sysutils/fam/patches: patch-ak patch-an patch-av patch-aw
Log Message:
Update fam to 2.7.0. Fixes the following PR's:
- PR pkg/23017
- PR pkg/23495
- PR pkg/23496
- PR pkg/24578
The patches for 23017 and 24578 were provided by reed@. Although rh@
suspended PR 23017 saying that pkgsrc does not support installation to
/usr, this still needs to be fixed because the same problem occurs
even when LOCALBASE != /usr.
Changes since 2.6.10:
Changed NOGROUP usage in src/Cred.c++ to -1 as NOGROUP is not defined
in IRIX.
(mraymond@sgi.com)
removed const modifier from Scheduler.h to fix GCC 3.x build.
(wardle@sgi.com)
created new GNU autotools files:
- test whether we have IMon rather than testing OS.
- test whether we have sockaddr length members rather than testing OS.
- install daemon in sbin rather than bin.
- install manual pages in typical GNU/Linux sections.
- rename daemon to famd.
- rename fam source directory to src.
- rename libfam source directory to lib.
- remove editconf and util subdirectory.
- remove rpm target and build subdirectory.
- remove support target and subdirectory.
[wardle@sgi.com] (wardle@sgi.com)
fixed warnings about typenames in BTree.h.
(wardle@sgi.com)
To generate a diff of this commit:
cvs rdiff -r1.5325 -r1.5326 pkgsrc/doc/CHANGES
cvs rdiff -r1.2 -r1.3 pkgsrc/sysutils/fam/MESSAGE
cvs rdiff -r1.11 -r1.12 pkgsrc/sysutils/fam/Makefile
cvs rdiff -r1.3 -r1.4 pkgsrc/sysutils/fam/PLIST
cvs rdiff -r1.7 -r1.8 pkgsrc/sysutils/fam/distinfo
cvs rdiff -r1.2 -r1.3 pkgsrc/sysutils/fam/patches/patch-ab \
pkgsrc/sysutils/fam/patches/patch-ae pkgsrc/sysutils/fam/patches/patch-af \
pkgsrc/sysutils/fam/patches/patch-ai pkgsrc/sysutils/fam/patches/patch-ao \
pkgsrc/sysutils/fam/patches/patch-ap
cvs rdiff -r1.3 -r1.4 pkgsrc/sysutils/fam/patches/patch-ag \
pkgsrc/sysutils/fam/patches/patch-ah
cvs rdiff -r1.4 -r1.5 pkgsrc/sysutils/fam/patches/patch-aj \
pkgsrc/sysutils/fam/patches/patch-au pkgsrc/sysutils/fam/patches/patch-ax
cvs rdiff -r1.3 -r0 pkgsrc/sysutils/fam/patches/patch-ak \
pkgsrc/sysutils/fam/patches/patch-av pkgsrc/sysutils/fam/patches/patch-aw
cvs rdiff -r1.2 -r0 pkgsrc/sysutils/fam/patches/patch-an
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Date: Mon, 29 Mar 2004 09:11:32 +0200
From: Michal Pasternak <michal@pasternak.w.lub.pl>
Sender: gnats-bugs-owner@NetBSD.org
Message-Id: <20040329071132.GA3351@pasternak.w.lub.pl>
Reply-To: Michal Pasternak <michal@pasternak.w.lub.pl>
To: Min Sik Kim <minskim@NetBSD.org>
Cc: Michal Pasternak <dotz@irc.pl>, gnats-bugs@gnats.NetBSD.org
In-Reply-To: <20040328165537.33713ef8.minskim@NetBSD.org>
Subject: Re: sysutils/fam is broken on Linux because of pkgsrc patches
References: <20040328165537.33713ef8.minskim@NetBSD.org>
Min Sik Kim [Sun, Mar 28, 2004 at 04:55:37PM -0600]:
> I've applied the patch in PR pkg/23017, provided by Jeremy C. Reed.
> Could you please test with fam-2.7.0?
Certainly, n about 2 - 3 weeks, when I get my HD back from warranty.
Currently I don't have enough hardware resources.
State-Changed-From-To: open->feedback
State-Changed-By: minskim
State-Changed-When: Mon Mar 29 01:44:08 UTC 2004
State-Changed-Why:
Waiting for the submitter's confirmation.
Responsible-Changed-From-To: pkg-manager->minskim
Responsible-Changed-By: minskim
Responsible-Changed-When: Mon Mar 29 01:44:08 UTC 2004
Responsible-Changed-Why:
I'm handling this PR.
State-Changed-From-To: feedback->closed
State-Changed-By: minskim
State-Changed-When: Sun Jun 6 15:16:04 UTC 2004
State-Changed-Why:
Submitter timeout.
>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.