[Bug 275565] Stopping installation of m ysql-8.0.35 ld-elf.so.1: /usr/ports/databases /mysql80-server/work/.build/library_output_di rectory/libprotoc.so.3.19.4: Undefined symbol "_ZN6google8protobuf7Message17CopyWithSizeCh eckEPS1_RKS1_"

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 06 Dec 2023 08:27:48 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275565

            Bug ID: 275565
           Summary: Stopping installation of mysql-8.0.35 ld-elf.so.1:
                    /usr/ports/databases/mysql80-server/work/.build/librar
                    y_output_directory/libprotoc.so.3.19.4: Undefined
                    symbol
                    "_ZN6google8protobuf7Message17CopyWithSizeCheckEPS1_RK
                    S1_"
           Product: Ports & Packages
           Version: Latest
          Hardware: i386
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: joneum@FreeBSD.org
          Reporter: vadim.2019.nask@gmail.com
          Assignee: joneum@FreeBSD.org
             Flags: maintainer-feedback?(joneum@FreeBSD.org)

Good afternoon! 
After upgrading FreeBSD 13.2 to 14.0, when installing mysql-8.0.35 from ports:
# cd /usr/ports/ databases/mysql80-server && make install clean
# cd /usr/ports/ databases/mysql80-server && make config-recursive && make
install clean
# cd /usr/ports/databases/mysql80-server make DISABLE_VULNERABILITIES=yes
install clean
it stops with an error:

[ 27%] Built target GenLiteProtos
/usr/bin/make  -f
plugin/x/protocol/protobuf/CMakeFiles/mysqlxmessages_lite.dir/build.make
plugin/x/protocol/protobuf/CMakeFiles/mysqlxmessages_lite.dir/depend
[ 27%] Running C++ protobuf compiler on
/usr/ports/databases/mysql80-server/work/.build/plugin/x/generated/protobuf_lite/mysqlx.proto
- lite version
cd /usr/ports/databases/mysql80-server/work/.build/plugin/x/protocol/protobuf
&& ../../../../runtime_output_directory/protoc --cpp_out
/usr/ports/databases/mysql80-server/work/.build/plugin/x/generated/protobuf_lite
-I
/usr/ports/databases/mysql80-server/work/mysql-8.0.35/extra/protobuf/protobuf-3.19.4/src
-I/usr/ports/databases/mysql80-server/work/.build/plugin/x/generated/protobuf_lite
/usr/ports/databases/mysql80-server/work/.build/plugin/x/generated/protobuf_lite/mysqlx.proto
ld-elf.so.1:
/usr/ports/databases/mysql80-server/work/.build/library_output_directory/libprotoc.so.3.19.4:
Undefined symbol "_ZN6google8protobuf7Message17CopyWithSizeCheckEPS1_RKS1_"
*** Error code 1

Stop.
make[4]: stopped in /usr/ports/databases/mysql80-server/work/.build
*** Error code 1

Stop.
make[3]: stopped in /usr/ports/databases/mysql80-server/work/.build
*** Error code 1

Stop.
make[2]: stopped in /usr/ports/databases/mysql80-server/work/.build
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/databases/mysql80-server
*** Error code 1

Stop.
make: stopped in /usr/ports/databases/mysql80-server
============================================================
For system version information:
# uname -smrv
FreeBSD 14.0-RELEASE-p2 FreeBSD 14.0-RELEASE-p2 #0: Tue Dec 5 00:29:54 UTC 2023
root@amd64-builder.daemonology.net:/usr/obj/usr/src/i386.i386/sys/ GENERIC i
# getconf LONG_BIT
32
============================================================
I couldn't find a solution on the Internet. There is speculation that this is a
symptom of an attempt to run a program created for a target on the wrong host.
Has anyone encountered this phenomenon before and is there a solution?
I haven't been able to solve this problem for a week now.

I would really appreciate your help

-- 
You are receiving this mail because:
You are the assignee for the bug.