Package: src:wdq2wav
Version: 1.0.0-1.1
Severity: serious
Tags: ftbfs trixie sid

Dear maintainer:

During a rebuild of all packages in unstable, your package failed to build:

--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean
   dh_auto_clean
        make -j2 clean
make[1]: Entering directory '/<<PKGBUILDDIR>>'
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_clean
 debian/rules binary
dh binary
   dh_update_autotools_config
   dh_autoreconf
   dh_auto_configure
   dh_auto_build
        make -j2
make[1]: Entering directory '/<<PKGBUILDDIR>>'
g++ -Wall -DLINUX -O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -I. -o 
wdq2wav wdq2wav.cpp -Wl,-z,relro -Wl,-z,now
wdq2wav.cpp: In member function ‘bool WavFile::fill_header()’:
wdq2wav.cpp:744:11: warning: ‘char* __builtin_strncpy(char*, const char*, 
long unsigned int)’ output truncated before terminating nul copying 4 bytes 
from a string of the same length [-Wstringop-truncation]
  744 |   strncpy (pData, "RIFF", 4);
      |           ^
wdq2wav.cpp:749:11: warning: ‘char* __builtin_strncpy(char*, const char*, 
long unsigned int)’ output truncated before terminating nul copying 8 bytes 
from a string of the same length [-Wstringop-truncation]
  749 |   strncpy (pData + 8, "WAVEfmt ", 8);
      |           ^
wdq2wav.cpp:772:11: warning: ‘char* __builtin_strncpy(char*, const char*, 
long unsigned int)’ output truncated before terminating nul copying 4 bytes 
from a string of the same length [-Wstringop-truncation]
  772 |   strncpy (pData + 36, "data", 4);
      |           ^
wdq2wav.cpp: In member function ‘bool WindaqChannel::read_channel_data()’:
wdq2wav.cpp:604:14: warning: ‘void operator delete(void*, std::size_t)’ 
called on pointer returned from a mismatched allocation function 
[-Wmismatched-new-delete]
  604 |       delete sample_row;
      |              ^~~~~~~~~~
wdq2wav.cpp:591:65: note: returned from ‘void* operator new [](std::size_t)’
  591 |   signed short int *sample_row = new signed short int [row_bytes];
      |                                                                 ^
wdq2wav.cpp:639:10: warning: ‘void operator delete(void*, std::size_t)’ 
called on pointer returned from a mismatched allocation function 
[-Wmismatched-new-delete]
  639 |   delete sample_row;
      |          ^~~~~~~~~~
wdq2wav.cpp:591:65: note: returned from ‘void* operator new [](std::size_t)’
  591 |   signed short int *sample_row = new signed short int [row_bytes];
      |                                                                 ^
wdq2wav.cpp: In function ‘int main(int, char**)’:
wdq2wav.cpp:179:13: warning: ‘char* __builtin_strncpy(char*, const char*, 
long unsigned int)’ specified bound 256 equals destination size 
[-Wstringop-truncation]
  179 |     strncpy (wdq_fname, argv [0], MAX_INPUT_STR);
      |             ^
wdq2wav.cpp:187:13: warning: ‘char* __builtin_strncpy(char*, const char*, 
long unsigned int)’ specified bound 256 equals destination size 
[-Wstringop-truncation]
  187 |     strncpy (channel_buf, argv[1], MAX_INPUT_STR);
      |             ^
wdq2wav.cpp:206:15: warning: ‘char* __builtin_strncpy(char*, const char*, 
long unsigned int)’ specified bound 256 equals destination size 
[-Wstringop-truncation]
  206 |       strncpy (wav_fname, argv[2], MAX_INPUT_STR);
      |               ^
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_auto_test
   create-stamp debian/debhelper-build-stamp
   dh_prep
   dh_installdirs
   dh_auto_install --destdir=debian/wdq2wav/
        make -j2 install DESTDIR=/<<PKGBUILDDIR>>/debian/wdq2wav 
AM_UPDATE_INFO_DIR=no
make[1]: Entering directory '/<<PKGBUILDDIR>>'
install -m 0755 -o root -g root wdq2wav /<<PKGBUILDDIR>>/debian/wdq2wav/usr/bin
install: cannot change ownership of 
'/<<PKGBUILDDIR>>/debian/wdq2wav/usr/bin/wdq2wav': Operation not permitted
make[1]: *** [Makefile:20: install] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_install: error: make -j2 install 
DESTDIR=/<<PKGBUILDDIR>>/debian/wdq2wav AM_UPDATE_INFO_DIR=no returned exit 
code 2
make: *** [debian/rules:6: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:

https://people.debian.org/~sanvila/build-logs/202501/

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 could not 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:wdq2wav, so that this is still
visible in the BTS web page for this package.

Thanks.

Reply via email to