Date: Thu, 14 Dec 2023 22:58:27 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 275768] japanese/fcitx-mozc: Fails to build after devel/protobuf is updated to 24.4 Message-ID: <bug-275768-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D275768 Bug ID: 275768 Summary: japanese/fcitx-mozc: Fails to build after devel/protobuf is updated to 24.4 Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: junchoon@dec.sakura.ne.jp CC: hrs@FreeBSD.org, sunpoet@FreeBSD.org CC: hrs@FreeBSD.org, sunpoet@FreeBSD.org japanese/fcitx-mozc starts to failing build after devel/protobuf is updated= to 24.4 at least on stable/14,amd64 at commit c07ebf5becae76dd9843b8a835df9f7ccd65e897. Happened on poudriere bulk build jail, so it's a clean build. Ports tree is at commit 69e2e87fa56b54e267429b326f7f6188a7baaa71, which is = the next commit which devel/protobuf is updated to 24.4. Failure mode is as follows. [ 90% 112/115] rm -f obj/client/libclient.a && /usr/bin/ar rcsT=20 obj/client/libclient.a obj/client/client.client.o obj/client/client.server_launcher.o ../../base/util.cc:1084:10: warning: variable 'num' set but not used [-Wunused-but-set-variable] uint32 num =3D 0; ^ 1 warning generated. [ 96% 113/115] rm -f obj/base/libbase_core.a && /usr/bin/ar rcsT=20 obj/base/libbase_core.a obj/base/base_core.file_stream.o obj/base/base_core.file_util.o obj/base/base_core.init_mozc.o obj/base/base_core.japanese_util_rule.o obj/base/base_core.logging.o obj/base/base_core.mmap.o obj/base/base_core.number_util.o obj/base/base_core.system_util.o obj/base/base_core.text_normalizer.o obj/base/base_core.thread.o obj/base/base_core.util.o obj/base/base_core.version.o obj/base/base_core.win_util.o [ 97% 114/115] touch obj/unix/fcitx/fcitx-mozc.actions_depends.stamp ninja: job failed with status 1: c++ -MMD -MF obj/unix/fcitx/fcitx-mozc.eim= .o.d -DOS_LINUX -DOS_FREEBSD '-DLOCALBASE=3D"/usr/local"' -DMOZC_BUILD -DCHANNEL= _DEV '-DLOCALEDIR=3D"/usr/local/share/locale/"' -DNDEBUG -DQT_NO_DEBUG -DNO_LOGG= ING -DIGNORE_HELP_FLAG -DIGNORE_INVALID_FLAG -I/wrkdirs/usr/ports/japanese/fcitx-mozc/work/mozc-2.23.2815.102.01/src -Ig= en -I/usr/local/include -Igen/proto_out -Wall -Wno-char-subscripts -Wno-sign-compare -Wno-deprecated-declarations -Wwrite-strings -Wno-unknown-warning-option -Wno-inconsistent-missing-override -fPIC -fno-exceptions -O2 -pipe -march=3Dhaswell -fstack-protector-strong -fno-strict-aliasing -fmessage-length=3D0 -fno-strict-aliasing -funsigned-= char -pipe -pthread -fno-omit-frame-pointer -fstack-protector --param=3Dssp-buffer-size=3D4 -I/usr/local/include -Wtype-limits -O2 -pipe -march=3Dhaswell -fstack-protector-strong -fno-strict-aliasing -O2 -O2 -p= ipe -march=3Dhaswell -fstack-protector-strong -fno-strict-aliasing -std=3Dc++17 -Wno-deprecated -O2 -pipe -march=3Dhaswell -fstack-protector-strong -fno-strict-aliasing -std=3Dc++17 -Wno-covered-switch-default -Wno-unnamed-type-template-args -Wno-c++11-narrowing -std=3Dc++11 -O2 -pipe -march=3Dhaswell -fstack-protector-strong -fno-strict-aliasing -std=3Dc+= +17 -c ../../unix/fcitx/eim.cc -o obj/unix/fcitx/fcitx-mozc.eim.o In file included from ../../unix/fcitx/eim.cc:36: In file included from ../../unix/fcitx/fcitx_mozc.h:42: In file included from gen/proto_out/protocol/commands.pb.h:24: In file included from /usr/local/include/google/protobuf/io/coded_stream.h:= 134: In file included from /usr/local/include/absl/strings/cord.h:80: In file included from /usr/local/include/absl/functional/function_ref.h:54: /usr/local/include/absl/functional/internal/function_ref.h:78:68: error: too few arguments provided to function-like macro invocation R InvokeFunction(VoidPtr ptr, typename ForwardT<Args>::type... args) { ^ /usr/local/include/fcitx/module.h:131:9: note: macro 'InvokeFunction' defin= ed here #define InvokeFunction(INST, MODULE, FUNC, ARG) \ ^ In file included from ../../unix/fcitx/eim.cc:36: In file included from ../../unix/fcitx/fcitx_mozc.h:42: In file included from gen/proto_out/protocol/commands.pb.h:24: In file included from /usr/local/include/google/protobuf/io/coded_stream.h:= 134: In file included from /usr/local/include/absl/strings/cord.h:80: In file included from /usr/local/include/absl/functional/function_ref.h:54: /usr/local/include/absl/functional/internal/function_ref.h:79:8: error: expected '(' for function-style cast or type construction auto f =3D reinterpret_cast<Fun>(ptr.fun); ~~~~ ^ /usr/local/include/absl/functional/internal/function_ref.h:82:2: error: expected ';' at end of declaration } ^ ; 3 errors generated. ninja: subcommand failed Traceback (most recent call last): File "/wrkdirs/usr/ports/japanese/fcitx-mozc/work/mozc-2.23.2815.102.01/src/buil= d_mozc.py", line 1272, in <module> main() File "/wrkdirs/usr/ports/japanese/fcitx-mozc/work/mozc-2.23.2815.102.01/src/buil= d_mozc.py", line 1259, in main BuildMain(cmd_opts, cmd_args) File "/wrkdirs/usr/ports/japanese/fcitx-mozc/work/mozc-2.23.2815.102.01/src/buil= d_mozc.py", line 890, in BuildMain BuildWithNinja(options, targets) File "/wrkdirs/usr/ports/japanese/fcitx-mozc/work/mozc-2.23.2815.102.01/src/buil= d_mozc.py", line 864, in BuildWithNinja RunOrDie([ninja, '-v', '-C', build_arg] + ninja_targets) File "/wrkdirs/usr/ports/japanese/fcitx-mozc/work/mozc-2.23.2815.102.01/src/buil= d_tools/util.py", line 96, in RunOrDie raise RunOrDieError('\n'.join(['', build_tools.util.RunOrDieError:=20 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D ERROR: ninja -v -C out_linux/Release fcitx-mozc =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D *** Error code 1 Stop. make[1]: stopped in /usr/ports/japanese/fcitx-mozc *** Error code 1 Stop. make: stopped in /usr/ports/japanese/fcitx-mozc =3D>> Cleaning up wrkdir =3D=3D=3D> Cleaning for ja-fcitx-mozc-2.23.2815.102.01_15 build of japanese/fcitx-mozc | ja-fcitx-mozc-2.23.2815.102.01_15 ended at F= ri Dec 15 07:02:12 JST 2023 build time: 00:00:17 !!! build failure encountered !!! --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-275768-7788>