Subject: pkg/32195: pkgsrc/meta-pkg/gnustep fails on FreeBSD 5.4
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <thoran@fastmail.fm>
List: pkgsrc-bugs
Date: 11/30/2005 06:03:00
>Number:         32195
>Category:       pkg
>Synopsis:       pkgsrc/meta-pkg/gnustep fails on FreeBSD 5.4
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Nov 30 06:03:00 +0000 2005
>Originator:     thoran
>Release:        NA
>Organization:
>Environment:
FreeBSD DCOMCA3F 5.4-STABLE FreeBSD 5.4-STABLE #1: Tue Aug  9 13:30:43 EST 2005     root@DCOMCA3F:/usr/obj/usr/src/sys/SCRUFFY  i386

>Description:
Most of it seems to be built.  It fails when compiling GWorkspace.  The last of it is: 

gmake[3]: Entering directory `/usr/pkgsrc/sysutils/gworkspace/work/GWorkspace-0.7.1/GWorkspace/Finder/Modules/FModuleAnnotations'
Making all for bundle FModuleAnnotations...
 Copying resources into the bundle wrapper...
Warning: Resources/Images/* not found - ignoring
gmake[3]: Leaving directory `/usr/pkgsrc/sysutils/gworkspace/work/GWorkspace-0.7.1/GWorkspace/Finder/Modules/FModuleAnnotations'
gmake[2]: Leaving directory `/usr/pkgsrc/sysutils/gworkspace/work/GWorkspace-0.7.1/GWorkspace/Finder/Modules'
Making all for app GWorkspace...
 Compiling file Desktop/GWDesktopManager.m ...
Desktop/GWDesktopManager.m: In function `-[NSWorkspace(mounting) getFileSystemInfoForPath:isRemovable:isWritable:isUnmountable:description:type:]':
Desktop/GWDesktopManager.m:766: warning: implicit declaration of function `getmntinfo'
Desktop/GWDesktopManager.m:766: error: `MNT_NOWAIT' undeclared (first use in this function)
Desktop/GWDesktopManager.m:766: error: (Each undeclared identifier is reported only once
Desktop/GWDesktopManager.m:766: error: for each function it appears in.)
Desktop/GWDesktopManager.m:769: error: structure has no member named `f_mntfromname'
Desktop/GWDesktopManager.m:770: error: structure has no member named `f_mntonname'
Desktop/GWDesktopManager.m:772: error: structure has no member named `f_mntonname'
Desktop/GWDesktopManager.m:773: error: `MNT_RDONLY' undeclared (first use in this function)
Desktop/GWDesktopManager.m:775: error: structure has no member named `f_fstypename'
Desktop/GWDesktopManager.m:748: warning: unused variable `mtab'
Desktop/GWDesktopManager.m:749: warning: unused variable `mounts'
Desktop/GWDesktopManager.m: In function `-[NSWorkspace(mounting) mountedLocalVolumePaths]':
Desktop/GWDesktopManager.m:845: error: `MNT_NOWAIT' undeclared (first use in this function)
Desktop/GWDesktopManager.m:849: error: structure has no member named `f_fstypename'
Desktop/GWDesktopManager.m:850: error: structure has no member named `f_mntonname'
Desktop/GWDesktopManager.m:823: warning: unused variable `mtab'
Desktop/GWDesktopManager.m:824: warning: unused variable `mounts'
gmake[2]: *** [shared_obj/Desktop/GWDesktopManager.o] Error 1
gmake[1]: *** [GWorkspace.all.app.variables] Error 2
gmake[1]: Leaving directory `/usr/pkgsrc/sysutils/gworkspace/work/GWorkspace-0.7.1/GWorkspace'
gmake: *** [internal-all] Error 2
*** Error code 2

Stop.
bmake: stopped in /usr/pkgsrc/sysutils/gworkspace
===>
===> There was an error during the ``build'' phase.
===> Please investigate the following for more information:
===>      * log of the build
===>      * /usr/pkgsrc/sysutils/gworkspace/work/.work.log
===>
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/sysutils/gworkspace
root@DCOMCA3F:/usr/pkgsrc/sysutils/gworkspace# cd ..

>How-To-Repeat:
Type bmake in the appropriate directory on FreeBSD 5.4!?  

>Fix: