Re: [OE-core] [PATCH 01/27] pkgconf: upgrade to version 1.4.2
This is regressing kmod builds ERROR: kmod-25+gitAUTOINC+aca4eca103-r0 do_package: QA Issue: kmod: Files/directories were installed but not shipped in any pack age: /mnt/a/oe-build/build/tmp/work/aarch64-bec-linux/kmod/25+gitAUTOINC+aca4eca103-r0/recipe-sysroot/usr/share/bash-completion/completions/kmod as you can see its stll carrying the sysroot prefix into DESTDIR and this is how kmod is asserting for bash-completion dir with_bashcompletiondir=$($PKG_CONFIG --variable=completionsdir bash-completion) it was working fine with 1.4.0 On Mon, Feb 19, 2018 at 12:36 AM, Maxin B. John wrote: > pkgconf improved compatibility with freedesktop.org pkg-config. > So, we don't need to unset PKG_CONFIG_SYSROOT_DIR in wrappers. > > Signed-off-by: Maxin B. John > --- > meta/recipes-devtools/pkgconf/pkgconf/pkg-config-esdk.in | 4 +--- > meta/recipes-devtools/pkgconf/pkgconf/pkg-config-native.in | 1 - > meta/recipes-devtools/pkgconf/pkgconf/pkg-config-wrapper | 9 > - > .../pkgconf/{pkgconf_1.4.0.bb => pkgconf_1.4.2.bb} | 4 ++-- > 4 files changed, 3 insertions(+), 15 deletions(-) > rename meta/recipes-devtools/pkgconf/{pkgconf_1.4.0.bb => pkgconf_1.4.2.bb} > (95%) > > diff --git a/meta/recipes-devtools/pkgconf/pkgconf/pkg-config-esdk.in > b/meta/recipes-devtools/pkgconf/pkgconf/pkg-config-esdk.in > index 4fc9b0a..d4ac71d 100644 > --- a/meta/recipes-devtools/pkgconf/pkgconf/pkg-config-esdk.in > +++ b/meta/recipes-devtools/pkgconf/pkgconf/pkg-config-esdk.in > @@ -5,7 +5,6 @@ > if [ "pkg-config-native" = "`basename $0`" ] ; then > PKG_CONFIG_PATH="@PATH_NATIVE@" > PKG_CONFIG_LIBDIR="@LIBDIR_NATIVE@" > - unset PKG_CONFIG_SYSROOT_DIR > else > # in this case check if we are in the esdk > if [ "$OE_SKIP_SDK_CHECK" = "1" ] ; then > @@ -16,9 +15,8 @@ else > if ( echo $parentpid_info | grep -q check-lxdialog ) ; then > PKG_CONFIG_PATH="@PATH_NATIVE@" > PKG_CONFIG_LIBDIR="@LIBDIR_NATIVE@" > - unset PKG_CONFIG_SYSROOT_DIR > fi > fi > fi > > -pkg-config.real "$@" > +pkg-config "$@" > diff --git a/meta/recipes-devtools/pkgconf/pkgconf/pkg-config-native.in > b/meta/recipes-devtools/pkgconf/pkgconf/pkg-config-native.in > index 9ed30a0..c2e86e5 100644 > --- a/meta/recipes-devtools/pkgconf/pkgconf/pkg-config-native.in > +++ b/meta/recipes-devtools/pkgconf/pkgconf/pkg-config-native.in > @@ -1,6 +1,5 @@ > #! /bin/sh > > PKG_CONFIG_PATH="@PATH_NATIVE@" > -unset PKG_CONFIG_SYSROOT_DIR > > pkg-config "$@" > diff --git a/meta/recipes-devtools/pkgconf/pkgconf/pkg-config-wrapper > b/meta/recipes-devtools/pkgconf/pkgconf/pkg-config-wrapper > index 695f349..fc9b488 100755 > --- a/meta/recipes-devtools/pkgconf/pkgconf/pkg-config-wrapper > +++ b/meta/recipes-devtools/pkgconf/pkgconf/pkg-config-wrapper > @@ -4,13 +4,4 @@ > # Copyright (C) 2015 Christopher Larson > # License: MIT (see COPYING.MIT at the root of the repository for terms) > > -for arg; do > -case "$arg" in > ---variable|--variable=*) > -# pkg-config doesn't sysroot-prefix user variables > -unset PKG_CONFIG_SYSROOT_DIR > -;; > -esac > -done > - > exec pkgconf "$@" > diff --git a/meta/recipes-devtools/pkgconf/pkgconf_1.4.0.bb > b/meta/recipes-devtools/pkgconf/pkgconf_1.4.2.bb > similarity index 95% > rename from meta/recipes-devtools/pkgconf/pkgconf_1.4.0.bb > rename to meta/recipes-devtools/pkgconf/pkgconf_1.4.2.bb > index 48ba598..ea7b666 100644 > --- a/meta/recipes-devtools/pkgconf/pkgconf_1.4.0.bb > +++ b/meta/recipes-devtools/pkgconf/pkgconf_1.4.2.bb > @@ -21,8 +21,8 @@ SRC_URI = "\ > file://pkg-config-native.in \ > file://pkg-config-esdk.in \ > " > -SRC_URI[md5sum] = "c509c0dad5a70aa4bc3210557b7eafce" > -SRC_URI[sha256sum] = > "1d112ff35dad516ffbfbdb013df3a035140618fe7632ec44ffa894a9c713301b" > +SRC_URI[md5sum] = "678d242b4eef1754bba6a58642af10bb" > +SRC_URI[sha256sum] = > "bab39371d4ab972be1d539a8b10b6cc21f8eafc97f617102e667e82bd32eb234" > > inherit autotools update-alternatives > > -- > 2.4.0 > > -- > ___ > Openembedded-core mailing list > Openembedded-core@lists.openembedded.org > http://lists.openembedded.org/mailman/listinfo/openembedded-core -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
Re: [OE-core] [PATCH 01/27] pkgconf: upgrade to version 1.4.2
Hi Khem, On Sun, Feb 25, 2018 at 11:18:58PM -0800, Khem Raj wrote: > This is regressing kmod builds > > ERROR: kmod-25+gitAUTOINC+aca4eca103-r0 do_package: QA Issue: kmod: > Files/directories were installed but not shipped in any pack > age: > > /mnt/a/oe-build/build/tmp/work/aarch64-bec-linux/kmod/25+gitAUTOINC+aca4eca103-r0/recipe-sysroot/usr/share/bash-completion/completions/kmod > > as you can see its stll carrying the sysroot prefix into DESTDIR > > and this is how kmod is asserting for bash-completion dir > > with_bashcompletiondir=$($PKG_CONFIG --variable=completionsdir > bash-completion) > > it was working fine with 1.4.0 Good catch. This patch has removed the work-around that we had to make pkgconf build compatible with freedesktop.org's pkg-conf in wrappers like: > > -unset PKG_CONFIG_SYSROOT_DIR Without the associated kmod fix, this will fail as above. I will revert those wrapper changes till we decide to go with pkgconf or not. > On Mon, Feb 19, 2018 at 12:36 AM, Maxin B. John wrote: > > pkgconf improved compatibility with freedesktop.org pkg-config. > > So, we don't need to unset PKG_CONFIG_SYSROOT_DIR in wrappers. > > > > Signed-off-by: Maxin B. John > > --- > > meta/recipes-devtools/pkgconf/pkgconf/pkg-config-esdk.in | 4 +--- > > -unset PKG_CONFIG_SYSROOT_DIR Best Regards, Maxin -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
Re: [OE-core] [PATCH 01/27] pkgconf: upgrade to version 1.4.2
Whoops, I thought the upgrade was safe without the rest of the series. Khem, are you using pkgconf instead of pkg-config then? Ross On 26 February 2018 at 07:54, Maxin B. John wrote: > Hi Khem, > > On Sun, Feb 25, 2018 at 11:18:58PM -0800, Khem Raj wrote: > > This is regressing kmod builds > > > > ERROR: kmod-25+gitAUTOINC+aca4eca103-r0 do_package: QA Issue: kmod: > > Files/directories were installed but not shipped in any pack > > age: > > > > /mnt/a/oe-build/build/tmp/work/aarch64-bec-linux/kmod/ > 25+gitAUTOINC+aca4eca103-r0/recipe-sysroot/usr/share/bash- > completion/completions/kmod > > > > as you can see its stll carrying the sysroot prefix into DESTDIR > > > > and this is how kmod is asserting for bash-completion dir > > > > with_bashcompletiondir=$($PKG_CONFIG --variable=completionsdir > bash-completion) > > > > it was working fine with 1.4.0 > > Good catch. This patch has removed the work-around that we had to make > pkgconf build compatible with freedesktop.org's pkg-conf in wrappers like: > > > > -unset PKG_CONFIG_SYSROOT_DIR > > Without the associated kmod fix, this will fail as above. I will revert > those wrapper changes till we decide to go with pkgconf or not. > > > On Mon, Feb 19, 2018 at 12:36 AM, Maxin B. John > wrote: > > > pkgconf improved compatibility with freedesktop.org pkg-config. > > > So, we don't need to unset PKG_CONFIG_SYSROOT_DIR in wrappers. > > > > > > Signed-off-by: Maxin B. John > > > --- > > > meta/recipes-devtools/pkgconf/pkgconf/pkg-config-esdk.in | 4 > +--- > > > -unset PKG_CONFIG_SYSROOT_DIR > > Best Regards, > Maxin > -- > ___ > Openembedded-core mailing list > Openembedded-core@lists.openembedded.org > http://lists.openembedded.org/mailman/listinfo/openembedded-core > -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
Re: [OE-core] [PATCH 01/27] pkgconf: upgrade to version 1.4.2
On Mon, Feb 26, 2018 at 3:34 AM, Burton, Ross wrote: > Whoops, I thought the upgrade was safe without the rest of the series. > > Khem, are you using pkgconf instead of pkg-config then? > yes I am trying to and so far it has held up. > Ross > > On 26 February 2018 at 07:54, Maxin B. John wrote: >> >> Hi Khem, >> >> On Sun, Feb 25, 2018 at 11:18:58PM -0800, Khem Raj wrote: >> > This is regressing kmod builds >> > >> > ERROR: kmod-25+gitAUTOINC+aca4eca103-r0 do_package: QA Issue: kmod: >> > Files/directories were installed but not shipped in any pack >> > age: >> > >> > >> > /mnt/a/oe-build/build/tmp/work/aarch64-bec-linux/kmod/25+gitAUTOINC+aca4eca103-r0/recipe-sysroot/usr/share/bash-completion/completions/kmod >> > >> > as you can see its stll carrying the sysroot prefix into DESTDIR >> > >> > and this is how kmod is asserting for bash-completion dir >> > >> > with_bashcompletiondir=$($PKG_CONFIG --variable=completionsdir >> > bash-completion) >> > >> > it was working fine with 1.4.0 >> >> Good catch. This patch has removed the work-around that we had to make >> pkgconf build compatible with freedesktop.org's pkg-conf in wrappers like: >> >> > > -unset PKG_CONFIG_SYSROOT_DIR >> >> Without the associated kmod fix, this will fail as above. I will revert >> those wrapper changes till we decide to go with pkgconf or not. >> >> > On Mon, Feb 19, 2018 at 12:36 AM, Maxin B. John >> > wrote: >> > > pkgconf improved compatibility with freedesktop.org pkg-config. >> > > So, we don't need to unset PKG_CONFIG_SYSROOT_DIR in wrappers. >> > > >> > > Signed-off-by: Maxin B. John >> > > --- >> > > meta/recipes-devtools/pkgconf/pkgconf/pkg-config-esdk.in | 4 >> > > +--- >> > > -unset PKG_CONFIG_SYSROOT_DIR >> >> Best Regards, >> Maxin >> -- >> ___ >> Openembedded-core mailing list >> Openembedded-core@lists.openembedded.org >> http://lists.openembedded.org/mailman/listinfo/openembedded-core > > -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core