Mock Version: 3.5 Mock Version: 3.5 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/protobuf.spec'], chrootPath='/var/lib/mock/dist-an23-build-314932-67535/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=990gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/protobuf.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False warning: line 162: Possible unexpanded macro in: Requires: emacs-filesystem >= %{_emacs_version} warning: %patchN is deprecated (2 usages found), use %patch N (or %patch -P N) Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1696896000 Wrote: /builddir/build/SRPMS/protobuf-3.19.6-5.an23.src.rpm RPM build warnings: line 162: Possible unexpanded macro in: Requires: emacs-filesystem >= %{_emacs_version} %patchN is deprecated (2 usages found), use %patch N (or %patch -P N) Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/protobuf.spec'], chrootPath='/var/lib/mock/dist-an23-build-314932-67535/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=990gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/protobuf.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False warning: %patchN is deprecated (2 usages found), use %patch N (or %patch -P N) Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1696896000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.d9rvwr + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf protobuf-3.19.6 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/protobuf-3.19.6-all.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd protobuf-3.19.6 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/googletest-5ec7f0c4a113e2f18ac2c6cc7df51ad6afc24081.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #3 (protobuf-3.19.4-jre17-add-opens.patch):' Patch #3 (protobuf-3.19.4-jre17-add-opens.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .jre17 --fuzz=0 patching file java/pom.xml Patch #4 (protobuf-CVE-2022-3510.patch): + echo 'Patch #4 (protobuf-CVE-2022-3510.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file conformance/conformance_objc.m patching file src/google/protobuf/test_messages_proto2.proto can't find file to patch at input line 56 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- | |From 2bc454cd9b4bf6627cf7454daad20a1b3b7a6c63 Mon Sep 17 00:00:00 2001 |From: Kenji Abe |Date: Sat, 17 Sep 2022 09:13:50 +0900 |Subject: [PATCH 2/9] Add missing `public` modifier to Kotlin generated code | |--- | src/google/protobuf/compiler/java/enum_field.cc | 2 +- | src/google/protobuf/compiler/java/enum_field_lite.cc | 2 +- | src/google/protobuf/compiler/java/message.cc | 2 +- | src/google/protobuf/compiler/java/message_lite.cc | 2 +- | 4 files changed, 4 insertions(+), 4 deletions(-) | |diff --git a/src/google/protobuf/compiler/java/enum_field.cc b/src/google/protobuf/compiler/java/enum_field.cc |index ab799f026c6..1e5f9e8082f 100644 |--- a/src/google/protobuf/compiler/java/enum_field.cc |+++ b/src/google/protobuf/compiler/java/enum_field.cc -------------------------- No file to patch. Skipping patch. 1 out of 1 hunk ignored can't find file to patch at input line 69 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff --git a/src/google/protobuf/compiler/java/enum_field_lite.cc b/src/google/protobuf/compiler/java/enum_field_lite.cc |index 1bdfc3ef565..d3a7fb0ce2c 100644 |--- a/src/google/protobuf/compiler/java/enum_field_lite.cc |+++ b/src/google/protobuf/compiler/java/enum_field_lite.cc -------------------------- No file to patch. Skipping patch. 1 out of 1 hunk ignored can't find file to patch at input line 82 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff --git a/src/google/protobuf/compiler/java/message.cc b/src/google/protobuf/compiler/java/message.cc |index af64911e970..eecea7d62c6 100644 |--- a/src/google/protobuf/compiler/java/message.cc |+++ b/src/google/protobuf/compiler/java/message.cc -------------------------- No file to patch. Skipping patch. 1 out of 1 hunk ignored can't find file to patch at input line 95 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff --git a/src/google/protobuf/compiler/java/message_lite.cc b/src/google/protobuf/compiler/java/message_lite.cc |index fc44cb172de..b087728f276 100644 |--- a/src/google/protobuf/compiler/java/message_lite.cc |+++ b/src/google/protobuf/compiler/java/message_lite.cc -------------------------- No file to patch. Skipping patch. 1 out of 1 hunk ignored patching file objectivec/GPBCodedOutputStream.m Hunk #1 succeeded at 425 (offset 9 lines). Hunk #2 succeeded at 457 (offset 10 lines). Hunk #3 succeeded at 483 (offset 12 lines). Hunk #4 succeeded at 509 (offset 14 lines). Hunk #5 succeeded at 535 (offset 16 lines). Hunk #6 succeeded at 561 (offset 18 lines). Hunk #7 succeeded at 587 (offset 20 lines). Hunk #8 succeeded at 613 (offset 22 lines). Hunk #9 succeeded at 639 (offset 24 lines). Hunk #10 succeeded at 665 (offset 26 lines). Hunk #11 succeeded at 691 (offset 28 lines). Hunk #12 succeeded at 717 (offset 30 lines). Hunk #13 succeeded at 743 (offset 32 lines). Hunk #14 succeeded at 769 (offset 34 lines). Hunk #15 succeeded at 795 (offset 36 lines). Hunk #16 FAILED at 919. Hunk #17 succeeded at 1003 (offset 57 lines). Hunk #18 FAILED at 975. 2 out of 18 hunks FAILED -- saving rejects to file objectivec/GPBCodedOutputStream.m.rej patching file objectivec/GPBDescriptor.m Hunk #1 succeeded at 316 (offset 20 lines). Hunk #2 succeeded at 1038 (offset 42 lines). patching file objectivec/GPBDictionary.m Hunk #1 succeeded at 122 (offset 9 lines). Hunk #2 succeeded at 239 (offset 10 lines). Hunk #3 FAILED at 346. Hunk #4 succeeded at 615 (offset 27 lines). Hunk #5 succeeded at 680 (offset 27 lines). Hunk #6 succeeded at 846 (offset 27 lines). Hunk #7 succeeded at 900 (offset 27 lines). Hunk #8 succeeded at 1451 (offset 28 lines). Hunk #9 succeeded at 1557 (offset 28 lines). Hunk #10 succeeded at 1632 (offset 28 lines). Hunk #11 succeeded at 1738 (offset 28 lines). Hunk #12 succeeded at 1813 (offset 28 lines). Hunk #13 succeeded at 1919 (offset 28 lines). Hunk #14 succeeded at 1994 (offset 28 lines). Hunk #15 succeeded at 2100 (offset 28 lines). Hunk #16 succeeded at 2175 (offset 28 lines). Hunk #17 succeeded at 2281 (offset 28 lines). Hunk #18 succeeded at 2356 (offset 28 lines). Hunk #19 succeeded at 2462 (offset 28 lines). Hunk #20 succeeded at 2537 (offset 28 lines). Hunk #21 succeeded at 2643 (offset 28 lines). Hunk #22 succeeded at 2731 (offset 28 lines). Hunk #23 succeeded at 2849 (offset 28 lines). Hunk #24 succeeded at 2972 (offset 28 lines). Hunk #25 succeeded at 3102 (offset 28 lines). Hunk #26 succeeded at 3183 (offset 30 lines). Hunk #27 succeeded at 3289 (offset 30 lines). Hunk #28 succeeded at 3364 (offset 30 lines). Hunk #29 succeeded at 3470 (offset 30 lines). Hunk #30 succeeded at 3545 (offset 30 lines). Hunk #31 succeeded at 3651 (offset 30 lines). Hunk #32 succeeded at 3726 (offset 30 lines). Hunk #33 succeeded at 3832 (offset 30 lines). Hunk #34 succeeded at 3907 (offset 30 lines). Hunk #35 succeeded at 4013 (offset 30 lines). Hunk #36 succeeded at 4088 (offset 30 lines). Hunk #37 succeeded at 4194 (offset 30 lines). Hunk #38 succeeded at 4269 (offset 30 lines). Hunk #39 succeeded at 4375 (offset 30 lines). Hunk #40 succeeded at 4463 (offset 30 lines). Hunk #41 succeeded at 4581 (offset 30 lines). Hunk #42 succeeded at 4704 (offset 30 lines). Hunk #43 succeeded at 4834 (offset 30 lines). Hunk #44 succeeded at 4915 (offset 32 lines). Hunk #45 succeeded at 5021 (offset 32 lines). Hunk #46 succeeded at 5096 (offset 32 lines). Hunk #47 succeeded at 5202 (offset 32 lines). Hunk #48 succeeded at 5277 (offset 32 lines). Hunk #49 succeeded at 5383 (offset 32 lines). Hunk #50 succeeded at 5458 (offset 32 lines). Hunk #51 succeeded at 5564 (offset 32 lines). Hunk #52 succeeded at 5639 (offset 32 lines). Hunk #53 succeeded at 5745 (offset 32 lines). Hunk #54 succeeded at 5820 (offset 32 lines). Hunk #55 succeeded at 5926 (offset 32 lines). Hunk #56 succeeded at 6001 (offset 32 lines). Hunk #57 succeeded at 6107 (offset 32 lines). Hunk #58 succeeded at 6195 (offset 32 lines). Hunk #59 succeeded at 6313 (offset 32 lines). Hunk #60 succeeded at 6436 (offset 32 lines). Hunk #61 succeeded at 6566 (offset 32 lines). Hunk #62 succeeded at 6647 (offset 34 lines). Hunk #63 succeeded at 6753 (offset 34 lines). Hunk #64 succeeded at 6828 (offset 34 lines). Hunk #65 succeeded at 6934 (offset 34 lines). Hunk #66 succeeded at 7009 (offset 34 lines). Hunk #67 succeeded at 7115 (offset 34 lines). Hunk #68 succeeded at 7190 (offset 34 lines). Hunk #69 succeeded at 7296 (offset 34 lines). Hunk #70 succeeded at 7371 (offset 34 lines). Hunk #71 succeeded at 7477 (offset 34 lines). Hunk #72 succeeded at 7552 (offset 34 lines). Hunk #73 succeeded at 7658 (offset 34 lines). Hunk #74 succeeded at 7733 (offset 34 lines). Hunk #75 succeeded at 7839 (offset 34 lines). Hunk #76 succeeded at 7927 (offset 34 lines). Hunk #77 succeeded at 8045 (offset 34 lines). Hunk #78 succeeded at 8168 (offset 34 lines). Hunk #79 succeeded at 8298 (offset 34 lines). Hunk #80 succeeded at 8383 (offset 36 lines). Hunk #81 succeeded at 8489 (offset 36 lines). Hunk #82 succeeded at 8572 (offset 36 lines). Hunk #83 succeeded at 8678 (offset 36 lines). Hunk #84 succeeded at 8761 (offset 36 lines). Hunk #85 succeeded at 8867 (offset 36 lines). Hunk #86 succeeded at 8950 (offset 36 lines). Hunk #87 succeeded at 9056 (offset 36 lines). Hunk #88 succeeded at 9139 (offset 36 lines). Hunk #89 succeeded at 9245 (offset 36 lines). Hunk #90 succeeded at 9328 (offset 36 lines). Hunk #91 succeeded at 9434 (offset 36 lines). Hunk #92 succeeded at 9517 (offset 36 lines). Hunk #93 succeeded at 9623 (offset 36 lines). Hunk #94 succeeded at 9719 (offset 36 lines). Hunk #95 succeeded at 9837 (offset 36 lines). Hunk #96 succeeded at 9977 (offset 38 lines). Hunk #97 succeeded at 10187 (offset 40 lines). Hunk #98 succeeded at 10397 (offset 42 lines). Hunk #99 succeeded at 10607 (offset 44 lines). Hunk #100 succeeded at 10817 (offset 46 lines). Hunk #101 succeeded at 11027 (offset 48 lines). Hunk #102 succeeded at 11237 (offset 50 lines). Hunk #103 succeeded at 11446 (offset 52 lines). Hunk #104 succeeded at 11689 (offset 51 lines). 1 out of 104 hunks FAILED -- saving rejects to file objectivec/GPBDictionary.m.rej patching file objectivec/GPBMessage.m Hunk #1 FAILED at 953. Hunk #2 succeeded at 2991 (offset 82 lines). 1 out of 2 hunks FAILED -- saving rejects to file objectivec/GPBMessage.m.rej patching file objectivec/GPBRootObject.m Hunk #1 FAILED at 73. Hunk #2 FAILED at 207. 2 out of 2 hunks FAILED -- saving rejects to file objectivec/GPBRootObject.m.rej patching file objectivec/GPBUnknownField.m Hunk #1 FAILED at 153. Hunk #2 FAILED at 196. 2 out of 2 hunks FAILED -- saving rejects to file objectivec/GPBUnknownField.m.rej patching file objectivec/GPBUnknownFieldSet.m Hunk #1 succeeded at 50 (offset 1 line). Hunk #2 FAILED at 183. Hunk #3 FAILED at 198. Hunk #4 FAILED at 212. Hunk #5 FAILED at 265. 4 out of 5 hunks FAILED -- saving rejects to file objectivec/GPBUnknownFieldSet.m.rej patching file objectivec/GPBUtilities.m Hunk #1 FAILED at 115. Hunk #2 FAILED at 134. Hunk #3 FAILED at 153. Hunk #4 FAILED at 1604. Hunk #5 FAILED at 1997. Hunk #6 FAILED at 2180. 6 out of 6 hunks FAILED -- saving rejects to file objectivec/GPBUtilities.m.rej patching file objectivec/Tests/GPBArrayTests.m Hunk #1 succeeded at 102 (offset 1 line). Hunk #2 succeeded at 445 (offset 2 lines). Hunk #3 succeeded at 789 (offset 4 lines). Hunk #4 succeeded at 1133 (offset 6 lines). Hunk #5 succeeded at 1477 (offset 8 lines). Hunk #6 succeeded at 1821 (offset 10 lines). Hunk #7 succeeded at 2165 (offset 12 lines). Hunk #8 succeeded at 2509 (offset 14 lines). Hunk #9 succeeded at 2853 (offset 16 lines). patching file objectivec/Tests/GPBDictionaryTests+Bool.m Hunk #1 succeeded at 56 (offset -2 lines). Hunk #2 succeeded at 122 (offset -2 lines). Hunk #5 succeeded at 666 (offset 2 lines). Hunk #6 succeeded at 732 (offset 2 lines). Hunk #7 succeeded at 971 (offset 4 lines). Hunk #8 succeeded at 1037 (offset 4 lines). Hunk #9 succeeded at 1276 (offset 6 lines). Hunk #10 succeeded at 1342 (offset 6 lines). Hunk #11 succeeded at 1581 (offset 8 lines). Hunk #12 succeeded at 1647 (offset 8 lines). Hunk #13 succeeded at 1886 (offset 10 lines). Hunk #14 succeeded at 1952 (offset 10 lines). Hunk #15 succeeded at 2191 (offset 12 lines). Hunk #16 succeeded at 2249 (offset 12 lines). patching file objectivec/Tests/GPBDictionaryTests+Int32.m Hunk #1 succeeded at 87 (offset -2 lines). Hunk #2 succeeded at 157 (offset -2 lines). Hunk #3 succeeded at 446 (offset -2 lines). Hunk #4 succeeded at 516 (offset -2 lines). Hunk #5 succeeded at 805 (offset -2 lines). Hunk #6 succeeded at 875 (offset -2 lines). Hunk #7 succeeded at 1164 (offset -2 lines). Hunk #8 succeeded at 1234 (offset -2 lines). Hunk #9 succeeded at 1523 (offset -2 lines). Hunk #10 succeeded at 1593 (offset -2 lines). Hunk #11 succeeded at 1882 (offset -2 lines). Hunk #12 succeeded at 1952 (offset -2 lines). Hunk #13 succeeded at 2241 (offset -2 lines). Hunk #14 succeeded at 2311 (offset -2 lines). Hunk #15 succeeded at 2600 (offset -2 lines). Hunk #16 succeeded at 2670 (offset -2 lines). Hunk #17 succeeded at 3027 (offset -2 lines). Hunk #18 succeeded at 3376 (offset -2 lines). Hunk #19 succeeded at 3436 (offset -2 lines). patching file objectivec/Tests/GPBDictionaryTests+Int64.m Hunk #1 succeeded at 87 (offset -2 lines). Hunk #2 succeeded at 157 (offset -2 lines). Hunk #3 succeeded at 446 (offset -2 lines). Hunk #4 succeeded at 516 (offset -2 lines). Hunk #5 succeeded at 805 (offset -2 lines). Hunk #6 succeeded at 875 (offset -2 lines). Hunk #7 succeeded at 1164 (offset -2 lines). Hunk #8 succeeded at 1234 (offset -2 lines). Hunk #9 succeeded at 1523 (offset -2 lines). Hunk #10 succeeded at 1593 (offset -2 lines). Hunk #11 succeeded at 1882 (offset -2 lines). Hunk #12 succeeded at 1952 (offset -2 lines). Hunk #13 succeeded at 2241 (offset -2 lines). Hunk #14 succeeded at 2311 (offset -2 lines). Hunk #15 succeeded at 2600 (offset -2 lines). Hunk #16 succeeded at 2670 (offset -2 lines). Hunk #17 succeeded at 3027 (offset -2 lines). Hunk #18 succeeded at 3376 (offset -2 lines). Hunk #19 succeeded at 3436 (offset -2 lines). patching file objectivec/Tests/GPBDictionaryTests+String.m Hunk #1 succeeded at 87 (offset -2 lines). Hunk #2 succeeded at 157 (offset -2 lines). Hunk #3 succeeded at 446 (offset -2 lines). Hunk #4 succeeded at 516 (offset -2 lines). Hunk #5 succeeded at 805 (offset -2 lines). Hunk #6 succeeded at 875 (offset -2 lines). Hunk #7 succeeded at 1164 (offset -2 lines). Hunk #8 succeeded at 1234 (offset -2 lines). Hunk #9 succeeded at 1523 (offset -2 lines). Hunk #10 succeeded at 1593 (offset -2 lines). Hunk #11 succeeded at 1882 (offset -2 lines). Hunk #12 succeeded at 1952 (offset -2 lines). Hunk #13 succeeded at 2241 (offset -2 lines). Hunk #14 succeeded at 2311 (offset -2 lines). Hunk #15 succeeded at 2600 (offset -2 lines). Hunk #16 succeeded at 2670 (offset -2 lines). Hunk #17 succeeded at 3027 (offset -2 lines). patching file objectivec/Tests/GPBDictionaryTests+UInt32.m Hunk #1 succeeded at 87 (offset -2 lines). Hunk #2 succeeded at 157 (offset -2 lines). Hunk #3 succeeded at 446 (offset -2 lines). Hunk #4 succeeded at 516 (offset -2 lines). Hunk #5 succeeded at 805 (offset -2 lines). Hunk #6 succeeded at 875 (offset -2 lines). Hunk #7 succeeded at 1164 (offset -2 lines). Hunk #8 succeeded at 1234 (offset -2 lines). Hunk #9 succeeded at 1523 (offset -2 lines). Hunk #10 succeeded at 1593 (offset -2 lines). Hunk #11 succeeded at 1882 (offset -2 lines). Hunk #12 succeeded at 1952 (offset -2 lines). Hunk #13 succeeded at 2241 (offset -2 lines). Hunk #14 succeeded at 2311 (offset -2 lines). Hunk #15 succeeded at 2600 (offset -2 lines). Hunk #16 succeeded at 2670 (offset -2 lines). Hunk #17 succeeded at 3027 (offset -2 lines). Hunk #18 succeeded at 3376 (offset -2 lines). Hunk #19 succeeded at 3436 (offset -2 lines). patching file objectivec/Tests/GPBDictionaryTests+UInt64.m Hunk #1 succeeded at 87 (offset -2 lines). Hunk #2 succeeded at 157 (offset -2 lines). Hunk #3 succeeded at 446 (offset -2 lines). Hunk #4 succeeded at 516 (offset -2 lines). Hunk #5 succeeded at 805 (offset -2 lines). Hunk #6 succeeded at 875 (offset -2 lines). Hunk #7 succeeded at 1164 (offset -2 lines). Hunk #8 succeeded at 1234 (offset -2 lines). Hunk #9 succeeded at 1523 (offset -2 lines). Hunk #10 succeeded at 1593 (offset -2 lines). Hunk #11 succeeded at 1882 (offset -2 lines). Hunk #12 succeeded at 1952 (offset -2 lines). Hunk #13 succeeded at 2241 (offset -2 lines). Hunk #14 succeeded at 2311 (offset -2 lines). Hunk #15 succeeded at 2600 (offset -2 lines). Hunk #16 succeeded at 2670 (offset -2 lines). Hunk #17 succeeded at 3027 (offset -2 lines). Hunk #18 succeeded at 3376 (offset -2 lines). Hunk #19 succeeded at 3436 (offset -2 lines). patching file objectivec/Tests/GPBDictionaryTests.pddm patching file objectivec/Tests/GPBMessageTests+Runtime.m Hunk #1 succeeded at 2708 (offset 108 lines). patching file objectivec/Tests/GPBMessageTests.m Hunk #1 FAILED at 74. 1 out of 1 hunk FAILED -- saving rejects to file objectivec/Tests/GPBMessageTests.m.rej patching file Protobuf.podspec Hunk #1 FAILED at 34. 1 out of 1 hunk FAILED -- saving rejects to file Protobuf.podspec.rej patching file objectivec/DevTools/full_mac_build.sh Hunk #1 FAILED at 224. Hunk #2 FAILED at 274. Hunk #3 FAILED at 295. 3 out of 3 hunks FAILED -- saving rejects to file objectivec/DevTools/full_mac_build.sh.rej patching file objectivec/ProtocolBuffers_OSX.xcodeproj/project.pbxproj Hunk #2 succeeded at 655 (offset -8 lines). Hunk #3 succeeded at 851 (offset -6 lines). Hunk #4 succeeded at 882 (offset -6 lines). Hunk #5 succeeded at 960 (offset -6 lines). Hunk #6 succeeded at 1029 (offset -6 lines). patching file objectivec/ProtocolBuffers_iOS.xcodeproj/project.pbxproj Hunk #2 succeeded at 662 (offset -8 lines). Hunk #3 succeeded at 863 (offset -6 lines). Hunk #4 succeeded at 878 (offset -6 lines). Hunk #5 succeeded at 901 (offset -6 lines). Hunk #6 succeeded at 915 (offset -6 lines). Hunk #7 succeeded at 984 (offset -6 lines). Hunk #8 succeeded at 1053 (offset -6 lines). patching file objectivec/ProtocolBuffers_tvOS.xcodeproj/project.pbxproj Hunk #2 succeeded at 662 (offset -8 lines). Hunk #3 succeeded at 859 (offset -6 lines). Hunk #4 succeeded at 873 (offset -6 lines). Hunk #5 succeeded at 896 (offset -6 lines). Hunk #6 succeeded at 909 (offset -6 lines). Hunk #7 succeeded at 981 (offset -6 lines). Hunk #8 succeeded at 1049 (offset -6 lines). patching file objectivec/README.md patching file src/google/protobuf/compiler/parser.cc Hunk #1 FAILED at 430. Hunk #2 FAILED at 1264. Hunk #3 FAILED at 1413. 3 out of 3 hunks FAILED -- saving rejects to file src/google/protobuf/compiler/parser.cc.rej patching file src/google/protobuf/compiler/parser.h Hunk #1 FAILED at 245. 1 out of 1 hunk FAILED -- saving rejects to file src/google/protobuf/compiler/parser.h.rej patching file src/google/protobuf/compiler/parser_unittest.cc Hunk #1 FAILED at 3606. 1 out of 1 hunk FAILED -- saving rejects to file src/google/protobuf/compiler/parser_unittest.cc.rej patching file cmake/README.md Hunk #1 FAILED at 89. Hunk #2 FAILED at 112. Hunk #3 FAILED at 192. Hunk #4 FAILED at 268. 4 out of 4 hunks FAILED -- saving rejects to file cmake/README.md.rej The next patch would delete the file kokoro/windows/cmake_nmake/build.bat, which does not exist! Applying it anyway. patching file kokoro/windows/cmake_nmake/build.bat Hunk #1 FAILED at 1. 1 out of 1 hunk FAILED -- saving rejects to file kokoro/windows/cmake_nmake/build.bat.rej The next patch would delete the file kokoro/windows/cmake_nmake/common.cfg, which does not exist! Applying it anyway. patching file kokoro/windows/cmake_nmake/common.cfg Hunk #1 FAILED at 1. 1 out of 1 hunk FAILED -- saving rejects to file kokoro/windows/cmake_nmake/common.cfg.rej The next patch would delete the file kokoro/windows/cmake_nmake/continuous.cfg, which does not exist! Applying it anyway. patching file kokoro/windows/cmake_nmake/continuous.cfg Hunk #1 FAILED at 1. 1 out of 1 hunk FAILED -- saving rejects to file kokoro/windows/cmake_nmake/continuous.cfg.rej The next patch would delete the file kokoro/windows/cmake_nmake/presubmit.cfg, which does not exist! Applying it anyway. patching file kokoro/windows/cmake_nmake/presubmit.cfg Hunk #1 FAILED at 1. 1 out of 1 hunk FAILED -- saving rejects to file kokoro/windows/cmake_nmake/presubmit.cfg.rej patching file src/google/protobuf/compiler/parser_unittest.cc Hunk #1 FAILED at 2069. 1 out of 1 hunk FAILED -- saving rejects to file src/google/protobuf/compiler/parser_unittest.cc.rej patching file src/google/protobuf/descriptor.cc Hunk #1 FAILED at 3855. Hunk #2 FAILED at 3866. Hunk #3 FAILED at 5430. Hunk #4 FAILED at 5498. Hunk #5 FAILED at 5979. Hunk #6 FAILED at 5995. Hunk #7 FAILED at 6873. Hunk #8 FAILED at 6897. 8 out of 8 hunks FAILED -- saving rejects to file src/google/protobuf/descriptor.cc.rej patching file src/google/protobuf/descriptor_unittest.cc Hunk #1 FAILED at 6478. Hunk #2 FAILED at 6505. Hunk #3 FAILED at 6518. Hunk #4 FAILED at 6531. Hunk #5 FAILED at 6544. Hunk #6 FAILED at 6890. Hunk #7 FAILED at 6902. 7 out of 7 hunks FAILED -- saving rejects to file src/google/protobuf/descriptor_unittest.cc.rej can't find file to patch at input line 4518 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- | |From 01fe22219a0312b178a265e75fe35422ea6afbb1 Mon Sep 17 00:00:00 2001 |From: Mike Kruskal <62662355+mkruskal-google@users.noreply.github.com> |Date: Mon, 26 Sep 2022 12:36:06 -0700 |Subject: [PATCH 8/9] Open up visibility for some compiler internals (#10608) | |* Expose language-specific naming utilities in Bazel for downstream code generators | |* Expose language generators without exposing implementation details | |* Update cmake configs | |* Revert "Expose language generators without exposing implementation details" | |This reverts commit b073d9b4ebf28b825a6340ea0dfc60f1e43ae4c1. | |* Give gRPC privileged access to our python generator | |* Naming cleanup | |* Add linkage for public names.h helpers | |* Fixing build/merge issues | |* Fix extension docstring |--- | pkg/BUILD.bazel | 8 + | src/file_lists.cmake | 9 +- | src/google/protobuf/compiler/BUILD.bazel | 1 + | .../command_line_interface_unittest.cc | 1 + | src/google/protobuf/compiler/cpp/BUILD.bazel | 38 +- | .../protobuf/compiler/csharp/BUILD.bazel | 15 +- | .../compiler/csharp/csharp_field_base.cc | 2 +- | .../compiler/csharp/csharp_generator.cc | 3 +- | .../compiler/csharp/csharp_helpers.cc | 167 +------- | .../protobuf/compiler/csharp/csharp_helpers.h | 22 +- | .../compiler/csharp/csharp_message.cc | 2 +- | .../csharp/csharp_reflection_class.cc | 2 +- | .../csharp/csharp_source_generator_base.cc | 2 +- | src/google/protobuf/compiler/csharp/names.cc | 225 +++++++++++ | .../csharp/{csharp_names.h => names.h} | 42 +- | src/google/protobuf/compiler/java/BUILD.bazel | 43 ++- | src/google/protobuf/compiler/java/context.cc | 6 +- | src/google/protobuf/compiler/java/context.h | 15 + | src/google/protobuf/compiler/java/helpers.cc | 136 ------- | src/google/protobuf/compiler/java/helpers.h | 31 +- | src/google/protobuf/compiler/java/names.cc | 194 ++++++++++ | src/google/protobuf/compiler/java/names.h | 26 ++ | .../protobuf/compiler/objectivec/BUILD.bazel | 32 +- | .../{objectivec_helpers.cc => names.cc} | 2 +- | .../protobuf/compiler/objectivec/names.h | 363 ++++++++++++++++++ | .../compiler/objectivec/objectivec_helpers.h | 312 +-------------- | src/google/protobuf/compiler/php/BUILD.bazel | 15 + | src/google/protobuf/compiler/php/names.cc | 144 +++++++ | src/google/protobuf/compiler/php/names.h | 73 ++++ | .../protobuf/compiler/php/php_generator.cc | 116 +----- | .../protobuf/compiler/php/php_generator.h | 8 +- | .../protobuf/compiler/python/BUILD.bazel | 1 + | 32 files changed, 1255 insertions(+), 801 deletions(-) | create mode 100644 src/google/protobuf/compiler/csharp/names.cc | rename src/google/protobuf/compiler/csharp/{csharp_names.h => names.h} (72%) | create mode 100644 src/google/protobuf/compiler/java/names.cc | rename src/google/protobuf/compiler/objectivec/{objectivec_helpers.cc => names.cc} (99%) | create mode 100644 src/google/protobuf/compiler/objectivec/names.h | create mode 100644 src/google/protobuf/compiler/php/names.cc | create mode 100644 src/google/protobuf/compiler/php/names.h | |diff --git a/pkg/BUILD.bazel b/pkg/BUILD.bazel |index 4eda549da51..34e60d6c158 100644 |--- a/pkg/BUILD.bazel |+++ b/pkg/BUILD.bazel -------------------------- No file to patch. Skipping patch. 1 out of 1 hunk ignored can't find file to patch at input line 4541 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff --git a/src/file_lists.cmake b/src/file_lists.cmake |index a61e3f13737..e874574e824 100644 |--- a/src/file_lists.cmake |+++ b/src/file_lists.cmake -------------------------- No file to patch. Skipping patch. 6 out of 6 hunks ignored can't find file to patch at input line 4613 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff --git a/src/google/protobuf/compiler/BUILD.bazel b/src/google/protobuf/compiler/BUILD.bazel |index baae70ed3ac..af05903a6a5 100644 |--- a/src/google/protobuf/compiler/BUILD.bazel |+++ b/src/google/protobuf/compiler/BUILD.bazel -------------------------- No file to patch. Skipping patch. 1 out of 1 hunk ignored patching file src/google/protobuf/compiler/command_line_interface_unittest.cc Hunk #1 FAILED at 66. 1 out of 1 hunk FAILED -- saving rejects to file src/google/protobuf/compiler/command_line_interface_unittest.cc.rej can't find file to patch at input line 4637 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff --git a/src/google/protobuf/compiler/cpp/BUILD.bazel b/src/google/protobuf/compiler/cpp/BUILD.bazel |index 4463a09652b..7f0ef6a27de 100644 |--- a/src/google/protobuf/compiler/cpp/BUILD.bazel |+++ b/src/google/protobuf/compiler/cpp/BUILD.bazel -------------------------- No file to patch. Skipping patch. 4 out of 4 hunks ignored can't find file to patch at input line 4711 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff --git a/src/google/protobuf/compiler/csharp/BUILD.bazel b/src/google/protobuf/compiler/csharp/BUILD.bazel |index df3d7bfb17f..433e0b238a9 100644 |--- a/src/google/protobuf/compiler/csharp/BUILD.bazel |+++ b/src/google/protobuf/compiler/csharp/BUILD.bazel -------------------------- No file to patch. Skipping patch. 3 out of 3 hunks ignored patching file src/google/protobuf/compiler/csharp/csharp_field_base.cc Hunk #1 FAILED at 38. 1 out of 1 hunk FAILED -- saving rejects to file src/google/protobuf/compiler/csharp/csharp_field_base.cc.rej patching file src/google/protobuf/compiler/csharp/csharp_generator.cc Hunk #1 FAILED at 34. 1 out of 1 hunk FAILED -- saving rejects to file src/google/protobuf/compiler/csharp/csharp_generator.cc.rej patching file src/google/protobuf/compiler/csharp/csharp_helpers.cc Hunk #1 FAILED at 47. Hunk #2 FAILED at 110. Hunk #3 FAILED at 342. Hunk #4 succeeded at 355 (offset -22 lines). Hunk #5 FAILED at 429. 4 out of 5 hunks FAILED -- saving rejects to file src/google/protobuf/compiler/csharp/csharp_helpers.cc.rej patching file src/google/protobuf/compiler/csharp/csharp_helpers.h Hunk #1 FAILED at 38. Hunk #3 FAILED at 82. 2 out of 3 hunks FAILED -- saving rejects to file src/google/protobuf/compiler/csharp/csharp_helpers.h.rej patching file src/google/protobuf/compiler/csharp/csharp_message.cc Hunk #1 FAILED at 40. 1 out of 1 hunk FAILED -- saving rejects to file src/google/protobuf/compiler/csharp/csharp_message.cc.rej patching file src/google/protobuf/compiler/csharp/csharp_reflection_class.cc Hunk #1 FAILED at 38. 1 out of 1 hunk FAILED -- saving rejects to file src/google/protobuf/compiler/csharp/csharp_reflection_class.cc.rej patching file src/google/protobuf/compiler/csharp/csharp_source_generator_base.cc Hunk #1 FAILED at 35. 1 out of 1 hunk FAILED -- saving rejects to file src/google/protobuf/compiler/csharp/csharp_source_generator_base.cc.rej patching file src/google/protobuf/compiler/csharp/names.cc patching file src/google/protobuf/compiler/csharp/names.h (renamed from src/google/protobuf/compiler/csharp/csharp_names.h) Hunk #1 succeeded at 73 (offset 2 lines). Hunk #2 succeeded at 125 (offset 2 lines). can't find file to patch at input line 5373 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff --git a/src/google/protobuf/compiler/java/BUILD.bazel b/src/google/protobuf/compiler/java/BUILD.bazel |index 5c4d5f162d0..3ccc73da812 100644 |--- a/src/google/protobuf/compiler/java/BUILD.bazel |+++ b/src/google/protobuf/compiler/java/BUILD.bazel -------------------------- No file to patch. Skipping patch. 6 out of 6 hunks ignored can't find file to patch at input line 5462 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff --git a/src/google/protobuf/compiler/java/context.cc b/src/google/protobuf/compiler/java/context.cc |index d9bc0fe2a8d..e750dcbc860 100644 |--- a/src/google/protobuf/compiler/java/context.cc |+++ b/src/google/protobuf/compiler/java/context.cc -------------------------- No file to patch. Skipping patch. 2 out of 2 hunks ignored can't find file to patch at input line 5488 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff --git a/src/google/protobuf/compiler/java/context.h b/src/google/protobuf/compiler/java/context.h |index 4697c8ce86a..2291cfaac0c 100644 |--- a/src/google/protobuf/compiler/java/context.h |+++ b/src/google/protobuf/compiler/java/context.h -------------------------- No file to patch. Skipping patch. 2 out of 2 hunks ignored can't find file to patch at input line 5521 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff --git a/src/google/protobuf/compiler/java/helpers.cc b/src/google/protobuf/compiler/java/helpers.cc |index 2fe7a0a4a46..553f0045384 100644 |--- a/src/google/protobuf/compiler/java/helpers.cc |+++ b/src/google/protobuf/compiler/java/helpers.cc -------------------------- No file to patch. Skipping patch. 4 out of 4 hunks ignored can't find file to patch at input line 5695 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff --git a/src/google/protobuf/compiler/java/helpers.h b/src/google/protobuf/compiler/java/helpers.h |index 6fe43aedced..9273ae3c0ba 100644 |--- a/src/google/protobuf/compiler/java/helpers.h |+++ b/src/google/protobuf/compiler/java/helpers.h -------------------------- No file to patch. Skipping patch. 3 out of 3 hunks ignored patching file src/google/protobuf/compiler/java/names.cc can't find file to patch at input line 5951 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff --git a/src/google/protobuf/compiler/java/names.h b/src/google/protobuf/compiler/java/names.h |index f9c4b953840..73c78fb2363 100644 |--- a/src/google/protobuf/compiler/java/names.h |+++ b/src/google/protobuf/compiler/java/names.h -------------------------- No file to patch. Skipping patch. 2 out of 2 hunks ignored can't find file to patch at input line 5995 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff --git a/src/google/protobuf/compiler/objectivec/BUILD.bazel b/src/google/protobuf/compiler/objectivec/BUILD.bazel |index ee2ef1f0e0b..248e2ab8cde 100644 |--- a/src/google/protobuf/compiler/objectivec/BUILD.bazel |+++ b/src/google/protobuf/compiler/objectivec/BUILD.bazel -------------------------- No file to patch. Skipping patch. 4 out of 4 hunks ignored patching file src/google/protobuf/compiler/objectivec/names.cc (renamed from src/google/protobuf/compiler/objectivec/objectivec_helpers.cc) Hunk #1 FAILED at 49. 1 out of 1 hunk FAILED -- saving rejects to file src/google/protobuf/compiler/objectivec/names.cc.rej patching file src/google/protobuf/compiler/objectivec/names.h patching file src/google/protobuf/compiler/objectivec/objectivec_helpers.h Hunk #1 FAILED at 33. Hunk #2 FAILED at 49. 2 out of 2 hunks FAILED -- saving rejects to file src/google/protobuf/compiler/objectivec/objectivec_helpers.h.rej can't find file to patch at input line 6774 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff --git a/src/google/protobuf/compiler/php/BUILD.bazel b/src/google/protobuf/compiler/php/BUILD.bazel |index d2540189d1d..3f8376fae3f 100644 |--- a/src/google/protobuf/compiler/php/BUILD.bazel |+++ b/src/google/protobuf/compiler/php/BUILD.bazel -------------------------- No file to patch. Skipping patch. 2 out of 2 hunks ignored patching file src/google/protobuf/compiler/php/names.cc patching file src/google/protobuf/compiler/php/names.h patching file src/google/protobuf/compiler/php/php_generator.cc Hunk #1 FAILED at 50. Hunk #2 succeeded at 120 (offset -4 lines). Hunk #3 succeeded at 131 (offset -3 lines). Hunk #4 succeeded at 142 (offset -3 lines). Hunk #5 succeeded at 183 (offset -3 lines). Hunk #6 succeeded at 209 (offset -3 lines). Hunk #7 succeeded at 227 (offset -3 lines). Hunk #8 succeeded at 235 (offset -3 lines). Hunk #9 succeeded at 1228 (offset -18 lines). Hunk #10 succeeded at 2181 (offset -95 lines). 1 out of 10 hunks FAILED -- saving rejects to file src/google/protobuf/compiler/php/php_generator.cc.rej patching file src/google/protobuf/compiler/php/php_generator.h Hunk #1 FAILED at 32. 1 out of 2 hunks FAILED -- saving rejects to file src/google/protobuf/compiler/php/php_generator.h.rej can't find file to patch at input line 7263 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff --git a/src/google/protobuf/compiler/python/BUILD.bazel b/src/google/protobuf/compiler/python/BUILD.bazel |index fadb1767cc3..933d0631fc1 100644 |--- a/src/google/protobuf/compiler/python/BUILD.bazel |+++ b/src/google/protobuf/compiler/python/BUILD.bazel -------------------------- No file to patch. Skipping patch. 1 out of 1 hunk ignored patching file java/protoc/README.md can't find file to patch at input line 7356 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff --git a/java/protoc/pom.xml b/java/protoc/pom.xml |index b2cd0d55192..9b61b9826a7 100644 |--- a/java/protoc/pom.xml |+++ b/java/protoc/pom.xml -------------------------- No file to patch. Skipping patch. 1 out of 1 hunk ignored patching file kokoro/release/collect_all_artifacts.sh patching file kokoro/release/protoc/build-protoc.sh (renamed from protoc-artifacts/build-protoc.sh) patching file kokoro/release/protoc/linux/build.sh Hunk #1 FAILED at 18. 1 out of 1 hunk FAILED -- saving rejects to file kokoro/release/protoc/linux/build.sh.rej patching file protoc-artifacts/README.md Hunk #1 FAILED at 1. Not deleting file protoc-artifacts/README.md as content differs from patch 1 out of 1 hunk FAILED -- saving rejects to file protoc-artifacts/README.md.rej patching file protoc-artifacts/build-zip.sh Hunk #1 FAILED at 1. Not deleting file protoc-artifacts/build-zip.sh as content differs from patch 1 out of 1 hunk FAILED -- saving rejects to file protoc-artifacts/build-zip.sh.rej patching file protoc-artifacts/pom.xml Hunk #1 FAILED at 1. Not deleting file protoc-artifacts/pom.xml as content differs from patch 1 out of 1 hunk FAILED -- saving rejects to file protoc-artifacts/pom.xml.rej patching file protoc-artifacts/scl-enable-devtoolset.sh RPM build warnings: RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.d9rvwr (%prep) %patchN is deprecated (2 usages found), use %patch N (or %patch -P N) Bad exit status from /var/tmp/rpm-tmp.d9rvwr (%prep) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/protobuf.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 598, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/protobuf.spec