cd sqlite && /usr/bin/make -f Makefile
make[3]: Entering directory '/tmp/BUILD.fc42.x86_64/trinity-tqt3-3.5.0-build/trinity-tqt3-14.1.3/plugins/src/sqldrivers/sqlite'
gcc -c -pipe -fvisibility=hidden -fvisibility-inlines-hidden -I/usr/include/fontconfig -I/usr/include/pgsql -I/usr/include/pgsql/server -I/usr/include/mysql -I/usr/include/libpng16 -I/usr/include/tirpc -fno-exceptions -Wall -W -g -D_REENTRANT -fPIC -DQT_TABLET_SUPPORT -DTQT_THREAD_SUPPORT -DQT_PLUGIN -DQT_SHARED -I/tmp/BUILD.fc42.x86_64/trinity-tqt3-3.5.0-build/trinity-tqt3-14.1.3/mkspecs/linux-g++-64 -I. -I/usr/include/freetype2 -I../../../../src/3rdparty/sqlite -I/usr/include -I../../../../include -I/usr/X11R6/include -I.moc/debug-shared-mt/ -o .obj/shell.o ../../../../src/3rdparty/sqlite/shell.c
cc1: warning: command-line option ‘-fvisibility-inlines-hidden’ is valid for C++/ObjC++ but not for C
../../../../src/3rdparty/sqlite/shell.c:52:12: error: conflicting types for ‘isatty’; have ‘int(void)’
52 | extern int isatty();
| ^~~~~~
In file included from ../../../../src/3rdparty/sqlite/shell.c:26:
/usr/include/unistd.h:809:12: note: previous declaration of ‘isatty’ with type ‘int(int)’
809 | extern int isatty (int __fd) __THROW;
| ^~~~~~
../../../../src/3rdparty/sqlite/shell.c: In function ‘one_input_line’:
../../../../src/3rdparty/sqlite/shell.c:156:37: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body]
156 | if( zResult ) add_history(zResult);
| ^
../../../../src/3rdparty/sqlite/shell.c: In function ‘interrupt_handler’:
../../../../src/3rdparty/sqlite/shell.c:272:35: warning: unused parameter ‘NotUsed’ [-Wunused-parameter]
272 | static void interrupt_handler(int NotUsed){
| ~~~~^~~~~~~
../../../../src/3rdparty/sqlite/shell.c: In function ‘callback’:
../../../../src/3rdparty/sqlite/shell.c:303:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
303 | if( i<ArraySize(p->colWidth) ){
| ^
../../../../src/3rdparty/sqlite/shell.c:314:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
314 | if( i<ArraySize(p->actualWidth) ){
| ^
../../../../src/3rdparty/sqlite/shell.c:324:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
324 | if( i<ArraySize(p->actualWidth) ){
| ^
../../../../src/3rdparty/sqlite/shell.c:338:14: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
338 | if( i<ArraySize(p->actualWidth) ){
| ^
../../../../src/3rdparty/sqlite/shell.c: In function ‘dump_callback’:
../../../../src/3rdparty/sqlite/shell.c:453:69: warning: unused parameter ‘azCol’ [-Wunused-parameter]
453 | static int dump_callback(void *pArg, int nArg, char **azArg, char **azCol){
| ~~~~~~~^~~~~
../../../../src/3rdparty/sqlite/shell.c: In function ‘do_meta_command’:
../../../../src/3rdparty/sqlite/shell.c:547:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
547 | while( zLine[i] && nArg<ArraySize(azArg) ){
| ^
../../../../src/3rdparty/sqlite/shell.c:659:7: warning: ‘memset’ used with length equal to number of elements without multiplication by element size [-Wmemset-elt-size]
659 | memset(p->colWidth,0,ArraySize(p->colWidth));
| ^~~~~~
../../../../src/3rdparty/sqlite/shell.c:944:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
944 | for(j=1; j<nArg && j<ArraySize(p->colWidth); j++){
| ^
../../../../src/3rdparty/sqlite/shell.c: In function ‘process_sqliterc’:
../../../../src/3rdparty/sqlite/shell.c:1153:9: error: too many arguments to function ‘isatty’; expected 0, have 1
1153 | if( isatty(fileno(stdout)) ){
| ^~~~~~ ~~~~~~~~~~~~~~
../../../../src/3rdparty/sqlite/shell.c:52:12: note: declared here
52 | extern int isatty();
| ^~~~~~
../../../../src/3rdparty/sqlite/shell.c: In function ‘main’:
../../../../src/3rdparty/sqlite/shell.c:1325:9: error: too many arguments to function ‘isatty’; expected 0, have 1
1325 | if( isatty(fileno(stdout)) && isatty(fileno(stdin)) ){
| ^~~~~~ ~~~~~~~~~~~~~~
../../../../src/3rdparty/sqlite/shell.c:52:12: note: declared here
52 | extern int isatty();
| ^~~~~~
../../../../src/3rdparty/sqlite/shell.c:1325:35: error: too many arguments to function ‘isatty’; expected 0, have 1
1325 | if( isatty(fileno(stdout)) && isatty(fileno(stdin)) ){
| ^~~~~~ ~~~~~~~~~~~~~
../../../../src/3rdparty/sqlite/shell.c:52:12: note: declared here
52 | extern int isatty();
| ^~~~~~
../../../../src/3rdparty/sqlite/shell.c:1337:44: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body]
1337 | if( zHistory ) read_history(zHistory);
| ^
make[3]: *** [Makefile:426: .obj/shell.o] Error 1
make[3]: Leaving directory '/tmp/BUILD.fc42.x86_64/trinity-tqt3-3.5.0-build/trinity-tqt3-14.1.3/plugins/src/sqldrivers/sqlite'
make[2]: *** [Makefile:49: sub-sqlite] Error 2
make[2]: Leaving directory '/tmp/BUILD.fc42.x86_64/trinity-tqt3-3.5.0-build/trinity-tqt3-14.1.3/plugins/src/sqldrivers'
make[1]: *** [Makefile:56: sub-sqldrivers] Error 2
make[1]: Leaving directory '/tmp/BUILD.fc42.x86_64/trinity-tqt3-3.5.0-build/trinity-tqt3-14.1.3/plugins/src'
make: *** [Makefile:64: sub-plugins] Error 2
<!--
This is a comment.
Please fill in the required fields below.
The comments provide instructions on how to do so.
Note: You do not need to remove comments.
-->
## Basic information
- TDE version: R14.1.3
- Distribution: Fedora 42
- Hardware: amd64
<!--
Use SL/* labels to set the severity level.
Please do not set a milestone.
-->
## Description
FTBFS
## Steps to reproduce
make
## Screenshots
<details>
<summary>Backtrace</summary>
```
cd sqlite && /usr/bin/make -f Makefile
make[3]: Entering directory '/tmp/BUILD.fc42.x86_64/trinity-tqt3-3.5.0-build/trinity-tqt3-14.1.3/plugins/src/sqldrivers/sqlite'
gcc -c -pipe -fvisibility=hidden -fvisibility-inlines-hidden -I/usr/include/fontconfig -I/usr/include/pgsql -I/usr/include/pgsql/server -I/usr/include/mysql -I/usr/include/libpng16 -I/usr/include/tirpc -fno-exceptions -Wall -W -g -D_REENTRANT -fPIC -DQT_TABLET_SUPPORT -DTQT_THREAD_SUPPORT -DQT_PLUGIN -DQT_SHARED -I/tmp/BUILD.fc42.x86_64/trinity-tqt3-3.5.0-build/trinity-tqt3-14.1.3/mkspecs/linux-g++-64 -I. -I/usr/include/freetype2 -I../../../../src/3rdparty/sqlite -I/usr/include -I../../../../include -I/usr/X11R6/include -I.moc/debug-shared-mt/ -o .obj/shell.o ../../../../src/3rdparty/sqlite/shell.c
cc1: warning: command-line option ‘-fvisibility-inlines-hidden’ is valid for C++/ObjC++ but not for C
../../../../src/3rdparty/sqlite/shell.c:52:12: error: conflicting types for ‘isatty’; have ‘int(void)’
52 | extern int isatty();
| ^~~~~~
In file included from ../../../../src/3rdparty/sqlite/shell.c:26:
/usr/include/unistd.h:809:12: note: previous declaration of ‘isatty’ with type ‘int(int)’
809 | extern int isatty (int __fd) __THROW;
| ^~~~~~
../../../../src/3rdparty/sqlite/shell.c: In function ‘one_input_line’:
../../../../src/3rdparty/sqlite/shell.c:156:37: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body]
156 | if( zResult ) add_history(zResult);
| ^
../../../../src/3rdparty/sqlite/shell.c: In function ‘interrupt_handler’:
../../../../src/3rdparty/sqlite/shell.c:272:35: warning: unused parameter ‘NotUsed’ [-Wunused-parameter]
272 | static void interrupt_handler(int NotUsed){
| ~~~~^~~~~~~
../../../../src/3rdparty/sqlite/shell.c: In function ‘callback’:
../../../../src/3rdparty/sqlite/shell.c:303:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
303 | if( i<ArraySize(p->colWidth) ){
| ^
../../../../src/3rdparty/sqlite/shell.c:314:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
314 | if( i<ArraySize(p->actualWidth) ){
| ^
../../../../src/3rdparty/sqlite/shell.c:324:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
324 | if( i<ArraySize(p->actualWidth) ){
| ^
../../../../src/3rdparty/sqlite/shell.c:338:14: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
338 | if( i<ArraySize(p->actualWidth) ){
| ^
../../../../src/3rdparty/sqlite/shell.c: In function ‘dump_callback’:
../../../../src/3rdparty/sqlite/shell.c:453:69: warning: unused parameter ‘azCol’ [-Wunused-parameter]
453 | static int dump_callback(void *pArg, int nArg, char **azArg, char **azCol){
| ~~~~~~~^~~~~
../../../../src/3rdparty/sqlite/shell.c: In function ‘do_meta_command’:
../../../../src/3rdparty/sqlite/shell.c:547:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
547 | while( zLine[i] && nArg<ArraySize(azArg) ){
| ^
../../../../src/3rdparty/sqlite/shell.c:659:7: warning: ‘memset’ used with length equal to number of elements without multiplication by element size [-Wmemset-elt-size]
659 | memset(p->colWidth,0,ArraySize(p->colWidth));
| ^~~~~~
../../../../src/3rdparty/sqlite/shell.c:944:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
944 | for(j=1; j<nArg && j<ArraySize(p->colWidth); j++){
| ^
../../../../src/3rdparty/sqlite/shell.c: In function ‘process_sqliterc’:
../../../../src/3rdparty/sqlite/shell.c:1153:9: error: too many arguments to function ‘isatty’; expected 0, have 1
1153 | if( isatty(fileno(stdout)) ){
| ^~~~~~ ~~~~~~~~~~~~~~
../../../../src/3rdparty/sqlite/shell.c:52:12: note: declared here
52 | extern int isatty();
| ^~~~~~
../../../../src/3rdparty/sqlite/shell.c: In function ‘main’:
../../../../src/3rdparty/sqlite/shell.c:1325:9: error: too many arguments to function ‘isatty’; expected 0, have 1
1325 | if( isatty(fileno(stdout)) && isatty(fileno(stdin)) ){
| ^~~~~~ ~~~~~~~~~~~~~~
../../../../src/3rdparty/sqlite/shell.c:52:12: note: declared here
52 | extern int isatty();
| ^~~~~~
../../../../src/3rdparty/sqlite/shell.c:1325:35: error: too many arguments to function ‘isatty’; expected 0, have 1
1325 | if( isatty(fileno(stdout)) && isatty(fileno(stdin)) ){
| ^~~~~~ ~~~~~~~~~~~~~
../../../../src/3rdparty/sqlite/shell.c:52:12: note: declared here
52 | extern int isatty();
| ^~~~~~
../../../../src/3rdparty/sqlite/shell.c:1337:44: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body]
1337 | if( zHistory ) read_history(zHistory);
| ^
make[3]: *** [Makefile:426: .obj/shell.o] Error 1
make[3]: Leaving directory '/tmp/BUILD.fc42.x86_64/trinity-tqt3-3.5.0-build/trinity-tqt3-14.1.3/plugins/src/sqldrivers/sqlite'
make[2]: *** [Makefile:49: sub-sqlite] Error 2
make[2]: Leaving directory '/tmp/BUILD.fc42.x86_64/trinity-tqt3-3.5.0-build/trinity-tqt3-14.1.3/plugins/src/sqldrivers'
make[1]: *** [Makefile:56: sub-sqldrivers] Error 2
make[1]: Leaving directory '/tmp/BUILD.fc42.x86_64/trinity-tqt3-3.5.0-build/trinity-tqt3-14.1.3/plugins/src'
make: *** [Makefile:64: sub-plugins] Error 2
```
</details>
@Francois can you test PR #215? I have not done a build test here, since I don't have gcc15 in debian. But the PR should address the problem above. If there are more FTBFS issues, please upload the new backtrace afterward.
@Francois can you test PR #215? I have not done a build test here, since I don't have gcc15 in debian. But the PR should address the problem above. If there are more FTBFS issues, please upload the new backtrace afterward.
Basic information
Description
FTBFS
Steps to reproduce
make
Screenshots
Backtrace
@Francois can you test PR #215? I have not done a build test here, since I don't have gcc15 in debian. But the PR should address the problem above. If there are more FTBFS issues, please upload the new backtrace afterward.
Thanks @MicheleC , I confirm the #215 makes tqt3 buildable on Fedora 42.
PR #215 has been merged.
MicheleC referenced this issue 3 weeks ago