Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1197320

Bug#1071017: FTBFS: source-copy.cpp:615:31: error: ‘void obs_sceneitem_get_info(const obs_sceneitem_t*, obs_transform_info*)’ is deprecated [-Werror=deprecated-declarations]

From Joao Eriberto Mota Filho <eriberto@debian.org>
Newsgroups linux.debian.bugs.dist
Subject Bug#1071017: FTBFS: source-copy.cpp:615:31: error: ‘void obs_sceneitem_get_info(const obs_sceneitem_t*, obs_transform_info*)’ is deprecated [-Werror=deprecated-declarations]
Date 2024-05-13 04:30 +0200
Message-ID <IDtBT-cYdm-1@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


Package: obs-source-copy
Version: 0.2.2-5
Severity: serious
Tags: upstream
Justification: FTBFS

When rebuilding the source code, we got:

/usr/bin/c++ -DHAVE_OBSCONFIG_H -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NO_DEBUG -DQT_WIDGETS_LIB -Dsource_copy_EXPORTS -I/PKGS/obs-source-copy/1/obs-source-copy-0.2.2/obj-x86_64-linux-gnu/source-copy_autogen/include -isystem /usr/include/obs -isystem /usr/include/x86_64-linux-gnu/qt6/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt6 -isystem /usr/include/x86_64-linux-gnu/qt6/QtCore -isystem /usr/lib/x86_64-linux-gnu/qt6/mkspecs/linux-g++ -isystem /usr/include/x86_64-linux-gnu/qt6/QtGui -g -O2 -ffile-prefix-map=/PKGS/obs-source-copy/1/obs-source-copy-0.2.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -Wconversion-null -fPIC -mmmx -msse -msse2 -MD -MT CMakeFiles/source-copy.dir/source-copy.cpp.o -MF CMakeFiles/source-copy.dir/source-copy.cpp.o.d -o CMakeFiles/source-copy.dir/source-copy.cpp.o -c /PKGS/obs-source-copy/1/obs-source-copy-0.2.2/source-copy.cpp
/PKGS/obs-source-copy/1/obs-source-copy-0.2.2/source-copy.cpp: In function ‘obs_data_t* GetTransformData(obs_sceneitem_t*)’:
/PKGS/obs-source-copy/1/obs-source-copy-0.2.2/source-copy.cpp:595:31: error: ‘void obs_sceneitem_get_info(const obs_sceneitem_t*, obs_transform_info*)’ is deprecated [-Werror=deprecated-declarations]
  595 |         obs_sceneitem_get_info(item, &info);
      |         ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
In file included from /PKGS/obs-source-copy/1/obs-source-copy-0.2.2/source-copy.hpp:3,
                 from /PKGS/obs-source-copy/1/obs-source-copy-0.2.2/source-copy.cpp:1:
/usr/include/obs/obs.h:1889:1: note: declared here
 1889 | obs_sceneitem_get_info(const obs_sceneitem_t *item,
      | ^~~~~~~~~~~~~~~~~~~~~~
/PKGS/obs-source-copy/1/obs-source-copy-0.2.2/source-copy.cpp: In function ‘void LoadTransform(obs_sceneitem_t*, obs_data_t*)’:
/PKGS/obs-source-copy/1/obs-source-copy-0.2.2/source-copy.cpp:615:31: error: ‘void obs_sceneitem_get_info(const obs_sceneitem_t*, obs_transform_info*)’ is deprecated [-Werror=deprecated-declarations]
  615 |         obs_sceneitem_get_info(item, &info);
      |         ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
/usr/include/obs/obs.h:1889:1: note: declared here
 1889 | obs_sceneitem_get_info(const obs_sceneitem_t *item,
      | ^~~~~~~~~~~~~~~~~~~~~~
/PKGS/obs-source-copy/1/obs-source-copy-0.2.2/source-copy.cpp:624:31: error: ‘void obs_sceneitem_set_info(obs_sceneitem_t*, const obs_transform_info*)’ is deprecated [-Werror=deprecated-declarations]
  624 |         obs_sceneitem_set_info(item, &info);
      |         ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
/usr/include/obs/obs.h:1892:1: note: declared here
 1892 | obs_sceneitem_set_info(obs_sceneitem_t *item,
      | ^~~~~~~~~~~~~~~~~~~~~~
cc1plus: all warnings being treated as errors
make[3]: *** [CMakeFiles/source-copy.dir/build.make:100: CMakeFiles/source-copy.dir/source-copy.cpp.o] Error 1
make[3]: Leaving directory '/PKGS/obs-source-copy/1/obs-source-copy-0.2.2/obj-x86_64-linux-gnu'
make[2]: *** [CMakeFiles/Makefile2:89: CMakeFiles/source-copy.dir/all] Error 2
make[2]: Leaving directory '/PKGS/obs-source-copy/1/obs-source-copy-0.2.2/obj-x86_64-linux-gnu'
make[1]: *** [Makefile:159: all] Error 2
make[1]: Leaving directory '/PKGS/obs-source-copy/1/obs-source-copy-0.2.2/obj-x86_64-linux-gnu'
dh_auto_build: error: cd obj-x86_64-linux-gnu && make -j16 "INSTALL=install --strip-program=true" VERBOSE=1 returned exit code 2
make: *** [debian/rules:14: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
debuild: fatal error at line 1184:
dpkg-buildpackage -us -uc -ui failed

Eriberto

Back to linux.debian.bugs.dist | Previous | Next | Find similar | Unroll thread


Thread

Bug#1071017: FTBFS: source-copy.cpp:615:31: error: ‘void obs_sceneitem_get_info(const obs_sceneitem_t*, obs_transform_info*)’ is deprecated [-Werror=deprecated-declarations] Joao Eriberto Mota Filho <eriberto@debian.org> - 2024-05-13 04:30 +0200

csiph-web