Source: ltt-control
Version: 2.1.1-2
Severity: serious
Tags: jessie sid
User: debian...@lists.debian.org
Usertags: qa-ftbfs-20131103 qa-ftbfs
Justification: FTBFS on amd64

Hi,

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

Due to API changes on the new ust package version. 

Relevant part (hopefully):
> make[4]: Entering directory `/«PKGBUILDDIR»/src/common/ust-consumer'
>   CC       ust-consumer.lo
> ust-consumer.c: In function 'lttng_ustctl_get_mmap_read_offset':
> ust-consumer.c:51:2: warning: passing argument 1 of 
> 'ustctl_get_mmap_read_offset' from incompatible pointer type [enabled by 
> default]
>   return ustctl_get_mmap_read_offset(handle, buf, off);
>   ^
> In file included from ust-consumer.c:21:0:
> /usr/include/lttng/ust-ctl.h:200:5: note: expected 'struct 
> ustctl_consumer_stream *' but argument is of type 'struct 
> lttng_ust_shm_handle *'
>  int ustctl_get_mmap_read_offset(struct ustctl_consumer_stream *stream,
>      ^
> ust-consumer.c:51:2: warning: passing argument 2 of 
> 'ustctl_get_mmap_read_offset' from incompatible pointer type [enabled by 
> default]
>   return ustctl_get_mmap_read_offset(handle, buf, off);
>   ^
> In file included from ust-consumer.c:21:0:
> /usr/include/lttng/ust-ctl.h:200:5: note: expected 'long unsigned int *' but 
> argument is of type 'struct lttng_ust_lib_ring_buffer *'
>  int ustctl_get_mmap_read_offset(struct ustctl_consumer_stream *stream,
>      ^
> ust-consumer.c:51:2: error: too many arguments to function 
> 'ustctl_get_mmap_read_offset'
>   return ustctl_get_mmap_read_offset(handle, buf, off);
>   ^
> In file included from ust-consumer.c:21:0:
> /usr/include/lttng/ust-ctl.h:200:5: note: declared here
>  int ustctl_get_mmap_read_offset(struct ustctl_consumer_stream *stream,
>      ^
> ust-consumer.c: In function 'lttng_ustconsumer_take_snapshot':
> ust-consumer.c:64:2: warning: passing argument 1 of 'ustctl_snapshot' from 
> incompatible pointer type [enabled by default]
>   ret = ustctl_snapshot(stream->chan->handle, stream->buf);
>   ^
> In file included from ust-consumer.c:21:0:
> /usr/include/lttng/ust-ctl.h:211:5: note: expected 'struct 
> ustctl_consumer_stream *' but argument is of type 'struct 
> lttng_ust_shm_handle *'
>  int ustctl_snapshot(struct ustctl_consumer_stream *stream);
>      ^
> ust-consumer.c:64:2: error: too many arguments to function 'ustctl_snapshot'
>   ret = ustctl_snapshot(stream->chan->handle, stream->buf);
>   ^
> In file included from ust-consumer.c:21:0:
> /usr/include/lttng/ust-ctl.h:211:5: note: declared here
>  int ustctl_snapshot(struct ustctl_consumer_stream *stream);
>      ^
> ust-consumer.c: In function 'lttng_ustconsumer_get_produced_snapshot':
> ust-consumer.c:86:4: warning: passing argument 1 of 
> 'ustctl_snapshot_get_produced' from incompatible pointer type [enabled by 
> default]
>     stream->buf, pos);
>     ^
> In file included from ust-consumer.c:21:0:
> /usr/include/lttng/ust-ctl.h:214:5: note: expected 'struct 
> ustctl_consumer_stream *' but argument is of type 'struct 
> lttng_ust_shm_handle *'
>  int ustctl_snapshot_get_produced(struct ustctl_consumer_stream *stream,
>      ^
> ust-consumer.c:86:4: warning: passing argument 2 of 
> 'ustctl_snapshot_get_produced' from incompatible pointer type [enabled by 
> default]
>     stream->buf, pos);
>     ^
> In file included from ust-consumer.c:21:0:
> /usr/include/lttng/ust-ctl.h:214:5: note: expected 'long unsigned int *' but 
> argument is of type 'struct lttng_ust_lib_ring_buffer *'
>  int ustctl_snapshot_get_produced(struct ustctl_consumer_stream *stream,
>      ^
> ust-consumer.c:86:4: error: too many arguments to function 
> 'ustctl_snapshot_get_produced'
>     stream->buf, pos);
>     ^
> In file included from ust-consumer.c:21:0:
> /usr/include/lttng/ust-ctl.h:214:5: note: declared here
>  int ustctl_snapshot_get_produced(struct ustctl_consumer_stream *stream,
>      ^
> ust-consumer.c: In function 'lttng_ustconsumer_allocate_channel':
> ust-consumer.c:420:5: error: 'struct lttng_ust_object_data' has no member 
> named 'shm_fd'
>   obj.shm_fd = chan->shm_fd;
>      ^
> ust-consumer.c:421:5: error: 'struct lttng_ust_object_data' has no member 
> named 'wait_fd'
>   obj.wait_fd = chan->wait_fd;
>      ^
> ust-consumer.c:422:5: error: 'struct lttng_ust_object_data' has no member 
> named 'memory_map_size'
>   obj.memory_map_size = chan->mmap_len;
>      ^
> ust-consumer.c:423:2: warning: implicit declaration of function 
> 'ustctl_map_channel' [-Wimplicit-function-declaration]
>   chan->handle = ustctl_map_channel(&obj);
>   ^
> ust-consumer.c:423:15: warning: assignment makes pointer from integer without 
> a cast [enabled by default]
>   chan->handle = ustctl_map_channel(&obj);
>                ^
> ust-consumer.c: In function 'lttng_ustconsumer_on_stream_hangup':
> ust-consumer.c:435:2: warning: passing argument 1 of 'ustctl_flush_buffer' 
> from incompatible pointer type [enabled by default]
>   ustctl_flush_buffer(stream->chan->handle, stream->buf, 0);
>   ^
> In file included from ust-consumer.c:21:0:
> /usr/include/lttng/ust-ctl.h:220:6: note: expected 'struct 
> ustctl_consumer_stream *' but argument is of type 'struct 
> lttng_ust_shm_handle *'
>  void ustctl_flush_buffer(struct ustctl_consumer_stream *stream,
>       ^
> ust-consumer.c:435:2: warning: passing argument 2 of 'ustctl_flush_buffer' 
> makes integer from pointer without a cast [enabled by default]
>   ustctl_flush_buffer(stream->chan->handle, stream->buf, 0);
>   ^
> In file included from ust-consumer.c:21:0:
> /usr/include/lttng/ust-ctl.h:220:6: note: expected 'int' but argument is of 
> type 'struct lttng_ust_lib_ring_buffer *'
>  void ustctl_flush_buffer(struct ustctl_consumer_stream *stream,
>       ^
> ust-consumer.c:435:2: error: too many arguments to function 
> 'ustctl_flush_buffer'
>   ustctl_flush_buffer(stream->chan->handle, stream->buf, 0);
>   ^
> In file included from ust-consumer.c:21:0:
> /usr/include/lttng/ust-ctl.h:220:6: note: declared here
>  void ustctl_flush_buffer(struct ustctl_consumer_stream *stream,
>       ^
> ust-consumer.c: In function 'lttng_ustconsumer_del_channel':
> ust-consumer.c:441:2: warning: implicit declaration of function 
> 'ustctl_unmap_channel' [-Wimplicit-function-declaration]
>   ustctl_unmap_channel(chan->handle);
>   ^
> ust-consumer.c: In function 'lttng_ustconsumer_add_stream':
> ust-consumer.c:450:5: error: 'struct lttng_ust_object_data' has no member 
> named 'shm_fd'
>   obj.shm_fd = stream->shm_fd;
>      ^
> ust-consumer.c:451:5: error: 'struct lttng_ust_object_data' has no member 
> named 'wait_fd'
>   obj.wait_fd = stream->wait_fd;
>      ^
> ust-consumer.c:452:5: error: 'struct lttng_ust_object_data' has no member 
> named 'memory_map_size'
>   obj.memory_map_size = stream->mmap_len;
>      ^
> ust-consumer.c:453:2: warning: implicit declaration of function 
> 'ustctl_add_stream' [-Wimplicit-function-declaration]
>   ret = ustctl_add_stream(stream->chan->handle, &obj);
>   ^
> ust-consumer.c:459:2: warning: implicit declaration of function 
> 'ustctl_open_stream_read' [-Wimplicit-function-declaration]
>   stream->buf = ustctl_open_stream_read(stream->chan->handle, stream->cpu);
>   ^
> ust-consumer.c:459:14: warning: assignment makes pointer from integer without 
> a cast [enabled by default]
>   stream->buf = ustctl_open_stream_read(stream->chan->handle, stream->cpu);
>               ^
> ust-consumer.c:470:2: warning: passing argument 1 of 'ustctl_get_mmap_base' 
> from incompatible pointer type [enabled by default]
>   stream->mmap_base = ustctl_get_mmap_base(stream->chan->handle, stream->buf);
>   ^
> In file included from ust-consumer.c:21:0:
> /usr/include/lttng/ust-ctl.h:199:7: note: expected 'struct 
> ustctl_consumer_stream *' but argument is of type 'struct 
> lttng_ust_shm_handle *'
>  void *ustctl_get_mmap_base(struct ustctl_consumer_stream *stream);
>        ^
> ust-consumer.c:470:2: error: too many arguments to function 
> 'ustctl_get_mmap_base'
>   stream->mmap_base = ustctl_get_mmap_base(stream->chan->handle, stream->buf);
>   ^
> In file included from ust-consumer.c:21:0:
> /usr/include/lttng/ust-ctl.h:199:7: note: declared here
>  void *ustctl_get_mmap_base(struct ustctl_consumer_stream *stream);
>        ^
> ust-consumer.c:480:2: warning: implicit declaration of function 
> 'ustctl_close_stream_read' [-Wimplicit-function-declaration]
>   ustctl_close_stream_read(stream->chan->handle, stream->buf);
>   ^
> ust-consumer.c: In function 'lttng_ustconsumer_read_subbuffer':
> ust-consumer.c:520:2: warning: passing argument 1 of 'ustctl_get_next_subbuf' 
> from incompatible pointer type [enabled by default]
>   err = ustctl_get_next_subbuf(handle, buf);
>   ^
> In file included from ust-consumer.c:21:0:
> /usr/include/lttng/ust-ctl.h:206:5: note: expected 'struct 
> ustctl_consumer_stream *' but argument is of type 'struct 
> lttng_ust_shm_handle *'
>  int ustctl_get_next_subbuf(struct ustctl_consumer_stream *stream);
>      ^
> ust-consumer.c:520:2: error: too many arguments to function 
> 'ustctl_get_next_subbuf'
>   err = ustctl_get_next_subbuf(handle, buf);
>   ^
> In file included from ust-consumer.c:21:0:
> /usr/include/lttng/ust-ctl.h:206:5: note: declared here
>  int ustctl_get_next_subbuf(struct ustctl_consumer_stream *stream);
>      ^
> ust-consumer.c:535:2: warning: passing argument 1 of 
> 'ustctl_get_padded_subbuf_size' from incompatible pointer type [enabled by 
> default]
>   err = ustctl_get_padded_subbuf_size(handle, buf, &len);
>   ^
> In file included from ust-consumer.c:21:0:
> /usr/include/lttng/ust-ctl.h:204:5: note: expected 'struct 
> ustctl_consumer_stream *' but argument is of type 'struct 
> lttng_ust_shm_handle *'
>  int ustctl_get_padded_subbuf_size(struct ustctl_consumer_stream *stream,
>      ^
> ust-consumer.c:535:2: warning: passing argument 2 of 
> 'ustctl_get_padded_subbuf_size' from incompatible pointer type [enabled by 
> default]
>   err = ustctl_get_padded_subbuf_size(handle, buf, &len);
>   ^
> In file included from ust-consumer.c:21:0:
> /usr/include/lttng/ust-ctl.h:204:5: note: expected 'long unsigned int *' but 
> argument is of type 'struct lttng_ust_lib_ring_buffer *'
>  int ustctl_get_padded_subbuf_size(struct ustctl_consumer_stream *stream,
>      ^
> ust-consumer.c:535:2: error: too many arguments to function 
> 'ustctl_get_padded_subbuf_size'
>   err = ustctl_get_padded_subbuf_size(handle, buf, &len);
>   ^
> In file included from ust-consumer.c:21:0:
> /usr/include/lttng/ust-ctl.h:204:5: note: declared here
>  int ustctl_get_padded_subbuf_size(struct ustctl_consumer_stream *stream,
>      ^
> ust-consumer.c:539:2: warning: passing argument 1 of 'ustctl_get_subbuf_size' 
> from incompatible pointer type [enabled by default]
>   err = ustctl_get_subbuf_size(handle, buf, &subbuf_size);
>   ^
> In file included from ust-consumer.c:21:0:
> /usr/include/lttng/ust-ctl.h:202:5: note: expected 'struct 
> ustctl_consumer_stream *' but argument is of type 'struct 
> lttng_ust_shm_handle *'
>  int ustctl_get_subbuf_size(struct ustctl_consumer_stream *stream,
>      ^
> ust-consumer.c:539:2: warning: passing argument 2 of 'ustctl_get_subbuf_size' 
> from incompatible pointer type [enabled by default]
>   err = ustctl_get_subbuf_size(handle, buf, &subbuf_size);
>   ^
> In file included from ust-consumer.c:21:0:
> /usr/include/lttng/ust-ctl.h:202:5: note: expected 'long unsigned int *' but 
> argument is of type 'struct lttng_ust_lib_ring_buffer *'
>  int ustctl_get_subbuf_size(struct ustctl_consumer_stream *stream,
>      ^
> ust-consumer.c:539:2: error: too many arguments to function 
> 'ustctl_get_subbuf_size'
>   err = ustctl_get_subbuf_size(handle, buf, &subbuf_size);
>   ^
> In file included from ust-consumer.c:21:0:
> /usr/include/lttng/ust-ctl.h:202:5: note: declared here
>  int ustctl_get_subbuf_size(struct ustctl_consumer_stream *stream,
>      ^
> ust-consumer.c:566:2: warning: passing argument 1 of 'ustctl_put_next_subbuf' 
> from incompatible pointer type [enabled by default]
>   err = ustctl_put_next_subbuf(handle, buf);
>   ^
> In file included from ust-consumer.c:21:0:
> /usr/include/lttng/ust-ctl.h:207:5: note: expected 'struct 
> ustctl_consumer_stream *' but argument is of type 'struct 
> lttng_ust_shm_handle *'
>  int ustctl_put_next_subbuf(struct ustctl_consumer_stream *stream);
>      ^
> ust-consumer.c:566:2: error: too many arguments to function 
> 'ustctl_put_next_subbuf'
>   err = ustctl_put_next_subbuf(handle, buf);
>   ^
> In file included from ust-consumer.c:21:0:
> /usr/include/lttng/ust-ctl.h:207:5: note: declared here
>  int ustctl_put_next_subbuf(struct ustctl_consumer_stream *stream);
>      ^
> ust-consumer.c: In function 'lttng_ustconsumer_data_pending':
> ust-consumer.c:620:2: warning: passing argument 1 of 'ustctl_get_next_subbuf' 
> from incompatible pointer type [enabled by default]
>   ret = ustctl_get_next_subbuf(stream->chan->handle, stream->buf);
>   ^
> In file included from ust-consumer.c:21:0:
> /usr/include/lttng/ust-ctl.h:206:5: note: expected 'struct 
> ustctl_consumer_stream *' but argument is of type 'struct 
> lttng_ust_shm_handle *'
>  int ustctl_get_next_subbuf(struct ustctl_consumer_stream *stream);
>      ^
> ust-consumer.c:620:2: error: too many arguments to function 
> 'ustctl_get_next_subbuf'
>   ret = ustctl_get_next_subbuf(stream->chan->handle, stream->buf);
>   ^
> In file included from ust-consumer.c:21:0:
> /usr/include/lttng/ust-ctl.h:206:5: note: declared here
>  int ustctl_get_next_subbuf(struct ustctl_consumer_stream *stream);
>      ^
> ust-consumer.c:623:3: warning: passing argument 1 of 'ustctl_put_subbuf' from 
> incompatible pointer type [enabled by default]
>    ret = ustctl_put_subbuf(stream->chan->handle, stream->buf);
>    ^
> In file included from ust-consumer.c:21:0:
> /usr/include/lttng/ust-ctl.h:218:5: note: expected 'struct 
> ustctl_consumer_stream *' but argument is of type 'struct 
> lttng_ust_shm_handle *'
>  int ustctl_put_subbuf(struct ustctl_consumer_stream *stream);
>      ^
> ust-consumer.c:623:3: error: too many arguments to function 
> 'ustctl_put_subbuf'
>    ret = ustctl_put_subbuf(stream->chan->handle, stream->buf);
>    ^
> In file included from ust-consumer.c:21:0:
> /usr/include/lttng/ust-ctl.h:218:5: note: declared here
>  int ustctl_put_subbuf(struct ustctl_consumer_stream *stream);
>      ^
> make[4]: *** [ust-consumer.lo] Error 1

The full build log is available from:
   
http://aws-logs.debian.net/ftbfs-logs/2013/11/03/ltt-control_2.1.1-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