Bug#571368: text-bidi: FTBFS: private.c:1458: error: expected '=', ',', '; ', 'asm' or '__attribute__' before 'void'

Lucas Nussbaum lucas at lucas-nussbaum.net
Thu Feb 25 10:13:20 UTC 2010


Source: text-bidi
Version: 0.03-4
Severity: serious
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-2010-02-24 qa-ftbfs
Justification: FTBFS on amd64

Hi,

During a rebuild of all packages in sid, your package failed to build on
amd64.

Relevant part:
> cc -c   -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -ggdb3   -DVERSION=\"0.03\" -DXS_VERSION=\"0.03\" -fPIC "-I/usr/lib/perl/5.10/CORE"   private.c
> private.c:1458: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
> private.c: In function '_wrap_fribidi_prop_to_type_get':
> private.c:1777: error: 'fribidi_prop_to_type' undeclared (first use in this function)
> private.c:1777: error: (Each undeclared identifier is reported only once
> private.c:1777: error: for each function it appears in.)
> private.c: In function '_wrap_fribidi_type_name':
> private.c:2095: warning: cast to pointer from integer of different size
> private.c: In function '_wrap_FriBidiRunType_length_set':
> private.c:2108: error: 'FriBidiRunType' undeclared (first use in this function)
> private.c:2108: error: 'arg1' undeclared (first use in this function)
> private.c:2108: error: expected expression before ')' token
> private.c:2124: error: expected expression before ')' token
> private.c: In function '_wrap_FriBidiRunType_length_get':
> private.c:2146: error: 'FriBidiRunType' undeclared (first use in this function)
> private.c:2146: error: 'arg1' undeclared (first use in this function)
> private.c:2146: error: expected expression before ')' token
> private.c:2160: error: expected expression before ')' token
> private.c: In function '_wrap_FriBidiRunType_attribute_set':
> private.c:2174: error: 'FriBidiRunType' undeclared (first use in this function)
> private.c:2174: error: 'arg1' undeclared (first use in this function)
> private.c:2174: error: expected expression before ')' token
> private.c:2189: error: expected expression before ')' token
> private.c: In function '_wrap_FriBidiRunType_attribute_get':
> private.c:2210: error: 'FriBidiRunType' undeclared (first use in this function)
> private.c:2210: error: 'arg1' undeclared (first use in this function)
> private.c:2210: error: expected expression before ')' token
> private.c:2224: error: expected expression before ')' token
> private.c: In function '_wrap_new_FriBidiRunType':
> private.c:2238: error: 'FriBidiRunType' undeclared (first use in this function)
> private.c:2238: error: 'result' undeclared (first use in this function)
> private.c:2245: error: expected expression before ')' token
> private.c:2245: error: expected ';' before 'calloc'
> private.c: In function '_wrap_delete_FriBidiRunType':
> private.c:2256: error: 'FriBidiRunType' undeclared (first use in this function)
> private.c:2256: error: 'arg1' undeclared (first use in this function)
> private.c:2256: error: expected expression before ')' token
> private.c:2269: error: expected expression before ')' token
> private.c: In function '_wrap__FriBidiList_data_set':
> private.c:2304: error: dereferencing pointer to incomplete type
> private.c: In function '_wrap__FriBidiList_data_get':
> private.c:2335: error: dereferencing pointer to incomplete type
> private.c: In function '_wrap__FriBidiList_next_set':
> private.c:2349: error: 'FriBidiList' undeclared (first use in this function)
> private.c:2349: error: 'arg2' undeclared (first use in this function)
> private.c:2349: error: expected expression before ')' token
> private.c:2369: error: expected expression before ')' token
> private.c:2370: error: dereferencing pointer to incomplete type
> private.c: In function '_wrap__FriBidiList_next_get':
> private.c:2387: error: 'FriBidiList' undeclared (first use in this function)
> private.c:2387: error: 'result' undeclared (first use in this function)
> private.c:2401: error: expected expression before ')' token
> private.c:2401: error: dereferencing pointer to incomplete type
> private.c: In function '_wrap__FriBidiList_prev_set':
> private.c:2415: error: 'FriBidiList' undeclared (first use in this function)
> private.c:2415: error: 'arg2' undeclared (first use in this function)
> private.c:2415: error: expected expression before ')' token
> private.c:2435: error: expected expression before ')' token
> private.c:2436: error: dereferencing pointer to incomplete type
> private.c: In function '_wrap__FriBidiList_prev_get':
> private.c:2453: error: 'FriBidiList' undeclared (first use in this function)
> private.c:2453: error: 'result' undeclared (first use in this function)
> private.c:2467: error: expected expression before ')' token
> private.c:2467: error: dereferencing pointer to incomplete type
> private.c: In function '_wrap_new__FriBidiList':
> private.c:2487: error: invalid application of 'sizeof' to incomplete type 'struct _FriBidiList' 
> private.c: In function '_wrap_fribidi_log2vis_get_embedding_levels':
> private.c:2576: warning: passing argument 3 of 'fribidi_log2vis_get_embedding_levels' from incompatible pointer type
> /usr/include/fribidi/fribidi-deprecated.h:114: note: expected 'enum FriBidiParType *' but argument is of type 'enum FriBidiCharType *'
> private.c: In function 'boot_Text__Bidi__private':
> private.c:3750: error: 'FRIBIDI_TYPES_COUNT' undeclared (first use in this function)
> make[1]: *** [private.o] Error 1

The full build log is available from:
   http://people.debian.org/~lucas/logs/2010-02-24/text-bidi_0.03-4_lsid64.buildlog

A list of current common problems and possible solutions is available at 
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on about 50 AMD64 nodes
of the Grid'5000 platform, using a clean chroot.  Internet was not
accessible from the build systems.

-- 
| Lucas Nussbaum
| lucas at lucas-nussbaum.net   http://www.lucas-nussbaum.net/ |
| jabber: lucas at nussbaum.fr             GPG: 1024D/023B3F4F |





More information about the pkg-perl-maintainers mailing list