Bug#822369: xfsprogs: FTBFS: error: redefinition of 'struct fsxattr'

2016-04-25 Thread Dave Chinner
On Sat, Apr 23, 2016 at 02:08:31PM -0700, Martin Michlmayr wrote:
> Package: xfsprogs
> Version: 4.3.0+nmu1
> Severity: serious
> 
> This package fails to build in unstable:
> 
> > sbuild (Debian sbuild) 0.68.0 (15 Jan 2016) on dl580gen9-02.hlinux
> ...
> > [CC] fiemap.o
> > In file included from ../include/xfs.h:58:0,
> >  from io.h:19,
> >  from fiemap.c:24:
> > ../include/xfs/xfs_fs.h:42:8: error: redefinition of 'struct fsxattr'
> >  struct fsxattr {
> > ^
> > In file included from fiemap.c:22:0:
> > /usr/include/linux/fs.h:155:8: note: originally defined here
> >  struct fsxattr {
> > ^
> > ../include/buildrules:59: recipe for target 'fiemap.o' failed
> > make[3]: *** [fiemap.o] Error 1
> > include/buildrules:35: recipe for target 'io' failed

Kernel uapi change in 4.5 caused it. Upgrade to xfsprogs 4.5.0.

Cheers,

Dave.
-- 
Dave Chinner
da...@fromorbit.com



Bug#822369: xfsprogs: FTBFS: error: redefinition of 'struct fsxattr'

2016-04-23 Thread Martin Michlmayr
Package: xfsprogs
Version: 4.3.0+nmu1
Severity: serious

This package fails to build in unstable:

> sbuild (Debian sbuild) 0.68.0 (15 Jan 2016) on dl580gen9-02.hlinux
...
> [CC] fiemap.o
> In file included from ../include/xfs.h:58:0,
>  from io.h:19,
>  from fiemap.c:24:
> ../include/xfs/xfs_fs.h:42:8: error: redefinition of 'struct fsxattr'
>  struct fsxattr {
> ^
> In file included from fiemap.c:22:0:
> /usr/include/linux/fs.h:155:8: note: originally defined here
>  struct fsxattr {
> ^
> ../include/buildrules:59: recipe for target 'fiemap.o' failed
> make[3]: *** [fiemap.o] Error 1
> include/buildrules:35: recipe for target 'io' failed

-- 
Martin Michlmayr
Linux for HPE Helion, Hewlett Packard Enterprise