Skip to content

qt5-default not available #40

@willcomputer

Description

@willcomputer

The qt5-default package was removed after Debian Bullseye, so the BASH script get stuck when attempting to install the dependency on any Debian based distros. I removed the package from the install section of the script and manually installed the replacements, however, the script still failed with errors.

qt5-default Replacements
sudo apt install qtbase5-dev qtchooser qt5-qmake qtbase5-dev-tools

Error:

In file included from /home/will/TES3MP-deploy/dependencies/raknet/Source/Utils/_FindFirst.cpp:7:
/home/will/TES3MP-deploy/dependencies/raknet/Source/Utils/_FindFirst.h:50:15: error: ‘intptr_t’ was not declared in this scope
   50 | int _findnext(intptr_t h, _finddata_t *f);
      |               ^~~~~~~~
/home/will/TES3MP-deploy/dependencies/raknet/Source/Utils/_FindFirst.h:13:1: note: ‘intptr_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
   12 | #include <string>
  +++ |+#include <cstdint>
   13 | 
/home/will/TES3MP-deploy/dependencies/raknet/Source/Utils/_FindFirst.h:50:39: error: expected primary-expression before ‘*’ token
   50 | int _findnext(intptr_t h, _finddata_t *f);
      |                                       ^
/home/will/TES3MP-deploy/dependencies/raknet/Source/Utils/_FindFirst.h:50:40: error: ‘f’ was not declared in this scope
   50 | int _findnext(intptr_t h, _finddata_t *f);
      |                                        ^
/home/will/TES3MP-deploy/dependencies/raknet/Source/Utils/_FindFirst.h:50:41: error: expression list treated as compound expression in initializer [-fpermissive]
   50 | int _findnext(intptr_t h, _finddata_t *f);
      |                                         ^
/home/will/TES3MP-deploy/dependencies/raknet/Source/Utils/_FindFirst.h:51:16: error: ‘intptr_t’ was not declared in this scope
   51 | int _findclose(intptr_t h);
      |                ^~~~~~~~
/home/will/TES3MP-deploy/dependencies/raknet/Source/Utils/_FindFirst.h:51:16: note: ‘intptr_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
/home/will/TES3MP-deploy/dependencies/raknet/Source/Utils/_FindFirst.cpp: In function ‘long int _findfirst(const char*, _finddata_t*)’:
/home/will/TES3MP-deploy/dependencies/raknet/Source/Utils/_FindFirst.cpp:58:18: error: ‘_findnext’ cannot be used as a function
   58 |     if (_findnext(ret, f) == -1)
      |         ~~~~~~~~~^~~~~~~~
/home/will/TES3MP-deploy/dependencies/raknet/Source/Utils/_FindFirst.cpp: At global scope:
/home/will/TES3MP-deploy/dependencies/raknet/Source/Utils/_FindFirst.cpp:64:5: error: redefinition of ‘int _findnext’
   64 | int _findnext(intptr_t h, _finddata_t *f)
      |     ^~~~~~~~~
/home/will/TES3MP-deploy/dependencies/raknet/Source/Utils/_FindFirst.h:50:5: note: ‘int _findnext’ previously defined here
   50 | int _findnext(intptr_t h, _finddata_t *f);
      |     ^~~~~~~~~
/home/will/TES3MP-deploy/dependencies/raknet/Source/Utils/_FindFirst.cpp:64:15: error: ‘intptr_t’ was not declared in this scope
   64 | int _findnext(intptr_t h, _finddata_t *f)
      |               ^~~~~~~~
/home/will/TES3MP-deploy/dependencies/raknet/Source/Utils/_FindFirst.cpp:17:1: note: ‘intptr_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
   16 | #include "RakAssert.h"
  +++ |+#include <cstdint>
   17 | 
/home/will/TES3MP-deploy/dependencies/raknet/Source/Utils/_FindFirst.cpp:64:39: error: expected primary-expression before ‘*’ token
   64 | int _findnext(intptr_t h, _finddata_t *f)
      |                                       ^
/home/will/TES3MP-deploy/dependencies/raknet/Source/Utils/_FindFirst.cpp:64:40: error: ‘f’ was not declared in this scope
   64 | int _findnext(intptr_t h, _finddata_t *f)
      |                                        ^
/home/will/TES3MP-deploy/dependencies/raknet/Source/Utils/_FindFirst.cpp:108:22: error: ‘int _findclose(long int)’ redeclared as different kind of entity
  108 | int _findclose(long h)
      |                      ^
/home/will/TES3MP-deploy/dependencies/raknet/Source/Utils/_FindFirst.h:51:5: note: previous declaration ‘int _findclose’
   51 | int _findclose(intptr_t h);
      |     ^~~~~~~~~~
/home/will/TES3MP-deploy/dependencies/raknet/Source/Utils/_FindFirst.cpp: In function ‘long int _findfirst(const char*, _finddata_t*)’:
/home/will/TES3MP-deploy/dependencies/raknet/Source/Utils/_FindFirst.cpp:62:1: warning: control reaches end of non-void function [-Wreturn-type]
   62 | }
      | ^
make[2]: *** [lib/CMakeFiles/RakNetLibStatic.dir/build.make:1434: lib/CMakeFiles/RakNetLibStatic.dir/__/Source/Utils/_FindFirst.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from /home/will/TES3MP-deploy/dependencies/raknet/Source/Utils/_FindFirst.cpp:7:
/home/will/TES3MP-deploy/dependencies/raknet/Source/Utils/_FindFirst.h:50:15: error: ‘intptr_t’ was not declared in this scope
   50 | int _findnext(intptr_t h, _finddata_t *f);
      |               ^~~~~~~~
/home/will/TES3MP-deploy/dependencies/raknet/Source/Utils/_FindFirst.h:13:1: note: ‘intptr_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
   12 | #include <string>
  +++ |+#include <cstdint>
   13 | 
/home/will/TES3MP-deploy/dependencies/raknet/Source/Utils/_FindFirst.h:50:39: error: expected primary-expression before ‘*’ token
   50 | int _findnext(intptr_t h, _finddata_t *f);
      |                                       ^
/home/will/TES3MP-deploy/dependencies/raknet/Source/Utils/_FindFirst.h:50:40: error: ‘f’ was not declared in this scope
   50 | int _findnext(intptr_t h, _finddata_t *f);
      |                                        ^
/home/will/TES3MP-deploy/dependencies/raknet/Source/Utils/_FindFirst.h:50:41: error: expression list treated as compound expression in initializer [-fpermissive]
   50 | int _findnext(intptr_t h, _finddata_t *f);
      |                                         ^
/home/will/TES3MP-deploy/dependencies/raknet/Source/Utils/_FindFirst.h:51:16: error: ‘intptr_t’ was not declared in this scope
   51 | int _findclose(intptr_t h);
      |                ^~~~~~~~
/home/will/TES3MP-deploy/dependencies/raknet/Source/Utils/_FindFirst.h:51:16: note: ‘intptr_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
/home/will/TES3MP-deploy/dependencies/raknet/Source/Utils/_FindFirst.cpp: In function ‘long int _findfirst(const char*, _finddata_t*)’:
/home/will/TES3MP-deploy/dependencies/raknet/Source/Utils/_FindFirst.cpp:58:18: error: ‘_findnext’ cannot be used as a function
   58 |     if (_findnext(ret, f) == -1)
      |         ~~~~~~~~~^~~~~~~~
/home/will/TES3MP-deploy/dependencies/raknet/Source/Utils/_FindFirst.cpp: At global scope:
/home/will/TES3MP-deploy/dependencies/raknet/Source/Utils/_FindFirst.cpp:64:5: error: redefinition of ‘int _findnext’
   64 | int _findnext(intptr_t h, _finddata_t *f)
      |     ^~~~~~~~~
/home/will/TES3MP-deploy/dependencies/raknet/Source/Utils/_FindFirst.h:50:5: note: ‘int _findnext’ previously defined here
   50 | int _findnext(intptr_t h, _finddata_t *f);
      |     ^~~~~~~~~
/home/will/TES3MP-deploy/dependencies/raknet/Source/Utils/_FindFirst.cpp:64:15: error: ‘intptr_t’ was not declared in this scope
   64 | int _findnext(intptr_t h, _finddata_t *f)
      |               ^~~~~~~~
/home/will/TES3MP-deploy/dependencies/raknet/Source/Utils/_FindFirst.cpp:17:1: note: ‘intptr_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
   16 | #include "RakAssert.h"
  +++ |+#include <cstdint>
   17 | 
/home/will/TES3MP-deploy/dependencies/raknet/Source/Utils/_FindFirst.cpp:64:39: error: expected primary-expression before ‘*’ token
   64 | int _findnext(intptr_t h, _finddata_t *f)
      |                                       ^
/home/will/TES3MP-deploy/dependencies/raknet/Source/Utils/_FindFirst.cpp:64:40: error: ‘f’ was not declared in this scope
   64 | int _findnext(intptr_t h, _finddata_t *f)
      |                                        ^
/home/will/TES3MP-deploy/dependencies/raknet/Source/Utils/_FindFirst.cpp:108:22: error: ‘int _findclose(long int)’ redeclared as different kind of entity
  108 | int _findclose(long h)
      |                      ^
/home/will/TES3MP-deploy/dependencies/raknet/Source/Utils/_FindFirst.h:51:5: note: previous declaration ‘int _findclose’
   51 | int _findclose(intptr_t h);
      |     ^~~~~~~~~~
/home/will/TES3MP-deploy/dependencies/raknet/Source/Utils/_FindFirst.cpp: In function ‘long int _findfirst(const char*, _finddata_t*)’:
/home/will/TES3MP-deploy/dependencies/raknet/Source/Utils/_FindFirst.cpp:62:1: warning: control reaches end of non-void function [-Wreturn-type]
   62 | }
      | ^
make[2]: *** [lib/CMakeFiles/raknet.dir/build.make:1434: lib/CMakeFiles/raknet.dir/__/Source/Utils/_FindFirst.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [CMakeFiles/Makefile2:100: lib/CMakeFiles/RakNetLibStatic.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [CMakeFiles/Makefile2:126: lib/CMakeFiles/raknet.dir/all] Error 2
make: *** [Makefile:136: all] Error 2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions