[This bug is targeted to the upcoming trixie release]
Please keep this issue open in the bug tracker for the package it
was filed for. If a fix in another package is required, please
file a bug for the other package (or clone), and add a block in this
package. Please keep the issue open until the package can be built in
a follow-up test rebuild.
The package fails to build in a test rebuild on at least amd64 with
gcc-14/g++-14, but succeeds to build with gcc-13/g++-13. The
severity of this report will be raised before the trixie release.
The full build log can be found at:
http://qa-logs.debian.net/2024/07/01/glimpse_4.18.7-8_unstable_gccexp.log
The last lines of the build log are at the end of this report.
To build with GCC 14, either set CC=gcc-14 CXX=g++-14 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.
apt-get -t=experimental install g++
Common build failures are new warnings resulting in build failures with
-Werror turned on, or new/dropped symbols in Debian symbols files.
For other C/C++ related build failures see the porting guide at
http://gcc.gnu.org/gcc-14/porting_to.html
[...]
| ^~~~~~~
main.c:2739:102: error: passing argument 4 of ‘fileagrep_search’ from incompatible pointer type [-Wincompatible-pointer-types]
2739 | if ((ret = fileagrep_search(AM, APattern, 1, >extfiles[i], 0, stdout)) > 0) {
| ^~~~~~~~~~~~~~
| |
| unsigned char **
missing_prototypes.h:66:40: note: expected ‘char **’ but argument is of type ‘unsigned char **’
66 | int fileagrep_search(int, char *, int, char **, int , void *);
| ^~~~~~~
main.c:2809:102: error: passing argument 4 of ‘fileagrep_search’ from incompatible pointer type [-Wincompatible-pointer-types]
2809 | if ((ret = fileagrep_search(AM, APattern, 1, >extfiles[i], 0, stdout)) > 0) {
| ^~~~~~~~~~~~~~
| |
| unsigned char **
missing_prototypes.h:66:40: note: expected ‘char **’ but argument is of type ‘unsigned char **’
66 | int fileagrep_search(int, char *, int, char **, int , void *);
| ^~~~~~~
main.c:2830:110: error: passing argument 4 of ‘fileagrep_search’ from incompatible pointer type [-Wincompatible-pointer-types]
2830 | if ((ret = fileagrep_search(AM, APattern, 1, >extfiles[i], 0, stdout)) > 0) {
| ^~~~~~~~~~~~~~
| |
| unsigned char **
missing_prototypes.h:66:40: note: expected ‘char **’ but argument is of type ‘unsigned char **’
66 | int fileagrep_search(int, char *, int, char **, int , void *);
| ^~~~~~~
main.c:2895:89: error: passing argument 4 of ‘fileagrep_search’ from incompatible pointer type [-Wincompatible-pointer-types]
2895 | ret = fileagrep_search(AM, APattern, 1, >extfiles[i], 0, tmpfp);
| ^~~~~~~~~~~~~~
| |
| unsigned char **
missing_prototypes.h:66:40: note: expected ‘char **’ but argument is of type ‘unsigned char **’
66 | int fileagrep_search(int, char *, int, char **, int , void *);
| ^~~~~~~
main.c:2911:97: error: passing argument 4 of ‘fileagrep_search’ from incompatible pointer type [-Wincompatible-pointer-types]
2911 | ret = fileagrep_search(AM, APattern, 1, >extfiles[i], 0, tmpfp);
| ^~~~~~~~~~~~~~
| |
| unsigned char **
missing_prototypes.h:66:40: note: expected ‘char **’ but argument is of type ‘unsigned char **’
66 | int fileagrep_search(int, char *, int, char **, int , void *);
| ^~~~~~~
main.c:3007:97: error: passing argument 4 of ‘fileagrep_search’ from incompatible pointer type [-Wincompatible-pointer-types]
3007 | ret = fileagrep_search(AM, APattern, 1, >extfiles[i], 0, tmpfp);
| ^~~~~~~~~~~~~~
| |
| unsigned char **
missing_prototypes.h:66:40: note: expected ‘char **’ but argument is of type ‘unsigned char **’
66 | int fileagrep_search(int, char *, int, char **, int , void *);
| ^~~~~~~
main.c:3023:105: error: passing argument 4 of ‘fileagrep_search’ from incompatible pointer type [-Wincompatible-pointer-types]
3023 | ret = fileagrep_search(AM, APattern, 1, >extfiles[i], 0, tmpfp);
| ^~~~~~~~~~~~~~
| |
| unsigned char **
missing_prototypes.h:66:40: note: expected ‘char **’ but argument is of type ‘unsigned char **’
66 | int fileagrep_search(int, char *, int, char **, int , void *);
| ^~~~~~~
main.c: At top level:
main.c:3485:1: error: return type defaults to ‘int’ [-Wimplicit-int]
3485 | usage()
| ^~~~~
main.c:3565:1: error: return type defaults to ‘int’ [-Wimplicit-int]
3565 | usageS()
| ^~~~~~
make[2]: *** [Makefile:157: main.o] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: *** [debian/rules:13: override_dh_auto_build] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:28: build] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2