luajit: Upgrade to 2.1.0-beta3
PATCH v4 1/1 luajit: Upgrade to 2.1.0-beta3
Since luajit 2.1.0-beta3 can support architecture aarch64 and the old misses to support aarch64, the patch upgrades to luajit 2.1.0-beta3.
Also updated clang.patch to dismiss patch warning: "Hunk #1 succeeded at 436 with fuzz 1 (offset 123 lines)."
---
meta-oe/recipes-devtools/luajit/luajit/clang.patch | 4 ++--
.../luajit/{luajit_2.0.5.bb => luajit_git.bb} | 13 ++++++-------
2 files changed, 8 insertions(+), 9 deletions(-)
rename meta-oe/recipes-devtools/luajit/{luajit_2.0.5.bb => luajit_git.bb} (90%)meta-oe/recipes-devtools/luajit/luajit/clang.patch +2 -2
@@ -8,8 +8,8 @@ Index: LuaJIT-2.0.5/src/lj_arch.h =================================================================== --- LuaJIT-2.0.5.orig/src/lj_arch.h +++ LuaJIT-2.0.5/src/lj_arch.h -@@ -313,7 +313,7 @@ - #error "Need at least GCC 4.2 or newer" +@@ -436,7 +436,7 @@ + #endif #endif #elif !LJ_TARGET_PS3 -#if (__GNUC__ < 4) || ((__GNUC__ == 4) && __GNUC_MINOR__ < 3)
meta-oe/recipes-devtools/luajit/luajit_git.bb renamed from meta-oe/recipes-devtools/luajit/luajit_2.0.5.bb +6 -7
@@ -1,14 +1,14 @@ SUMMARY = "Just-In-Time Compiler for Lua" LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=10a96c93403affcc34765f4c2612bc22" +LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=d739bb9250a55c124a545b588fd76771" HOMEPAGE = "http://luajit.org" -PV .= "+git${SRCPV}" -SRCREV = "02b521981a1ab919ff2cd4d9bcaee80baf77dce2" -SRC_URI = "git://luajit.org/git/luajit-2.0.git;protocol=http \ +PV = "2.0.5+2.1.0-beta3" +SRCREV = "0ad60ccbc3768fa8e3e726858adf261950edbc22" +SRC_URI = "git://luajit.org/git/luajit-2.0.git;protocol=http;branch=v2.1 \ file://0001-Do-not-strip-automatically-this-leaves-the-stripping.patch \ file://clang.patch \ -" + " S = "${WORKDIR}/git"
@@ -90,8 +90,7 @@ FILES_${PN}-dev += "${libdir}/libluajit-5.1.a \ " FILES_luajit-common = "${datadir}/${BPN}-${PV}" -# Aarch64/mips64/ppc/ppc64/riscv64 is not supported in this release -COMPATIBLE_HOST_aarch64 = "null" +# mips64/ppc/ppc64/riscv64 is not supported in this release COMPATIBLE_HOST_mipsarchn32 = "null" COMPATIBLE_HOST_mipsarchn64 = "null" COMPATIBLE_HOST_powerpc = "null"
Signature · 1 line
2.17.1
I am seeing version going backward errors still
luajit-2.0.5+2.1.0-beta3: Package version for package luajit-src went backwards which would break package feeds (from 0:2.0.5+git0+02b521981a-r0.7 to 0:2.0.5+2.1.0-beta3-r0.0) [version-going-backwards]
luajit-2.0.5+2.1.0-beta3: Package version for package luajit-dbg went backwards which would break package feeds (from 0:2.0.5+git0+02b521981a-r0.7 to 0:2.0.5+2.1.0-beta3-r0.0) [version-going-backwards]
luajit-2.0.5+2.1.0-beta3: Package version for package luajit-staticdev went backwards which would break package feeds (from 0:2.0.5+git0+02b521981a-r0.7 to 0:2.0.5+2.1.0-beta3-r0.0) [version-going-backwards]
luajit-2.0.5+2.1.0-beta3: Package version for package luajit-dev went backwards which would break package feeds (from 0:2.0.5+git0+02b521981a-r0.7 to 0:2.0.5+2.1.0-beta3-r0.0) [version-going-backwards]
luajit-2.0.5+2.1.0-beta3: Package version for package luajit-doc went backwards which would break package feeds (from 0:2.0.5+git0+02b521981a-r0.7 to 0:2.0.5+2.1.0-beta3-r0.0) [version-going-backwards]
luajit-2.0.5+2.1.0-beta3: Package version for package luajit-locale went backwards which would break package feeds (from 0:2.0.5+git0+02b521981a-r0.7 to 0:2.0.5+2.1.0-beta3-r0.0) [version-going-backwards]
luajit-2.0.5+2.1.0-beta3: Package version for package luajit went backwards which would break package feeds (from 0:2.0.5+git0+02b521981a-r0.7 to 0:2.0.5+2.1.0-beta3-r0.0) [version-going-backwards]
luajit-2.0.5+2.1.0-beta3: Package version for package luajit-common went backwards which would break package feeds (from 0:2.0.5+git0+02b521981a-r0.7 to 0:2.0.5+2.1.0-beta3-r0.0) [version-going-backwards]
Quoted 69 lines · Leo Yan
Since luajit 2.1.0-beta3 can support architecture aarch64 and the old misses to support aarch64, the patch upgrades to luajit 2.1.0-beta3.
Also updated clang.patch to dismiss patch warning: "Hunk #1 succeeded at 436 with fuzz 1 (offset 123 lines)."
Signed-off-by Leo Yan <[email protected]>--- meta-oe/recipes-devtools/luajit/luajit/clang.patch | 4 ++-- .../luajit/{luajit_2.0.5.bb => luajit_git.bb} | 13 ++++++------- 2 files changed, 8 insertions(+), 9 deletions(-) rename meta-oe/recipes-devtools/luajit/{luajit_2.0.5.bb => luajit_git.bb} (90%)meta-oe/recipes-devtools/luajit/luajit/clang.patch +2
-2@@ -8,8 +8,8 @@ Index: LuaJIT-2.0.5/src/lj_arch.h =================================================================== --- LuaJIT-2.0.5.orig/src/lj_arch.h +++ LuaJIT-2.0.5/src/lj_arch.h -@@ -313,7 +313,7 @@ - #error "Need at least GCC 4.2 or newer" +@@ -436,7 +436,7 @@ + #endif #endif #elif !LJ_TARGET_PS3 -#if (__GNUC__ < 4) || ((__GNUC__ == 4) && __GNUC_MINOR__ < 3)meta-oe/recipes-devtools/luajit/luajit_git.bb renamed from meta-oe/recipes-devtools/luajit/luajit_2.0.5.bb +6
-8@@ -1,14 +1,14 @@ SUMMARY = "Just-In-Time Compiler for Lua" LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=10a96c93403affcc34765f4c2612bc22" +LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=d739bb9250a55c124a545b588fd76771" HOMEPAGE = "http://luajit.org" -PV .= "+git${SRCPV}" -SRCREV = "02b521981a1ab919ff2cd4d9bcaee80baf77dce2" -SRC_URI = "git://luajit.org/git/luajit-2.0.git;protocol=http \ +PV = "2.0.5+2.1.0-beta3" +SRCREV = "0ad60ccbc3768fa8e3e726858adf261950edbc22" +SRC_URI = "git://luajit.org/git/luajit-2.0.git;protocol=http;branch=v2.1 \ file://0001-Do-not-strip-automatically-this-leaves-the-stripping.patch \ file://clang.patch \ -" + " S = "${WORKDIR}/git"@@ -90,8 +90,7 @@ FILES_${PN}-dev += "${libdir}/libluajit-5.1.a \ " FILES_luajit-common = "${datadir}/${BPN}-${PV}" -# Aarch64/mips64/ppc/ppc64/riscv64 is not supported in this release -COMPATIBLE_HOST_aarch64 = "null" +# mips64/ppc/ppc64/riscv64 is not supported in this release COMPATIBLE_HOST_mipsarchn32 = "null" COMPATIBLE_HOST_mipsarchn64 = "null" COMPATIBLE_HOST_powerpc = "null" --2.17.1
Hi Khem,
Quoted 26 lines · Khem Raj
I am seeing version going backward errors still
luajit-2.0.5+2.1.0-beta3: Package version for package luajit-src went backwards which would break package feeds (from 0:2.0.5+git0+02b521981a-r0.7 to 0:2.0.5+2.1.0-beta3-r0.0) [version-going-backwards]
luajit-2.0.5+2.1.0-beta3: Package version for package luajit-dbg went backwards which would break package feeds (from 0:2.0.5+git0+02b521981a-r0.7 to 0:2.0.5+2.1.0-beta3-r0.0) [version-going-backwards]
luajit-2.0.5+2.1.0-beta3: Package version for package luajit-staticdev went backwards which would break package feeds (from 0:2.0.5+git0+02b521981a-r0.7 to 0:2.0.5+2.1.0-beta3-r0.0) [version-going-backwards]
luajit-2.0.5+2.1.0-beta3: Package version for package luajit-dev went backwards which would break package feeds (from 0:2.0.5+git0+02b521981a-r0.7 to 0:2.0.5+2.1.0-beta3-r0.0) [version-going-backwards]
luajit-2.0.5+2.1.0-beta3: Package version for package luajit-doc went backwards which would break package feeds (from 0:2.0.5+git0+02b521981a-r0.7 to 0:2.0.5+2.1.0-beta3-r0.0) [version-going-backwards]
luajit-2.0.5+2.1.0-beta3: Package version for package luajit-locale went backwards which would break package feeds (from 0:2.0.5+git0+02b521981a-r0.7 to 0:2.0.5+2.1.0-beta3-r0.0) [version-going-backwards]
Quoted 8 lines
luajit-2.0.5+2.1.0-beta3: Package version for package luajit went backwards which would break package feeds (from 0:2.0.5+git0+02b521981a-r0.7 to 0:2.0.5+2.1.0-beta3-r0.0) [version-going-backwards]
luajit-2.0.5+2.1.0-beta3: Package version for package luajit-common went backwards which would break package feeds (from 0:2.0.5+git0+02b521981a-r0.7 to 0:2.0.5+2.1.0-beta3-r0.0) [version-going-backwards]
I googled for this issue, the backwards issue is likely caused by the
PV: from "2.0.5+git${SRCPV}" to "2.0.5+2.1.0-beta3".
So how about change PV to "2.1.0+beta3" and later for version 2.1.0, we can use the format "2.1.0+git${SRCPV}"? At the end we can get the version sequence as:
Old: 2.0.5+git${SRCPV}
Now: 2.1.0+beta3
Later: 2.1.0+git${SRCPV}Does this make sense for you?
Thanks,
Leo
Quoted 70 lines · Leo Yan
Quoted 69 lines
Since luajit 2.1.0-beta3 can support architecture aarch64 and the old misses to support aarch64, the patch upgrades to luajit 2.1.0-beta3.
Also updated clang.patch to dismiss patch warning: "Hunk #1 succeeded at 436 with fuzz 1 (offset 123 lines)."
Signed-off-by Leo Yan <[email protected]>--- meta-oe/recipes-devtools/luajit/luajit/clang.patch | 4 ++-- .../luajit/{luajit_2.0.5.bb => luajit_git.bb} | 13 ++++++------- 2 files changed, 8 insertions(+), 9 deletions(-) rename meta-oe/recipes-devtools/luajit/{luajit_2.0.5.bb => luajit_git.bb} (90%)meta-oe/recipes-devtools/luajit/luajit/clang.patch +2
-2@@ -8,8 +8,8 @@ Index: LuaJIT-2.0.5/src/lj_arch.h =================================================================== --- LuaJIT-2.0.5.orig/src/lj_arch.h +++ LuaJIT-2.0.5/src/lj_arch.h -@@ -313,7 +313,7 @@ - #error "Need at least GCC 4.2 or newer" +@@ -436,7 +436,7 @@ + #endif #endif #elif !LJ_TARGET_PS3 -#if (__GNUC__ < 4) || ((__GNUC__ == 4) && __GNUC_MINOR__ < 3)meta-oe/recipes-devtools/luajit/luajit_git.bb renamed from meta-oe/recipes-devtools/luajit/luajit_2.0.5.bb +6
-8@@ -1,14 +1,14 @@ SUMMARY = "Just-In-Time Compiler for Lua" LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=10a96c93403affcc34765f4c2612bc22" +LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=d739bb9250a55c124a545b588fd76771" HOMEPAGE = "http://luajit.org" -PV .= "+git${SRCPV}" -SRCREV = "02b521981a1ab919ff2cd4d9bcaee80baf77dce2" -SRC_URI = "git://luajit.org/git/luajit-2.0.git;protocol=http \ +PV = "2.0.5+2.1.0-beta3" +SRCREV = "0ad60ccbc3768fa8e3e726858adf261950edbc22" +SRC_URI = "git://luajit.org/git/luajit-2.0.git;protocol=http;branch=v2.1 \ file://0001-Do-not-strip-automatically-this-leaves-the-stripping.patch \ file://clang.patch \ -" + " S = "${WORKDIR}/git"@@ -90,8 +90,7 @@ FILES_${PN}-dev += "${libdir}/libluajit-5.1.a \ " FILES_luajit-common = "${datadir}/${BPN}-${PV}" -# Aarch64/mips64/ppc/ppc64/riscv64 is not supported in this release -COMPATIBLE_HOST_aarch64 = "null" +# mips64/ppc/ppc64/riscv64 is not supported in this release COMPATIBLE_HOST_mipsarchn32 = "null" COMPATIBLE_HOST_mipsarchn64 = "null" COMPATIBLE_HOST_powerpc = "null" --2.17.1
I have pushed a fix with ~
Quoted 133 lines · Leo Yan
Hi Khem,
Quoted 26 lines · Khem Raj
I am seeing version going backward errors still
luajit-2.0.5+2.1.0-beta3: Package version for package luajit-src went backwards which would break package feeds (from 0:2.0.5+git0+02b521981a-r0.7 to 0:2.0.5+2.1.0-beta3-r0.0) [version-going-backwards]
luajit-2.0.5+2.1.0-beta3: Package version for package luajit-dbg went backwards which would break package feeds (from 0:2.0.5+git0+02b521981a-r0.7 to 0:2.0.5+2.1.0-beta3-r0.0) [version-going-backwards]
luajit-2.0.5+2.1.0-beta3: Package version for package luajit-staticdev went backwards which would break package feeds (from 0:2.0.5+git0+02b521981a-r0.7 to 0:2.0.5+2.1.0-beta3-r0.0) [version-going-backwards]
luajit-2.0.5+2.1.0-beta3: Package version for package luajit-dev went backwards which would break package feeds (from 0:2.0.5+git0+02b521981a-r0.7 to 0:2.0.5+2.1.0-beta3-r0.0) [version-going-backwards]
luajit-2.0.5+2.1.0-beta3: Package version for package luajit-doc went backwards which would break package feeds (from 0:2.0.5+git0+02b521981a-r0.7 to 0:2.0.5+2.1.0-beta3-r0.0) [version-going-backwards]
luajit-2.0.5+2.1.0-beta3: Package version for package luajit-locale went backwards which would break package feeds (from 0:2.0.5+git0+02b521981a-r0.7 to 0:2.0.5+2.1.0-beta3-r0.0) [version-going-backwards]Quoted 8 lines
luajit-2.0.5+2.1.0-beta3: Package version for package luajit went backwards which would break package feeds (from 0:2.0.5+git0+02b521981a-r0.7 to 0:2.0.5+2.1.0-beta3-r0.0) [version-going-backwards]
luajit-2.0.5+2.1.0-beta3: Package version for package luajit-common went backwards which would break package feeds (from 0:2.0.5+git0+02b521981a-r0.7 to 0:2.0.5+2.1.0-beta3-r0.0) [version-going-backwards]I googled for this issue, the backwards issue is likely caused by the
PV: from "2.0.5+git${SRCPV}" to "2.0.5+2.1.0-beta3".So how about change PV to "2.1.0+beta3" and later for version 2.1.0, we can use the format "2.1.0+git${SRCPV}"? At the end we can get the version sequence as:
Old: 2.0.5+git${SRCPV} Now: 2.1.0+beta3 Later: 2.1.0+git${SRCPV}Does this make sense for you?
Thanks,
LeoQuoted 5 lines · Leo Yan
Quoted 4 lines
Since luajit 2.1.0-beta3 can support architecture aarch64 and the old misses to support aarch64, the patch upgrades to luajit 2.1.0-beta3.
Quoted 7 lines
Quoted 7 lines
Also updated clang.patch to dismiss patch warning: "Hunk #1 succeeded at 436 with fuzz 1 (offset 123 lines)."
Signed-off-by Leo Yan <[email protected]>--- meta-oe/recipes-devtools/luajit/luajit/clang.patch | 4 ++-- .../luajit/{luajit_2.0.5.bb => luajit_git.bb} | 13++++++-------
Quoted 2 lines
Quoted 2 lines
2 files changed, 8 insertions(+), 9 deletions(-) rename meta-oe/recipes-devtools/luajit/{luajit_2.0.5.bb =>luajit_git.bb} (90%)
Quoted 2 lines
Review
Quoted 2 lines
(quoted diff) +0
-0
b/meta-oe/recipes-devtools/luajit/luajit/clang.patchQuoted 7 lines
Quoted 7 lines
index
c39ef6fd4..807cc4417100644meta-oe/recipes-devtools/luajit/luajit/clang.patch +0
-0@@ -8,8 +8,8 @@ Index: LuaJIT-2.0.5/src/lj_arch.h =================================================================== --- LuaJIT-2.0.5.orig/src/lj_arch.h +++ LuaJIT-2.0.5/src/lj_arch.hQuoted 8 lines
Review
Quoted 8 lines
meta-oe/recipes-devtools/luajit/luajit/clang.patch +2
-2-@@ -313,7 +313,7 @@ - #error "Need at least GCC 4.2 or newer" +@@ -436,7 +436,7 @@ + #endif #endif #elif !LJ_TARGET_PS3 -#if (__GNUC__ < 4) || ((__GNUC__ == 4) && __GNUC_MINOR__ < 3)(quoted diff) +0
-0b/meta-oe/recipes-devtools/luajit/luajit_git.bb
Quoted 10 lines
meta-oe/recipes-devtools/luajit/luajit_git.bb line 3
Quoted 10 lines
similarity index 90%
rename from meta-oe/recipes-devtools/luajit/luajit_2.0.5.bb rename to meta-oe/recipes-devtools/luajit/luajit_git.bb index93128dda8..2a7243842100644meta-oe/recipes-devtools/luajit/luajit_git.bb renamed from meta-oe/recipes-devtools/luajit/luajit_2.0.5.bb +0
-1@@ -1,14 +1,14 @@ SUMMARY = "Just-In-Time Compiler for Lua" LICENSE = "MIT" -LIC_FILES_CHKSUM ="file://COPYRIGHT;md5=10a96c93403affcc34765f4c2612bc22"
Quoted 1 line
meta-oe/recipes-devtools/luajit/luajit_git.bb line 3
Quoted 1 line
meta-oe/recipes-devtools/luajit/luajit_git.bb renamed from meta-oe/recipes-devtools/luajit/luajit_2.0.5.bb +1
-0+LIC_FILES_CHKSUM ="file://COPYRIGHT;md5=d739bb9250a55c124a545b588fd76771"
Quoted 8 lines
meta-oe/recipes-devtools/luajit/luajit_git.bb
Quoted 8 lines
meta-oe/recipes-devtools/luajit/luajit_git.bb renamed from meta-oe/recipes-devtools/luajit/luajit_2.0.5.bb +3
-3HOMEPAGE = "http://luajit.org" -PV .= "+git${SRCPV}" -SRCREV = "02b521981a1ab919ff2cd4d9bcaee80baf77dce2" -SRC_URI = "git://luajit.org/git/luajit-2.0.git;protocol=http \ +PV = "2.0.5+2.1.0-beta3" +SRCREV = "0ad60ccbc3768fa8e3e726858adf261950edbc22" +SRC_URI = "git://luajit.org/git/luajit-2.0.git;protocol=http;branch=v2.1 \
Quoted 1 line
Quoted 1 line
file://0001-Do-not-strip-automatically-this-leaves-the-stripping.patch \
Quoted 19 lines
Quoted 19 lines
file://clang.patch \-"
meta-oe/recipes-devtools/luajit/luajit_git.bb renamed from meta-oe/recipes-devtools/luajit/luajit_2.0.5.bb +2
-3+ " S = "${WORKDIR}/git"@@ -90,8 +90,7 @@ FILES_${PN}-dev += "${libdir}/libluajit-5.1.a \ " FILES_luajit-common = "${datadir}/${BPN}-${PV}" -# Aarch64/mips64/ppc/ppc64/riscv64 is not supported in this release -COMPATIBLE_HOST_aarch64 = "null" +# mips64/ppc/ppc64/riscv64 is not supported in this release COMPATIBLE_HOST_mipsarchn32 = "null" COMPATIBLE_HOST_mipsarchn64 = "null" COMPATIBLE_HOST_powerpc = "null" --2.17.1
Quoted 1 line · Khem Raj
I have pushed a fix with ~
Ah, I see that: PV = "2.1.0~beta3". Thanks a lot!
Leo
You can use something like:
2.0.99+2.1.0-beta3
to make sure it doesn't go backwards.
2.1.0+beta3 seems wrong, because it would sort higher than final 2.1.0 (without the +git${SRCPV} suffix).
2.1.0~beta3 might work, but it's not used by many recipes.
Quoted 138 lines · Leo Yan
Hi Khem,
Quoted 26 lines · Khem Raj
I am seeing version going backward errors still
luajit-2.0.5+2.1.0-beta3: Package version for package luajit-src went backwards which would break package feeds (from 0:2.0.5+git0+02b521981a-r0.7 to 0:2.0.5+2.1.0-beta3-r0.0) [version-going-backwards]
luajit-2.0.5+2.1.0-beta3: Package version for package luajit-dbg went backwards which would break package feeds (from 0:2.0.5+git0+02b521981a-r0.7 to 0:2.0.5+2.1.0-beta3-r0.0) [version-going-backwards]
luajit-2.0.5+2.1.0-beta3: Package version for package luajit-staticdev went backwards which would break package feeds (from 0:2.0.5+git0+02b521981a-r0.7 to 0:2.0.5+2.1.0-beta3-r0.0) [version-going-backwards]
luajit-2.0.5+2.1.0-beta3: Package version for package luajit-dev went backwards which would break package feeds (from 0:2.0.5+git0+02b521981a-r0.7 to 0:2.0.5+2.1.0-beta3-r0.0) [version-going-backwards]
luajit-2.0.5+2.1.0-beta3: Package version for package luajit-doc went backwards which would break package feeds (from 0:2.0.5+git0+02b521981a-r0.7 to 0:2.0.5+2.1.0-beta3-r0.0) [version-going-backwards]
luajit-2.0.5+2.1.0-beta3: Package version for package luajit-locale went backwards which would break package feeds (from 0:2.0.5+git0+02b521981a-r0.7 to 0:2.0.5+2.1.0-beta3-r0.0) [version-going-backwards]Quoted 8 lines
luajit-2.0.5+2.1.0-beta3: Package version for package luajit went backwards which would break package feeds (from 0:2.0.5+git0+02b521981a-r0.7 to 0:2.0.5+2.1.0-beta3-r0.0) [version-going-backwards]
luajit-2.0.5+2.1.0-beta3: Package version for package luajit-common went backwards which would break package feeds (from 0:2.0.5+git0+02b521981a-r0.7 to 0:2.0.5+2.1.0-beta3-r0.0) [version-going-backwards]I googled for this issue, the backwards issue is likely caused by the
PV: from "2.0.5+git${SRCPV}" to "2.0.5+2.1.0-beta3".So how about change PV to "2.1.0+beta3" and later for version 2.1.0, we can use the format "2.1.0+git${SRCPV}"? At the end we can get the version sequence as:
Old: 2.0.5+git${SRCPV} Now: 2.1.0+beta3 Later: 2.1.0+git${SRCPV}Does this make sense for you?
Thanks,
LeoQuoted 5 lines · Leo Yan
Quoted 4 lines
Since luajit 2.1.0-beta3 can support architecture aarch64 and the old misses to support aarch64, the patch upgrades to luajit 2.1.0-beta3.
Quoted 7 lines
Quoted 7 lines
Also updated clang.patch to dismiss patch warning: "Hunk #1 succeeded at 436 with fuzz 1 (offset 123 lines)."
Signed-off-by Leo Yan <[email protected]>--- meta-oe/recipes-devtools/luajit/luajit/clang.patch | 4 ++-- .../luajit/{luajit_2.0.5.bb => luajit_git.bb} | 13++++++-------
Quoted 2 lines
Quoted 2 lines
2 files changed, 8 insertions(+), 9 deletions(-) rename meta-oe/recipes-devtools/luajit/{luajit_2.0.5.bb =>luajit_git.bb} (90%)
Quoted 2 lines
Review
Quoted 2 lines
(quoted diff) +0
-0
b/meta-oe/recipes-devtools/luajit/luajit/clang.patchQuoted 7 lines
Quoted 7 lines
index
c39ef6fd4..807cc4417100644meta-oe/recipes-devtools/luajit/luajit/clang.patch +0
-0@@ -8,8 +8,8 @@ Index: LuaJIT-2.0.5/src/lj_arch.h =================================================================== --- LuaJIT-2.0.5.orig/src/lj_arch.h +++ LuaJIT-2.0.5/src/lj_arch.hQuoted 8 lines
Review
Quoted 8 lines
meta-oe/recipes-devtools/luajit/luajit/clang.patch +2
-2-@@ -313,7 +313,7 @@ - #error "Need at least GCC 4.2 or newer" +@@ -436,7 +436,7 @@ + #endif #endif #elif !LJ_TARGET_PS3 -#if (__GNUC__ < 4) || ((__GNUC__ == 4) && __GNUC_MINOR__ < 3)(quoted diff) +0
-0b/meta-oe/recipes-devtools/luajit/luajit_git.bb
Quoted 10 lines
meta-oe/recipes-devtools/luajit/luajit_git.bb line 3
Quoted 10 lines
similarity index 90%
rename from meta-oe/recipes-devtools/luajit/luajit_2.0.5.bb rename to meta-oe/recipes-devtools/luajit/luajit_git.bb index93128dda8..2a7243842100644meta-oe/recipes-devtools/luajit/luajit_git.bb renamed from meta-oe/recipes-devtools/luajit/luajit_2.0.5.bb +0
-1@@ -1,14 +1,14 @@ SUMMARY = "Just-In-Time Compiler for Lua" LICENSE = "MIT" -LIC_FILES_CHKSUM ="file://COPYRIGHT;md5=10a96c93403affcc34765f4c2612bc22"
Quoted 1 line
meta-oe/recipes-devtools/luajit/luajit_git.bb line 3
Quoted 1 line
meta-oe/recipes-devtools/luajit/luajit_git.bb renamed from meta-oe/recipes-devtools/luajit/luajit_2.0.5.bb +1
-0+LIC_FILES_CHKSUM ="file://COPYRIGHT;md5=d739bb9250a55c124a545b588fd76771"
Quoted 8 lines
meta-oe/recipes-devtools/luajit/luajit_git.bb
Quoted 8 lines
meta-oe/recipes-devtools/luajit/luajit_git.bb renamed from meta-oe/recipes-devtools/luajit/luajit_2.0.5.bb +3
-3HOMEPAGE = "http://luajit.org" -PV .= "+git${SRCPV}" -SRCREV = "02b521981a1ab919ff2cd4d9bcaee80baf77dce2" -SRC_URI = "git://luajit.org/git/luajit-2.0.git;protocol=http \ +PV = "2.0.5+2.1.0-beta3" +SRCREV = "0ad60ccbc3768fa8e3e726858adf261950edbc22" +SRC_URI = "git://luajit.org/git/luajit-2.0.git;protocol=http;branch=v2.1 \
Quoted 1 line
Quoted 1 line
file://0001-Do-not-strip-automatically-this-leaves-the-stripping.patch \
Quoted 10 lines
Quoted 10 lines
file://clang.patch \-"
meta-oe/recipes-devtools/luajit/luajit_git.bb renamed from meta-oe/recipes-devtools/luajit/luajit_2.0.5.bb +1
-0+ " S = "${WORKDIR}/git"@@ -90,8 +90,7 @@ FILES_${PN}-dev += "${libdir}/libluajit-5.1.a \ " FILES_luajit-common = "${datadir}/${BPN}-${PV}"Quoted 9 lines
Quoted 9 lines
meta-oe/recipes-devtools/luajit/luajit_git.bb renamed from meta-oe/recipes-devtools/luajit/luajit_2.0.5.bb +1
-3-# Aarch64/mips64/ppc/ppc64/riscv64 is not supported in this release -COMPATIBLE_HOST_aarch64 = "null" +# mips64/ppc/ppc64/riscv64 is not supported in this release COMPATIBLE_HOST_mipsarchn32 = "null" COMPATIBLE_HOST_mipsarchn64 = "null" COMPATIBLE_HOST_powerpc = "null" --2.17.1
--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Quoted 9 lines · Martin Jansa
You can use something like:
2.0.99+2.1.0-beta3
to make sure it doesn't go backwards.2.1.0+beta3 seems wrong, because it would sort higher than final 2.1.0 (without the +git${SRCPV} suffix).
2.1.0~beta3 might work, but it's not used by many recipes.
this came out to work well and is concise too, so I went with this
Quoted 131 lines · Leo Yan
Quoted 130 lines
Hi Khem,
Quoted 26 lines · Khem Raj
I am seeing version going backward errors still
luajit-2.0.5+2.1.0-beta3: Package version for package luajit-src went backwards which would break package feeds (from 0:2.0.5+git0+02b521981a-r0.7 to 0:2.0.5+2.1.0-beta3-r0.0) [version-going-backwards]
luajit-2.0.5+2.1.0-beta3: Package version for package luajit-dbg went backwards which would break package feeds (from 0:2.0.5+git0+02b521981a-r0.7 to 0:2.0.5+2.1.0-beta3-r0.0) [version-going-backwards]
luajit-2.0.5+2.1.0-beta3: Package version for package luajit-staticdev went backwards which would break package feeds (from 0:2.0.5+git0+02b521981a-r0.7 to 0:2.0.5+2.1.0-beta3-r0.0) [version-going-backwards]
luajit-2.0.5+2.1.0-beta3: Package version for package luajit-dev went backwards which would break package feeds (from 0:2.0.5+git0+02b521981a-r0.7 to 0:2.0.5+2.1.0-beta3-r0.0) [version-going-backwards]
luajit-2.0.5+2.1.0-beta3: Package version for package luajit-doc went backwards which would break package feeds (from 0:2.0.5+git0+02b521981a-r0.7 to 0:2.0.5+2.1.0-beta3-r0.0) [version-going-backwards]
luajit-2.0.5+2.1.0-beta3: Package version for package luajit-locale went backwards which would break package feeds (from 0:2.0.5+git0+02b521981a-r0.7 to 0:2.0.5+2.1.0-beta3-r0.0) [version-going-backwards]Quoted 8 lines
luajit-2.0.5+2.1.0-beta3: Package version for package luajit went backwards which would break package feeds (from 0:2.0.5+git0+02b521981a-r0.7 to 0:2.0.5+2.1.0-beta3-r0.0) [version-going-backwards]
luajit-2.0.5+2.1.0-beta3: Package version for package luajit-common went backwards which would break package feeds (from 0:2.0.5+git0+02b521981a-r0.7 to 0:2.0.5+2.1.0-beta3-r0.0) [version-going-backwards]I googled for this issue, the backwards issue is likely caused by the
PV: from "2.0.5+git${SRCPV}" to "2.0.5+2.1.0-beta3".So how about change PV to "2.1.0+beta3" and later for version 2.1.0, we can use the format "2.1.0+git${SRCPV}"? At the end we can get the version sequence as:
Old: 2.0.5+git${SRCPV} Now: 2.1.0+beta3 Later: 2.1.0+git${SRCPV}Does this make sense for you?
Thanks,
LeoQuoted 61 lines · Leo Yan
Quoted 60 lines
Since luajit 2.1.0-beta3 can support architecture aarch64 and the old misses to support aarch64, the patch upgrades to luajit 2.1.0-beta3.
Also updated clang.patch to dismiss patch warning: "Hunk #1 succeeded at 436 with fuzz 1 (offset 123 lines)."
Signed-off-by Leo Yan <[email protected]>--- meta-oe/recipes-devtools/luajit/luajit/clang.patch | 4 ++-- .../luajit/{luajit_2.0.5.bb => luajit_git.bb} | 13 ++++++------- 2 files changed, 8 insertions(+), 9 deletions(-) rename meta-oe/recipes-devtools/luajit/{luajit_2.0.5.bb => luajit_git.bb} (90%)meta-oe/recipes-devtools/luajit/luajit/clang.patch +2
-2@@ -8,8 +8,8 @@ Index: LuaJIT-2.0.5/src/lj_arch.h =================================================================== --- LuaJIT-2.0.5.orig/src/lj_arch.h +++ LuaJIT-2.0.5/src/lj_arch.h -@@ -313,7 +313,7 @@ - #error "Need at least GCC 4.2 or newer" +@@ -436,7 +436,7 @@ + #endif #endif #elif !LJ_TARGET_PS3 -#if (__GNUC__ < 4) || ((__GNUC__ == 4) && __GNUC_MINOR__ < 3)meta-oe/recipes-devtools/luajit/luajit_git.bb renamed from meta-oe/recipes-devtools/luajit/luajit_2.0.5.bb +5
-5@@ -1,14 +1,14 @@ SUMMARY = "Just-In-Time Compiler for Lua" LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=10a96c93403affcc34765f4c2612bc22" +LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=d739bb9250a55c124a545b588fd76771" HOMEPAGE = "http://luajit.org" -PV .= "+git${SRCPV}" -SRCREV = "02b521981a1ab919ff2cd4d9bcaee80baf77dce2" -SRC_URI = "git://luajit.org/git/luajit-2.0.git;protocol=http \ +PV = "2.0.5+2.1.0-beta3" +SRCREV = "0ad60ccbc3768fa8e3e726858adf261950edbc22" +SRC_URI = "git://luajit.org/git/luajit-2.0.git;protocol=http;branch=v2.1 \ file://0001-Do-not-strip-automatically-this-leaves-the-stripping.patch \ file://clang.patch \ -" + " S = "${WORKDIR}/git"@@ -90,8 +90,7 @@ FILES_${PN}-dev += "${libdir}/libluajit-5.1.a \ " FILES_luajit-common = "${datadir}/${BPN}-${PV}"Quoted 9 lines
Quoted 9 lines
meta-oe/recipes-devtools/luajit/luajit_git.bb renamed from meta-oe/recipes-devtools/luajit/luajit_2.0.5.bb +1
-3-# Aarch64/mips64/ppc/ppc64/riscv64 is not supported in this release -COMPATIBLE_HOST_aarch64 = "null" +# mips64/ppc/ppc64/riscv64 is not supported in this release COMPATIBLE_HOST_mipsarchn32 = "null" COMPATIBLE_HOST_mipsarchn64 = "null" COMPATIBLE_HOST_powerpc = "null" --2.17.1
--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel