Summary: | games-strategy/0ad-0.0.23_alpha build failure | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | zless <arthur> |
Component: | Current packages | Assignee: | Gentoo Games <games> |
Status: | RESOLVED OBSOLETE | ||
Severity: | normal | CC: | arthur, gentoo, sam |
Priority: | Normal | Keywords: | PMASKED |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Deadline: | 2020-10-09 | ||
Attachments: |
gcc6 build
gcc7 build emerge --info |
Created attachment 533092 [details]
gcc7 build
Created attachment 533094 [details]
emerge --info
Can confirm. Build fails with the same messages: ################################################################################ ../../../source/ps/ModIo.cpp:120:113: error: ‘sodium_base64_VARIANT_ORIGINAL’ was not declared in this scope if (sodium_base642bin((unsigned char*)&m_pk, sizeof m_pk, pk_str.c_str(), pk_str.size(), NULL, &bin_len, NULL, sodium_base64_VARIANT_ORIGINAL) != 0 || bin_len != sizeof m_pk) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../source/ps/ModIo.cpp:120:143: error: ‘sodium_base642bin’ was not declared in this scope if (sodium_base642bin((unsigned char*)&m_pk, sizeof m_pk, pk_str.c_str(), pk_str.size(), NULL, &bin_len, NULL, sodium_base64_VARIANT_ORIGINAL) != 0 || bin_len != sizeof m_pk) ^ ../../../source/ps/ModIo.cpp: In static member function ‘static bool ModIo::ParseSignature(const std::vector<std::__cxx11::basic_string<char> >&, SigStruct&, const PKStruct&, std::__cxx11::string&)’: ../../../source/ps/ModIo.cpp:777:114: error: ‘sodium_base64_VARIANT_ORIGINAL’ was not declared in this scope if (sodium_base642bin((unsigned char*)&sig, sizeof sig, msg_sig.c_str(), msg_sig.size(), NULL, &bin_len, NULL, sodium_base64_VARIANT_ORIGINAL) != 0 || bin_len != sizeof sig) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../source/ps/ModIo.cpp:777:144: error: ‘sodium_base642bin’ was not declared in this scope if (sodium_base642bin((unsigned char*)&sig, sizeof sig, msg_sig.c_str(), msg_sig.size(), NULL, &bin_len, NULL, sodium_base64_VARIANT_ORIGINAL) != 0 || bin_len != sizeof sig) ^ ../../../source/ps/ModIo.cpp:793:121: error: ‘sodium_base64_VARIANT_ORIGINAL’ was not declared in this scope if (sodium_base642bin(global_sig, sizeof global_sig, sig_lines[3].c_str(), sig_lines[3].size(), NULL, &bin_len, NULL, sodium_base64_VARIANT_ORIGINAL) != 0 || bin_len != sizeof global_sig) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../source/ps/ModIo.cpp:793:151: error: ‘sodium_base642bin’ was not declared in this scope f (sodium_base642bin(global_sig, sizeof global_sig, sig_lines[3].c_str(), sig_lines[3].size(), NULL, &bin_len, NULL, sodium_base64_VARIANT_ORIGINAL) != 0 || bin_len != sizeof global_sig) ################################################################################ Looks like 0ad Alpha 23 depends libsodium 1.0.14 or later. source: https://bugs.mageia.org/show_bug.cgi?id=23055 z Setting keyword dev-libs/libsodium ~amd64 allowed me to upgrade to libsoldium version 1.0.14 without conflict. Now 0AD version 0.0.23_alpha emerges successfully! Unfortunately dev-libs/libsodium is blocked by dev-python/pynacl (ansible dep) at 1.0.11(0/18). |
Created attachment 533090 [details] gcc6 build Hello, I tried to build 0ad both with gcc6 (the default) and gcc7. The build logs are attached.