Skip to contentSkip to conversation

subversion: add packageconfig boost

PATCH In review [email protected] 3 participants 5 messages Jul 26, 2019 – Jul 29, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 subversion: add packageconfig boost

From: Kai Kang <[email protected]>

subversion checks whether build with boost during do_configure. If boost exists on build machine, it causes configure-unsafe QA issue:

| ERROR: subversion-1.12.0-r0 do_configure: QA Issue: This autoconf log
|  indicates errors, it looked at host include and/or library paths
|  while determining system capabilities.
| Rerun configure task after fixing this. [configure-unsafe]

Add a PACKAGECONFIG 'boost' to fix the issue.

---
 meta/recipes-devtools/subversion/subversion_1.12.0.bb | 1 +
 1 file changed, 1 insertion(+)
meta/recipes-devtools/subversion/subversion_1.12.0.bb +1 -0
index 3d0f3e688d..f1ac1dcfdc 100644
@@ -23,6 +23,7 @@ CVE_PRODUCT = "apache:subversion"
 
 PACKAGECONFIG ?= ""
 
+PACKAGECONFIG[boost] = "--with-boost=${RECIPE_SYSROOT}${exec_prefix},--without-boost,boost"
 PACKAGECONFIG[sasl] = "--with-sasl,--without-sasl,cyrus-sasl"
 PACKAGECONFIG[gnome-keyring] = "--with-gnome-keyring,--without-gnome-keyring,glib-2.0 gnome-keyring"
 
Signature · 1 line
2.20.0
#1 lore raw

PATCH 2/2 epiphany: set imcompatible with tune mips

From: Kai Kang <[email protected]>

webkitgtk doesn't work with tune mips and set imcompatible with it. epiphany depends on webkitgtk and mask it too.

---
 meta/recipes-gnome/epiphany/epiphany_3.32.3.bb | 3 +++
 1 file changed, 3 insertions(+)
meta/recipes-gnome/epiphany/epiphany_3.32.3.bb +3 -0
index de1b6e2f84..d1c6af52ed 100644
@@ -16,5 +16,8 @@ SRC_URI = "${GNOME_MIRROR}/${GNOMEBN}/${@gnome_verdir("${PV}")}/${GNOMEBN}-${PV}
 SRC_URI[archive.md5sum] = "c4976507bf3de69f27a050ad09531f5a"
 SRC_URI[archive.sha256sum] = "3ccb6859a43b839b714aa425cb185056f1e8604adbaab6a1bc179d1ba641a33f"
 
+# webkitgtk doesn't work with tune 'mips'
+COMPATIBLE_HOST_mipsarch = "${@bb.utils.contains('DEFAULTTUNE', 'mips', 'null', 'mips.*-linux', d)}"
+
 FILES_${PN} += "${datadir}/dbus-1 ${datadir}/gnome-shell/search-providers ${datadir}/metainfo"
 RDEPENDS_${PN} = "iso-codes adwaita-icon-theme gsettings-desktop-schemas"
Signature · 1 line
2.20.0
#2 lore raw

Re: [PATCH 2/2] epiphany: set imcompatible with tune mips

Wait, does this mean that the line must be inserted into all of the recipes that depend on webkitgtk (wihch is very awkward)? Shouldn't just the webkitgtk recipe fix be enough?

Alex

Quoted 37 lines · On Fri, 26 Jul 2019 at 12:35, <[email protected]> wrote:

From: Kai Kang <[email protected]>

webkitgtk doesn't work with tune mips and set imcompatible with it. epiphany depends on webkitgtk and mask it too.

---
 meta/recipes-gnome/epiphany/epiphany_3.32.3.bb | 3 +++
 1 file changed, 3 insertions(+)
meta/recipes-gnome/epiphany/epiphany_3.32.3.bb +0 -0
index de1b6e2f84..d1c6af52ed 100644
@@ -16,5 +16,8 @@ SRC_URI =
 "${GNOME_MIRROR}/${GNOMEBN}/${@gnome_verdir("${PV}")}/${GNOMEBN}-${PV}
 SRC_URI[archive.md5sum] = "c4976507bf3de69f27a050ad09531f5a"
 SRC_URI[archive.sha256sum] =

"3ccb6859a43b839b714aa425cb185056f1e8604adbaab6a1bc179d1ba641a33f"

meta/recipes-gnome/epiphany/epiphany_3.32.3.bb +2 -0
+# webkitgtk doesn't work with tune 'mips'
+COMPATIBLE_HOST_mipsarch = "${@bb.utils.contains('DEFAULTTUNE', 'mips',

'null', 'mips.*-linux', d)}"
+
FILES_${PN} += "${datadir}/dbus-1 ${datadir}/gnome-shell/search-providers
${datadir}/metainfo"
RDEPENDS_${PN} = "iso-codes adwaita-icon-theme gsettings-desktop-schemas"
--
2.20.0

--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

author
#3 lore raw

Re: [PATCH 2/2] epiphany: set imcompatible with tune mips

Quoted 1 line · Alexander Kanavin

Wait, does this mean that the line must be inserted into all of the recipes that depend on webkitgtk (wihch is very awkward)? Shouldn't just the webkitgtk recipe fix be enough?

Unfortunately, yes. But there is only one recipe epiphany in oe-core. I think it doesn't need to pay too much attention for mips arch too.

Kai

Quoted 51 lines

Alex

On Fri, 26 Jul 2019 at 12:35, <[email protected] <mailto:[email protected]>> wrote:

    From: Kai Kang <[email protected]
    <mailto:[email protected]>>

    webkitgtk doesn't work with tune mips and set imcompatible with it.
    epiphany depends on webkitgtk and mask it too.

    Signed-off-by: Kai Kang <[email protected]
    <mailto:[email protected]>>
    ---
     meta/recipes-gnome/epiphany/epiphany_3.32.3.bb
    <http://epiphany_3.32.3.bb> | 3 +++
     1 file changed, 3 insertions(+)

    diff --git a/meta/recipes-gnome/epiphany/epiphany_3.32.3.bb
    <http://epiphany_3.32.3.bb>
    b/meta/recipes-gnome/epiphany/epiphany_3.32.3.bb
    <http://epiphany_3.32.3.bb>
    index de1b6e2f84..d1c6af52ed 100644
    --- a/meta/recipes-gnome/epiphany/epiphany_3.32.3.bb
    <http://epiphany_3.32.3.bb>
    +++ b/meta/recipes-gnome/epiphany/epiphany_3.32.3.bb
    <http://epiphany_3.32.3.bb>
    @@ -16,5 +16,8 @@ SRC_URI =
    "${GNOME_MIRROR}/${GNOMEBN}/${@gnome_verdir("${PV}")}/${GNOMEBN}-${PV}
     SRC_URI[archive.md5sum] = "c4976507bf3de69f27a050ad09531f5a"
     SRC_URI[archive.sha256sum] =
    "3ccb6859a43b839b714aa425cb185056f1e8604adbaab6a1bc179d1ba641a33f"

    +# webkitgtk doesn't work with tune 'mips'
    +COMPATIBLE_HOST_mipsarch = "${@bb.utils.contains('DEFAULTTUNE',
    'mips', 'null', 'mips.*-linux', d)}"
    +
     FILES_${PN} += "${datadir}/dbus-1
    ${datadir}/gnome-shell/search-providers ${datadir}/metainfo"
     RDEPENDS_${PN} = "iso-codes adwaita-icon-theme
    gsettings-desktop-schemas"
    -- 
    2.20.0

    -- 
    _______________________________________________
    Openembedded-core mailing list
    [email protected]
    <mailto:[email protected]>
    http://lists.openembedded.org/mailman/listinfo/openembedded-core
Signature · 1 line
Kai Kang
#4 lore raw

Re: [PATCH 2/2] epiphany: set imcompatible with tune mips

Quoted 7 lines · Kang Kai
Quoted 3 lines · Alexander Kanavin

Wait, does this mean that the line must be inserted into all of the recipes that depend on webkitgtk (wihch is very awkward)? Shouldn't just the webkitgtk recipe fix be enough?

Unfortunately, yes. But there is only one recipe epiphany in oe-core. I think it doesn't need to pay too much attention for mips arch too.

I just sent a patch to re-enable building webkitgtk on mips.

Any objection to that approach?

Quoted 1 line

Kai

cu
Adrian

Signature · 4 lines
       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed