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

libmemcached doesn't build on Ubuntu 22.04.1 LTS #115

Open
LeonidVas opened this issue Dec 5, 2022 · 4 comments
Open

libmemcached doesn't build on Ubuntu 22.04.1 LTS #115

LeonidVas opened this issue Dec 5, 2022 · 4 comments
Labels
bug Something isn't working testing

Comments

@LeonidVas
Copy link
Collaborator

LeonidVas commented Dec 5, 2022

libmemcached builds correctly with gcc <= 10 (https://github.com/awesomized/libmemcached#testing), but not with gcc 12 (default in Ubuntu 22.04.1 LTS). Because of this, the "memcached-capable" tests fail.
logs_722.zip

@LeonidVas LeonidVas changed the title libmemcached doesn' libmemcached doesn't compile on Ubuntu 22.04.1 LTS Dec 5, 2022
@ligurio
Copy link
Member

ligurio commented Dec 5, 2022

[0] ~/sources/MRG/memcached$ cmake --build build
Consolidate compiler generated dependencies of target msgpuck
[  6%] Built target msgpuck
[ 10%] Built target generate_proto_txt_parser_c
Consolidate compiler generated dependencies of target small
[ 51%] Built target small
Consolidate compiler generated dependencies of target internalso
[ 55%] Building C object memcached/CMakeFiles/internalso.dir/internal/mc_sasl.c.o
[ 58%] Building C object memcached/CMakeFiles/internalso.dir/__/third_party/memcached_ibuf.c.o
[ 62%] Linking C shared library internal.so
[100%] Built target internalso
[0] ~/sources/MRG/memcached$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 22.04.1 LTS
Release:        22.04
Codename:       jammy

Version: 5783cd2

@LeonidVas LeonidVas changed the title libmemcached doesn't compile on Ubuntu 22.04.1 LTS libmemcached doesn't build on Ubuntu 22.04.1 LTS Dec 5, 2022
@LeonidVas
Copy link
Collaborator Author

[0] ~/sources/MRG/memcached$ cmake --build build
Consolidate compiler generated dependencies of target msgpuck
[  6%] Built target msgpuck
[ 10%] Built target generate_proto_txt_parser_c
Consolidate compiler generated dependencies of target small
[ 51%] Built target small
Consolidate compiler generated dependencies of target internalso
[ 55%] Building C object memcached/CMakeFiles/internalso.dir/internal/mc_sasl.c.o
[ 58%] Building C object memcached/CMakeFiles/internalso.dir/__/third_party/memcached_ibuf.c.o
[ 62%] Linking C shared library internal.so
[100%] Built target internalso
[0] ~/sources/MRG/memcached$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 22.04.1 LTS
Release:        22.04
Codename:       jammy

Version: 5783cd2

It looks like you don't build libmemcached here.
Try make test-memcached-capable

@LeonidVas LeonidVas added bug Something isn't working teamE testing labels Dec 5, 2022
@ligurio
Copy link
Member

ligurio commented Dec 5, 2022

Ah, it is not about memcached itself, but about building third-party in cmake/BuildLibmemcached.cmake

LeonidVas added a commit that referenced this issue Dec 5, 2022
Now we have a problem to build libmemcached for testing on Ubuntu 22.04.
See: #115

Part of #115
@LeonidVas LeonidVas added the 2sp label Dec 5, 2022
LeonidVas added a commit that referenced this issue Dec 6, 2022
Now we have a problem to build libmemcached for testing on Ubuntu 22.04.
See: #115

Part of #115
@LeonidVas LeonidVas mentioned this issue Dec 7, 2022
@m6w6
Copy link

m6w6 commented Feb 28, 2023

Just a heads up: this is not about https://github.com/awesomized/libmemcached (though, you're referencing it in your OP).

You should consider switching to https://github.com/awesomized/libmemcached, though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working testing
Projects
None yet
Development

No branches or pull requests

4 participants