Bug#839315: jack-midi-clock: FTBFS: jack_midi_clock.c:669:14: error: too many arguments to function 'jack_get_time'

Lucas Nussbaum lucas at debian.org
Sat Oct 1 08:39:41 UTC 2016


Source: jack-midi-clock
Version: 0.4.2-1
Severity: serious
Tags: stretch sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20160930 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):
> cc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DWITH_JITTER -DVERSION="\"0.4.2\"" `pkg-config --cflags jack` -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro  jack_midi_clock.c `pkg-config --cflags --libs jack` -lm -lpthread  -o jack_midi_clock
> jack_midi_clock.c: In function 'main':
> jack_midi_clock.c:669:14: error: too many arguments to function 'jack_get_time'
>     _rseed =  jack_get_time (j_client);
>               ^~~~~~~~~~~~~
> In file included from jack_midi_clock.c:27:0:
> /usr/include/jack/jack.h:1274:13: note: declared here
>  jack_time_t jack_get_time(void) JACK_OPTIONAL_WEAK_EXPORT;
>              ^~~~~~~~~~~~~
> jack_midi_clock.c: In function 'wake_main_now':
> jack_midi_clock.c:126:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
>    write(wake_main_write, &c, sizeof(c));
>    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> jack_midi_clock.c: In function 'wake_main_wait':
> jack_midi_clock.c:140:4: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result]
>     read(wake_main_read, &c, sizeof(c));
>     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> <builtin>: recipe for target 'jack_midi_clock' failed
> make[1]: *** [jack_midi_clock] Error 1

If the failure looks somehow time/timezone related:
Note that this rebuild was performed without the 'tzdata' package
installed in the chroot. tzdata used be (transitively) part of
build-essential, but it no longer is. If this package requires it to
build, it should be added to build-depends. For the release team's
opinion on this, see
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=836940#185

The full build log is available from:
   http://aws-logs.debian.net/2016/09/30/jack-midi-clock_0.4.2-1_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.



More information about the pkg-multimedia-maintainers mailing list