Skip to content

Can't build on Manjaro Pavhlo #1530

Description

@neurodiverseEsoteric

Since I can't get the appimage or AUR criptext-bin to run because of libgrypt, I tried to compile everything myself, but Alice keeps failing:

  CXX(target) Release/obj.target/criptext-encryption-service/main.o
In file included from ../src/http/../../../db_interface/src/axolotl/Account.h:4,
                 from ../src/http/http.h:4,
                 from ../main.cpp:1:
/usr/local/include/sqlite_modern_cpp/sqlcipher.h: In member function ‘void sqlite::sqlcipher_database::set_key(const string&)’:
/usr/local/include/sqlite_modern_cpp/sqlcipher.h:26:39: error: ‘sqlite3_key’ was not declared in this scope; did you mean ‘sqlite3_vfs’?
   26 |                         if(auto ret = sqlite3_key(_db.get(), key.data(), key.size()))
      |                                       ^~~~~~~~~~~
      |                                       sqlite3_vfs
/usr/local/include/sqlite_modern_cpp/sqlcipher.h: In member function ‘void sqlite::sqlcipher_database::set_key(const string&, const string&)’:
/usr/local/include/sqlite_modern_cpp/sqlcipher.h:31:39: error: ‘sqlite3_key_v2’ was not declared in this scope; did you mean ‘sqlite3_open_v2’?
   31 |                         if(auto ret = sqlite3_key_v2(_db.get(), db_name.c_str(), key.data(), key.size()))
      |                                       ^~~~~~~~~~~~~~
      |                                       sqlite3_open_v2
/usr/local/include/sqlite_modern_cpp/sqlcipher.h: In member function ‘void sqlite::sqlcipher_database::rekey(const string&)’:
/usr/local/include/sqlite_modern_cpp/sqlcipher.h:36:39: error: ‘sqlite3_rekey’ was not declared in this scope; did you mean ‘sqlite3_reset’?
   36 |                         if(auto ret = sqlite3_rekey(_db.get(), new_key.data(), new_key.size()))
      |                                       ^~~~~~~~~~~~~
      |                                       sqlite3_reset
/usr/local/include/sqlite_modern_cpp/sqlcipher.h: In member function ‘void sqlite::sqlcipher_database::rekey(const string&, const string&)’:
/usr/local/include/sqlite_modern_cpp/sqlcipher.h:41:39: error: ‘sqlite3_rekey_v2’ was not declared in this scope; did you mean ‘sqlite3_trace_v2’?
   41 |                         if(auto ret = sqlite3_rekey_v2(_db.get(), db_name.c_str(), new_key.data(), new_key.size()))
      |                                       ^~~~~~~~~~~~~~~~
      |                                       sqlite3_trace_v2
../main.cpp: In function ‘int main(int, const char**)’:
../main.cpp:63:21: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
   63 |    char *logsPath = "alice_logs.txt";
      |                     ^~~~~~~~~~~~~~~~
../main.cpp:79:17: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
   79 |    char *port = "8085";
      |                 ^~~~~~
make: *** [criptext-encryption-service.target.mk:139: Release/obj.target/criptext-encryption-service/main.o] Error 1

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions