NetBSD Problem Report #30156
From reed@rainier.reedmedia.net Fri May 6 17:56:49 2005
Return-Path: <reed@rainier.reedmedia.net>
Received: from pilchuck.reedmedia.net (pilchuck.reedmedia.net [209.166.74.74])
by narn.netbsd.org (Postfix) with ESMTP id 89FC863B116
for <gnats-bugs@gnats.netbsd.org>; Fri, 6 May 2005 17:56:49 +0000 (UTC)
Message-Id: <11184-1115402204@rainier.reedmedia.net>
Date: Fri, 06 May 2005 10:56:45 -0700
From: reed@reedmedia.net
Reply-To: reed@reedmedia.net
To: gnats-bugs@netbsd.org
Subject: sysutils/fam and FreeBSD and statvfs
X-Send-Pr-Version: 3.95
>Number: 30156
>Category: pkg
>Synopsis: sysutils/fam build failure on FreeBSD regarding statvfs
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: freebsd-pkg-people
>State: closed
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Fri May 06 17:57:00 +0000 2005
>Closed-Date: Fri Jun 20 04:46:27 +0000 2008
>Last-Modified: Fri Jun 20 04:46:27 +0000 2008
>Originator: reed@reedmedia.net
>Release: FreeBSD 5.3
>Organization:
http://bsd.reedmedia.net/
>Environment:
Architecture: i386
Machine: i386
>Description:
Under FreeBSD 5.3-RELEASE, sysutils/fam fails build:
source='mntent_compat.c++' object='mntent_compat.o' libtool=no \
depfile='.deps/mntent_compat.Po' tmpdepfile='.deps/mntent_compat.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
c++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -DFAM_CONF=\"/usr/pkg/etc/fam.conf\" -O2 -c -o mntent_compat.o `test -f 'mntent_compat.c++' || echo './'`mntent_compat.c++
mntent_compat.c++: In function `mntent* statfs_to_mntent(statvfs*)':
mntent_compat.c++:150: error: 'struct statvfs' has no member named 'f_mntfromname'
mntent_compat.c++:151: error: 'struct statvfs' has no member named 'f_mntonname'
mntent_compat.c++:152: error: 'struct statvfs' has no member named 'f_fstypename'
mntent_compat.c++: In function `mntent* getmntent(FILE*)':
mntent_compat.c++:180: error: cannot convert `statvfs**' to `statfs**' for argument `1' to `int getmntinfo(statfs**, int)'
gmake[2]: *** [mntent_compat.o] Error 1
gmake[2]: Leaving directory `/usr/home/reed/pkgsrc/sysutils/fam/work/fam-2.7.0/src'
FreeBSD's statvfs structure doesn't define f_mntfromname, f_mntonname
or f_fstypename. They are defined in sys/mount.h for statfs.
>How-To-Repeat:
Build fam on FreeBSD 5.3
>Fix:
My workaround was to manually patch work/fam-2.7.0/config.h
to undefine HAVE_SYS_STATVFS_H.
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: pkg-manager->freebsd-pkg-people
Responsible-Changed-By: cube@netbsd.org
Responsible-Changed-When: Sat, 07 May 2005 14:49:46 +0000
Responsible-Changed-Why:
FreeBSD-specific issue.
From: asau@inbox.ru
To: gnats-bugs@netbsd.org
Cc:
Subject: Re: pkg/30156
Date: Thu, 19 Jun 2008 14:00:55 +0400
FreeBSD 5 is desupported since June 2008,
the package builds fine on FreeBSD 6.
State-Changed-From-To: open->closed
State-Changed-By: wiz@NetBSD.org
State-Changed-When: Fri, 20 Jun 2008 04:46:27 +0000
State-Changed-Why:
FreeBSD 5 is desupported since June 2008, works on FreeBSD 6.
>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.