Bug#1124188: opus-tools: FTBFS: /usr/include/opus/opusenc.h:134:63: error: implicit declaration of function '__opus_check_int'; did you mean 'opus_check_int'? [-Wimplicit-function-declaration]
Control: reassign -1 src:libopusenc 0.2.1-2
Control: affects -1 src:opus-tools
Control: tags -1 upstream fixed-upstream
Control: forwarded -1 https://gitlab.xiph.org/xiph/opus-tools/-/issues/2323
On 2025-12-28 18:26:25 +0000, Santiago Vila wrote:
> Package: src:opus-tools
> Version: 0.2-1
> Severity: serious
> Tags: ftbfs forky sid
>
> Dear maintainer:
>
> During a rebuild of all packages in unstable, this package failed to build.
>
> Below you will find the last part of the build log (probably the most
> relevant part, but not necessarily). If required, the full build log
> is available here:
>
> https://people.debian.org/~sanvila/build-logs/202512/
>
> About the archive rebuild: The build was made on virtual machines from AWS,
> using sbuild and a reduced chroot with only build-essential packages.
>
> If you cannot reproduce the bug please contact me privately, as I
> am willing to provide ssh access to a virtual machine where the bug is
> fully reproducible.
>
> If this is really a bug in one of the build-depends, please use
> reassign and add an affects on src:opus-tools, so that this is still
> visible in the BTS web page for this package.
>
> Thanks.
>
> --------------------------------------------------------------------------------
> [...]
> debian/rules clean
> dh clean
> dh_clean
> debian/rules binary
> dh binary
> dh_update_autotools_config
> dh_autoreconf
> libtoolize: putting auxiliary files in '.'.
> libtoolize: copying file './ltmain.sh'
> libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
> libtoolize: copying file 'm4/libtool.m4'
> libtoolize: copying file 'm4/ltoptions.m4'
> libtoolize: copying file 'm4/ltsugar.m4'
> libtoolize: copying file 'm4/ltversion.m4'
> libtoolize: copying file 'm4/lt~obsolete.m4'
> configure.ac:28: warning: The macro 'AC_PROG_CC_C99' is obsolete.
> configure.ac:28: You should run autoupdate.
> ./lib/autoconf/c.m4:1662: AC_PROG_CC_C99 is expanded from...
> configure.ac:28: the top level
> configure.ac:154: warning: The macro 'AC_HELP_STRING' is obsolete.
> configure.ac:154: You should run autoupdate.
> ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
> m4/ogg.m4:8: XIPH_PATH_OGG is expanded from...
> lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from...
> lib/m4sugar/m4sh.m4:697: AS_IF is expanded from...
> configure.ac:154: the top level
> configure.ac:154: warning: The macro 'AC_TRY_RUN' is obsolete.
> configure.ac:154: You should run autoupdate.
> ./lib/autoconf/general.m4:2995: AC_TRY_RUN is expanded from...
> m4/ogg.m4:8: XIPH_PATH_OGG is expanded from...
> lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from...
> lib/m4sugar/m4sh.m4:697: AS_IF is expanded from...
> configure.ac:154: the top level
> configure.ac:154: warning: The macro 'AC_TRY_LINK' is obsolete.
> configure.ac:154: You should run autoupdate.
> ./lib/autoconf/general.m4:2918: AC_TRY_LINK is expanded from...
> m4/ogg.m4:8: XIPH_PATH_OGG is expanded from...
> lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from...
> lib/m4sugar/m4sh.m4:697: AS_IF is expanded from...
> configure.ac:154: the top level
> configure.ac:175: warning: The macro 'AC_HELP_STRING' is obsolete.
> configure.ac:175: You should run autoupdate.
> ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
> m4/opus.m4:9: XIPH_PATH_OPUS is expanded from...
> lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from...
> lib/m4sugar/m4sh.m4:697: AS_IF is expanded from...
> configure.ac:175: the top level
> configure.ac:175: warning: The macro 'AC_TRY_RUN' is obsolete.
> configure.ac:175: You should run autoupdate.
> ./lib/autoconf/general.m4:2995: AC_TRY_RUN is expanded from...
> m4/opus.m4:9: XIPH_PATH_OPUS is expanded from...
> lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from...
> lib/m4sugar/m4sh.m4:697: AS_IF is expanded from...
> configure.ac:175: the top level
> configure.ac:175: warning: The macro 'AC_TRY_LINK' is obsolete.
> configure.ac:175: You should run autoupdate.
> ./lib/autoconf/general.m4:2918: AC_TRY_LINK is expanded from...
> m4/opus.m4:9: XIPH_PATH_OPUS is expanded from...
> lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from...
> lib/m4sugar/m4sh.m4:697: AS_IF is expanded from...
> configure.ac:175: the top level
> configure.ac:186: warning: The macro 'AC_HELP_STRING' is obsolete.
> configure.ac:186: You should run autoupdate.
> ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
> m4/opusfile.m4:10: XIPH_PATH_OPUSFILE is expanded from...
> lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from...
> lib/m4sugar/m4sh.m4:697: AS_IF is expanded from...
> configure.ac:186: the top level
> configure.ac:186: warning: The macro 'AC_TRY_RUN' is obsolete.
> configure.ac:186: You should run autoupdate.
> ./lib/autoconf/general.m4:2995: AC_TRY_RUN is expanded from...
> m4/opusfile.m4:10: XIPH_PATH_OPUSFILE is expanded from...
> lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from...
> lib/m4sugar/m4sh.m4:697: AS_IF is expanded from...
> configure.ac:186: the top level
> configure.ac:186: warning: The macro 'AC_TRY_LINK' is obsolete.
> configure.ac:186: You should run autoupdate.
> ./lib/autoconf/general.m4:2918: AC_TRY_LINK is expanded from...
> m4/opusfile.m4:10: XIPH_PATH_OPUSFILE is expanded from...
> lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from...
> lib/m4sugar/m4sh.m4:697: AS_IF is expanded from...
> configure.ac:186: the top level
> configure.ac:204: warning: The macro 'AC_HELP_STRING' is obsolete.
> configure.ac:204: You should run autoupdate.
> ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
> m4/libopusenc.m4:9: XIPH_PATH_LIBOPUSENC is expanded from...
> lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from...
> lib/m4sugar/m4sh.m4:697: AS_IF is expanded from...
> configure.ac:204: the top level
> configure.ac:204: warning: The macro 'AC_TRY_RUN' is obsolete.
> configure.ac:204: You should run autoupdate.
> ./lib/autoconf/general.m4:2995: AC_TRY_RUN is expanded from...
> m4/libopusenc.m4:9: XIPH_PATH_LIBOPUSENC is expanded from...
> lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from...
> lib/m4sugar/m4sh.m4:697: AS_IF is expanded from...
> configure.ac:204: the top level
> configure.ac:204: warning: The macro 'AC_TRY_LINK' is obsolete.
> configure.ac:204: You should run autoupdate.
> ./lib/autoconf/general.m4:2918: AC_TRY_LINK is expanded from...
> m4/libopusenc.m4:9: XIPH_PATH_LIBOPUSENC is expanded from...
> lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from...
> lib/m4sugar/m4sh.m4:697: AS_IF is expanded from...
> configure.ac:204: the top level
> configure.ac:26: installing './compile'
> configure.ac:22: installing './missing'
> Makefile.am: installing './depcomp'
> dh_auto_configure
> ./configure --build=x86_64-linux-gnu --prefix=/usr --includedir=\${prefix}/include --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --disable-option-checking --disable-silent-rules --libdir=\${prefix}/lib/x86_64-linux-gnu --runstatedir=/run --disable-maintainer-mode --disable-dependency-tracking
> checking whether make supports nested variables... yes
> checking for a BSD-compatible install... /usr/bin/install -c
> checking whether sleep supports fractional seconds... yes
> checking filesystem timestamp resolution... 0.01
> checking whether build environment is sane... yes
> checking for a race-free mkdir -p... /usr/bin/mkdir -p
> checking for gawk... no
> checking for mawk... mawk
> checking whether make sets $(MAKE)... yes
> checking xargs -n works... yes
> checking whether UID '999' is supported by ustar format... yes
> checking whether GID '999' is supported by ustar format... yes
> checking how to create a ustar tar archive... gnutar
> checking whether to enable maintainer-specific portions of Makefiles... no
> checking build system type... x86_64-pc-linux-gnu
> checking host system type... x86_64-pc-linux-gnu
> checking whether make supports the include directive... yes (GNU style)
> checking for gcc... gcc
> checking whether the C compiler works... yes
> checking for C compiler default output file name... a.out
> checking for suffix of executables...
> checking whether we are cross compiling... no
> checking for suffix of object files... o
> checking whether the compiler supports GNU C... yes
> checking whether gcc accepts -g... yes
> checking for gcc option to enable C11 features... none needed
> checking whether gcc understands -c and -o together... yes
> checking dependency style of gcc... none
> checking for stdio.h... yes
> checking for stdlib.h... yes
> checking for string.h... yes
> checking for inttypes.h... yes
> checking for stdint.h... yes
> checking for strings.h... yes
> checking for sys/stat.h... yes
> checking for sys/types.h... yes
> checking for unistd.h... yes
> checking for inttypes.h... (cached) yes
> checking for alloca.h... yes
> checking whether byte ordering is bigendian... no
> checking for an ANSI C-conforming const... yes
> checking for inline... inline
> checking how to print strings... printf
> checking for a sed that does not truncate output... /usr/bin/sed
> checking for grep that handles long lines and -e... /usr/bin/grep
> checking for egrep... /usr/bin/grep -E
> checking for fgrep... /usr/bin/grep -F
> checking for ld used by gcc... /usr/bin/x86_64-linux-gnu-ld
> checking if the linker (/usr/bin/x86_64-linux-gnu-ld) is GNU ld... yes
> checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
> checking the name lister (/usr/bin/nm -B) interface... BSD nm
> checking whether ln -s works... yes
> checking the maximum length of command line arguments... 1572864
> checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
> checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
> checking for /usr/bin/x86_64-linux-gnu-ld option to reload object files... -r
> checking for file... file
> checking for objdump... objdump
> checking how to recognize dependent libraries... pass_all
> checking for dlltool... no
> checking how to associate runtime and link libraries... printf %s\n
> checking for ranlib... ranlib
> checking for ar... ar
> checking for archiver @FILE support... @
> checking for strip... strip
> checking command to parse /usr/bin/nm -B output from gcc object... ok
> checking for sysroot... no
> checking for a working dd... /usr/bin/dd
> checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
> checking for mt... no
> checking if : is a manifest tool... no
> checking for dlfcn.h... yes
> checking for objdir... .libs
> checking if gcc supports -fno-rtti -fno-exceptions... no
> checking for gcc option to produce PIC... -fPIC -DPIC
> checking if gcc PIC flag -fPIC -DPIC works... yes
> checking if gcc static flag -static works... yes
> checking if gcc supports -c -o file.o... yes
> checking if gcc supports -c -o file.o... (cached) yes
> checking whether the gcc linker (/usr/bin/x86_64-linux-gnu-ld -m elf_x86_64) supports shared libraries... yes
> checking whether -lc should be explicitly linked in... no
> checking dynamic linker characteristics... GNU/Linux ld.so
> checking how to hardcode library paths into programs... immediate
> checking whether stripping libraries is possible... yes
> checking if libtool supports shared libraries... yes
> checking whether to build shared libraries... yes
> checking whether to build static libraries... yes
> checking for C/C++ restrict keyword... __restrict
> checking for C99 variable-size arrays... yes
> checking for cos in -lm... yes
> checking for main in -lwinmm... no
> checking for lrintf... yes
> checking for fminf... yes
> checking for fmaxf... yes
> checking for declarations of fseeko and ftello... yes
> checking for clock_gettime... yes
> checking for mach_absolute_time... no
> checking for usleep... yes
> checking for nanosleep... yes
> checking for clock_nanosleep... yes
> checking for pkg-config... yes
> checking for pkg-config... /usr/bin/pkg-config
> checking pkg-config is at least version 0.9.0... yes
> checking for OGG... yes
> checking for OPUS... yes
> checking for OPUSFILE... yes
> checking for OPUSURL... yes
> checking for LIBOPUSENC... yes
> checking for sys/soundcard.h... yes
> checking for sio_open in -lsndio... no
> checking for FLAC... yes
> checking for library containing setsockopt... none required
> checking for library containing pcap_open_live... -lpcap
> checking socket support... yes
> checking for inet_ntop... yes
> checking if gcc supports -fstack-protector-strong... yes
> checking for PIE support... yes
> checking if gcc supports -Wall -Wextra -Wcast-align -Wnested-externs -Wshadow -Wstrict-prototypes -Wno-sign-compare... yes
> checking that generated files are newer than configure... done
> configure: creating ./config.status
> config.status: creating Makefile
> config.status: creating config.h
> config.status: executing depfiles commands
> config.status: executing libtool commands
> configure:
> ------------------------------------------------------------------------
> opus-tools 0.2: Automatic configuration OK.
>
> Compiler support:
>
> C99 var arrays: ................ yes
> C99 lrintf: .................... yes
> Stack protector: ............... yes
> PIE: ........................... yes
>
> General configuration:
>
> Assertion checking: ............ no
> FLAC input: .................... yes
>
> ------------------------------------------------------------------------
>
> Type "make; make install" to compile and install
>
> dh_auto_build
> make -j2
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> make all-recursive
> make[2]: Entering directory '/<<PKGBUILDDIR>>'
> Making all in .
> make[3]: Entering directory '/<<PKGBUILDDIR>>'
> gcc -DHAVE_CONFIG_H -I. -I./src -I./win32 -D_FORTIFY_SOURCE=2 -DRANDOM_PREFIX=opustools -DOUTSIDE_SPEEX -DRESAMPLE_FULL_SINC_TABLE -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/opus -I/usr/include/opus -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fstack-protector-strong -I/usr/include/opus -fPIE -W -Wall -Wextra -Wcast-align -Wnested-externs -Wshadow -Wstrict-prototypes -Wno-sign-compare -c -o src/opusdec-opus_header.o `test -f 'src/opus_header.c' || echo './'`src/opus_header.c
> gcc -DHAVE_CONFIG_H -I. -I./src -I./win32 -D_FORTIFY_SOURCE=2 -DRANDOM_PREFIX=opustools -DOUTSIDE_SPEEX -DRESAMPLE_FULL_SINC_TABLE -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/opus -I/usr/include/opus -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fstack-protector-strong -I/usr/include/opus -fPIE -W -Wall -Wextra -Wcast-align -Wnested-externs -Wshadow -Wstrict-prototypes -Wno-sign-compare -c -o src/opusdec-wav_io.o `test -f 'src/wav_io.c' || echo './'`src/wav_io.c
> gcc -DHAVE_CONFIG_H -I. -I./src -I./win32 -D_FORTIFY_SOURCE=2 -DRANDOM_PREFIX=opustools -DOUTSIDE_SPEEX -DRESAMPLE_FULL_SINC_TABLE -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/opus -I/usr/include/opus -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fstack-protector-strong -I/usr/include/opus -fPIE -W -Wall -Wextra -Wcast-align -Wnested-externs -Wshadow -Wstrict-prototypes -Wno-sign-compare -c -o src/opusdec-wave_out.o `test -f 'src/wave_out.c' || echo './'`src/wave_out.c
> gcc -DHAVE_CONFIG_H -I. -I./src -I./win32 -D_FORTIFY_SOURCE=2 -DRANDOM_PREFIX=opustools -DOUTSIDE_SPEEX -DRESAMPLE_FULL_SINC_TABLE -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/opus -I/usr/include/opus -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fstack-protector-strong -I/usr/include/opus -fPIE -W -Wall -Wextra -Wcast-align -Wnested-externs -Wshadow -Wstrict-prototypes -Wno-sign-compare -c -o src/opusdec-opusdec.o `test -f 'src/opusdec.c' || echo './'`src/opusdec.c
> gcc -DHAVE_CONFIG_H -I. -I./src -I./win32 -D_FORTIFY_SOURCE=2 -DRANDOM_PREFIX=opustools -DOUTSIDE_SPEEX -DRESAMPLE_FULL_SINC_TABLE -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/opus -I/usr/include/opus -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fstack-protector-strong -I/usr/include/opus -fPIE -W -Wall -Wextra -Wcast-align -Wnested-externs -Wshadow -Wstrict-prototypes -Wno-sign-compare -c -o src/opusdec-resample.o `test -f 'src/resample.c' || echo './'`src/resample.c
> gcc -DHAVE_CONFIG_H -I. -I./src -I./win32 -D_FORTIFY_SOURCE=2 -DRANDOM_PREFIX=opustools -DOUTSIDE_SPEEX -DRESAMPLE_FULL_SINC_TABLE -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/opus -I/usr/include/opus -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fstack-protector-strong -I/usr/include/opus -fPIE -W -Wall -Wextra -Wcast-align -Wnested-externs -Wshadow -Wstrict-prototypes -Wno-sign-compare -c -o src/opusdec-diag_range.o `test -f 'src/diag_range.c' || echo './'`src/diag_range.c
> gcc -DHAVE_CONFIG_H -I. -I./src -I./win32 -D_FORTIFY_SOURCE=2 -DRANDOM_PREFIX=opustools -DOUTSIDE_SPEEX -DRESAMPLE_FULL_SINC_TABLE -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/opus -I/usr/include/opus -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fstack-protector-strong -I/usr/include/opus -fPIE -W -Wall -Wextra -Wcast-align -Wnested-externs -Wshadow -Wstrict-prototypes -Wno-sign-compare -c -o win32/opusdec-unicode_support.o `test -f 'win32/unicode_support.c' || echo './'`win32/unicode_support.c
> gcc -DHAVE_CONFIG_H -I. -I./src -I./win32 -D_FORTIFY_SOURCE=2 -DOPUSTOOLS -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/opus -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fstack-protector-strong -I/usr/include/opus -fPIE -W -Wall -Wextra -Wcast-align -Wnested-externs -Wshadow -Wstrict-prototypes -Wno-sign-compare -c -o src/opusinfo-opus_header.o `test -f 'src/opus_header.c' || echo './'`src/opus_header.c
> gcc -DHAVE_CONFIG_H -I. -I./src -I./win32 -D_FORTIFY_SOURCE=2 -DOPUSTOOLS -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/opus -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fstack-protector-strong -I/usr/include/opus -fPIE -W -Wall -Wextra -Wcast-align -Wnested-externs -Wshadow -Wstrict-prototypes -Wno-sign-compare -c -o src/opusinfo-opusinfo.o `test -f 'src/opusinfo.c' || echo './'`src/opusinfo.c
> gcc -DHAVE_CONFIG_H -I. -I./src -I./win32 -D_FORTIFY_SOURCE=2 -DOPUSTOOLS -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/opus -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fstack-protector-strong -I/usr/include/opus -fPIE -W -Wall -Wextra -Wcast-align -Wnested-externs -Wshadow -Wstrict-prototypes -Wno-sign-compare -c -o src/opusinfo-info_opus.o `test -f 'src/info_opus.c' || echo './'`src/info_opus.c
> gcc -DHAVE_CONFIG_H -I. -I./src -I./win32 -D_FORTIFY_SOURCE=2 -DOPUSTOOLS -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/opus -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fstack-protector-strong -I/usr/include/opus -fPIE -W -Wall -Wextra -Wcast-align -Wnested-externs -Wshadow -Wstrict-prototypes -Wno-sign-compare -c -o src/opusinfo-picture.o `test -f 'src/picture.c' || echo './'`src/picture.c
> src/opusinfo.c: In function ‘check_xiph_comment’:
> src/opusinfo.c:296:32: warning: argument 1 range [18446744072098938880, 18446744073709551615] exceeds maximum object size 9223372036854775807 [-Walloc-size-larger-than=]
> 296 | data=(unsigned char *)malloc(data_sz*sizeof(*data));
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> In file included from src/opusinfo.c:18:
> /usr/include/stdlib.h:672:14: note: in a call to allocation function ‘malloc’ declared here
> 672 | extern void *malloc (size_t __size) __THROW __attribute_malloc__
> | ^~~~~~
> gcc -DHAVE_CONFIG_H -I. -I./src -I./win32 -D_FORTIFY_SOURCE=2 -DOPUSTOOLS -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/opus -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fstack-protector-strong -I/usr/include/opus -fPIE -W -Wall -Wextra -Wcast-align -Wnested-externs -Wshadow -Wstrict-prototypes -Wno-sign-compare -c -o win32/opusinfo-unicode_support.o `test -f 'win32/unicode_support.c' || echo './'`win32/unicode_support.c
> gcc -DHAVE_CONFIG_H -I. -I./src -I./win32 -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/opus -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fstack-protector-strong -I/usr/include/opus -fPIE -W -Wall -Wextra -Wcast-align -Wnested-externs -Wshadow -Wstrict-prototypes -Wno-sign-compare -c -o src/opusrtp.o src/opusrtp.c
> gcc -DHAVE_CONFIG_H -I. -I./src -I./win32 -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/opus -I/usr/include/opus -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fstack-protector-strong -I/usr/include/opus -fPIE -W -Wall -Wextra -Wcast-align -Wnested-externs -Wshadow -Wstrict-prototypes -Wno-sign-compare -c -o src/opusenc-opus_header.o `test -f 'src/opus_header.c' || echo './'`src/opus_header.c
> gcc -DHAVE_CONFIG_H -I. -I./src -I./win32 -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/opus -I/usr/include/opus -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fstack-protector-strong -I/usr/include/opus -fPIE -W -Wall -Wextra -Wcast-align -Wnested-externs -Wshadow -Wstrict-prototypes -Wno-sign-compare -c -o src/opusenc-opusenc.o `test -f 'src/opusenc.c' || echo './'`src/opusenc.c
> In file included from src/opusenc.c:71:
> src/opusenc.c: In function ‘main’:
> /usr/include/opus/opusenc.h:134:63: error: implicit declaration of function ‘__opus_check_int’; did you mean ‘opus_check_int’? [-Wimplicit-function-declaration]
> 134 | #define OPE_SET_MUXING_DELAY(x) OPE_SET_MUXING_DELAY_REQUEST, __opus_check_int(x)
> | ^~~~~~~~~~~~~~~~
This is a bug in libopusenc introduced by the latest upload of libopus.
Reassinging accordingly.
Cheers
> src/opusenc.c:866:30: note: in expansion of macro ‘OPE_SET_MUXING_DELAY’
> 866 | ret = ope_encoder_ctl(enc, OPE_SET_MUXING_DELAY(max_ogg_delay));
> | ^~~~~~~~~~~~~~~~~~~~
> /usr/include/opus/opusenc.h:134:63: warning: nested extern declaration of ‘__opus_check_int’ [-Wnested-externs]
> 134 | #define OPE_SET_MUXING_DELAY(x) OPE_SET_MUXING_DELAY_REQUEST, __opus_check_int(x)
> | ^~~~~~~~~~~~~~~~
> src/opusenc.c:866:30: note: in expansion of macro ‘OPE_SET_MUXING_DELAY’
> 866 | ret = ope_encoder_ctl(enc, OPE_SET_MUXING_DELAY(max_ogg_delay));
> | ^~~~~~~~~~~~~~~~~~~~
> /usr/include/opus/opusenc.h:145:59: error: implicit declaration of function ‘__opus_check_int_ptr’; did you mean ‘opus_check_int_ptr’? [-Wimplicit-function-declaration]
> 145 | #define OPE_GET_NB_STREAMS(x) OPE_GET_NB_STREAMS_REQUEST, __opus_check_int_ptr(x)
> | ^~~~~~~~~~~~~~~~~~~~
> src/opusenc.c:887:30: note: in expansion of macro ‘OPE_GET_NB_STREAMS’
> 887 | ret = ope_encoder_ctl(enc, OPE_GET_NB_STREAMS(&data.nb_streams));
> | ^~~~~~~~~~~~~~~~~~
> /usr/include/opus/opusenc.h:145:59: warning: nested extern declaration of ‘__opus_check_int_ptr’ [-Wnested-externs]
> 145 | #define OPE_GET_NB_STREAMS(x) OPE_GET_NB_STREAMS_REQUEST, __opus_check_int_ptr(x)
> | ^~~~~~~~~~~~~~~~~~~~
> src/opusenc.c:887:30: note: in expansion of macro ‘OPE_GET_NB_STREAMS’
> 887 | ret = ope_encoder_ctl(enc, OPE_GET_NB_STREAMS(&data.nb_streams));
> | ^~~~~~~~~~~~~~~~~~
> make[3]: *** [Makefile:879: src/opusenc-opusenc.o] Error 1
> make[3]: *** Waiting for unfinished jobs....
> make[3]: Leaving directory '/<<PKGBUILDDIR>>'
> make[2]: *** [Makefile:1087: all-recursive] Error 1
> make[2]: Leaving directory '/<<PKGBUILDDIR>>'
> make[1]: *** [Makefile:534: all] Error 2
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
> dh_auto_build: error: make -j2 returned exit code 2
> make: *** [debian/rules:16: binary] Error 25
> dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
> --------------------------------------------------------------------------------
>
--
Sebastian Ramacher
Reply to: