[Bug 236101] databases/mariadb103-server: Fails to link, undefined symbol: sql_print_information

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Feb 28 09:17:11 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=236101

            Bug ID: 236101
           Summary: databases/mariadb103-server: Fails to link, undefined
                    symbol: sql_print_information
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: brnrd at freebsd.org
          Reporter: iron.udjin at gmail.com
             Flags: maintainer-feedback?(brnrd at freebsd.org)
          Assignee: brnrd at freebsd.org

mariadb-10.3.13
OS: 12.0-STABLE r344617
clang: 7.0.1 (tags/RELEASE_701/final 349250) (based on LLVM 7.0.1)
CFLAGS= -O2 -pipe -march=native

Options        :
        CONNECT_EXTRA  : off
        DOCS           : off
        GSSAPI_BASE    : off
        GSSAPI_HEIMDAL : off
        GSSAPI_MIT     : off
        GSSAPI_NONE    : on
        INNOBASE       : on
        LZ4            : on
        LZO            : on
        MROONGA        : off
        MSGPACK        : off
        OQGRAPH        : off
        ROCKSDB        : off
        SNAPPY         : on
        SPHINX         : off
        SPIDER         : off
        TOKUDB         : off
        WSREP          : off
        ZMQ            : off
        ZSTD           : on


[ 65%] Linking CXX executable mbstream
cd
/usr/ports/databases/mariadb103-server/work/mariadb-10.3.13/extra/mariabackup
&& /usr/local/bin/cmake -E cmake_link_script CMakeFiles/mbstream.dir/link.txt
--verbose=1
/usr/bin/c++  -O2 -pipe -march=native -march=native -fstack-protector -isystem
/usr/local/include -fno-strict-aliasing  -isystem /usr/local/include
-Wl,-z,relro,-z,now -fstack-protector --param=ssp-buffer-size=4 -fno-rtti -O2
-pipe -march=native -march=native -fstack-protector -isystem /usr/local/include
-fno-strict-aliasing  -isystem /usr/local/include -D_FORTIFY_SOURCE=2
-DDBUG_OFF    -fstack-protector CMakeFiles/mbstream.dir/ds_buffer.cc.o
CMakeFiles/mbstream.dir/ds_local.cc.o CMakeFiles/mbstream.dir/ds_stdout.cc.o
CMakeFiles/mbstream.dir/datasink.cc.o CMakeFiles/mbstream.dir/xbstream.cc.o
CMakeFiles/mbstream.dir/xbstream_read.cc.o
CMakeFiles/mbstream.dir/xbstream_write.cc.o  -o mbstream
-Wl,-rpath,:::::::::::::: -pthread ../../storage/innobase/libinnobase.a
../../mysys/libmysys.a crc/libcrc.a ../../dbug/libdbug.a
../../mysys_ssl/libmysys_ssl.a ../../mysys/libmysys.a ../../dbug/libdbug.a
../../mysys_ssl/libmysys_ssl.a -lm -lexecinfo ../../strings/libstrings.a -lssl
-lcrypto ../../storage/innobase/libinnobase.a -pthread -lz
/usr/local/lib/liblz4.so /usr/local/lib/liblzo2.so -llzma -lbz2
/usr/local/lib/libsnappy.so 
ld: error: undefined symbol: sql_print_information(char const*, ...)
>>> referenced by ut0ut.cc
>>>               ut0ut.cc.o:(ib::info::~info()) in archive ../../storage/innobase/libinnobase.a

ld: error: undefined symbol: sql_print_warning(char const*, ...)
>>> referenced by ut0ut.cc
>>>               ut0ut.cc.o:(ib::warn::~warn()) in archive ../../storage/innobase/libinnobase.a

ld: error: undefined symbol: sql_print_error(char const*, ...)
>>> referenced by ut0ut.cc
>>>               ut0ut.cc.o:(ib::error::~error()) in archive ../../storage/innobase/libinnobase.a

ld: error: undefined symbol: sql_print_error(char const*, ...)
>>> referenced by ut0ut.cc
>>>               ut0ut.cc.o:(ib::fatal::~fatal()) in archive ../../storage/innobase/libinnobase.a

ld: error: undefined symbol: sql_print_error(char const*, ...)
>>> referenced by ut0ut.cc
>>>               ut0ut.cc.o:(ib::error_or_warn::~error_or_warn()) in archive ../../storage/innobase/libinnobase.a

ld: error: undefined symbol: sql_print_warning(char const*, ...)
>>> referenced by ut0ut.cc
>>>               ut0ut.cc.o:(ib::error_or_warn::~error_or_warn()) in archive ../../storage/innobase/libinnobase.a

ld: error: undefined symbol: sql_print_error(char const*, ...)
>>> referenced by ut0ut.cc
>>>               ut0ut.cc.o:(ib::fatal_or_error::~fatal_or_error()) in archive ../../storage/innobase/libinnobase.a

ld: error: undefined symbol: thd_wait_begin
>>> referenced by srv0conc.cc
>>>               srv0conc.cc.o:(srv_conc_enter_innodb(row_prebuilt_t*)) in archive ../../storage/innobase/libinnobase.a

ld: error: undefined symbol: thd_wait_end
>>> referenced by srv0conc.cc
>>>               srv0conc.cc.o:(srv_conc_enter_innodb(row_prebuilt_t*)) in archive ../../storage/innobase/libinnobase.a

ld: error: undefined symbol: thd_wait_end
>>> referenced by srv0conc.cc
>>>               srv0conc.cc.o:(srv_conc_enter_innodb(row_prebuilt_t*)) in archive ../../storage/innobase/libinnobase.a

ld: error: undefined symbol: create_thd()
>>> referenced by ha_innodb.cc
>>>               ha_innodb.cc.o:(thd_destructor_proxy) in archive ../../storage/innobase/libinnobase.a

ld: error: undefined symbol: set_thd_proc_info
>>> referenced by ha_innodb.cc
>>>               ha_innodb.cc.o:(thd_destructor_proxy) in archive ../../storage/innobase/libinnobase.a

ld: error: undefined symbol: set_thd_proc_info
>>> referenced by ha_innodb.cc
>>>               ha_innodb.cc.o:(thd_destructor_proxy) in archive ../../storage/innobase/libinnobase.a

ld: error: undefined symbol: thread_count
>>> referenced by ha_innodb.cc
>>>               ha_innodb.cc.o:(thd_destructor_proxy) in archive ../../storage/innobase/libinnobase.a

ld: error: undefined symbol: destroy_thd(THD*)
>>> referenced by ha_innodb.cc
>>>               ha_innodb.cc.o:(thd_destructor_proxy) in archive ../../storage/innobase/libinnobase.a

ld: error: undefined symbol: thd_slave_thread
>>> referenced by ha_innodb.cc
>>>               ha_innodb.cc.o:(thd_is_replication_slave_thread(THD*)) in archive ../../storage/innobase/libinnobase.a

ld: error: undefined symbol: thd_tx_is_read_only
>>> referenced by ha_innodb.cc
>>>               ha_innodb.cc.o:(thd_trx_is_read_only(THD*)) in archive ../../storage/innobase/libinnobase.a

ld: error: undefined symbol: create_thd()
>>> referenced by ha_innodb.cc
>>>               ha_innodb.cc.o:(innobase_create_background_thd(char const*)) in archive ../../storage/innobase/libinnobase.a

ld: error: undefined symbol: set_thd_proc_info
>>> referenced by ha_innodb.cc
>>>               ha_innodb.cc.o:(innobase_create_background_thd(char const*)) in archive ../../storage/innobase/libinnobase.a

ld: error: undefined symbol: thd_set_ha_data
>>> referenced by ha_innodb.cc
>>>               ha_innodb.cc.o:(innobase_destroy_background_thd(THD*)) in archive ../../storage/innobase/libinnobase.a

ld: error: too many errors emitted, stopping now (use -error-limit=0 to see all
errors)
c++: error: linker command failed with exit code 1 (use -v to see invocation)
*** Error code 1

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

It's similar to pr235878

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


More information about the freebsd-ports-bugs mailing list