Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tracking issue: Ubuntu 22.04 compiler error for sqlite3 #20

Open
jefft0 opened this issue Mar 2, 2023 · 0 comments
Open

Tracking issue: Ubuntu 22.04 compiler error for sqlite3 #20

jefft0 opened this issue Mar 2, 2023 · 0 comments
Labels
backlog bug Something isn't working verified Bug is verified

Comments

@jefft0
Copy link
Contributor

jefft0 commented Mar 2, 2023

Building weshnet on Ubuntu 22.04 gives the compiler error shown below. This is a known issue introduced in a recent version of sqlite3. The issue says that it is fixed in version 3.38.0. On my Ubuntu 22.04, apt list libsqlite3-dev shows version 3.37.2. So, I think we just have to wait for apt to use the newer version.

# github.com/mutecomm/go-sqlcipher/v4
In file included from /usr/include/string.h:535,
                 from sqlite3.c:14180:
In function ‘memcpy’,
    inlined from ‘sqlite3Fts5IndexQuery’ at sqlite3.c:226667:18:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:29:10: warning: ‘__builtin_memcpy’ specified bound 
18446744073709551615 excee\
ds maximum object size 9223372036854775807 [-Wstringop-overflow=]
   29 |   return __builtin___memcpy_chk (__dest, __src, __len,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   30 |                                  __glibc_objsize0 (__dest));
      |                                  ~~~~~~~~~~~~~~~~~~~~~~~~~~
@jefft0 jefft0 self-assigned this Mar 2, 2023
@jefft0 jefft0 added backlog bug Something isn't working and removed 🚧 WIP labels Apr 18, 2023
@jefft0 jefft0 removed their assignment Apr 19, 2023
@jefft0 jefft0 added the verified Bug is verified label May 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backlog bug Something isn't working verified Bug is verified
Projects
None yet
Development

No branches or pull requests

1 participant