[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#684330: /usr/include/netinet/sctp.h: <netinet/sctp.h> does not compile



On Fr, Aug 17, 2012 at 13:09:08 (CEST), Robert Millan wrote:

> 2012/8/8 Reinhard Tartler <siretart@tauware.de>:
>> Package: kfreebsd-kernel-headers
>> Version: 0.53
>> Severity: important
>> File: /usr/include/netinet/sctp.h
>>
>> The following test program fails to compile:
>>
>> #include <netinet/sctp.h>
>> main(void) { struct sctp_event_subscribe v; return 0; }
>>
>> gcc -c -o test test.c
>> In file included from test.c:1:
>> /usr/include/netinet/sctp.h:33: error: expected declaration specifiers or ‘...’ before string constant
>> In file included from test.c:1:
>> /usr/include/netinet/sctp.h:47: error: expected specifier-qualifier-list before ‘uint16_t’
>> /usr/include/netinet/sctp.h:58: error: expected specifier-qualifier-list before ‘uint8_t’
>> /usr/include/netinet/sctp.h:68: error: expected specifier-qualifier-list before ‘uint16_t’
>> /usr/include/netinet/sctp.h:316: error: expected specifier-qualifier-list before ‘uint16_t’
>> /usr/include/netinet/sctp.h:323: error: expected specifier-qualifier-list before ‘uint16_t’
>> /usr/include/netinet/sctp.h:329: error: expected specifier-qualifier-list before ‘uint32_t’
>> /usr/include/netinet/sctp.h:335: error: expected specifier-qualifier-list before ‘uint32_t’
>> In file included from /usr/include/netinet/sctp.h:494,
>>                  from test.c:1:
>> /usr/include/netinet/sctp_uio.h:33: error: expected declaration specifiers or ‘...’ before string constant
>
> Will be fixed in next upload.
>
> How severe is this problem? Is it holding any RC bug?

I am not aware of any package in unstable that fails to build because of
that issue. However, the current git master of libav failed to build
before this patch has been applied:

http://git.libav.org/?p=libav.git;a=commitdiff;h=83c93fe74af013a1c376a39ee28759c89c483542

Even with this patch, SCTP functionality remains disabled, but at least
it is correctly detected as 'defective'.

I can retest the SCTP compilation as soon as a fixed package is
installed in the sid chroot of a Debian kFreeBSD porter machine.

Cheers,
Reinhard

-- 
Gruesse/greetings,
Reinhard Tartler, KeyID 945348A4


Reply to: