Re: [OE-core] [PATCH] nghttp2: Always enable python bindings
I have sent a v2, please disregard this one. On Sat, Jan 28, 2023 at 3:30 PM Khem Raj wrote: > > This makes the build host agnostic, otherwise on some hosts e.g. (archlinux) > it ends up using cython compiler from build host, mixing python3-native > and cython from host is not a tested combination and can result in > obscure errors. Lets make it use cython from OE native packages and also > enable the bindings explicitly. > > Signed-off-by: Khem Raj > --- > meta/recipes-support/nghttp2/nghttp2_1.51.0.bb | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > > diff --git a/meta/recipes-support/nghttp2/nghttp2_1.51.0.bb > b/meta/recipes-support/nghttp2/nghttp2_1.51.0.bb > index fc1a592200..4402b80d1a 100644 > --- a/meta/recipes-support/nghttp2/nghttp2_1.51.0.bb > +++ b/meta/recipes-support/nghttp2/nghttp2_1.51.0.bb > @@ -4,6 +4,8 @@ SECTION = "libs" > LICENSE = "MIT" > LIC_FILES_CHKSUM = "file://COPYING;md5=764abdf30b2eadd37ce47dcbce0ea1ec" > > +DEPENDS += "python3-cython-native" > + > SRC_URI = "\ > ${GITHUB_BASE_URI}/download/v${PV}/nghttp2-${PV}.tar.xz \ > file://0001-fetch-ocsp-response-use-python3.patch \ > @@ -15,7 +17,7 @@ PACKAGECONFIG[manpages] = "" > > # examples are never installed, and don't need to be built in the > # first place > -EXTRA_OECMAKE = "-DENABLE_EXAMPLES=OFF -DENABLE_APP=OFF > -DENABLE_HPACK_TOOLS=OFF" > +EXTRA_OECMAKE = "-DENABLE_EXAMPLES=OFF -DENABLE_APP=OFF > -DENABLE_HPACK_TOOLS=OFF -DENABLE_PYTHON_BINDINGS=ON" > > PACKAGES =+ "lib${BPN} ${PN}-client ${PN}-proxy ${PN}-server" > > -- > 2.39.1 > -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#176469): https://lists.openembedded.org/g/openembedded-core/message/176469 Mute This Topic: https://lists.openembedded.org/mt/96597541/21656 Group Owner: openembedded-core+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[OE-core] [PATCH v2] nghttp2: Disable python bindings
python bindings need cython to build, moreover they have been removed from future releases upstream nghttp2 [1] This ensures consistent builds as it does not need cython which was being used from build host if it is installed. With some distros e.g. archlinux it caused conflicts with python from python-native [1] https://github.com/nghttp2/nghttp2/commit/b4cb3b0090b704f2461766c455568b311013272f Signed-off-by: Khem Raj --- v2: Disable python bindings meta/recipes-support/nghttp2/nghttp2_1.51.0.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-support/nghttp2/nghttp2_1.51.0.bb b/meta/recipes-support/nghttp2/nghttp2_1.51.0.bb index fc1a592200..8ddb851f71 100644 --- a/meta/recipes-support/nghttp2/nghttp2_1.51.0.bb +++ b/meta/recipes-support/nghttp2/nghttp2_1.51.0.bb @@ -15,7 +15,7 @@ PACKAGECONFIG[manpages] = "" # examples are never installed, and don't need to be built in the # first place -EXTRA_OECMAKE = "-DENABLE_EXAMPLES=OFF -DENABLE_APP=OFF -DENABLE_HPACK_TOOLS=OFF" +EXTRA_OECMAKE = "-DENABLE_EXAMPLES=OFF -DENABLE_APP=OFF -DENABLE_HPACK_TOOLS=OFF -DENABLE_PYTHON_BINDINGS=OFF" PACKAGES =+ "lib${BPN} ${PN}-client ${PN}-proxy ${PN}-server" -- 2.39.1 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#176468): https://lists.openembedded.org/g/openembedded-core/message/176468 Mute This Topic: https://lists.openembedded.org/mt/96601159/21656 Group Owner: openembedded-core+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
Re: [OE-core] [PATCH 2/2] curl: enable nghttp2 for support HTTP2
Note that it also breaks meta-mingw: https://autobuilder.yoctoproject.org/typhoon/#/builders/89/builds/6613/steps/12/logs/stdio On 29/01/2023 10:24:37+0800, Changqing Li wrote: > > On 1/29/23 07:32, Khem Raj wrote: > > CAUTION: This email comes from a non Wind River email account! > > Do not click links or open attachments unless you recognize the sender and > > know the content is safe. > > > > I have sent a fix for nghttp2 which unblocks builds on archlinux build > > hosts atleast. > > Thanks Khem, I planed to send out the fix together with this debian11 issue, > but I cannot > > reproduce this issue on debian11. It is an different issue with this > archlinux one. > Here is the actual issue on debian11: /usr/lib/gcc/x86_64-linux-gnu/10/cc1: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by /home/pokybuild/yocto-worker/buildtools/build/build/tmp/work/x86_64-linux/curl-native/7.87.0-r0/recipe-sysroot-native/usr/l ib/pkgconfig/../../../usr/lib/libzstd.so.1) I guess this is a missing dependency and you are linking with the host lib. > //Changqing > > > On Sat, Jan 28, 2023 at 3:17 PM Khem Raj wrote: > > > still failing on archlinux > > > > > > | [26/27] Generating nghttp2.c > > > | /usr/lib/python3.10/site-packages/Cython/Compiler/Main.py:369: > > > FutureWarning: Cython directive 'language_level' not set, using 2 for > > > now (Py2). This will change in a later release! File: > > > /mnt/b/yoe/master/build/tmp/work/x86_64-linux/nghttp2-native/1.51.0-r0/nghttp2-1.51.0/python/nghttp2.pyx > > > | tree = Parsing.p_module(s, pxd, full_module_name) > > > | [27/27] cd > > > /mnt/b/yoe/master/build/tmp/work/x86_64-linux/nghttp2-native/1.51.0-r0/build/python > > > && > > > /mnt/b/yoe/master/build/tmp/work/x86_64-linux/nghttp2-native/1.51.0-r0/recipe-sysroot-native/usr/bin/python3-native/python3 > > > setup.py build > > > | FAILED: python/CMakeFiles/python > > > /mnt/b/yoe/master/build/tmp/work/x86_64-linux/nghttp2-native/1.51.0-r0/build/python/CMakeFiles/python > > > | cd > > > /mnt/b/yoe/master/build/tmp/work/x86_64-linux/nghttp2-native/1.51.0-r0/build/python > > > && > > > /mnt/b/yoe/master/build/tmp/work/x86_64-linux/nghttp2-native/1.51.0-r0/recipe-sysroot-native/usr/bin/python3-native/python3 > > > setup.py build > > > | Traceback (most recent call last): > > > | File > > > "/mnt/b/yoe/master/build/tmp/work/x86_64-linux/nghttp2-native/1.51.0-r0/build/python/setup.py", > > > line 24, in > > > | from setuptools import setup, Extension > > > | ModuleNotFoundError: No module named 'setuptools' > > > | ninja: build stopped: subcommand failed. > > > | WARNING: > > > /mnt/b/yoe/master/build/tmp/work/x86_64-linux/nghttp2-native/1.51.0-r0/temp/run.do_compile.2200023:167 > > > exit 1 from 'eval ${DESTDIR:+DESTDIR=${DESTDIR} } cmake --build > > > '/mnt/b/yoe/master/build/tmp/work/x86_64-linux/nghttp2-native/1.51.0-r0/build' > > > "$@" -- ${EXTRA_OECMAKE_BUILD}' > > > > > > > > > > > > On Sat, Jan 28, 2023 at 12:03 AM Changqing Li > > > wrote: > > > > On 1/20/23 09:48, Changqing Li wrote: > > > > > On 1/16/23 05:30, Alexandre Belloni wrote: > > > > > > CAUTION: This email comes from a non Wind River email account! > > > > > > Do not click links or open attachments unless you recognize the > > > > > > sender and know the content is safe. > > > > > > > > > > > > On 13/01/2023 16:04:42+0800, Changqing Li wrote: > > > > > > > On 1/5/23 22:09, Alexandre Belloni wrote: > > > > > > > > CAUTION: This email comes from a non Wind River email account! > > > > > > > > Do not click links or open attachments unless you recognize the > > > > > > > > sender and know the content is safe. > > > > > > > > > > > > > > > > This fails on the AB: > > > > > > > > > > > > > > > > https://autobuilder.yoctoproject.org/typhoon/#/builders/80/builds/4580/steps/14/logs/stdio > > > > > > > > > > > > > > > Hi, Alexandre > > > > > > > > > > > > > > I need some help to debug this issue. > > > > > > > > > > > > > > I cannot reproduce this issue on my host. First, the gcc command > > > > > > > used to > > > > > > > build the binary conftest will > > > > > > > > > > > > > > have as-needed enabled by default, so actually, these libs will > > > > > > > not be > > > > > > > linked, and runtime check will passed. > > > > > > > > > > > > > > Refer the command: > > > > > > > > > > > > > > gcc -o conftest > > > > > > > -isystem/mnt/lincd/build/tmp-glibc/work/x86_64-linux/curl-native/7.87.0-r0/recipe-sysroot-native/usr/include > > > > > > > -pipe -Werror-implicit-function-declaration -g -O2 -std=gnu89 > > > > > > > -pedantic > > > > > > > -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow > > > > > > > -Winline > > > > > > > -Wnested-externs -Wmissing-declarations -Wmissing-prototypes > > > > > > > -Wno-long-long > > > > > > > -Wbad-function-cast -Wfloat-equal -Wno-multichar -Wsign-compare > > > > > > > -Wundef > > > > > > > -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes >
Re: [OE-core] [PATCH 2/2] curl: enable nghttp2 for support HTTP2
On 1/29/23 07:32, Khem Raj wrote: CAUTION: This email comes from a non Wind River email account! Do not click links or open attachments unless you recognize the sender and know the content is safe. I have sent a fix for nghttp2 which unblocks builds on archlinux build hosts atleast. Thanks Khem, I planed to send out the fix together with this debian11 issue, but I cannot reproduce this issue on debian11. It is an different issue with this archlinux one. //Changqing On Sat, Jan 28, 2023 at 3:17 PM Khem Raj wrote: still failing on archlinux | [26/27] Generating nghttp2.c | /usr/lib/python3.10/site-packages/Cython/Compiler/Main.py:369: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /mnt/b/yoe/master/build/tmp/work/x86_64-linux/nghttp2-native/1.51.0-r0/nghttp2-1.51.0/python/nghttp2.pyx | tree = Parsing.p_module(s, pxd, full_module_name) | [27/27] cd /mnt/b/yoe/master/build/tmp/work/x86_64-linux/nghttp2-native/1.51.0-r0/build/python && /mnt/b/yoe/master/build/tmp/work/x86_64-linux/nghttp2-native/1.51.0-r0/recipe-sysroot-native/usr/bin/python3-native/python3 setup.py build | FAILED: python/CMakeFiles/python /mnt/b/yoe/master/build/tmp/work/x86_64-linux/nghttp2-native/1.51.0-r0/build/python/CMakeFiles/python | cd /mnt/b/yoe/master/build/tmp/work/x86_64-linux/nghttp2-native/1.51.0-r0/build/python && /mnt/b/yoe/master/build/tmp/work/x86_64-linux/nghttp2-native/1.51.0-r0/recipe-sysroot-native/usr/bin/python3-native/python3 setup.py build | Traceback (most recent call last): | File "/mnt/b/yoe/master/build/tmp/work/x86_64-linux/nghttp2-native/1.51.0-r0/build/python/setup.py", line 24, in | from setuptools import setup, Extension | ModuleNotFoundError: No module named 'setuptools' | ninja: build stopped: subcommand failed. | WARNING: /mnt/b/yoe/master/build/tmp/work/x86_64-linux/nghttp2-native/1.51.0-r0/temp/run.do_compile.2200023:167 exit 1 from 'eval ${DESTDIR:+DESTDIR=${DESTDIR} } cmake --build '/mnt/b/yoe/master/build/tmp/work/x86_64-linux/nghttp2-native/1.51.0-r0/build' "$@" -- ${EXTRA_OECMAKE_BUILD}' On Sat, Jan 28, 2023 at 12:03 AM Changqing Li wrote: On 1/20/23 09:48, Changqing Li wrote: On 1/16/23 05:30, Alexandre Belloni wrote: CAUTION: This email comes from a non Wind River email account! Do not click links or open attachments unless you recognize the sender and know the content is safe. On 13/01/2023 16:04:42+0800, Changqing Li wrote: On 1/5/23 22:09, Alexandre Belloni wrote: CAUTION: This email comes from a non Wind River email account! Do not click links or open attachments unless you recognize the sender and know the content is safe. This fails on the AB: https://autobuilder.yoctoproject.org/typhoon/#/builders/80/builds/4580/steps/14/logs/stdio Hi, Alexandre I need some help to debug this issue. I cannot reproduce this issue on my host. First, the gcc command used to build the binary conftest will have as-needed enabled by default, so actually, these libs will not be linked, and runtime check will passed. Refer the command: gcc -o conftest -isystem/mnt/lincd/build/tmp-glibc/work/x86_64-linux/curl-native/7.87.0-r0/recipe-sysroot-native/usr/include -pipe -Werror-implicit-function-declaration -g -O2 -std=gnu89 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wbad-function-cast -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wold-style-definition -Wstrict-aliasing=3 -Wcast-align -Wtype-limits -Wold-style-declaration -Wmissing-parameter-type -Wempty-body -Wclobbered -Wignored-qualifiers -Wconversion -Wno-sign-conversion -Wvla -ftree-vrp -Wdouble-promotion -Wformat=2 -Warray-bounds=2 -Wshift-negative-value -Wshift-overflow=2 -Wnull-dereference -fdelete-null-pointer-checks -Wduplicated-cond -Wunused-const-variable -Wduplicated-branches -Wrestrict -Walloc-zero -Wformat-overflow=2 -Wformat-truncation=2 -Wimplicit-fallthrough=4 -Wno-system-headers -isystem/mnt/lincd/build/tmp-glibc/work/x86_64-linux/curl-native/7.87.0-r0/recipe-sysroot-native/usr/include -I/mnt/lincd/build/tmp-glibc/work/x86_64-linux/curl-native/7.87.0-r0/recipe-sysroot-native/usr/lib/..//include -I/mnt/lincd/build/tmp-glibc/work/x86_64-linux/curl-native/7.87.0-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include -DOPENSSL_SUPPRESS_DEPRECATED -I/mnt/lincd/build/tmp-glibc/work/x86_64-linux/curl-native/7.87.0-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include -L/mnt/lincd/build/tmp-glibc/work/x86_64-linux/curl-native/7.87.0-r0/recipe-sysroot-native/usr/lib -L/mnt/lincd/build/tmp-glibc/work/x86_64-linux/curl-native/7.87.0-r0/recipe-sysroot-native/lib -Wl,--enable-new-dtags -Wl,-rpath-link,/mnt/lincd/build/tmp-glibc/work/x86_64-linux/curl-native/7.87.0-r0/recipe-sysroot-native/usr/lib
Re: [OE-core] [PATCH 2/2] curl: enable nghttp2 for support HTTP2
I have sent a fix for nghttp2 which unblocks builds on archlinux build hosts atleast. On Sat, Jan 28, 2023 at 3:17 PM Khem Raj wrote: > > still failing on archlinux > > | [26/27] Generating nghttp2.c > | /usr/lib/python3.10/site-packages/Cython/Compiler/Main.py:369: > FutureWarning: Cython directive 'language_level' not set, using 2 for > now (Py2). This will change in a later release! File: > /mnt/b/yoe/master/build/tmp/work/x86_64-linux/nghttp2-native/1.51.0-r0/nghttp2-1.51.0/python/nghttp2.pyx > | tree = Parsing.p_module(s, pxd, full_module_name) > | [27/27] cd > /mnt/b/yoe/master/build/tmp/work/x86_64-linux/nghttp2-native/1.51.0-r0/build/python > && > /mnt/b/yoe/master/build/tmp/work/x86_64-linux/nghttp2-native/1.51.0-r0/recipe-sysroot-native/usr/bin/python3-native/python3 > setup.py build > | FAILED: python/CMakeFiles/python > /mnt/b/yoe/master/build/tmp/work/x86_64-linux/nghttp2-native/1.51.0-r0/build/python/CMakeFiles/python > | cd > /mnt/b/yoe/master/build/tmp/work/x86_64-linux/nghttp2-native/1.51.0-r0/build/python > && > /mnt/b/yoe/master/build/tmp/work/x86_64-linux/nghttp2-native/1.51.0-r0/recipe-sysroot-native/usr/bin/python3-native/python3 > setup.py build > | Traceback (most recent call last): > | File > "/mnt/b/yoe/master/build/tmp/work/x86_64-linux/nghttp2-native/1.51.0-r0/build/python/setup.py", > line 24, in > | from setuptools import setup, Extension > | ModuleNotFoundError: No module named 'setuptools' > | ninja: build stopped: subcommand failed. > | WARNING: > /mnt/b/yoe/master/build/tmp/work/x86_64-linux/nghttp2-native/1.51.0-r0/temp/run.do_compile.2200023:167 > exit 1 from 'eval ${DESTDIR:+DESTDIR=${DESTDIR} } cmake --build > '/mnt/b/yoe/master/build/tmp/work/x86_64-linux/nghttp2-native/1.51.0-r0/build' > "$@" -- ${EXTRA_OECMAKE_BUILD}' > > > > On Sat, Jan 28, 2023 at 12:03 AM Changqing Li > wrote: > > > > On 1/20/23 09:48, Changqing Li wrote: > > > > > > On 1/16/23 05:30, Alexandre Belloni wrote: > > >> CAUTION: This email comes from a non Wind River email account! > > >> Do not click links or open attachments unless you recognize the > > >> sender and know the content is safe. > > >> > > >> On 13/01/2023 16:04:42+0800, Changqing Li wrote: > > >>> On 1/5/23 22:09, Alexandre Belloni wrote: > > CAUTION: This email comes from a non Wind River email account! > > Do not click links or open attachments unless you recognize the > > sender and know the content is safe. > > > > This fails on the AB: > > > > https://autobuilder.yoctoproject.org/typhoon/#/builders/80/builds/4580/steps/14/logs/stdio > > > > >>> Hi, Alexandre > > >>> > > >>> I need some help to debug this issue. > > >>> > > >>> I cannot reproduce this issue on my host. First, the gcc command > > >>> used to > > >>> build the binary conftest will > > >>> > > >>> have as-needed enabled by default, so actually, these libs will > > >>> not be > > >>> linked, and runtime check will passed. > > >>> > > >>> Refer the command: > > >>> > > >>> gcc -o conftest > > >>> -isystem/mnt/lincd/build/tmp-glibc/work/x86_64-linux/curl-native/7.87.0-r0/recipe-sysroot-native/usr/include > > >>> -pipe -Werror-implicit-function-declaration -g -O2 -std=gnu89 -pedantic > > >>> -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline > > >>> -Wnested-externs -Wmissing-declarations -Wmissing-prototypes > > >>> -Wno-long-long > > >>> -Wbad-function-cast -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef > > >>> -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes > > >>> -Wdeclaration-after-statement -Wold-style-definition > > >>> -Wstrict-aliasing=3 > > >>> -Wcast-align -Wtype-limits -Wold-style-declaration > > >>> -Wmissing-parameter-type > > >>> -Wempty-body -Wclobbered -Wignored-qualifiers -Wconversion > > >>> -Wno-sign-conversion -Wvla -ftree-vrp -Wdouble-promotion -Wformat=2 > > >>> -Warray-bounds=2 -Wshift-negative-value -Wshift-overflow=2 > > >>> -Wnull-dereference -fdelete-null-pointer-checks -Wduplicated-cond > > >>> -Wunused-const-variable -Wduplicated-branches -Wrestrict -Walloc-zero > > >>> -Wformat-overflow=2 -Wformat-truncation=2 -Wimplicit-fallthrough=4 > > >>> -Wno-system-headers > > >>> -isystem/mnt/lincd/build/tmp-glibc/work/x86_64-linux/curl-native/7.87.0-r0/recipe-sysroot-native/usr/include > > >>> -I/mnt/lincd/build/tmp-glibc/work/x86_64-linux/curl-native/7.87.0-r0/recipe-sysroot-native/usr/lib/..//include > > >>> -I/mnt/lincd/build/tmp-glibc/work/x86_64-linux/curl-native/7.87.0-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include > > >>> > > >>> -DOPENSSL_SUPPRESS_DEPRECATED > > >>> -I/mnt/lincd/build/tmp-glibc/work/x86_64-linux/curl-native/7.87.0-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include > > >>> -L/mnt/lincd/build/tmp-glibc/work/x86_64-linux/curl-native/7.87.0-r0/recipe-sysroot-native/usr/lib > > >>> -L/mnt/lincd/build/tmp-glibc/work/x86_64-linux/curl-native/7.87.0-r0/recipe-sysroot-native/lib > > >>> > > >>>
[OE-core] [PATCH] nghttp2: Always enable python bindings
This makes the build host agnostic, otherwise on some hosts e.g. (archlinux) it ends up using cython compiler from build host, mixing python3-native and cython from host is not a tested combination and can result in obscure errors. Lets make it use cython from OE native packages and also enable the bindings explicitly. Signed-off-by: Khem Raj --- meta/recipes-support/nghttp2/nghttp2_1.51.0.bb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/meta/recipes-support/nghttp2/nghttp2_1.51.0.bb b/meta/recipes-support/nghttp2/nghttp2_1.51.0.bb index fc1a592200..4402b80d1a 100644 --- a/meta/recipes-support/nghttp2/nghttp2_1.51.0.bb +++ b/meta/recipes-support/nghttp2/nghttp2_1.51.0.bb @@ -4,6 +4,8 @@ SECTION = "libs" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://COPYING;md5=764abdf30b2eadd37ce47dcbce0ea1ec" +DEPENDS += "python3-cython-native" + SRC_URI = "\ ${GITHUB_BASE_URI}/download/v${PV}/nghttp2-${PV}.tar.xz \ file://0001-fetch-ocsp-response-use-python3.patch \ @@ -15,7 +17,7 @@ PACKAGECONFIG[manpages] = "" # examples are never installed, and don't need to be built in the # first place -EXTRA_OECMAKE = "-DENABLE_EXAMPLES=OFF -DENABLE_APP=OFF -DENABLE_HPACK_TOOLS=OFF" +EXTRA_OECMAKE = "-DENABLE_EXAMPLES=OFF -DENABLE_APP=OFF -DENABLE_HPACK_TOOLS=OFF -DENABLE_PYTHON_BINDINGS=ON" PACKAGES =+ "lib${BPN} ${PN}-client ${PN}-proxy ${PN}-server" -- 2.39.1 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#176464): https://lists.openembedded.org/g/openembedded-core/message/176464 Mute This Topic: https://lists.openembedded.org/mt/96597541/21656 Group Owner: openembedded-core+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
Re: [OE-core] [PATCH 2/2] curl: enable nghttp2 for support HTTP2
still failing on archlinux | [26/27] Generating nghttp2.c | /usr/lib/python3.10/site-packages/Cython/Compiler/Main.py:369: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /mnt/b/yoe/master/build/tmp/work/x86_64-linux/nghttp2-native/1.51.0-r0/nghttp2-1.51.0/python/nghttp2.pyx | tree = Parsing.p_module(s, pxd, full_module_name) | [27/27] cd /mnt/b/yoe/master/build/tmp/work/x86_64-linux/nghttp2-native/1.51.0-r0/build/python && /mnt/b/yoe/master/build/tmp/work/x86_64-linux/nghttp2-native/1.51.0-r0/recipe-sysroot-native/usr/bin/python3-native/python3 setup.py build | FAILED: python/CMakeFiles/python /mnt/b/yoe/master/build/tmp/work/x86_64-linux/nghttp2-native/1.51.0-r0/build/python/CMakeFiles/python | cd /mnt/b/yoe/master/build/tmp/work/x86_64-linux/nghttp2-native/1.51.0-r0/build/python && /mnt/b/yoe/master/build/tmp/work/x86_64-linux/nghttp2-native/1.51.0-r0/recipe-sysroot-native/usr/bin/python3-native/python3 setup.py build | Traceback (most recent call last): | File "/mnt/b/yoe/master/build/tmp/work/x86_64-linux/nghttp2-native/1.51.0-r0/build/python/setup.py", line 24, in | from setuptools import setup, Extension | ModuleNotFoundError: No module named 'setuptools' | ninja: build stopped: subcommand failed. | WARNING: /mnt/b/yoe/master/build/tmp/work/x86_64-linux/nghttp2-native/1.51.0-r0/temp/run.do_compile.2200023:167 exit 1 from 'eval ${DESTDIR:+DESTDIR=${DESTDIR} } cmake --build '/mnt/b/yoe/master/build/tmp/work/x86_64-linux/nghttp2-native/1.51.0-r0/build' "$@" -- ${EXTRA_OECMAKE_BUILD}' On Sat, Jan 28, 2023 at 12:03 AM Changqing Li wrote: > > On 1/20/23 09:48, Changqing Li wrote: > > > > On 1/16/23 05:30, Alexandre Belloni wrote: > >> CAUTION: This email comes from a non Wind River email account! > >> Do not click links or open attachments unless you recognize the > >> sender and know the content is safe. > >> > >> On 13/01/2023 16:04:42+0800, Changqing Li wrote: > >>> On 1/5/23 22:09, Alexandre Belloni wrote: > CAUTION: This email comes from a non Wind River email account! > Do not click links or open attachments unless you recognize the > sender and know the content is safe. > > This fails on the AB: > > https://autobuilder.yoctoproject.org/typhoon/#/builders/80/builds/4580/steps/14/logs/stdio > > >>> Hi, Alexandre > >>> > >>> I need some help to debug this issue. > >>> > >>> I cannot reproduce this issue on my host. First, the gcc command > >>> used to > >>> build the binary conftest will > >>> > >>> have as-needed enabled by default, so actually, these libs will > >>> not be > >>> linked, and runtime check will passed. > >>> > >>> Refer the command: > >>> > >>> gcc -o conftest > >>> -isystem/mnt/lincd/build/tmp-glibc/work/x86_64-linux/curl-native/7.87.0-r0/recipe-sysroot-native/usr/include > >>> -pipe -Werror-implicit-function-declaration -g -O2 -std=gnu89 -pedantic > >>> -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline > >>> -Wnested-externs -Wmissing-declarations -Wmissing-prototypes > >>> -Wno-long-long > >>> -Wbad-function-cast -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef > >>> -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes > >>> -Wdeclaration-after-statement -Wold-style-definition > >>> -Wstrict-aliasing=3 > >>> -Wcast-align -Wtype-limits -Wold-style-declaration > >>> -Wmissing-parameter-type > >>> -Wempty-body -Wclobbered -Wignored-qualifiers -Wconversion > >>> -Wno-sign-conversion -Wvla -ftree-vrp -Wdouble-promotion -Wformat=2 > >>> -Warray-bounds=2 -Wshift-negative-value -Wshift-overflow=2 > >>> -Wnull-dereference -fdelete-null-pointer-checks -Wduplicated-cond > >>> -Wunused-const-variable -Wduplicated-branches -Wrestrict -Walloc-zero > >>> -Wformat-overflow=2 -Wformat-truncation=2 -Wimplicit-fallthrough=4 > >>> -Wno-system-headers > >>> -isystem/mnt/lincd/build/tmp-glibc/work/x86_64-linux/curl-native/7.87.0-r0/recipe-sysroot-native/usr/include > >>> -I/mnt/lincd/build/tmp-glibc/work/x86_64-linux/curl-native/7.87.0-r0/recipe-sysroot-native/usr/lib/..//include > >>> -I/mnt/lincd/build/tmp-glibc/work/x86_64-linux/curl-native/7.87.0-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include > >>> > >>> -DOPENSSL_SUPPRESS_DEPRECATED > >>> -I/mnt/lincd/build/tmp-glibc/work/x86_64-linux/curl-native/7.87.0-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include > >>> -L/mnt/lincd/build/tmp-glibc/work/x86_64-linux/curl-native/7.87.0-r0/recipe-sysroot-native/usr/lib > >>> -L/mnt/lincd/build/tmp-glibc/work/x86_64-linux/curl-native/7.87.0-r0/recipe-sysroot-native/lib > >>> > >>> -Wl,--enable-new-dtags > >>> -Wl,-rpath-link,/mnt/lincd/build/tmp-glibc/work/x86_64-linux/curl-native/7.87.0-r0/recipe-sysroot-native/usr/lib > >>> -Wl,-rpath-link,/mnt/lincd/build/tmp-glibc/work/x86_64-linux/curl-native/7.87.0-r0/recipe-sysroot-native/lib > >>>
Re: [OE-core] Toaster: where are variable descriptions used?
On Mon, Jan 2, 2023 at 8:24 AM Richard Purdie < richard.pur...@linuxfoundation.org> wrote: > On Mon, 2023-01-02 at 17:12 +0100, Michael Opdenacker via > lists.openembedded.org wrote: > > Hello, > > > > I'm checking for Bitbake variables which should be documented in > > meta/conf/documentation.conf, but before that, I'd like to check how > > such information is used. > > > > In the "Bitbake variables" section, I can see help information about > > some variables, as in the attached screenshot. > > > > However, if I add a new variable such as "NO_RECOMMENDATIONS", no help > > information is provided about it, even though it is described in > > meta/conf/documentation.conf. > > > > It also turns out that the help information I get on this section comes > > from bitbake/lib/toaster/toastergui/templates/projectconf.html instead. > > > > So, where are variable descriptions in meta/conf/documentation.conf > > actually used? > > I have a suspicion that the html may be generated by a script from > documentation.conf but I don't really remember. Adding David Reyna to > cc in case he knows. > > The variables at the top of that screen capture have hard-coded "help" (tooltip) text. I believe this was because some/most of the descriptions are Toaster specific. The dynamically generated html for user defined config variables comes from https://git.yoctoproject.org/poky/tree/bitbake/lib/toaster/toastergui/templates/projectconf.html#n445 Interestingly, build configuration variables do actually parse the "documentation.conf" (via "bitbake.conf") in https://git.yoctoproject.org/poky/tree/bitbake/lib/toaster/toastergui/templates/configvars.html#n68 which pulls data from https://git.yoctoproject.org/poky/tree/bitbake/lib/toaster/toastergui/views.py#n906 which can be viewed at e.g. http://localhost:8000/toastergui/build/1/configvars Unfortunately, such a query is not defined in the projectconf view https://git.yoctoproject.org/poky/tree/bitbake/lib/toaster/toastergui/views.py#n1795 It appears that the scope of variables was intentionally kept to a smaller set? Cheers, > > Richard > > > > -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#176462): https://lists.openembedded.org/g/openembedded-core/message/176462 Mute This Topic: https://lists.openembedded.org/mt/96009476/21656 Group Owner: openembedded-core+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
Re: [OE-Core][PATCH] rust: Upgrade 1.66.1 -> 1.67.0
On Sat, 28 Jan 2023 at 18:39, Alex Kiernan wrote: > Generate complete list of rust-snapshot artefacts from src/stage0.json. ... > -# TODO: Add hashes for other architecture toolchains as well. Make a script? > -SRC_URI[rust-std-snapshot-x86_64.sha256sum] = > "2b588cd2d49688c0c33b7466614123e8fe4c910f4d802fc0ff0662b1772816a9" > -SRC_URI[rustc-snapshot-x86_64.sha256sum] = > "62b89786e195fc5a8a262f83118d6689832b24228c9d303cba8ac14dc1e9adc8" > -SRC_URI[cargo-snapshot-x86_64.sha256sum] = > "82547aacaf42fc3c2970ec31b96751dfbeba3dffe1a042a3780bd670c29a89bf" > +SRC_URI[cargo-snapshot-aarch64.sha256sum] = > "61736a6ec61a4eaa9a7b3f219d9f8166ae97c1acd54b5e904c15fb8caff06250" > +SRC_URI[rust-std-snapshot-aarch64.sha256sum] = > "9d96ba6a5a255339cd04af079d906753d56c85503c727279c227d24bd4987e24" > +SRC_URI[rustc-snapshot-aarch64.sha256sum] = > "b4d842594ba11a84712c2d1bbf7f7945cfcc2485c72861a23b488fefba5c6a45" > > -SRC_URI[rust-std-snapshot-aarch64.sha256sum] = > "735b681c8a6e60925c76d6cc899e78b4cb4562ada24a1f265b2021c1faad78ad" > -SRC_URI[rustc-snapshot-aarch64.sha256sum] = > "67c3d3545fd898c1383071c0f6296453565e0da10903c50652d7bf679b53e8a2" > -SRC_URI[cargo-snapshot-aarch64.sha256sum] = > "3fd483c0d58673ab69862824408c8a48612827ddcdeaaca0f8fbe5ca02214a4c" > +SRC_URI[cargo-snapshot-i686.sha256sum] = > "fb0c1aa922c4e41fead9d35090769309cb45648d6f77ccbe8d2ba125a75cc2af" > +SRC_URI[rust-std-snapshot-i686.sha256sum] = > "b32cbbb9002f8a20b302823a2ff122a91f077b5e1a7bc1340de690ded86bf10b" > +SRC_URI[rustc-snapshot-i686.sha256sum] = > "e2ab464f43d6319ddb9796cbfacd444dc40f3d0e7503d672c23ecbe0daf11e1c" > > -SRC_URI[rust-std-snapshot-powerpc64le.sha256sum] = > "ce18b44300f7d5d94856cef5b270ba010061fafa411beb9782207e26cbab88a6" > -SRC_URI[rustc-snapshot-powerpc64le.sha256sum] = > "a6ce7aadd10a3fd84fe4717a59378421a65b101b61f27eed8b09336b8daf62cf" > -SRC_URI[cargo-snapshot-powerpc64le.sha256sum] = > "9393de910df7cd6947e380460a1144ac2373a36c776c7367a81212a51a92d9a7" > +SRC_URI[cargo-snapshot-mips.sha256sum] = > "0f03d6d35b6044dc81a4d5eb9bd42c9d1e8c0e85363f960ff921ebe46294ae45" > +SRC_URI[rust-std-snapshot-mips.sha256sum] = > "e6029b4cec5d6c06c34a0dbec614fa252fdc8cf31013d6e561112cf90f742568" > +SRC_URI[rustc-snapshot-mips.sha256sum] = > "64ad92525ae1f018e08c055d7892e0fc613437bde8cf614b1c2a8986488290e7" > + > +SRC_URI[cargo-snapshot-mipsel.sha256sum] = > "74d757a456d2fbb418c253db203c0bb3f71d797e4ab3e2804b6c594a18e0f199" > +SRC_URI[rust-std-snapshot-mipsel.sha256sum] = > "8bfa3d6079c6df049978fe61b1ccaf992aecd006e23df2439ecfc883bd8bc31b" > +SRC_URI[rustc-snapshot-mipsel.sha256sum] = > "f2674d60ce52c49048e9823af57aae24bb6722e8998783819ec884222caeccf3" > + > +SRC_URI[cargo-snapshot-powerpc.sha256sum] = > "f771fa4294c8e0d5d0e58129fe9d4e0913566dd43523b6f0af19a08004004df8" > +SRC_URI[rust-std-snapshot-powerpc.sha256sum] = > "417b12a9bf090d694514937cd8c321ed625f155248f63c0de8207b17fa4b35b1" > +SRC_URI[rustc-snapshot-powerpc.sha256sum] = > "ff16d02c100086175b9fbcfff4d3705fb4f5b58a6506ec7667dc86c56b8bb3c7" > + > +SRC_URI[cargo-snapshot-powerpc64.sha256sum] = > "9a933d39e6b028e73db9cc0959af84128824e0b11554e3a0171cad7635a343c7" > +SRC_URI[rust-std-snapshot-powerpc64.sha256sum] = > "7074c4ea9fcc683ceb0adcca6ba07544a1d91f0e5d2a4cf14c81eb14316ebf35" > +SRC_URI[rustc-snapshot-powerpc64.sha256sum] = > "f5bff79d517e2f721839462881331bdc1b8323a434f4ebe0529f93213adb2a24" > + > +SRC_URI[cargo-snapshot-powerpc64le.sha256sum] = > "29fa2e003f4bf3e37a3fb506d5b7ab19eb6412b5966d865e082b354637d5d84a" > +SRC_URI[rust-std-snapshot-powerpc64le.sha256sum] = > "4c64a09be872b5832b50d681fbe29691b6a5d3e23ee5535020fa22b8b453c770" > +SRC_URI[rustc-snapshot-powerpc64le.sha256sum] = > "3b4322b519b0f7fbcf88511b2061be1499921517d810d7696be58a16467d4589" > + > +SRC_URI[cargo-snapshot-riscv64gc.sha256sum] = > "f362cf575fde92f988d5b1fe19fd463a1905d8d2a3844168034df49b1dffb10b" > +SRC_URI[rust-std-snapshot-riscv64gc.sha256sum] = > "776eff6f451845e88224714ee6da7819e34f01b7625bf927394c2b91e5c8243c" > +SRC_URI[rustc-snapshot-riscv64gc.sha256sum] = > "84bea70d3acb6af04ae4c0f49f904bba4e2644b92c5996aacbafd7610dd0e147" > + > +SRC_URI[cargo-snapshot-s390x.sha256sum] = > "f69ea091fa1ee4871a46cb9fa1da5b81fa2980687f3bedbc4677a4a82f8da0c0" > +SRC_URI[rust-std-snapshot-s390x.sha256sum] = > "51d1567e1d28e43c2165886f5a4955dcdaa41aa5ddcec5fb08200491fd1f6062" > +SRC_URI[rustc-snapshot-s390x.sha256sum] = > "25a047db8ec0627bb7054eafe6edca6ce4c473b30d6766b30cbff1c536d0673b" > + > +SRC_URI[cargo-snapshot-x86_64.sha256sum] = > "a636f83eb2327a66f484b9592ab305c6642df16fc80d0d1cb727e766a60da904" > +SRC_URI[rust-std-snapshot-x86_64.sha256sum] = > "c5e2c9b160bd8d99514f13cfbc0e42a722fd9ca14e6aaca4b9b77731a7a48377" > +SRC_URI[rustc-snapshot-x86_64.sha256sum] = > "242855e2626860aede6957dc56481cc02acf8cad12fa5bbbcbd93f9c51f0b3ad" > + > +SRC_URI[rust-std-snapshot-i586.sha256sum] = > "90eb8e2490283930e682b79842d664d4867414563353d53dafc47eccf44aea17" > + >
[OE-Core][PATCH] rust: Upgrade 1.66.1 -> 1.67.0
Disable ZStd to avoid needing libzstd in llvm (mirrors zlib disable). Generate complete list of rust-snapshot artefacts from src/stage0.json. Drop clippy-driver reproducibility change as the code is gone from upstream. Release notes: https://releases.rs/docs/1.67.0/ License-Update: Unicode-TOU text added (already in our license string) Signed-off-by: Alex Kiernan --- meta/conf/distro/include/tcmode-default.inc | 2 +- .../rust/{cargo_1.66.1.bb => cargo_1.67.0.bb} | 0 .../rust/files/crossbeam_atomic.patch | 12 ++-- .../rust/files/hardcodepaths.patch| 12 ...ibstd-rs_1.66.1.bb => libstd-rs_1.67.0.bb} | 2 +- 66.1.bb => rust-cross-canadian_1.67.0.bb} | 0 ...ust-llvm_1.66.1.bb => rust-llvm_1.67.0.bb} | 3 +- meta/recipes-devtools/rust/rust-snapshot.inc | 63 ++- meta/recipes-devtools/rust/rust-source.inc| 2 +- .../rust/{rust_1.66.1.bb => rust_1.67.0.bb} | 2 +- 10 files changed, 59 insertions(+), 39 deletions(-) rename meta/recipes-devtools/rust/{cargo_1.66.1.bb => cargo_1.67.0.bb} (100%) rename meta/recipes-devtools/rust/{libstd-rs_1.66.1.bb => libstd-rs_1.67.0.bb} (94%) rename meta/recipes-devtools/rust/{rust-cross-canadian_1.66.1.bb => rust-cross-canadian_1.67.0.bb} (100%) rename meta/recipes-devtools/rust/{rust-llvm_1.66.1.bb => rust-llvm_1.67.0.bb} (98%) rename meta/recipes-devtools/rust/{rust_1.66.1.bb => rust_1.67.0.bb} (99%) diff --git a/meta/conf/distro/include/tcmode-default.inc b/meta/conf/distro/include/tcmode-default.inc index f628e00d3336..7cd0b004e982 100644 --- a/meta/conf/distro/include/tcmode-default.inc +++ b/meta/conf/distro/include/tcmode-default.inc @@ -25,7 +25,7 @@ LINUXLIBCVERSION ?= "6.1%" QEMUVERSION ?= "7.2%" GOVERSION ?= "1.19%" LLVMVERSION ?= "15.%" -RUSTVERSION ?= "1.66%" +RUSTVERSION ?= "1.67%" PREFERRED_VERSION_gcc ?= "${GCCVERSION}" PREFERRED_VERSION_gcc-cross-${TARGET_ARCH} ?= "${GCCVERSION}" diff --git a/meta/recipes-devtools/rust/cargo_1.66.1.bb b/meta/recipes-devtools/rust/cargo_1.67.0.bb similarity index 100% rename from meta/recipes-devtools/rust/cargo_1.66.1.bb rename to meta/recipes-devtools/rust/cargo_1.67.0.bb diff --git a/meta/recipes-devtools/rust/files/crossbeam_atomic.patch b/meta/recipes-devtools/rust/files/crossbeam_atomic.patch index b24ac439c66e..51dd3c5f65aa 100644 --- a/meta/recipes-devtools/rust/files/crossbeam_atomic.patch +++ b/meta/recipes-devtools/rust/files/crossbeam_atomic.patch @@ -17,10 +17,10 @@ to create a patch that upstream might accept. Upstream-Status: Submitted [https://github.com/crossbeam-rs/crossbeam/pull/922] Signed-off-by: Richard Purdie -Index: rustc-1.66.0-src/vendor/crossbeam-utils/build.rs +Index: rustc-1.66.0-src/vendor/crossbeam-utils-0.8.12/build.rs === rustc-1.66.0-src.orig/vendor/crossbeam-utils/build.rs -+++ rustc-1.66.0-src/vendor/crossbeam-utils/build.rs +--- rustc-1.66.0-src.orig/vendor/crossbeam-utils-0.8.12/build.rs rustc-1.66.0-src/vendor/crossbeam-utils-0.8.12/build.rs @@ -29,7 +29,7 @@ use std::env; include!("no_atomic.rs"); @@ -39,10 +39,10 @@ Index: rustc-1.66.0-src/vendor/crossbeam-utils/build.rs // Note that this is `no_`*, not `has_*`. This allows treating as the latest // stable rustc is used when the build script doesn't run. This is useful -Index: rustc-1.66.0-src/vendor/crossbeam-utils/.cargo-checksum.json +Index: rustc-1.66.0-src/vendor/crossbeam-utils-0.8.12/.cargo-checksum.json === rustc-1.66.0-src.orig/vendor/crossbeam-utils/.cargo-checksum.json -+++ rustc-1.66.0-src/vendor/crossbeam-utils/.cargo-checksum.json +--- rustc-1.66.0-src.orig/vendor/crossbeam-utils-0.8.12/.cargo-checksum.json rustc-1.66.0-src/vendor/crossbeam-utils-0.8.12/.cargo-checksum.json @@ -1 +1 @@
Re: [OE-core] [PATCH 2/2] curl: enable nghttp2 for support HTTP2
On 1/20/23 09:48, Changqing Li wrote: On 1/16/23 05:30, Alexandre Belloni wrote: CAUTION: This email comes from a non Wind River email account! Do not click links or open attachments unless you recognize the sender and know the content is safe. On 13/01/2023 16:04:42+0800, Changqing Li wrote: On 1/5/23 22:09, Alexandre Belloni wrote: CAUTION: This email comes from a non Wind River email account! Do not click links or open attachments unless you recognize the sender and know the content is safe. This fails on the AB: https://autobuilder.yoctoproject.org/typhoon/#/builders/80/builds/4580/steps/14/logs/stdio Hi, Alexandre I need some help to debug this issue. I cannot reproduce this issue on my host. First, the gcc command used to build the binary conftest will have as-needed enabled by default, so actually, these libs will not be linked, and runtime check will passed. Refer the command: gcc -o conftest -isystem/mnt/lincd/build/tmp-glibc/work/x86_64-linux/curl-native/7.87.0-r0/recipe-sysroot-native/usr/include -pipe -Werror-implicit-function-declaration -g -O2 -std=gnu89 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wbad-function-cast -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wold-style-definition -Wstrict-aliasing=3 -Wcast-align -Wtype-limits -Wold-style-declaration -Wmissing-parameter-type -Wempty-body -Wclobbered -Wignored-qualifiers -Wconversion -Wno-sign-conversion -Wvla -ftree-vrp -Wdouble-promotion -Wformat=2 -Warray-bounds=2 -Wshift-negative-value -Wshift-overflow=2 -Wnull-dereference -fdelete-null-pointer-checks -Wduplicated-cond -Wunused-const-variable -Wduplicated-branches -Wrestrict -Walloc-zero -Wformat-overflow=2 -Wformat-truncation=2 -Wimplicit-fallthrough=4 -Wno-system-headers -isystem/mnt/lincd/build/tmp-glibc/work/x86_64-linux/curl-native/7.87.0-r0/recipe-sysroot-native/usr/include -I/mnt/lincd/build/tmp-glibc/work/x86_64-linux/curl-native/7.87.0-r0/recipe-sysroot-native/usr/lib/..//include -I/mnt/lincd/build/tmp-glibc/work/x86_64-linux/curl-native/7.87.0-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include -DOPENSSL_SUPPRESS_DEPRECATED -I/mnt/lincd/build/tmp-glibc/work/x86_64-linux/curl-native/7.87.0-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include -L/mnt/lincd/build/tmp-glibc/work/x86_64-linux/curl-native/7.87.0-r0/recipe-sysroot-native/usr/lib -L/mnt/lincd/build/tmp-glibc/work/x86_64-linux/curl-native/7.87.0-r0/recipe-sysroot-native/lib -Wl,--enable-new-dtags -Wl,-rpath-link,/mnt/lincd/build/tmp-glibc/work/x86_64-linux/curl-native/7.87.0-r0/recipe-sysroot-native/usr/lib -Wl,-rpath-link,/mnt/lincd/build/tmp-glibc/work/x86_64-linux/curl-native/7.87.0-r0/recipe-sysroot-native/lib -Wl,-rpath,/mnt/lincd/build/tmp-glibc/work/x86_64-linux/curl-native/7.87.0-r0/recipe-sysroot-native/usr/lib -Wl,-rpath,/mnt/lincd/build/tmp-glibc/work/x86_64-linux/curl-native/7.87.0-r0/recipe-sysroot-native/lib -Wl,-O1 -Wl,--allow-shlib-undefined -Wl,--dynamic-linker=/mnt/lincd/build/tmp-glibc/sysroots-uninative/x86_64-linux/lib/ld-linux-x86-64.so.2 -L/mnt/lincd/build/tmp-glibc/work/x86_64-linux/curl-native/7.87.0-r0/recipe-sysroot-native/usr/lib/..//lib -L/mnt/lincd/build/tmp-glibc/work/x86_64-linux/curl-native/7.87.0-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/lib -L/mnt/lincd/build/tmp-glibc/work/x86_64-linux/curl-native/7.87.0-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/lib conftest.c -lnghttp2 -lssl -lcrypto -lssl -lcrypto -lz I also tried to add "-Wl,--no-as-needed" in above comand, and manually run it, then conftest will link those libraries. These libraries can also be found at runtime since these libraries will be in recipe-sysroot-native. $/mnt/yocto/test/tmp/work/x86_64-linux/curl-native/7.87.0-r0/build# ldd conftest linux-vdso.so.1 (0x7ffd447c1000) libnghttp2.so.14 => /mnt/lincd/build/tmp-glibc/work/x86_64-linux/curl-native/7.87.0-r0/recipe-sysroot-native/usr/lib/libnghttp2.so.14 (0x7f6bd36af000) libssl.so.3 => /mnt/lincd/build/tmp-glibc/work/x86_64-linux/curl-native/7.87.0-r0/recipe-sysroot-native/usr/lib/libssl.so.3 (0x7f6bd3606000) libcrypto.so.3 => /mnt/lincd/build/tmp-glibc/work/x86_64-linux/curl-native/7.87.0-r0/recipe-sysroot-native/usr/lib/libcrypto.so.3 (0x7f6bd31cf000) libz.so.1 => /mnt/lincd/build/tmp-glibc/work/x86_64-linux/curl-native/7.87.0-r0/recipe-sysroot-native/usr/lib/libz.so.1 (0x7f6bd31b5000) libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x7f6bd2fb9000) libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x7f6bd2f96000) libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x7f6bd2f9) /mnt/lincd/build/tmp-glibc/sysroots-uninative/x86_64-linux/lib/ld-linux-x86-64.so.2 =>