This breaks the do_install when "shared" PACKAGECONFIG is enabled, see:

http://errors.yoctoproject.org/Errors/Details/689959/


On Wed, Feb 8, 2023 at 2:12 PM Polampalli, Archana <
[email protected]> wrote:

> Correct libdir used at configure time to avoid packaging warnings
> WARNING: nodejs-18.12.1-r0 do_package_qa: QA Issue:
> File /usr/bin/node in package nodejs contains reference to TMPDIR
> [buildpaths]
> File /usr/bin/.debug/node in package nodejs-dbg contains reference to
> TMPDIR
> File /usr/lib64/nodejs/ptest/.debug/cctest in package nodejs-dbg contains
> reference to TMPDIR [buildpaths]
> File /usr/lib64/nodejs/ptest/cctest in package nodejs-ptest contains
> reference to TMPDIR [buildpaths]
> File /usr/include/node/config.gypi in package nodejs-dev contains
> reference to TMPDIR [buildpaths]
>
> Signed-off-by: Archana Polampalli <[email protected]>
> ---
>  meta-oe/recipes-devtools/nodejs/nodejs_18.12.1.bb | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/meta-oe/recipes-devtools/nodejs/nodejs_18.12.1.bb
> b/meta-oe/recipes-devtools/nodejs/nodejs_18.12.1.bb
> index e96913e56..04a80a6b8 100644
> --- a/meta-oe/recipes-devtools/nodejs/nodejs_18.12.1.bb
> +++ b/meta-oe/recipes-devtools/nodejs/nodejs_18.12.1.bb
> @@ -145,7 +145,7 @@ do_configure () {
>                 --without-etw \
>                 --dest-cpu="${@map_nodejs_arch(d.getVar('TARGET_ARCH'),
> d)}" \
>                 --dest-os=linux \
> -               --libdir=${D}${libdir} \
> +               --libdir=${libdir} \
>                 ${ARCHFLAGS} \
>                 ${PACKAGECONFIG_CONFARGS}
>  }
> --
> 2.34.1
>
>
> 
>
>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#101084): 
https://lists.openembedded.org/g/openembedded-devel/message/101084
Mute This Topic: https://lists.openembedded.org/mt/96829436/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to