[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1074860: bwbasic: ftbfs with GCC-14



Package: src:bwbasic
Version: 2.20pl2-13
Severity: important
Tags: sid trixie
User: debian-gcc@lists.debian.org
Usertags: ftbfs-gcc-14

[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/bwbasic_2.20pl2-13_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

[...]
      |                   ^~~~
renum.c:82:19: note: include ‘<stdlib.h>’ or provide a declaration of ‘exit’
renum.c:97:7: warning: incompatible implicit declaration of built-in function ‘exit’ [-Wbuiltin-declaration-mismatch]
   97 |       exit(1);
      |       ^~~~
renum.c:97:7: note: include ‘<stdlib.h>’ or provide a declaration of ‘exit’
renum.c:123:11: warning: incompatible implicit declaration of built-in function ‘strlen’ [-Wbuiltin-declaration-mismatch]
  123 |       p = strlen(pstr);
      |           ^~~~~~
renum.c:123:11: note: include ‘<string.h>’ or provide a declaration of ‘strlen’
renum.c:225:13: warning: incompatible implicit declaration of built-in function ‘exit’ [-Wbuiltin-declaration-mismatch]
  225 |             exit(1);
      |             ^~~~
renum.c:225:13: note: include ‘<stdlib.h>’ or provide a declaration of ‘exit’
renum.c:259:7: warning: incompatible implicit declaration of built-in function ‘exit’ [-Wbuiltin-declaration-mismatch]
  259 |       exit(1);
      |       ^~~~
renum.c:259:7: note: include ‘<stdlib.h>’ or provide a declaration of ‘exit’
renum.c:268:8: warning: incompatible implicit declaration of built-in function ‘strlen’ [-Wbuiltin-declaration-mismatch]
  268 |    p = strlen(pstr);
      |        ^~~~~~
renum.c:268:8: note: include ‘<string.h>’ or provide a declaration of ‘strlen’
renum.c:271:8: error: implicit declaration of function ‘strcmp’ [-Wimplicit-function-declaration]
  271 |    if (strcmp(midstr2(pstr, 1, 1), "N") == 0) v1 = 1;
      |        ^~~~~~
renum.c:271:8: note: include ‘<string.h>’ or provide a declaration of ‘strcmp’
renum.c:277:7: warning: incompatible implicit declaration of built-in function ‘exit’ [-Wbuiltin-declaration-mismatch]
  277 |       exit(1);
      |       ^~~~
renum.c:277:7: note: include ‘<stdlib.h>’ or provide a declaration of ‘exit’
renum.c:297:19: error: implicit declaration of function ‘strcat’ [-Wimplicit-function-declaration]
  297 |                   strcat(rstr, midstr1(pstr, b));
      |                   ^~~~~~
renum.c:297:19: note: include ‘<string.h>’ or provide a declaration of ‘strcat’
renum.c:297:19: warning: incompatible implicit declaration of built-in function ‘strcat’ [-Wbuiltin-declaration-mismatch]
renum.c:297:19: note: include ‘<string.h>’ or provide a declaration of ‘strcat’
renum.c:429:37: warning: incompatible implicit declaration of built-in function ‘strcat’ [-Wbuiltin-declaration-mismatch]
  429 |                                     strcat(tempstr, rstr);
      |                                     ^~~~~~
renum.c:429:37: note: include ‘<string.h>’ or provide a declaration of ‘strcat’
renum.c:435:37: warning: incompatible implicit declaration of built-in function ‘strcat’ [-Wbuiltin-declaration-mismatch]
  435 |                                     strcat(tempstr, rstr);
      |                                     ^~~~~~
renum.c:435:37: note: include ‘<string.h>’ or provide a declaration of ‘strcat’
renum.c:474:4: error: implicit declaration of function ‘system’ [-Wimplicit-function-declaration]
  474 |    system(tempstr);
      |    ^~~~~~
renum.c: In function ‘instr’:
renum.c:483:8: error: implicit declaration of function ‘strstr’ [-Wimplicit-function-declaration]
  483 |    p = strstr(astr, bstr);
      |        ^~~~~~
renum.c:483:8: note: include ‘<string.h>’ or provide a declaration of ‘strstr’
renum.c:483:8: warning: incompatible implicit declaration of built-in function ‘strstr’ [-Wbuiltin-declaration-mismatch]
renum.c:483:8: note: include ‘<string.h>’ or provide a declaration of ‘strstr’
renum.c: In function ‘midstr1’:
renum.c:497:4: warning: incompatible implicit declaration of built-in function ‘strcpy’ [-Wbuiltin-declaration-mismatch]
  497 |    strcpy(tempstr, astr);
      |    ^~~~~~
renum.c:497:4: note: include ‘<string.h>’ or provide a declaration of ‘strcpy’
renum.c: In function ‘midstr2’:
renum.c:511:4: warning: incompatible implicit declaration of built-in function ‘strcpy’ [-Wbuiltin-declaration-mismatch]
  511 |    strcpy(tempstr, astr);
      |    ^~~~~~
renum.c:511:4: note: include ‘<string.h>’ or provide a declaration of ‘strcpy’
make[1]: *** [Makefile:66: renum] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j8 returned exit code 2
make: *** [debian/rules:4: build] Error 25
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2


Reply to: