* [PATCH] yard: rename 'master' to 'main' in SRC_URI
@ 2020-12-26 20:00 Robert P. J. Day
2020-12-26 20:29 ` [PATCH] json: fix Bignumn/Fixnum issue when using Ruby 2.5 Robert P. J. Day
0 siblings, 1 reply; 4+ messages in thread
From: Robert P. J. Day @ 2020-12-26 20:00 UTC (permalink / raw)
To: meta-virtualization
master branch was renamed to main.
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
---
diff --git a/meta-openstack/recipes-devtools/ruby/yard_git.bb b/meta-openstack/recipes-devtools/ruby/yard_git.bb
index d5232016..e7a25b1f 100644
--- a/meta-openstack/recipes-devtools/ruby/yard_git.bb
+++ b/meta-openstack/recipes-devtools/ruby/yard_git.bb
@@ -20,7 +20,7 @@ SRCREV = "d83194e1a09098ec5be28b616cde3b9a15380873"
S = "${WORKDIR}/git"
SRC_URI = " \
- git://github.com/lsegal/yard.git \
+ git://github.com/lsegal/yard.git;branch=main \
"
inherit ruby
--
========================================================================
Robert P. J. Day Ottawa, Ontario, CANADA
http://crashcourse.ca
LinkedIn: http://ca.linkedin.com/in/rpjday
========================================================================
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH] json: fix Bignumn/Fixnum issue when using Ruby 2.5
@ 2020-12-26 20:29 ` Robert P. J. Day
2020-12-27 12:15 ` [PATCH] ipaddress.git.bb: update SRC_URI to avoid redirection Robert P. J. Day
0 siblings, 1 reply; 4+ messages in thread
From: Robert P. J. Day @ 2020-12-26 20:29 UTC (permalink / raw)
To: meta-virtualization
[-- Attachment #1: Type: text/plain, Size: 2302 bytes --]
There is a recognized problem with json_1.8.3 when used with Ruby 2.5;
in summary:
compiling generator.c
generator.c: In function ‘generate_json’:
generator.c:861:25: error: ‘rb_cFixnum’ undeclared (first use in this
function); did you mean ‘mFixnum’?
} else if (klass == rb_cFixnum) {
^~~~~~~~~~
mFixnum
generator.c:861:25: note: each undeclared identifier is reported only
once for each function it appears in
generator.c:863:25: error: ‘rb_cBignum’ undeclared (first use in this
function); did you mean ‘rb_cFixnum’?
} else if (klass == rb_cBignum) {
^~~~~~~~~~
rb_cFixnum
This is explained in detail at:
https://makandracards.com/makandra/74544-how-to-fix-json-1-8-3-with-ruby-2-5
The simplest solution is to upgrade json just a wee bit to 1.8.5 to
resolve this.
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
---
diff --git a/meta-openstack/recipes-devtools/ruby/json_git.bb b/meta-openstack/recipes-devtools/ruby/json_git.bb
index a417798b..f7b3dd79 100644
--- a/meta-openstack/recipes-devtools/ruby/json_git.bb
+++ b/meta-openstack/recipes-devtools/ruby/json_git.bb
@@ -5,18 +5,18 @@ SUMMARY = "An implementation of the JSON specification according to RFC 4627"
DESCRIPTION = "An implementation of the JSON specification according to RFC 4627"
LICENSE = "GPLv2"
-LIC_FILES_CHKSUM = "file://COPYING;md5=aef161fe3c86f1a8d6c71d3b8c5655c5"
+LIC_FILES_CHKSUM = "file://CHANGES;md5=af8cad0ff27a1593ac5ee461bc2d71ab"
PR = "r0"
-BPV = "1.8.3"
+BPV = "1.8.5"
PV = "${BPV}"
-SRCREV = "db4c71a7701b95c30f945ee1536240920dcfdc17"
+SRCREV = "4cf6c6270f52888997ec1b626b9f557db4f26f2e"
S = "${WORKDIR}/git"
SRC_URI = " \
- git://github.com/flori/json.git \
+ git://github.com/flori/json.git;branch=v1.8 \
"
inherit ruby
--
========================================================================
Robert P. J. Day Ottawa, Ontario, CANADA
http://crashcourse.ca
LinkedIn: http://ca.linkedin.com/in/rpjday
========================================================================
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH] ipaddress.git.bb: update SRC_URI to avoid redirection
@ 2020-12-27 12:15 ` Robert P. J. Day
2021-01-11 4:14 ` [meta-virtualization] " Bruce Ashfield
0 siblings, 1 reply; 4+ messages in thread
From: Robert P. J. Day @ 2020-12-27 12:15 UTC (permalink / raw)
To: meta-virtualization
Current SRC_URI just takes fetcher to new location.
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
---
diff --git a/meta-openstack/recipes-devtools/ruby/ipaddress_git.bb b/meta-openstack/recipes-devtools/ruby/ipaddress_git.bb
index 116bcf5f..017c6c73 100644
--- a/meta-openstack/recipes-devtools/ruby/ipaddress_git.bb
+++ b/meta-openstack/recipes-devtools/ruby/ipaddress_git.bb
@@ -20,7 +20,7 @@ SRCREV = "96aaf68210d644157bd57a6ec3e38c49f38bfc34"
S = "${WORKDIR}/git"
SRC_URI = " \
- git://github.com/bluemonk/ipaddress.git \
+ git://github.com/ipaddress-gem/ipaddress.git \
"
inherit ruby
--
========================================================================
Robert P. J. Day Ottawa, Ontario, CANADA
http://crashcourse.ca
LinkedIn: http://ca.linkedin.com/in/rpjday
========================================================================
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [meta-virtualization] [PATCH] ipaddress.git.bb: update SRC_URI to avoid redirection
2020-12-27 12:15 ` [PATCH] ipaddress.git.bb: update SRC_URI to avoid redirection Robert P. J. Day
@ 2021-01-11 4:14 ` Bruce Ashfield
0 siblings, 0 replies; 4+ messages in thread
From: Bruce Ashfield @ 2021-01-11 4:14 UTC (permalink / raw)
To: Robert P. J. Day; +Cc: meta-virtualization
Sorry for the delay, I was tied up working on k3s in meta-virt and fell
behind a bit.
These are now merged.
Bruce
In message: [meta-virtualization] [PATCH] ipaddress.git.bb: update SRC_URI to avoid redirection
on 27/12/2020 Robert P. J. Day wrote:
>
> Current SRC_URI just takes fetcher to new location.
>
> Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
>
> ---
>
> diff --git a/meta-openstack/recipes-devtools/ruby/ipaddress_git.bb b/meta-openstack/recipes-devtools/ruby/ipaddress_git.bb
> index 116bcf5f..017c6c73 100644
> --- a/meta-openstack/recipes-devtools/ruby/ipaddress_git.bb
> +++ b/meta-openstack/recipes-devtools/ruby/ipaddress_git.bb
> @@ -20,7 +20,7 @@ SRCREV = "96aaf68210d644157bd57a6ec3e38c49f38bfc34"
> S = "${WORKDIR}/git"
>
> SRC_URI = " \
> - git://github.com/bluemonk/ipaddress.git \
> + git://github.com/ipaddress-gem/ipaddress.git \
> "
>
> inherit ruby
>
> --
>
> ========================================================================
> Robert P. J. Day Ottawa, Ontario, CANADA
> http://crashcourse.ca
>
> LinkedIn: http://ca.linkedin.com/in/rpjday
> ========================================================================
>
>
>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2021-01-11 4:14 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-26 20:00 [PATCH] yard: rename 'master' to 'main' in SRC_URI Robert P. J. Day
2020-12-26 20:29 ` [PATCH] json: fix Bignumn/Fixnum issue when using Ruby 2.5 Robert P. J. Day
2020-12-27 12:15 ` [PATCH] ipaddress.git.bb: update SRC_URI to avoid redirection Robert P. J. Day
2021-01-11 4:14 ` [meta-virtualization] " Bruce Ashfield
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.