Package: obs-source-clone
Version: 0.1.4-1
Severity: serious
Tags: upstream
Justification: FTBFS

When rebuilding the plugin over amd64 architecture, we got the following error:

[ 66%] Building C object CMakeFiles/source-clone.dir/audio-wrapper.c.o
/usr/bin/cc -DHAVE_OBSCONFIG_H -Dsource_clone_EXPORTS -isystem /usr/include/obs 
-g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/PKGS/obs-source-clone2/obs-source-clone-0.1.4=. 
-fstack-protector-strong -Wformat -Werror=format-security -Wno-psabi 
-Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Werror -Wextra -Wvla -Wformat 
-Wformat-security -Wswitch -Wunused-parameter -Wno-unused-function 
-Wno-missing-field-initializers -fno-strict-aliasing 
-Werror-implicit-function-declaration -Wno-missing-braces -MD -MT 
CMakeFiles/source-clone.dir/source-clone.c.o -MF 
CMakeFiles/source-clone.dir/source-clone.c.o.d -o 
CMakeFiles/source-clone.dir/source-clone.c.o -c 
/PKGS/obs-source-clone2/obs-source-clone-0.1.4/source-clone.c
/usr/bin/cc -DHAVE_OBSCONFIG_H -Dsource_clone_EXPORTS -isystem /usr/include/obs 
-g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/PKGS/obs-source-clone2/obs-source-clone-0.1.4=. 
-fstack-protector-strong -Wformat -Werror=format-security -Wno-psabi 
-Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Werror -Wextra -Wvla -Wformat 
-Wformat-security -Wswitch -Wunused-parameter -Wno-unused-function 
-Wno-missing-field-initializers -fno-strict-aliasing 
-Werror-implicit-function-declaration -Wno-missing-braces -MD -MT 
CMakeFiles/source-clone.dir/audio-wrapper.c.o -MF 
CMakeFiles/source-clone.dir/audio-wrapper.c.o.d -o 
CMakeFiles/source-clone.dir/audio-wrapper.c.o -c 
/PKGS/obs-source-clone2/obs-source-clone-0.1.4/audio-wrapper.c
/PKGS/obs-source-clone2/obs-source-clone-0.1.4/audio-wrapper.c: In function 
‘audio_wrapper_render’:
/PKGS/obs-source-clone2/obs-source-clone-0.1.4/audio-wrapper.c:129:33: error: 
‘circlebuf_push_back’ is deprecated [-Werror=deprecated-declarations]
  129 |                                 circlebuf_push_back(
      |                                 ^~~~~~~~~~~~~~~~~~~
In file included from 
/PKGS/obs-source-clone2/obs-source-clone-0.1.4/source-clone.h:6,
                 from 
/PKGS/obs-source-clone2/obs-source-clone-0.1.4/audio-wrapper.c:3:
/usr/include/obs/util/circlebuf.h:150:1: note: declared here
  150 | circlebuf_push_back(struct circlebuf *cb, const void *data, size_t size)
      | ^~~~~~~~~~~~~~~~~~~
/PKGS/obs-source-clone2/obs-source-clone-0.1.4/audio-wrapper.c:134:25: error: 
‘circlebuf_push_back’ is deprecated [-Werror=deprecated-declarations]
  134 |                         circlebuf_push_back(&clone->audio_frames, 
&frames,
      |                         ^~~~~~~~~~~~~~~~~~~
/usr/include/obs/util/circlebuf.h:150:1: note: declared here
  150 | circlebuf_push_back(struct circlebuf *cb, const void *data, size_t size)
      | ^~~~~~~~~~~~~~~~~~~
/PKGS/obs-source-clone2/obs-source-clone-0.1.4/audio-wrapper.c:136:25: error: 
‘circlebuf_push_back’ is deprecated [-Werror=deprecated-declarations]
  136 |                         circlebuf_push_back(&clone->audio_timestamps,
      |                         ^~~~~~~~~~~~~~~~~~~
/usr/include/obs/util/circlebuf.h:150:1: note: declared here
  150 | circlebuf_push_back(struct circlebuf *cb, const void *data, size_t size)
      | ^~~~~~~~~~~~~~~~~~~
/PKGS/obs-source-clone2/obs-source-clone-0.1.4/source-clone.c: In function 
‘source_clone_audio_callback’:
/PKGS/obs-source-clone2/obs-source-clone-0.1.4/source-clone.c:33:17: error: 
‘circlebuf_push_back’ is deprecated [-Werror=deprecated-declarations]
   33 |                 circlebuf_push_back(&context->audio_data[i],
      |                 ^~~~~~~~~~~~~~~~~~~
In file included from 
/PKGS/obs-source-clone2/obs-source-clone-0.1.4/source-clone.h:6,
                 from 
/PKGS/obs-source-clone2/obs-source-clone-0.1.4/source-clone.c:1:
/usr/include/obs/util/circlebuf.h:150:1: note: declared here
  150 | circlebuf_push_back(struct circlebuf *cb, const void *data, size_t size)
      | ^~~~~~~~~~~~~~~~~~~
/PKGS/obs-source-clone2/obs-source-clone-0.1.4/source-clone.c:36:9: error: 
‘circlebuf_push_back’ is deprecated [-Werror=deprecated-declarations]
   36 |         circlebuf_push_back(&context->audio_frames, &audio_data->frames,
      |         ^~~~~~~~~~~~~~~~~~~
/usr/include/obs/util/circlebuf.h:150:1: note: declared here
  150 | circlebuf_push_back(struct circlebuf *cb, const void *data, size_t size)
      | ^~~~~~~~~~~~~~~~~~~
/PKGS/obs-source-clone2/obs-source-clone-0.1.4/source-clone.c:38:9: error: 
‘circlebuf_push_back’ is deprecated [-Werror=deprecated-declarations]
   38 |         circlebuf_push_back(&context->audio_timestamps, 
&audio_data->timestamp,
      |         ^~~~~~~~~~~~~~~~~~~
/usr/include/obs/util/circlebuf.h:150:1: note: declared here
  150 | circlebuf_push_back(struct circlebuf *cb, const void *data, size_t size)
      | ^~~~~~~~~~~~~~~~~~~
/PKGS/obs-source-clone2/obs-source-clone-0.1.4/source-clone.c: In function 
‘source_clone_destroy’:
/PKGS/obs-source-clone2/obs-source-clone-0.1.4/source-clone.c:88:17: error: 
‘circlebuf_free’ is deprecated [-Werror=deprecated-declarations]
   88 |                 circlebuf_free(&context->audio_data[i]);
      |                 ^~~~~~~~~~~~~~
/usr/include/obs/util/circlebuf.h:46:35: note: declared here
   46 | OBS_DEPRECATED static inline void circlebuf_free(struct circlebuf *cb)
      |                                   ^~~~~~~~~~~~~~
/PKGS/obs-source-clone2/obs-source-clone-0.1.4/source-clone.c:90:9: error: 
‘circlebuf_free’ is deprecated [-Werror=deprecated-declarations]
   90 |         circlebuf_free(&context->audio_frames);
      |         ^~~~~~~~~~~~~~
/usr/include/obs/util/circlebuf.h:46:35: note: declared here
   46 | OBS_DEPRECATED static inline void circlebuf_free(struct circlebuf *cb)
      |                                   ^~~~~~~~~~~~~~
/PKGS/obs-source-clone2/obs-source-clone-0.1.4/source-clone.c:91:9: error: 
‘circlebuf_free’ is deprecated [-Werror=deprecated-declarations]
   91 |         circlebuf_free(&context->audio_timestamps);
      |         ^~~~~~~~~~~~~~
/usr/include/obs/util/circlebuf.h:46:35: note: declared here
   46 | OBS_DEPRECATED static inline void circlebuf_free(struct circlebuf *cb)
      |                                   ^~~~~~~~~~~~~~
/PKGS/obs-source-clone2/obs-source-clone-0.1.4/source-clone.c: In function 
‘source_clone_video_tick’:
/PKGS/obs-source-clone2/obs-source-clone-0.1.4/source-clone.c:588:17: error: 
‘circlebuf_pop_front’ is deprecated [-Werror=deprecated-declarations]
  588 |                 circlebuf_pop_front(&context->audio_frames, 
&audio.frames,
      |                 ^~~~~~~~~~~~~~~~~~~
/usr/include/obs/util/circlebuf.h:291:35: note: declared here
  291 | OBS_DEPRECATED static inline void circlebuf_pop_front(struct circlebuf 
*cb,
      |                                   ^~~~~~~~~~~~~~~~~~~
/PKGS/obs-source-clone2/obs-source-clone-0.1.4/source-clone.c:590:17: error: 
‘circlebuf_pop_front’ is deprecated [-Werror=deprecated-declarations]
  590 |                 circlebuf_pop_front(&context->audio_timestamps,
      |                 ^~~~~~~~~~~~~~~~~~~
/usr/include/obs/util/circlebuf.h:291:35: note: declared here
  291 | OBS_DEPRECATED static inline void circlebuf_pop_front(struct circlebuf 
*cb,
      |                                   ^~~~~~~~~~~~~~~~~~~
/PKGS/obs-source-clone2/obs-source-clone-0.1.4/source-clone.c:598:25: error: 
‘circlebuf_pop_front’ is deprecated [-Werror=deprecated-declarations]
  598 |                         circlebuf_pop_front(&context->audio_data[i], 
NULL,
      |                         ^~~~~~~~~~~~~~~~~~~
/usr/include/obs/util/circlebuf.h:291:35: note: declared here
  291 | OBS_DEPRECATED static inline void circlebuf_pop_front(struct circlebuf 
*cb,
      |                                   ^~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
make[3]: *** [CMakeFiles/source-clone.dir/build.make:93: 
CMakeFiles/source-clone.dir/audio-wrapper.c.o] Error 1
make[3]: *** Waiting for unfinished jobs....
cc1: all warnings being treated as errors
make[3]: *** [CMakeFiles/source-clone.dir/build.make:79: 
CMakeFiles/source-clone.dir/source-clone.c.o] Error 1
make[3]: Leaving directory 
'/PKGS/obs-source-clone2/obs-source-clone-0.1.4/obj-i686-linux-gnu'
make[2]: *** [CMakeFiles/Makefile2:86: CMakeFiles/source-clone.dir/all] Error 2
make[2]: Leaving directory 
'/PKGS/obs-source-clone2/obs-source-clone-0.1.4/obj-i686-linux-gnu'
make[1]: *** [Makefile:159: all] Error 2
make[1]: Leaving directory 
'/PKGS/obs-source-clone2/obs-source-clone-0.1.4/obj-i686-linux-gnu'
dh_auto_build: error: cd obj-i686-linux-gnu && make -j16 "INSTALL=install 
--strip-program=true" VERBOSE=1 returned exit code 2
make: *** [debian/rules:17: binary] Error 25

Eriberto

Reply via email to