Skip to contentSkip to conversation

protobuf: update to 3.3.0

PATCH In review Pascal Bach 2 participants 3 messages May 11, 2017 – May 12, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 protobuf: update to 3.3.0

With the latest version out of tree builds are broken.

---
 .../protobuf/{protobuf_3.1.0.bb => protobuf_3.3.0.bb}               | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
 rename meta-oe/recipes-devtools/protobuf/{protobuf_3.1.0.bb => protobuf_3.3.0.bb} (88%)
meta-oe/recipes-devtools/protobuf/protobuf_3.3.0.bb renamed from meta-oe/recipes-devtools/protobuf/protobuf_3.1.0.bb +3 -3
similarity index 88%
rename from meta-oe/recipes-devtools/protobuf/protobuf_3.1.0.bb
rename to meta-oe/recipes-devtools/protobuf/protobuf_3.3.0.bb
index 18210b1..ce64a88 100644
@@ -14,15 +14,15 @@ RDEPENDS_${PN}-dev += "${PN}-compiler"
 
 LIC_FILES_CHKSUM = "file://LICENSE;md5=35953c752efc9299b184f91bef540095"
 
-SRCREV = "a428e42072765993ff674fda72863c9f1aa2d268"
+SRCREV = "a6189acd18b00611c1dc7042299ad75486f08a1a"
 
-PV = "3.1.0+git${SRCPV}"
+PV = "3.3.0+git${SRCPV}"
 
 SRC_URI = "git://github.com/google/protobuf.git"
 
 EXTRA_OECONF += " --with-protoc=echo"
 
-inherit autotools
+inherit autotools-brokensep
 
 S = "${WORKDIR}/git"
 
Signature · 1 line
2.1.4
#1 lore raw

meta-oe/recipes-devtools/protobuf/protobuf_3.3.0.bb RDEPENDS_${PN}-dev += "${PN}-compiler" · line 25

Quoted 2 lines · Pascal Bach
meta-oe/recipes-devtools/protobuf/protobuf_3.3.0.bb renamed from meta-oe/recipes-devtools/protobuf/protobuf_3.1.0.bb +1 -1
-inherit autotools
+inherit autotools-brokensep

this is backwards, can we see what broke out of tree build ?

#2 lore raw
Quoted 4 lines

meta-oe/recipes-devtools/protobuf/protobuf_3.3.0.bb RDEPENDS_${PN}-dev += "${PN}-compiler" · line 25

Quoted 3 lines
meta-oe/recipes-devtools/protobuf/protobuf_3.3.0.bb renamed from meta-oe/recipes-devtools/protobuf/protobuf_3.1.0.bb +1 -1
-inherit autotools
+inherit autotools-brokensep

this is backwards, can we see what broke out of tree build ?

I agree, but it seems upstream dosn't care to much about out of tree builds.

From a qucik check it seems like they are generating a file in the source tree but are looking for it later in the build tree. I haven't looked into what commit introduced this issue.

Here is the error I get:

ERROR: Logfile of failure stored in: /home/projects/ccp2-next/oe/build/tmp/work/cortexa8-vfp-ccp-linux-gnueabi/protobuf/3.3.0+gitAUTOINC+a6189acd18-r0/temp/log.do_compile.11023 Log data follows:

| DEBUG: SITE files ['endian-little', 'bit-32', 'arm-common', 'arm-32', 'common-linux', 'common-glibc', 'arm-linux', 'arm-linux-gnueabi', 'common']
| DEBUG: Executing shell function do_compile
| NOTE: make -j 8
| ERROR: oe_runmake failed
| make  all-recursive
| make[1]: Entering directory '/home/projects/ccp2-next/oe/build/tmp/work/cortexa8-vfp-ccp-linux-gnueabi/protobuf/3.3.0+gitAUTOINC+a6189acd18-r0/build'
| Making all in .
| make[2]: Entering directory '/home/projects/ccp2-next/oe/build/tmp/work/cortexa8-vfp-ccp-linux-gnueabi/protobuf/3.3.0+gitAUTOINC+a6189acd18-r0/build'
| make[2]: Leaving directory '/home/projects/ccp2-next/oe/build/tmp/work/cortexa8-vfp-ccp-linux-gnueabi/protobuf/3.3.0+gitAUTOINC+a6189acd18-r0/build'
| Making all in src
| make[2]: Entering directory '/home/projects/ccp2-next/oe/build/tmp/work/cortexa8-vfp-ccp-linux-gnueabi/protobuf/3.3.0+gitAUTOINC+a6189acd18-r0/build/src'
| echo -I../../git/src --cpp_out=. ../../git/src/google/protobuf/any_test.proto ../../git/src/google/protobuf/compiler/cpp/cpp_test_bad_identifiers.proto ../../git/src/google/protobuf/map_lite_unittest.proto ../../git/src/google/protobuf/map_proto2_unittest.proto ../../git/src/google/protobuf/map_unittest.proto ../../git/src/google/protobuf/unittest_arena.proto ../../git/src/google/protobuf/unittest_custom_options.proto ../../git/src/google/protobuf/unittest_drop_unknown_fields.proto ../../git/src/google/protobuf/unittest_embed_optimize_for.proto ../../git/src/google/protobuf/unittest_empty.proto ../../git/src/google/protobuf/unittest_enormous_descriptor.proto ../../git/src/google/protobuf/unittest_import_lite.proto ../../git/src/google/protobuf/unittest_import.proto ../../git/src/google/protobuf/unittest_import_public_lite.proto ../../git/src/google/protobuf/unittest_import_public.proto ../../git/src/google/protobuf/unittest_lazy_dependencies.proto

../../git/src/google/protobuf/unittest_lazy_dependencies_custom_option.proto ../../git/src/google/protobuf/unittest_lazy_dependencies_enum.proto ../../git/src/google/protobuf/unittest_lite_imports_nonlite.proto ../../git/src/google/protobuf/unittest_lite.proto ../../git/src/google/protobuf/unittest_mset.proto ../../git/src/google/protobuf/unittest_mset_wire_format.proto ../../git/src/google/protobuf/unittest_no_arena_lite.proto ../../git/src/google/protobuf/unittest_no_arena_import.proto ../../git/src/google/protobuf/unittest_no_arena.proto ../../git/src/google/protobuf/unittest_no_field_presence.proto ../../git/src/google/protobuf/unittest_no_generic_services.proto ../../git/src/google/protobuf/unittest_optimize_for.proto ../../git/src/google/protobuf/unittest_preserve_unknown_enum2.proto ../../git/src/google/protobuf/unittest_preserve_unknown_enum.proto ../../git/src/google/protobuf/unittest.proto ../../git/src/google/protobuf/unittest_proto3_arena.proto ../../git/src/google/protobuf/unittest_proto3_arena_lite.proto ../../git/src/google/protobuf/unittest_proto3_lite.proto ../../git/src/google/protobuf/unittest_well_known_types.proto ../../git/src/google/protobuf/util/internal/testdata/anys.proto ../../git/src/google/protobuf/util/internal/testdata/books.proto ../../git/src/google/protobuf/util/internal/testdata/default_value.proto ../../git/src/google/protobuf/util/internal/testdata/default_value_test.proto ../../git/src/google/protobuf/util/internal/testdata/field_mask.proto ../../git/src/google/protobuf/util/internal/testdata/maps.proto ../../git/src/google/protobuf/util/internal/testdata/oneofs.proto ../../git/src/google/protobuf/util/internal/testdata/proto3.proto ../../git/src/google/protobuf/util/internal/testdata/struct.proto ../../git/src/google/protobuf/util/internal/testdata/timestamp_duration.proto ../../git/src/google/protobuf/util/internal/testdata/wrappers.proto ../../git/src/google/protobuf/util/json_format_proto3.proto ../../git/src/google/protobuf/util/message_differencer_unittest.proto ../../git/src/google/protobuf/compiler/cpp/cpp_test_large_enum_value.proto
| -I../../git/src --cpp_out=. ../../git/src/google/protobuf/any_test.proto ../../git/src/google/protobuf/compiler/cpp/cpp_test_bad_identifiers.proto ../../git/src/google/protobuf/map_lite_unittest.proto ../../git/src/google/protobuf/map_proto2_unittest.proto ../../git/src/google/protobuf/map_unittest.proto ../../git/src/google/protobuf/unittest_arena.proto ../../git/src/google/protobuf/unittest_custom_options.proto ../../git/src/google/protobuf/unittest_drop_unknown_fields.proto ../../git/src/google/protobuf/unittest_embed_optimize_for.proto ../../git/src/google/protobuf/unittest_empty.proto ../../git/src/google/protobuf/unittest_enormous_descriptor.proto ../../git/src/google/protobuf/unittest_import_lite.proto ../../git/src/google/protobuf/unittest_import.proto ../../git/src/google/protobuf/unittest_import_public_lite.proto ../../git/src/google/protobuf/unittest_import_public.proto ../../git/src/google/protobuf/unittest_lazy_dependencies.proto ../../git/src/google/protobuf/unittest_lazy_dependencies_custom_option.proto ../../git/src/google/protobuf/unittest_lazy_dependencies_enum.proto ../../git/src/google/protobuf/unittest_lite_imports_nonlite.proto ../../git/src/google/protobuf/unittest_lite.proto ../../git/src/google/protobuf/unittest_mset.proto ../../git/src/google/protobuf/unittest_mset_wire_format.proto ../../git/src/google/protobuf/unittest_no_arena_lite.proto ../../git/src/google/protobuf/unittest_no_arena_import.proto ../../git/src/google/protobuf/unittest_no_arena.proto ../../git/src/google/protobuf/unittest_no_field_presence.proto ../../git/src/google/protobuf/unittest_no_generic_services.proto ../../git/src/google/protobuf/unittest_optimize_for.proto ../../git/src/google/protobuf/unittest_preserve_unknown_enum2.proto ../../git/src/google/protobuf/unittest_preserve_unknown_enum.proto ../../git/src/google/protobuf/unittest.proto ../../git/src/google/protobuf/unittest_proto3_arena.proto ../../git/src/google/protobuf/unittest_proto3_arena_lite.proto ../../git/src/google/protobuf/unittest_proto3_lite.proto ../../git/src/google/protobuf/unittest_well_known_types.proto ../../git/src/google/protobuf/util/internal/testdata/anys.proto ../../git/src/google/protobuf/util/internal/testdata/books.proto ../../git/src/google/protobuf/util/internal/testdata/default_value.proto ../../git/src/google/protobuf/util/internal/testdata/default_value_test.proto ../../git/src/google/protobuf/util/internal/testdata/field_mask.proto ../../git/src/google/protobuf/util/internal/testdata/maps.proto ../../git/src/google/protobuf/util/internal/testdata/oneofs.proto ../../git/src/google/protobuf/util/internal/testdata/proto3.proto ../../git/src/google/protobuf/util/internal/testdata/struct.proto ../../git/src/google/protobuf/util/internal/testdata/timestamp_duration.proto ../../git/src/google/protobuf/util/internal/testdata/wrappers.proto ../../git/src/google/protobuf/util/json_format_proto3.proto ../../git/src/google/protobuf/util/message_differencer_unittest.proto ../../git/src/google/protobuf/compiler/cpp/cpp_test_large_enum_value.proto

| touch unittest_proto_middleman
| g++  -o js_embed ../../git/src/google/protobuf/compiler/js/embed.cc
| oldpwd=`pwd` && cd ../../git/src && \
| $oldpwd/js_embed google/protobuf/compiler/js/well_known_types/any.js google/protobuf/compiler/js/well_known_types/struct.js google/protobuf/compiler/js/well_known_types/timestamp.js > $oldpwd/google/protobuf/compiler/js/well_known_types_embed.cc
| /bin/sh: line 1: /home/projects/ccp2-next/oe/build/tmp/work/cortexa8-vfp-ccp-linux-gnueabi/protobuf/3.3.0+gitAUTOINC+a6189acd18-r0/build/src/google/protobuf/compiler/js/well_known_types_embed.cc: No such file or directory
| Makefile:8108: recipe for target 'google/protobuf/compiler/js/well_known_types_embed.cc' failed
| make[2]: *** [google/protobuf/compiler/js/well_known_types_embed.cc] Error 1
| make[2]: Leaving directory '/home/projects/ccp2-next/oe/build/tmp/work/cortexa8-vfp-ccp-linux-gnueabi/protobuf/3.3.0+gitAUTOINC+a6189acd18-r0/build/src'
| Makefile:1397: recipe for target 'all-recursive' failed
| make[1]: *** [all-recursive] Error 1
| make[1]: Leaving directory '/home/projects/ccp2-next/oe/build/tmp/work/cortexa8-vfp-ccp-linux-gnueabi/protobuf/3.3.0+gitAUTOINC+a6189acd18-r0/build'
| Makefile:1304: recipe for target 'all' failed
| make: *** [all] Error 2
| ERROR: Function failed: do_compile (log file is located at /home/projects/ccp2-next/oe/build/tmp/work/cortexa8-vfp-ccp-linux-gnueabi/protobuf/3.3.0+gitAUTOINC+a6189acd18-r0/temp/log.do_compile.11023)

ERROR: Task (/home/projects/ccp2-next/oe/build/../meta-oe/meta-oe/recipes-devtools/protobuf/protobuf_3.3.0.bb:do_compile) failed with exit code '1'