On 3/20/21 2:13 AM, Alexander Kanavin wrote:
On Fri, 19 Mar 2021 at 17:58, Khem Raj <[email protected] <mailto:[email protected]>> wrote:



    On 3/19/21 1:44 AM, Alexander Kanavin wrote:
     > There are multiple failures with the new version; unless

    Can you share details of failures ?
    it would be better to not regress whats working


For example, here:
https://autobuilder.yoctoproject.org/typhoon/#/builders/45/builds/3213/steps/11/logs/stdio <https://autobuilder.yoctoproject.org/typhoon/#/builders/45/builds/3213/steps/11/logs/stdio>

home/pokybuild/yocto-worker/musl-qemux86-64/build/build/tmp/work/core2-64-poky-linux-musl/apt/2.2.2-r0/apt-2.2.2/apt-pkg/contrib/srvrec.cc: In function 'bool GetSrvRecords(std::string, std::vector<SrvRec>&)': /home/pokybuild/yocto-worker/musl-qemux86-64/build/build/tmp/work/core2-64-poky-linux-musl/apt/2.2.2-r0/apt-2.2.2/apt-pkg/contrib/srvrec.cc:67:8: error: 'res_ninit' was not declared in this scope; did you mean 'res_init'?
67 | if (res_ninit(&res) != 0)
| ^~~~~~~~~
| res_init
/home/pokybuild/yocto-worker/musl-qemux86-64/build/build/tmp/work/core2-64-poky-linux-musl/apt/2.2.2-r0/apt-2.2.2/apt-pkg/contrib/srvrec.cc:71:38: error: 'res_nclose' was not declared in this scope
71 | std::shared_ptr<void> guard(&res, res_nclose);
| ^~~~~~~~~~
/home/pokybuild/yocto-worker/musl-qemux86-64/build/build/tmp/work/core2-64-poky-linux-musl/apt/2.2.2-r0/apt-2.2.2/apt-pkg/contrib/srvrec.cc:73:17: error: 'res_nquery' was not declared in this scope; did you mean 'res_query'? 73 | answer_len = res_nquery(&res, name.c_str(), C_IN, T_SRV, answer, sizeof(answer));
| ^~~~~~~~~~
| res_query

this is because apt started to use newer APIs for resolver but then disregarded older APIs, I have sent a patch to actually user newer APIs but have fallback to older APIs also available.


/home/pokybuild/yocto-worker/musl-qemux86-64/build/build/tmp/work/core2-64-poky-linux-musl/apt/2.2.2-r0/recipe-sysroot/usr/include/locale.h:53:7: error: declaration of 'char* setlocale(int, const char*)' has a different exception specifier
53 | char *setlocale (int, const char *);
| ^~~~~~~~~
In file included from /home/pokybuild/yocto-worker/musl-qemux86-64/build/build/tmp/work/core2-64-poky-linux-musl/apt/2.2.2-r0/apt-2.2.2/apt-pkg/contrib/netrc.cc:14: include/apti18n.h:25:25: note: from previous declaration 'char* setlocale(int, const char*) throw ()' 25 | extern "C" inline char* setlocale(int, const char*) throw() { return nullptr; }
| ^~~~~~~~~

yeah we should not disable NLS but remove PO generation. I have sent a patch for this too.


Alex

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#149718): 
https://lists.openembedded.org/g/openembedded-core/message/149718
Mute This Topic: https://lists.openembedded.org/mt/81450944/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to