Bug#673530: libcommoncpp2: FTBFS on kfreebsd-*: sys/kern/types.h:87:17: error: expected unqualified-id before 'char'

2012-05-19 Thread Cyril Brulebois
Source: libcommoncpp2
Version: 1.8.1-3
Severity: serious
Justification: FTBFS
User: debian-...@lists.debian.org
Usertags: kfreebsd

Hi,

that might just be some “fun” with the kfreebsd headers, but your
package FTBFS in sid (1.8.1-3) on kfreebsd-* while I was building fine
in experimental (1.8.1-1):
| libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -I../inc -I../src 
-DCCXX_EXPORT_LIBRARY -D_GNU_SOURCE -I../inc -g -O2 -c file.cpp  -fPIC -DPIC -o 
.libs/file.o
| In file included from /usr/include/sys/kern/param.h:67:0,
|  from /usr/include/osreldate.h:1,
|  from /usr/include/x86_64-kfreebsd-gnu/sys/param.h:39,
|  from file.cpp:75:
| /usr/include/sys/kern/types.h:87:17: error: expected unqualified-id before 
'char'
| /usr/include/sys/kern/types.h:87:17: error: expected initializer before 'char'
| make[3]: *** [file.lo] Error 1

Full build logs:
  https://buildd.debian.org/status/package.php?p=libcommoncpp2suite=sid

I'm putting debian-bsd@ in X-Debbugs-Cc so that they can look at it
ASAP. Indeed, that FTBFS is blocking the libcommoncpp2 transition:
  http://release.debian.org/transitions/html/libcommoncpp2.html

Mraw,
KiBi.



-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#673530: libcommoncpp2: FTBFS on kfreebsd-*: sys/kern/types.h:87:17: error: expected unqualified-id before 'char'

2012-05-19 Thread Robert Millan
2012/5/19 Cyril Brulebois k...@debian.org:
 | /usr/include/sys/kern/types.h:87:17: error: expected unqualified-id before 
 'char'
 | /usr/include/sys/kern/types.h:87:17: error: expected initializer before 
 'char'
 | make[3]: *** [file.lo] Error 1

 Full build logs:
  https://buildd.debian.org/status/package.php?p=libcommoncpp2suite=sid

 I'm putting debian-bsd@ in X-Debbugs-Cc so that they can look at it
 ASAP. Indeed, that FTBFS is blocking the libcommoncpp2 transition:
  http://release.debian.org/transitions/html/libcommoncpp2.html

See:

./inc/cc++/file.h:#define caddr_t char *

It shouldn't define caddr_t, just include sys/types.h instead.

-- 
Robert Millan



--
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#673530: libcommoncpp2: FTBFS on kfreebsd-*: sys/kern/types.h:87:17: error: expected unqualified-id before 'char'

2012-05-19 Thread Robert Millan
tags 673530 patch
thanks

2012/5/19 Robert Millan r...@debian.org:
 See:

 ./inc/cc++/file.h:#define caddr_t char *

 It shouldn't define caddr_t, just include sys/types.h instead.

Here's a tested patch.

-- 
Robert Millan


caddr.diff
Description: Binary data


Processed: Re: Bug#673530: libcommoncpp2: FTBFS on kfreebsd-*: sys/kern/types.h:87:17: error: expected unqualified-id before 'char'

2012-05-19 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org:

 tags 673530 patch
Bug #673530 [src:libcommoncpp2] libcommoncpp2: FTBFS on kfreebsd-*: 
sys/kern/types.h:87:17: error: expected unqualified-id before 'char'
Added tag(s) patch.
 thanks
Stopping processing here.

Please contact me if you need assistance.
-- 
673530: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=673530
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems


--
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#673530: libcommoncpp2: FTBFS on kfreebsd-*: sys/kern/types.h:87:17: error: expected unqualified-id before 'char'

2012-05-19 Thread Mark Purcell
On Sat, 19 May 2012 23:06:34 Robert Millan wrote:
 tags 673530 patch
 thanks
 
 2012/5/19 Robert Millan r...@debian.org:
  See:
  
  ./inc/cc++/file.h:#define caddr_t char *
  
  It shouldn't define caddr_t, just include sys/types.h instead.
 
 Here's a tested patch.

Thanks Robert.


signature.asc
Description: This is a digitally signed message part.