glib2 error

Link to this paste: http://bugs.dragonflybsd.org/pastes/391

Added by herrgard almost 3 years ago.
Syntax: Plain Text

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
=> Adding run-time search paths to pkg-config files.
...skipping...
  CC     libgio_2_0_la-gunixfdlist.lo
  CC     libgio_2_0_la-gunixfdmessage.lo
  CC     libgio_2_0_la-gunixmount.lo
  CC     libgio_2_0_la-gunixmounts.lo
gunixmounts.c: In function '_g_get_unix_mounts':
gunixmounts.c:626: error: 'ST_NOWAIT' undeclared (first use in this function)
gunixmounts.c:626: error: (Each undeclared identifier is reported only once
gunixmounts.c:626: error: for each function it appears in.)
gunixmounts.c:626: error: too few arguments to function 'getvfsstat'
gunixmounts.c:636: warning: passing argument 1 of 'getvfsstat' from incompatible pointer type
/usr/include/sys/statvfs.h:97: note: expected 'struct statfs * restrict' but argument is of type 'struct statvfs *'
gunixmounts.c:636: warning: passing argument 2 of 'getvfsstat' makes pointer from integer without a cast
/usr/include/sys/statvfs.h:97: note: expected 'struct statvfs * restrict' but argument is of type 'size_t'
gunixmounts.c:636: error: too few arguments to function 'getvfsstat'
gunixmounts.c:649: error: 'struct statvfs' has no member named 'f_mntonname'
gunixmounts.c:650: error: 'struct statvfs' has no member named 'f_mntfromname'
gunixmounts.c:654: error: 'struct statvfs' has no member named 'f_fstypename'
gunixmounts.c: In function '_g_get_unix_mount_points':
gunixmounts.c:1048: warning: unused variable 'len'
gmake[4]: *** [libgio_2_0_la-gunixmounts.lo] Error 1
gmake[4]: Leaving directory `/usr/pkgobj/devel/glib2/work/glib-2.30.2/gio'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory `/usr/pkgobj/devel/glib2/work/glib-2.30.2/gio'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `/usr/pkgobj/devel/glib2/work/glib-2.30.2/gio'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/pkgobj/devel/glib2/work/glib-2.30.2'
gmake: *** [all] Error 2
*** Error code 2

Stop.
bmake: stopped in /usr/pkgsrc/devel/glib2
*** Error code 1

Download