Bug#305055: dmapi: FTBFS: parse error in xfs/xfs_fs.h

2005-04-18 Thread Nathan Scott
On Sun, Apr 17, 2005 at 02:37:10PM -0700, Steve Langasek wrote:
> reassign 305055 dmapi,xfslibs-dev
> tags 305055 sid
> thanks
> 
> On Sun, Apr 17, 2005 at 07:24:37PM +0200, Roland Stigge wrote:
> > Package: dmapi
> > Version: 2.2.0-1
> > Severity: serious
> 
> > building the package dmapi in a clean sid build environment
> > (with pbuilder) on i386 results in:
> 
> This looks to me like a broken header in the new version of xfslibs-dev;
> reassigned to both packages for further tracking.

This was actually some dodgey source in DMAPI, including "internal"
XFS headers directly that weren't intended for use that way.  I'd
expect a current version of libdm0 would compile correctly, so we
can most easily fix this by simply using a more recent dmapi source
package.  2.2.0 looks like its one version too old, I'll upload the
2.2.1 version shortly.

Current versions of dmapi/libdm/dm_handle.c include:
#include 
#include 

and _not_ 

This will compile correctly for any xfslibs version, and is the
documented interface.

cheers.

-- 
Nathan


pgplu3agsG3Ul.pgp
Description: PGP signature


Bug#305055: dmapi: FTBFS: parse error in xfs/xfs_fs.h

2005-04-17 Thread Steve Langasek
reassign 305055 dmapi,xfslibs-dev
tags 305055 sid
thanks

On Sun, Apr 17, 2005 at 07:24:37PM +0200, Roland Stigge wrote:
> Package: dmapi
> Version: 2.2.0-1
> Severity: serious

> building the package dmapi in a clean sid build environment
> (with pbuilder) on i386 results in:

> =
> [...]
>  gcc -O1 -g -DNDEBUG -funsigned-char -Wall -I../include -DVERSION=\"2.2.0\" 
> -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"dmapi\" -D_GNU_SOURCE 
> -D_FILE_OFFSET_BITS=64 -D_REENTRANT -fno-strict-aliasing -c dm_event.c -o 
> dm_event.o >/dev/null 2>&1
> /usr/bin/libtool --mode=compile gcc -O1 -g -DNDEBUG -funsigned-char -Wall 
> -I../include -DVERSION=\"2.2.0\" -DLOCALEDIR=\"/usr/share/locale\" 
> -DPACKAGE=\"dmapi\" -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64   -D_REENTRANT 
> -fno-strict-aliasing -c dm_handle.c
>  gcc -O1 -g -DNDEBUG -funsigned-char -Wall -I../include -DVERSION=\"2.2.0\" 
> -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"dmapi\" -D_GNU_SOURCE 
> -D_FILE_OFFSET_BITS=64 -D_REENTRANT -fno-strict-aliasing -c dm_handle.c  
> -fPIC -DPIC -o .libs/dm_handle.o
> In file included from dm_handle.c:43:
> /usr/include/xfs/xfs_fs.h:319: error: parse error before '*' token
> /usr/include/xfs/xfs_fs.h:321: error: parse error before '*' token
> /usr/include/xfs/xfs_fs.h:322: error: parse error before '*' token
> /usr/include/xfs/xfs_fs.h:323: error: parse error before '}' token
> /usr/include/xfs/xfs_fs.h:350: error: variable or field `__user' declared void
> /usr/include/xfs/xfs_fs.h:350: error: parse error before '*' token
> /usr/include/xfs/xfs_fs.h:352: error: parse error before '*' token
> /usr/include/xfs/xfs_fs.h:354: error: parse error before '*' token
> /usr/include/xfs/xfs_fs.h:355: error: parse error before '*' token
> /usr/include/xfs/xfs_fs.h:356: error: parse error before '}' token
> /usr/include/xfs/xfs_fs.h:366: error: field `hreq' has incomplete type
> /usr/include/xfs/xfs_fs.h:367: error: parse error before '*' token
> /usr/include/xfs/xfs_fs.h:375: error: field `hreq' has incomplete type
> /usr/include/xfs/xfs_fs.h:379: error: variable or field `__user' declared void
> /usr/include/xfs/xfs_fs.h:379: error: parse error before '*' token
> /usr/include/xfs/xfs_fs.h:385: error: variable or field `__user' declared void
> /usr/include/xfs/xfs_fs.h:385: error: parse error before '*' token
> /usr/include/xfs/xfs_fs.h:386: error: parse error before '*' token
> /usr/include/xfs/xfs_fs.h:389: error: parse error before '}' token
> /usr/include/xfs/xfs_fs.h:392: error: field `hreq' has incomplete type
> /usr/include/xfs/xfs_fs.h:394: error: field `__user' has incomplete type
> /usr/include/xfs/xfs_fs.h:394: error: parse error before '*' token
> make[2]: *** [dm_handle.lo] Error 1
> make[1]: *** [default] Error 2
> make[1]: Leaving directory `/tmp/buildd/dmapi-2.2.0'
> make: *** [built] Error 2
> =

This looks to me like a broken header in the new version of xfslibs-dev;
reassigned to both packages for further tracking.

The same version of dmapi builds fine in testing, and the new xfsprogs is
blocked from reaching testing by the freeze, so tagging 'sid' as well.

-- 
Steve Langasek
postmodern programmer


signature.asc
Description: Digital signature


Bug#305055: dmapi: FTBFS: parse error in xfs/xfs_fs.h

2005-04-17 Thread Roland Stigge
Package: dmapi
Version: 2.2.0-1
Severity: serious

Hi,

building the package dmapi in a clean sid build environment
(with pbuilder) on i386 results in:

=
[...]
 gcc -O1 -g -DNDEBUG -funsigned-char -Wall -I../include -DVERSION=\"2.2.0\" 
-DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"dmapi\" -D_GNU_SOURCE 
-D_FILE_OFFSET_BITS=64 -D_REENTRANT -fno-strict-aliasing -c dm_event.c -o 
dm_event.o >/dev/null 2>&1
/usr/bin/libtool --mode=compile gcc -O1 -g -DNDEBUG -funsigned-char -Wall 
-I../include -DVERSION=\"2.2.0\" -DLOCALEDIR=\"/usr/share/locale\" 
-DPACKAGE=\"dmapi\" -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64   -D_REENTRANT 
-fno-strict-aliasing -c dm_handle.c
 gcc -O1 -g -DNDEBUG -funsigned-char -Wall -I../include -DVERSION=\"2.2.0\" 
-DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"dmapi\" -D_GNU_SOURCE 
-D_FILE_OFFSET_BITS=64 -D_REENTRANT -fno-strict-aliasing -c dm_handle.c  -fPIC 
-DPIC -o .libs/dm_handle.o
In file included from dm_handle.c:43:
/usr/include/xfs/xfs_fs.h:319: error: parse error before '*' token
/usr/include/xfs/xfs_fs.h:321: error: parse error before '*' token
/usr/include/xfs/xfs_fs.h:322: error: parse error before '*' token
/usr/include/xfs/xfs_fs.h:323: error: parse error before '}' token
/usr/include/xfs/xfs_fs.h:350: error: variable or field `__user' declared void
/usr/include/xfs/xfs_fs.h:350: error: parse error before '*' token
/usr/include/xfs/xfs_fs.h:352: error: parse error before '*' token
/usr/include/xfs/xfs_fs.h:354: error: parse error before '*' token
/usr/include/xfs/xfs_fs.h:355: error: parse error before '*' token
/usr/include/xfs/xfs_fs.h:356: error: parse error before '}' token
/usr/include/xfs/xfs_fs.h:366: error: field `hreq' has incomplete type
/usr/include/xfs/xfs_fs.h:367: error: parse error before '*' token
/usr/include/xfs/xfs_fs.h:375: error: field `hreq' has incomplete type
/usr/include/xfs/xfs_fs.h:379: error: variable or field `__user' declared void
/usr/include/xfs/xfs_fs.h:379: error: parse error before '*' token
/usr/include/xfs/xfs_fs.h:385: error: variable or field `__user' declared void
/usr/include/xfs/xfs_fs.h:385: error: parse error before '*' token
/usr/include/xfs/xfs_fs.h:386: error: parse error before '*' token
/usr/include/xfs/xfs_fs.h:389: error: parse error before '}' token
/usr/include/xfs/xfs_fs.h:392: error: field `hreq' has incomplete type
/usr/include/xfs/xfs_fs.h:394: error: field `__user' has incomplete type
/usr/include/xfs/xfs_fs.h:394: error: parse error before '*' token
make[2]: *** [dm_handle.lo] Error 1
make[1]: *** [default] Error 2
make[1]: Leaving directory `/tmp/buildd/dmapi-2.2.0'
make: *** [built] Error 2
=

Thanks for considering.


--
DARTS - Debian Archive Regression Test Suite
http://darts.alioth.debian.org/

Please note that this report has not been generated fully automatically.
DARTS just helped finding the problem.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]