Subject: pkg/23513: pkgsrc/irix: nautilus fails to build because of missing fstab.h
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <v.oostveen@hccnet.nl>
List: netbsd-bugs
Date: 11/20/2003 18:21:45
>Number: 23513
>Category: pkg
>Synopsis: pkgsrc/irix: nautilus fails to build because of missing fstab.h
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Nov 20 18:22:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator: Bas van Oostveen
>Release: pkgsrc for irix
>Organization:
na
>Environment:
IRIX washu 6.5 6.5.19m IP32
>Description:
when building nautilus on a irix machine, the build process
fails because of a missing include file.
this file is fstab.h and assumed to be on the system.
on normal unix/lnx/bsd we find the fstab.h in /usr/include/fstab.h
i looked under linux and freebsd and the fstab.h are the same version.
a further problem is presented because nautilus also expects the
_PATH_MNTTAB definition to be set in /usr/inlude/paths.h
this is not the case with irix, to the missing #define statement i
added it to fstab.h
(_PATH_MNTTAB again defines the location of /etc/fstab)
my solution to this problem under irix is to copy the fstab.h from
a bsd machine to nautilus/work/.buildlink/include/fstab.h
and then add another define to it:
#define _PATH_MNTTAB "/etc/fstab"
>How-To-Repeat:
>Fix:
my solution to this problem under irix is to copy the fstab.h from
a bsd machine to nautilus/work/.buildlink/include/fstab.h
a permanent solution would be to include the modified fstab.h in the nautilus port and to copy it in the buildlinking when building nautilus on a irix machine.
patch for fstab.h to be used while buildlinking nautilus:
--- fstab.h.patches_for_irix_nautilus 2003-11-20 18:25:37.000000000 +0100
+++ fstab.h 2003-11-20 18:25:54.000000000 +0100
@@ -46,6 +46,7 @@
* quota file.
*/
#define _PATH_FSTAB "/etc/fstab"
+#define _PATH_MNTTAB "/etc/fstab"
#define FSTAB "/etc/fstab" /* deprecated */
#define FSTAB_RW "rw" /* read/write device */
>Release-Note:
>Audit-Trail:
>Unformatted: