Source: mupdf
Version: 1.3-2
Severity: serious
Tags: jessie sid
User: debian...@lists.debian.org
Usertags: qa-ftbfs-20140329 qa-ftbfs
Justification: FTBFS on amd64

Hi,

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

Relevant part (hopefully):
> make[2]: Entering directory `/«PKGBUILDDIR»'
>     MKDIR build/release/fitz
>     MKDIR build/release/pdf
>     MKDIR build/release/pdf/js
>     MKDIR build/release/xps
>     MKDIR build/release/cbz
>     MKDIR build/release/img
>     MKDIR build/release/tools
>     MKDIR build/release/platform/x11
>     CC build/release/fitz/bbox-device.o
>     CC build/release/fitz/bitmap.o
>     CC build/release/fitz/buffer.o
>     CC build/release/fitz/colorspace.o
> source/fitz/colorspace.c: In function 'fz_new_indexed_colorspace':
> source/fitz/colorspace.c:1236:2: warning: 'cs' may be used uninitialized in 
> this function [-Wmaybe-uninitialized]
>   return cs;
>   ^
>     CC build/release/fitz/compressed-buffer.o
>     CC build/release/fitz/context.o
>     CC build/release/fitz/crypt-aes.o
>     CC build/release/fitz/crypt-arc4.o
>     CC build/release/fitz/crypt-md5.o
>     CC build/release/fitz/crypt-sha2.o
>     CC build/release/fitz/device.o
>     CC build/release/fitz/document.o
>     CC build/release/fitz/draw-affine.o
>     CC build/release/fitz/draw-blend.o
>     CC build/release/fitz/draw-device.o
>     CC build/release/fitz/draw-edge.o
>     CC build/release/fitz/draw-glyph.o
>     CC build/release/fitz/draw-mesh.o
>     CC build/release/fitz/draw-paint.o
>     CC build/release/fitz/draw-path.o
>     CC build/release/fitz/draw-scale-simple.o
>     CC build/release/fitz/draw-unpack.o
>     CC build/release/fitz/error.o
>     CC build/release/fitz/filter-basic.o
> source/fitz/filter-basic.c: In function 'fz_open_null':
> source/fitz/filter-basic.c:64:2: warning: 'state' may be used uninitialized 
> in this function [-Wmaybe-uninitialized]
>   return fz_new_stream(ctx, state, read_null, close_null);
>   ^
> source/fitz/filter-basic.c: In function 'fz_open_ahxd':
> source/fitz/filter-basic.c:268:2: warning: 'state' may be used uninitialized 
> in this function [-Wmaybe-uninitialized]
>   return fz_new_stream(ctx, state, read_ahxd, close_ahxd);
>   ^
> source/fitz/filter-basic.c: In function 'fz_open_a85d':
> source/fitz/filter-basic.c:420:2: warning: 'state' may be used uninitialized 
> in this function [-Wmaybe-uninitialized]
>   return fz_new_stream(ctx, state, read_a85d, close_a85d);
>   ^
> source/fitz/filter-basic.c: In function 'fz_open_rld':
> source/fitz/filter-basic.c:516:2: warning: 'state' may be used uninitialized 
> in this function [-Wmaybe-uninitialized]
>   return fz_new_stream(ctx, state, read_rld, close_rld);
>   ^
> source/fitz/filter-basic.c: In function 'fz_open_arc4':
> source/fitz/filter-basic.c:566:2: warning: 'state' may be used uninitialized 
> in this function [-Wmaybe-uninitialized]
>   return fz_new_stream(ctx, state, read_arc4, close_arc4);
>   ^
> source/fitz/filter-basic.c: In function 'fz_open_aesd':
> source/fitz/filter-basic.c:661:2: warning: 'state' may be used uninitialized 
> in this function [-Wmaybe-uninitialized]
>   return fz_new_stream(ctx, state, read_aesd, close_aesd);
>   ^
>     CC build/release/fitz/filter-dct.o
>     CC build/release/fitz/filter-fax.o
>     CC build/release/fitz/filter-flate.o
>     CC build/release/fitz/filter-jbig2.o
>     CC build/release/fitz/filter-lzw.o
>     CC build/release/fitz/filter-predict.o
>     CC build/release/fitz/font.o
> source/fitz/font.c: In function 'fz_render_ft_glyph':
> source/fitz/font.c:455:13: warning: 'result' may be used uninitialized in 
> this function [-Wmaybe-uninitialized]
>   fz_pixmap *result;
>              ^
> source/fitz/font.c: In function 'fz_render_ft_stroked_glyph':
> source/fitz/font.c:576:13: warning: 'pixmap' may be used uninitialized in 
> this function [-Wmaybe-uninitialized]
>   fz_pixmap *pixmap;
>              ^
>     CC build/release/fitz/function.o
>     CC build/release/fitz/geometry.o
>     CC build/release/fitz/getopt.o
>     CC build/release/fitz/halftone.o
>     CC build/release/fitz/hash.o
>     CC build/release/fitz/image.o
> source/fitz/image.c: In function 'fz_new_image_from_pixmap':
> source/fitz/image.c:365:2: warning: 'image' may be used uninitialized in this 
> function [-Wmaybe-uninitialized]
>   return image;
>   ^
> source/fitz/image.c: In function 'fz_new_image':
> source/fitz/image.c:415:2: warning: 'image' may be used uninitialized in this 
> function [-Wmaybe-uninitialized]
>   return image;
>   ^
> source/fitz/image.c: In function 'fz_new_image_from_data':
> source/fitz/image.c:443:2: warning: 'image' may be used uninitialized in this 
> function [-Wmaybe-uninitialized]
>   return image;
>   ^
>     CC build/release/fitz/link.o
> source/fitz/link.c: In function 'fz_new_link':
> source/fitz/link.c:42:13: warning: 'link' may be used uninitialized in this 
> function [-Wmaybe-uninitialized]
>   link->rect = *bbox;
>              ^
>     CC build/release/fitz/list-device.o
>     CC build/release/fitz/load-jpeg.o
>     CC build/release/fitz/load-jpx.o
> source/fitz/load-jpx.c:39:1: error: unknown type name 'OPJ_SIZE_T'
>  OPJ_SIZE_T stream_read(void * p_buffer, OPJ_SIZE_T p_nb_bytes, void * 
> p_user_data)
>  ^
> source/fitz/load-jpx.c:39:41: error: unknown type name 'OPJ_SIZE_T'
>  OPJ_SIZE_T stream_read(void * p_buffer, OPJ_SIZE_T p_nb_bytes, void * 
> p_user_data)
>                                          ^
> source/fitz/load-jpx.c:56:1: error: unknown type name 'OPJ_OFF_T'
>  OPJ_OFF_T stream_skip(OPJ_OFF_T skip, void * p_user_data)
>  ^
> source/fitz/load-jpx.c:56:23: error: unknown type name 'OPJ_OFF_T'
>  OPJ_OFF_T stream_skip(OPJ_OFF_T skip, void * p_user_data)
>                        ^
> source/fitz/load-jpx.c:66:1: error: unknown type name 'OPJ_BOOL'
>  OPJ_BOOL stream_seek(OPJ_OFF_T seek_pos, void * p_user_data)
>  ^
> source/fitz/load-jpx.c:66:22: error: unknown type name 'OPJ_OFF_T'
>  OPJ_BOOL stream_seek(OPJ_OFF_T seek_pos, void * p_user_data)
>                       ^
> source/fitz/load-jpx.c: In function 'fz_load_jpx':
> source/fitz/load-jpx.c:82:2: error: unknown type name 'opj_codec_t'
>   opj_codec_t *codec;
>   ^
> source/fitz/load-jpx.c:84:2: error: unknown type name 'opj_stream_t'
>   opj_stream_t *stream;
>   ^
> source/fitz/load-jpx.c:97:12: error: 'OPJ_CODEC_J2K' undeclared (first use in 
> this function)
>    format = OPJ_CODEC_J2K;
>             ^
> source/fitz/load-jpx.c:97:12: note: each undeclared identifier is reported 
> only once for each function it appears in
> source/fitz/load-jpx.c:99:12: error: 'OPJ_CODEC_JP2' undeclared (first use in 
> this function)
>    format = OPJ_CODEC_JP2;
>             ^
> source/fitz/load-jpx.c:105:8: warning: assignment from incompatible pointer 
> type [enabled by default]
>   codec = opj_create_decompress(format);
>         ^
> source/fitz/load-jpx.c:106:2: warning: implicit declaration of function 
> 'opj_set_info_handler' [-Wimplicit-function-declaration]
>   opj_set_info_handler(codec, fz_opj_info_callback, ctx);
>   ^
> source/fitz/load-jpx.c:107:2: warning: implicit declaration of function 
> 'opj_set_warning_handler' [-Wimplicit-function-declaration]
>   opj_set_warning_handler(codec, fz_opj_warning_callback, ctx);
>   ^
> source/fitz/load-jpx.c:108:2: warning: implicit declaration of function 
> 'opj_set_error_handler' [-Wimplicit-function-declaration]
>   opj_set_error_handler(codec, fz_opj_error_callback, ctx);
>   ^
> source/fitz/load-jpx.c:109:2: warning: passing argument 1 of 
> 'opj_setup_decoder' from incompatible pointer type [enabled by default]
>   if (!opj_setup_decoder(codec, &params))
>   ^
> In file included from source/fitz/load-jpx.c:13:0:
> /usr/include/openjpeg-1.5/openjpeg.h:828:27: note: expected 'struct 
> opj_dinfo_t *' but argument is of type 'int *'
>  OPJ_API void OPJ_CALLCONV opj_setup_decoder(opj_dinfo_t *dinfo, 
> opj_dparameters_t *parameters);
>                            ^
> source/fitz/load-jpx.c:109:2: error: invalid use of void expression
>   if (!opj_setup_decoder(codec, &params))
>   ^
> source/fitz/load-jpx.c:114:2: warning: implicit declaration of function 
> 'opj_stream_default_create' [-Wimplicit-function-declaration]
>   stream = opj_stream_default_create(OPJ_TRUE);
>   ^
> source/fitz/load-jpx.c:114:9: warning: assignment makes pointer from integer 
> without a cast [enabled by default]
>   stream = opj_stream_default_create(OPJ_TRUE);
>          ^
> source/fitz/load-jpx.c:119:2: warning: implicit declaration of function 
> 'opj_stream_set_read_function' [-Wimplicit-function-declaration]
>   opj_stream_set_read_function(stream, stream_read);
>   ^
> source/fitz/load-jpx.c:119:39: error: 'stream_read' undeclared (first use in 
> this function)
>   opj_stream_set_read_function(stream, stream_read);
>                                        ^
> source/fitz/load-jpx.c:120:2: warning: implicit declaration of function 
> 'opj_stream_set_skip_function' [-Wimplicit-function-declaration]
>   opj_stream_set_skip_function(stream, stream_skip);
>   ^
> source/fitz/load-jpx.c:120:39: error: 'stream_skip' undeclared (first use in 
> this function)
>   opj_stream_set_skip_function(stream, stream_skip);
>                                        ^
> source/fitz/load-jpx.c:121:2: warning: implicit declaration of function 
> 'opj_stream_set_seek_function' [-Wimplicit-function-declaration]
>   opj_stream_set_seek_function(stream, stream_seek);
>   ^
> source/fitz/load-jpx.c:121:39: error: 'stream_seek' undeclared (first use in 
> this function)
>   opj_stream_set_seek_function(stream, stream_seek);
>                                        ^
> source/fitz/load-jpx.c:122:2: warning: implicit declaration of function 
> 'opj_stream_set_user_data' [-Wimplicit-function-declaration]
>   opj_stream_set_user_data(stream, &sb);
>   ^
> source/fitz/load-jpx.c:124:2: warning: implicit declaration of function 
> 'opj_stream_set_user_data_length' [-Wimplicit-function-declaration]
>   opj_stream_set_user_data_length(stream, size);
>   ^
> source/fitz/load-jpx.c:126:2: warning: implicit declaration of function 
> 'opj_read_header' [-Wimplicit-function-declaration]
>   if (!opj_read_header(stream, codec, &jpx))
>   ^
> source/fitz/load-jpx.c:128:3: warning: implicit declaration of function 
> 'opj_stream_destroy' [-Wimplicit-function-declaration]
>    opj_stream_destroy(stream);
>    ^
> source/fitz/load-jpx.c:129:3: warning: implicit declaration of function 
> 'opj_destroy_codec' [-Wimplicit-function-declaration]
>    opj_destroy_codec(codec);
>    ^
> source/fitz/load-jpx.c:133:2: warning: passing argument 1 of 'opj_decode' 
> from incompatible pointer type [enabled by default]
>   if (!opj_decode(codec, stream, jpx))
>   ^
> In file included from source/fitz/load-jpx.c:13:0:
> /usr/include/openjpeg-1.5/openjpeg.h:835:35: note: expected 'struct 
> opj_dinfo_t *' but argument is of type 'int *'
>  OPJ_API opj_image_t* OPJ_CALLCONV opj_decode(opj_dinfo_t *dinfo, opj_cio_t 
> *cio);
>                                    ^
> source/fitz/load-jpx.c:133:2: warning: passing argument 2 of 'opj_decode' 
> from incompatible pointer type [enabled by default]
>   if (!opj_decode(codec, stream, jpx))
>   ^
> In file included from source/fitz/load-jpx.c:13:0:
> /usr/include/openjpeg-1.5/openjpeg.h:835:35: note: expected 'struct opj_cio_t 
> *' but argument is of type 'int *'
>  OPJ_API opj_image_t* OPJ_CALLCONV opj_decode(opj_dinfo_t *dinfo, opj_cio_t 
> *cio);
>                                    ^
> source/fitz/load-jpx.c:133:2: error: too many arguments to function 
> 'opj_decode'
>   if (!opj_decode(codec, stream, jpx))
>   ^
> In file included from source/fitz/load-jpx.c:13:0:
> /usr/include/openjpeg-1.5/openjpeg.h:835:35: note: declared here
>  OPJ_API opj_image_t* OPJ_CALLCONV opj_decode(opj_dinfo_t *dinfo, opj_cio_t 
> *cio);
>                                    ^
> source/fitz/load-jpx.c:173:26: error: 'OPJ_CLRSPC_SRGB' undeclared (first use 
> in this function)
>   if (jpx->color_space == OPJ_CLRSPC_SRGB && n == 4) { n = 3; a = 1; }
>                           ^
> source/fitz/load-jpx.c:174:31: error: 'OPJ_CLRSPC_SYCC' undeclared (first use 
> in this function)
>   else if (jpx->color_space == OPJ_CLRSPC_SYCC && n == 4) { n = 3; a = 1; }
>                                ^
> make[2]: *** [build/release/fitz/load-jpx.o] Error 1

The full build log is available from:
   http://aws-logs.debian.net/ftbfs-logs/2014/03/29/mupdf_1.3-2_unstable.log

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 EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.


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

Reply via email to