meta-virtualization.lists.yoctoproject.org archive mirror
 help / color / mirror / Atom feed
From: Hitendra Prajapati <hprajapati@mvista.com>
To: meta-virtualization@lists.yoctoproject.org
Cc: bruce.ashfield@gmail.com, Hitendra Prajapati <hprajapati@mvista.com>
Subject: [meta-cloud-services][PATCH] Remove tag values from SRC_URI to build recipe
Date: Fri, 12 Jan 2024 11:20:43 +0530	[thread overview]
Message-ID: <20240112055043.74453-1-hprajapati@mvista.com> (raw)

To build the fluentd recipe, facing the
Bitbake Fetcher Error: FetchError("Recipe uses a floating tag/branch 'v1.9.2'
for repo 'github.com/fluent/fluentd.git' without a fixed SRCREV yet
doesn't call bb.fetch2.get_srcrev() (use SRCPV in PV for OE).", None)

To fix this issue, Remove tag values from SRC_URI for recipe and its dependent
recipe file.

Upgrade "cool.io", "http-parser.rb" and "strptime" recipe
to resolve the runtime dependency issue.

Signed-off-by: Hitendra Prajapati <hprajapati@mvista.com>
---
 .../ruby/{cool.io_1.6.0.bb => cool.io_1.7.0.bb}             | 5 ++++-
 meta-openstack/recipes-devtools/ruby/fluentd_1.9.2.bb       | 4 +++-
 .../{http-parser.rb_0.6.0.bb => http-parser.rb_0.6.1.bb}    | 6 +++++-
 meta-openstack/recipes-devtools/ruby/msgpack_1.3.3.bb       | 5 ++++-
 meta-openstack/recipes-devtools/ruby/serverengine_2.2.1.bb  | 6 +++++-
 meta-openstack/recipes-devtools/ruby/sigdump_0.2.4.bb       | 6 +++++-
 .../ruby/{strptime_0.2.3.bb => strptime_0.2.5.bb}           | 6 +++++-
 .../recipes-devtools/ruby/tzinfo-data_1.2019.3.bb           | 6 +++++-
 meta-openstack/recipes-devtools/ruby/tzinfo_2.0.1.bb        | 6 +++++-
 meta-openstack/recipes-devtools/ruby/yajl-ruby_1.4.0.bb     | 6 +++++-
 10 files changed, 46 insertions(+), 10 deletions(-)
 rename meta-openstack/recipes-devtools/ruby/{cool.io_1.6.0.bb => cool.io_1.7.0.bb} (76%)
 rename meta-openstack/recipes-devtools/ruby/{http-parser.rb_0.6.0.bb => http-parser.rb_0.6.1.bb} (73%)
 rename meta-openstack/recipes-devtools/ruby/{strptime_0.2.3.bb => strptime_0.2.5.bb} (60%)

diff --git a/meta-openstack/recipes-devtools/ruby/cool.io_1.6.0.bb b/meta-openstack/recipes-devtools/ruby/cool.io_1.7.0.bb
similarity index 76%
rename from meta-openstack/recipes-devtools/ruby/cool.io_1.6.0.bb
rename to meta-openstack/recipes-devtools/ruby/cool.io_1.7.0.bb
index baa63403..10e9a498 100644
--- a/meta-openstack/recipes-devtools/ruby/cool.io_1.6.0.bb
+++ b/meta-openstack/recipes-devtools/ruby/cool.io_1.7.0.bb
@@ -4,9 +4,12 @@ HOMEPAGE = 'http://coolio.github.com'
 LICENSE = 'MIT'
 LIC_FILES_CHKSUM = 'file://LICENSE;md5=a5e7701a63eb0a961f98cd10475129b9'
 
-SRC_URI = 'git://github.com/tarcieri/cool.io.git;protocol=https;tag=v1.6.0'
+SRCREV = 'd7ab8518c11d8fe1b9a679a1686f01a295690fa9'
+
+SRC_URI = 'git://github.com/tarcieri/cool.io.git;protocol=https;branch=master'
 
 S = '${WORKDIR}/git'
 
 inherit ruby
 
+FILES:${PN} += "${libdir}/*"
diff --git a/meta-openstack/recipes-devtools/ruby/fluentd_1.9.2.bb b/meta-openstack/recipes-devtools/ruby/fluentd_1.9.2.bb
index 94d1ec80..dc984d3a 100644
--- a/meta-openstack/recipes-devtools/ruby/fluentd_1.9.2.bb
+++ b/meta-openstack/recipes-devtools/ruby/fluentd_1.9.2.bb
@@ -3,7 +3,9 @@ HOMEPAGE = "https://www.fluentd.org/"
 LICENSE = "Apache-2.0"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=1ffc336af228834e68e0a4d38da165f7"
 
-SRC_URI = "git://github.com/fluent/fluentd.git;protocol=https;tag=v${PV};branch=master"
+SRCREV = "9d113029d4550ce576d8825bfa9612aa3e55bff0"
+
+SRC_URI = "git://github.com/fluent/fluentd.git;protocol=https;branch=master"
 
 S = "${WORKDIR}/git"
 
diff --git a/meta-openstack/recipes-devtools/ruby/http-parser.rb_0.6.0.bb b/meta-openstack/recipes-devtools/ruby/http-parser.rb_0.6.1.bb
similarity index 73%
rename from meta-openstack/recipes-devtools/ruby/http-parser.rb_0.6.0.bb
rename to meta-openstack/recipes-devtools/ruby/http-parser.rb_0.6.1.bb
index 296b8dda..5452c126 100644
--- a/meta-openstack/recipes-devtools/ruby/http-parser.rb_0.6.0.bb
+++ b/meta-openstack/recipes-devtools/ruby/http-parser.rb_0.6.1.bb
@@ -4,7 +4,9 @@ HOMEPAGE = "https://rubygems.org/gems/http_parser.rb"
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://LICENSE-MIT;md5=157efc3766c6d07d3d857ebbab43351a"
 
-SRC_URI = "git://github.com/tmm1/http_parser.rb.git;protocol=https;tag=v0.6.0;branch=master"
+SRCREV = "c8dae7c6c2c78a5016d082a7fbda7e362292c14a"
+
+SRC_URI = "gitsm://github.com/tmm1/http_parser.rb.git;protocol=https;branch=master"
 
 S = "${WORKDIR}/git"
 
@@ -20,3 +22,5 @@ do_configure:prepend() {
 	cd ${WORKDIR}/git
 	git submodule update --init --recursive
 }
+
+FILES:${PN} += "${libdir}/*"
diff --git a/meta-openstack/recipes-devtools/ruby/msgpack_1.3.3.bb b/meta-openstack/recipes-devtools/ruby/msgpack_1.3.3.bb
index f40d6cfe..53826767 100644
--- a/meta-openstack/recipes-devtools/ruby/msgpack_1.3.3.bb
+++ b/meta-openstack/recipes-devtools/ruby/msgpack_1.3.3.bb
@@ -4,9 +4,12 @@ HOMEPAGE = "http://msgpack.org/"
 LICENSE = "Apache-2.0"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=2ee41112a44fe7014dce33e26468ba93"
 
-SRC_URI = "git://github.com/msgpack/msgpack-ruby.git;protocol=https;tag=v${PV};branch=master"
+SRCREV = "64db1bac56359c9257d22f3ffb7506b578d76741"
+
+SRC_URI = "git://github.com/msgpack/msgpack-ruby.git;protocol=https;branch=master"
 
 S = "${WORKDIR}/git"
 
 inherit ruby
 
+FILES:${PN} += "${libdir}/*"
diff --git a/meta-openstack/recipes-devtools/ruby/serverengine_2.2.1.bb b/meta-openstack/recipes-devtools/ruby/serverengine_2.2.1.bb
index 516a72eb..553c5673 100644
--- a/meta-openstack/recipes-devtools/ruby/serverengine_2.2.1.bb
+++ b/meta-openstack/recipes-devtools/ruby/serverengine_2.2.1.bb
@@ -4,10 +4,14 @@ HOMEPAGE = 'https://rubygems.org/gems/serverengine'
 LICENSE = 'Apache-2.0'
 LIC_FILES_CHKSUM = 'file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57'
 
-SRC_URI = 'git://github.com/treasure-data/serverengine.git;protocol=https;tag=v2.2.1'
+SRCREV = '99d44a0989ab3e64e14ac0367aadf76aa13b3583'
+
+SRC_URI = 'git://github.com/treasure-data/serverengine.git;protocol=https;branch=master'
 
 S = '${WORKDIR}/git'
 
 RDEPENDS:${PN} = "sigdump"
 
 inherit ruby
+
+FILES:${PN} += "${libdir}/*"
diff --git a/meta-openstack/recipes-devtools/ruby/sigdump_0.2.4.bb b/meta-openstack/recipes-devtools/ruby/sigdump_0.2.4.bb
index 2f6b8d5a..fc5152e8 100644
--- a/meta-openstack/recipes-devtools/ruby/sigdump_0.2.4.bb
+++ b/meta-openstack/recipes-devtools/ruby/sigdump_0.2.4.bb
@@ -4,8 +4,12 @@ HOMEPAGE = "https://github.com/frsyuki/sigdump"
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=07d6218b18fb6826f04fd32b4918f085"
 
-SRC_URI = "git://github.com/frsyuki/sigdump.git;protocol=https;tag=v0.2.4;branch=master"
+SRCREV = "57570f04456560512e4efc1c6fa695b76c17dc0d"
+
+SRC_URI = "git://github.com/frsyuki/sigdump.git;protocol=https;branch=master"
 
 S = "${WORKDIR}/git"
 
 inherit ruby
+
+FILES:${PN} += "${libdir}/*"
diff --git a/meta-openstack/recipes-devtools/ruby/strptime_0.2.3.bb b/meta-openstack/recipes-devtools/ruby/strptime_0.2.5.bb
similarity index 60%
rename from meta-openstack/recipes-devtools/ruby/strptime_0.2.3.bb
rename to meta-openstack/recipes-devtools/ruby/strptime_0.2.5.bb
index 7167d9ab..d568272d 100644
--- a/meta-openstack/recipes-devtools/ruby/strptime_0.2.3.bb
+++ b/meta-openstack/recipes-devtools/ruby/strptime_0.2.5.bb
@@ -4,10 +4,14 @@ HOMEPAGE = "https://github.com/nurse/strptime"
 LICENSE = "BSD-2-Clause"
 LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=f19575067ffc5f1ddc02c74eeef9904f"
 
-SRC_URI = "git://github.com/nurse/strptime.git;protocol=https;tag=v0.2.3;branch=master"
+SRCREV = "1583aaa510cae4660907b22c8262ab31b1eb1864"
+
+SRC_URI = "git://github.com/nurse/strptime.git;protocol=https;branch=master"
 
 S = "${WORKDIR}/git"
 
 RDEPENDS:${PN} = "bash"
 
 inherit ruby
+
+FILES:${PN} += "${libdir}/*"
diff --git a/meta-openstack/recipes-devtools/ruby/tzinfo-data_1.2019.3.bb b/meta-openstack/recipes-devtools/ruby/tzinfo-data_1.2019.3.bb
index 6b1d01ce..46407553 100644
--- a/meta-openstack/recipes-devtools/ruby/tzinfo-data_1.2019.3.bb
+++ b/meta-openstack/recipes-devtools/ruby/tzinfo-data_1.2019.3.bb
@@ -4,8 +4,12 @@ HOMEPAGE = "https://tzinfo.github.io/"
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=c326926e773a4e99e89820f5d8a0966f"
 
-SRC_URI = "git://github.com/tzinfo/tzinfo-data.git;protocol=https;tag=v1.2019.3;branch=master"
+SRCREV = "74d5a2529d585e1d1ab47b6bbb2449cba29f6907"
+
+SRC_URI = "git://github.com/tzinfo/tzinfo-data.git;protocol=https;branch=master"
 
 S = "${WORKDIR}/git"
 
 inherit ruby
+
+FILES:${PN} += "${libdir}/*"
diff --git a/meta-openstack/recipes-devtools/ruby/tzinfo_2.0.1.bb b/meta-openstack/recipes-devtools/ruby/tzinfo_2.0.1.bb
index 07680d7d..504e3a89 100644
--- a/meta-openstack/recipes-devtools/ruby/tzinfo_2.0.1.bb
+++ b/meta-openstack/recipes-devtools/ruby/tzinfo_2.0.1.bb
@@ -4,10 +4,14 @@ HOMEPAGE = "https://tzinfo.github.io/"
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=c326926e773a4e99e89820f5d8a0966f"
 
-SRC_URI = "git://github.com/tzinfo/tzinfo.git;protocol=https;tag=v2.0.1;branch=master"
+SRCREV = "16b0ff837923401da52325312c51baf9bec700e1"
+
+SRC_URI = "git://github.com/tzinfo/tzinfo.git;protocol=https;branch=master"
 
 S = "${WORKDIR}/git"
 
 RDEPENDS:${PN} = "concurrent-ruby"
 
 inherit ruby
+
+FILES:${PN} += "${libdir}/*"
diff --git a/meta-openstack/recipes-devtools/ruby/yajl-ruby_1.4.0.bb b/meta-openstack/recipes-devtools/ruby/yajl-ruby_1.4.0.bb
index a0635e3a..f91d414a 100644
--- a/meta-openstack/recipes-devtools/ruby/yajl-ruby_1.4.0.bb
+++ b/meta-openstack/recipes-devtools/ruby/yajl-ruby_1.4.0.bb
@@ -4,8 +4,12 @@ HOMEPAGE = "http://rdoc.info/projects/brianmario/yajl-ruby"
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=7dbd3a9f471247a243db5b62fe091587"
 
-SRC_URI = "git://github.com/brianmario/yajl-ruby.git;protocol=https;tag=1.4.0;branch=master"
+SRCREV = "8830754ac1ca04a0c14f71f6e7c1d240934366fe"
+
+SRC_URI = "git://github.com/brianmario/yajl-ruby.git;protocol=https;branch=master"
 
 S = "${WORKDIR}/git"
 
 inherit ruby
+
+FILES:${PN} += "${libdir}/*"
-- 
2.25.1



             reply	other threads:[~2024-01-12  5:51 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-12  5:50 Hitendra Prajapati [this message]
2024-01-15 21:58 ` [meta-cloud-services][PATCH] Remove tag values from SRC_URI to build recipe Bruce Ashfield

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240112055043.74453-1-hprajapati@mvista.com \
    --to=hprajapati@mvista.com \
    --cc=bruce.ashfield@gmail.com \
    --cc=meta-virtualization@lists.yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).