protobuf: fix SRC_URI by removing branch
PATCH v2 1/1 protobuf: fix SRC_URI by removing branch
The 3.4.x branch was removed upstream but the commit referenced in SRC_REV is the 3.4.1 release and is still available:
https://github.com/google/protobuf/releases/tag/v3.4.1
Drop branch=3.4.x from SRC_URI and use commit specified in SRC_REV from the master branch.
---
v2:
- Correct commit message.
meta-oe/recipes-devtools/protobuf/protobuf_3.4.1.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-devtools/protobuf/protobuf_3.4.1.bb +1 -1
@@ -18,7 +18,7 @@ SRCREV = "b04e5cba356212e4e8c66c61bbe0c3a20537c5b9" PV = "3.4.1+git${SRCPV}" -SRC_URI = "git://github.com/google/protobuf.git;branch=3.4.x" +SRC_URI = "git://github.com/google/protobuf.git" EXTRA_OECONF += " --with-protoc=echo"
Signature · 1 line
2.11.0
Can you try this patch with
Bitbake -cleanall recipe
And bake it again
Quoted 34 lines · George McCollister
The 3.4.x branch was removed upstream but the commit referenced in
SRC_REVis the 3.4.1 release and is still available:
https://github.com/google/protobuf/releases/tag/v3.4.1Drop branch=3.4.x from
SRC_URIand use commit specified inSRC_REVfrom the master branch.Signed-off-by George McCollister <[email protected]>---
v2:
- Correct commit message.meta-oe/recipes-devtools/protobuf/protobuf_3.4.1.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)meta-oe/recipes-devtools/protobuf/protobuf_3.4.1.bb +1
-2@@ -18,7 +18,7 @@ SRCREV = "b04e5cba356212e4e8c66c61bbe0c3a20537c5b9" PV = "3.4.1+git${SRCPV}" -SRC_URI = "git://github.com/google/protobuf.git;branch=3.4.x" +SRC_URI = "git://github.com/google/protobuf.git" EXTRA_OECONF += " --with-protoc=echo" --2.11.0
Quoted 5 lines · Khem Raj
Can you try this patch with
Bitbake -cleanall recipe
And bake it again
bitbake -c cleanall protobuf
bitbake protobuf
Works fine for me with the patch applied. Did you run into a problem or have a concern?
Quoted 38 lines
Quoted 34 lines · George McCollister
The 3.4.x branch was removed upstream but the commit referenced in
SRC_REVis the 3.4.1 release and is still available:
https://github.com/google/protobuf/releases/tag/v3.4.1Drop branch=3.4.x from
SRC_URIand use commit specified inSRC_REVfrom the master branch.Signed-off-by George McCollister <[email protected]>---
v2:
- Correct commit message.meta-oe/recipes-devtools/protobuf/protobuf_3.4.1.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)meta-oe/recipes-devtools/protobuf/protobuf_3.4.1.bb +1
-2@@ -18,7 +18,7 @@ SRCREV = "b04e5cba356212e4e8c66c61bbe0c3a20537c5b9" PV = "3.4.1+git${SRCPV}" -SRC_URI = "git://github.com/google/protobuf.git;branch=3.4.x" +SRC_URI = "git://github.com/google/protobuf.git" EXTRA_OECONF += " --with-protoc=echo" --2.11.0
Quoted 5 lines · George McCollister
Quoted 4 lines · Khem Raj
Can you try this patch with
Bitbake -cleanall recipe
Quoted 8 lines
Quoted 1 line
And bake it again
bitbake -c cleanall protobuf
bitbake protobufWorks fine for me with the patch applied. Did you run into a problem or have a concern?
yes my concern was that your local git repo for protobuf might have some commits which might not be available in upstream repo. So checking out a fresh copy from upstreaming and building it is required.
FWIW: I've checked it in fresh checkout with "git branch -a --contains" shown before.
Quoted 25 lines · Khem Raj
Quoted 5 lines · George McCollister
Quoted 4 lines · Khem Raj
Can you try this patch with
Bitbake -cleanall recipe
Quoted 8 lines
Quoted 1 line
And bake it again
bitbake -c cleanall protobuf
bitbake protobufWorks fine for me with the patch applied. Did you run into a problem or have a concern?
yes my concern was that your local git repo for protobuf might have some commits which might not be available in upstream repo. So checking out a fresh copy from upstreaming and building it is required. --
_______________________________________________
Openembedded-devel mailing list [email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
ok thanks for confirming
Quoted 29 lines · Martin Jansa
FWIW: I've checked it in fresh checkout with "git branch -a --contains" shown before.
Quoted 25 lines · Khem Raj
Quoted 5 lines · George McCollister
Quoted 4 lines · Khem Raj
Can you try this patch with
Bitbake -cleanall recipe
Quoted 8 lines
Quoted 1 line
And bake it again
bitbake -c cleanall protobuf
bitbake protobufWorks fine for me with the patch applied. Did you run into a problem or have a concern?
yes my concern was that your local git repo for protobuf might have some commits which might not be available in upstream repo. So checking out a fresh copy from upstreaming and building it is required. --
_______________________________________________
Openembedded-devel mailing list [email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel