From owner-freebsd-ports-bugs@freebsd.org Sat Oct 29 22:54:26 2016 Return-Path: Delivered-To: freebsd-ports-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DDB72C220F6 for ; Sat, 29 Oct 2016 22:54:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id CCBC2356 for ; Sat, 29 Oct 2016 22:54:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u9TMsQaT043211 for ; Sat, 29 Oct 2016 22:54:26 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 213902] databases/mariadb101-server: Fails to build if Mroonga FTS engine enabled Date: Sat, 29 Oct 2016 22:54:26 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: peterj@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: brnrd@freebsd.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Oct 2016 22:54:27 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D213902 Bug ID: 213902 Summary: databases/mariadb101-server: Fails to build if Mroonga FTS engine enabled Product: Ports & Packages Version: Latest Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: brnrd@freebsd.org Reporter: peterj@FreeBSD.org Flags: maintainer-feedback?(brnrd@freebsd.org) Assignee: brnrd@freebsd.org Enabling MROONGA adds a dependency on archivers/liblz4 but the MariaDB build system does not correctly link against liblz4, causing the build to fail: --- storage/mroonga/CMakeFiles/mroonga.dir/all --- --- storage/mroonga/ha_mroonga.so --- [ 89%] Linking CXX shared module ha_mroonga.so cd /var/obj/usr/ports/databases/mariadb101-server/work/mariadb-10.1.18/storage= /mroonga && /usr/local/bin/cmake -E cmake_link_script CMakeFiles/mroonga.dir/link.txt --verbose=3D1 /usr/bin/c++ -fPIC -O2 -pipe -fstack-protector -fno-strict-aliasing -DWITH_INNODB_DISALLOW_WRITES -fno-exceptions -fno-rtti -O2 -pipe -fstack-protector -fno-strict-aliasing -DDBUG_OFF -Wl,-rpath,/usr/local/lib -fstack-protector -shared -o ha_mroonga.s o CMakeFiles/mroonga.dir/ha_mroonga.cpp.o CMakeFiles/mroonga.dir/mrn_table.cpp.o CMakeFiles/mroonga.dir/udf/mrn_udf_last_insert_grn_id.cpp.o CMakeFiles/mroonga.dir/udf/mrn_udf_snippet.cpp.o CMakeFiles/mroonga.dir/udf/mrn_udf_command.cpp.o CMakeFiles/mroo nga.dir/udf/mrn_udf_escape.cpp.o CMakeFiles/mroonga.dir/lib/mrn_match_escalation_threshold_scope.cpp.o CMakeFiles/mroonga.dir/lib/mrn_path_mapper.cpp.o CMakeFiles/mroonga.dir/lib/mrn_smart_grn_obj.cpp.o CMakeFiles/mroonga.dir/lib/mrn_index_table_name.cpp .o CMakeFiles/mroonga.dir/lib/mrn_index_column_name.cpp.o CMakeFiles/mroonga.dir/lib/mrn_debug_column_access.cpp.o CMakeFiles/mroonga.dir/lib/mrn_auto_increment_value_lock.cpp.o CMakeFiles/mroonga.dir/lib/mrn_external_lock.cpp.o CMakeFiles/mroonga.dir/li b/mrn_multiple_column_key_codec.cpp.o CMakeFiles/mroonga.dir/lib/mrn_field_normalizer.cpp.o CMakeFiles/mroonga.dir/lib/mrn_encoding.cpp.o CMakeFiles/mroonga.dir/lib/mrn_parameters_parser.cpp.o CMakeFiles/mroonga.dir/lib/mrn_lock.cpp.o CMakeFiles/mroonga. dir/lib/mrn_condition_converter.cpp.o CMakeFiles/mroonga.dir/lib/mrn_time_converter.cpp.o CMakeFiles/mroonga.dir/lib/mrn_database_manager.cpp.o CMakeFiles/mroonga.dir/lib/mrn_value_decoder.cpp.o CMakeFiles/mroonga.dir/lib/mrn_database_repairer.cpp.o -pth read ../../libservices/libmysqlservices.a vendor/groonga/lib/libgroonga.a vendor/groonga/vendor/plugins/groonga-normalizer-mysql/normalizers/libmysql= _normalizer.a vendor/groonga/lib/libgroonga.a -pthread -lexecinfo -lrt -lpthread -lz -llz4 -lm -lstdc++=20 /usr/bin/ld: cannot find -llz4 c++: error: linker command failed with exit code 1 (use -v to see invocatio= n) *** [storage/mroonga/ha_mroonga.so] Error code 1 (Whilst there's a runtime reference to liblz4 being in /usr/local/lib, ther= e's no -L/usr/local/lib so liblz4.so isn't found). I've tried this on both 10-stable and 11-stable with identical results. --=20 You are receiving this mail because: You are the assignee for the bug.=