The default OPTIONS for this port include WITH_SSL. I have tried building the port on four i386 systems: two 8.3-RC2 and two 9.0-RELEASE. The build fails on all systems at the same point which is obviously related to the port's built-in SSL stuff. Building with WITHOUT_SSL succeeds. ===> Building for mysql-client-5.5.22 Scanning dependencies of target INFO_SRC Scanning dependencies of target INFO_BIN [ 0%] Built target INFO_SRC [ 0%] Built target INFO_BIN Scanning dependencies of target yassl Scanning dependencies of target taocrypt [ 0%] Building CXX object extra/yassl/CMakeFiles/yassl.dir/src/buffer.cpp.o [ 0%] Building CXX object extra/yassl/taocrypt/CMakeFiles/taocrypt.dir/src/aes.cpp.o [ 1%] Building CXX object extra/yassl/CMakeFiles/yassl.dir/src/cert_wrapper.cpp.o [ 2%] Building CXX object extra/yassl/taocrypt/CMakeFiles/taocrypt.dir/src/aestables.cpp.o [ 2%] Building CXX object extra/yassl/taocrypt/CMakeFiles/taocrypt.dir/src/algebra.cpp.o [ 2%] Building CXX object extra/yassl/CMakeFiles/yassl.dir/src/crypto_wrapper.cpp.o [ 3%] Building CXX object extra/yassl/taocrypt/CMakeFiles/taocrypt.dir/src/arc4.cpp.o [ 3%] Building CXX object extra/yassl/taocrypt/CMakeFiles/taocrypt.dir/src/asn.cpp.o [ 4%] Building CXX object extra/yassl/CMakeFiles/yassl.dir/src/handshake.cpp.o [ 5%] Building CXX object extra/yassl/taocrypt/CMakeFiles/taocrypt.dir/src/coding.cpp.o [ 5%] Building CXX object extra/yassl/taocrypt/CMakeFiles/taocrypt.dir/src/des.cpp.o [ 5%] Building CXX object extra/yassl/taocrypt/CMakeFiles/taocrypt.dir/src/dh.cpp.o [ 5%] Building CXX object extra/yassl/CMakeFiles/yassl.dir/src/lock.cpp.o [ 6%] Building CXX object extra/yassl/taocrypt/CMakeFiles/taocrypt.dir/src/dsa.cpp.o [ 7%] Building CXX object extra/yassl/CMakeFiles/yassl.dir/src/log.cpp.o [ 7%] Building CXX object extra/yassl/CMakeFiles/yassl.dir/src/socket_wrapper.cpp.o [ 7%] Building CXX object extra/yassl/CMakeFiles/yassl.dir/src/ssl.cpp.o [ 7%] Building CXX object extra/yassl/taocrypt/CMakeFiles/taocrypt.dir/src/file.cpp.o [ 8%] Building CXX object extra/yassl/taocrypt/CMakeFiles/taocrypt.dir/src/hash.cpp.o [ 8%] Building CXX object extra/yassl/taocrypt/CMakeFiles/taocrypt.dir/src/integer.cpp.o /usr/ports/databases/mysql55-client/work/mysql-5.5.22/extra/yassl/taocrypt/src/integer.cpp: In member function 'typename TaoCrypt::AlignedAllocator<T>::pointer TaoCrypt::AlignedAllocator<T>::allocate(typename TaoCrypt::AllocatorBase<T>::size_type, const void*)': /usr/ports/databases/mysql55-client/work/mysql-5.5.22/extra/yassl/taocrypt/src/integer.cpp:76: error: there are no arguments to 'max_size' that depend on a template parameter, so a declaration of 'max_size' must be available /usr/ports/databases/mysql55-client/work/mysql-5.5.22/extra/yassl/taocrypt/src/integer.cpp:76: error: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated) [ 9%] Building CXX object extra/yassl/CMakeFiles/yassl.dir/src/timer.cpp.o /usr/ports/databases/mysql55-client/work/mysql-5.5.22/extra/yassl/taocrypt/src/integer.cpp: At global scope: /usr/ports/databases/mysql55-client/work/mysql-5.5.22/extra/yassl/taocrypt/src/integer.cpp:1137: warning: 'TaoCrypt::s_RunAtStartupSetPentiumFunctionPointers' defined but not used *** Error code 1 1 error *** Error code 2 [ 9%] Building CXX object extra/yassl/CMakeFiles/yassl.dir/src/yassl_error.cpp.o [ 10%] Building CXX object extra/yassl/CMakeFiles/yassl.dir/src/yassl_imp.cpp.o [ 10%] Building CXX object extra/yassl/CMakeFiles/yassl.dir/src/yassl_int.cpp.o [ 11%] Building CXX object extra/yassl/CMakeFiles/yassl.dir/src/template_instnt.cpp.o Linking CXX static library libyassl.a [ 11%] Built target yassl 1 error *** Error code 2 1 error *** Error code 1 Stop in /usr/ports/databases/mysql55-client. *** Error code 1 Stop in /usr/ports/databases/mysql55-client. Fix: I have no idea but suggest that, in addition, the port's WITH_SSL option could be changed from OPENSSL to YASSL or SSL, since it always uses the bundled yassl and has nothing at all to do with OpenSSL. Thank you. How-To-Repeat: cd /usr/ports/databases/mysql55-client make clean make
Responsible Changed From-To: freebsd-ports-bugs->ale Over to maintainer (via the GNATS Auto Assign Tool)
State Changed From-To: open->feedback Can you try to modify the incriminated row in extra/yassl/taocrypt/src/integer.cpp from "max_size()" into "max_size<T>()" ?
I forgot to mention that the suggestion given on March 30th at http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/166503 doesn't solve the problem, because the max_size is not a template function, but is a member of a template class. Thanks.
ale 2012-04-02 07:40:15 UTC FreeBSD ports repository Added files: databases/mysql55-server/files patch-extra_yassl_taocrypt_src_integer.cpp Log: Fix build on i386. PR: ports/166503 Submitted by: Oleksii Tsai <oleksii.tsai@googlemail.com> Feature safe: yes Revision Changes Path 1.1 +11 -0 ports/databases/mysql55-server/files/patch-extra_yassl_taocrypt_src_integer.cpp (new) _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
State Changed From-To: feedback->closed Fixed, thanks!
ale 2012-04-02 07:43:24 UTC FreeBSD ports repository Added files: databases/mysql55-client/files patch-extra_yassl_taocrypt_src_integer.cpp Log: Fix build on i386. PR: ports/166503 Submitted by: Oleksii Tsai <oleksii.tsai@googlemail.com> Feature safe: yes Revision Changes Path 1.1 +11 -0 ports/databases/mysql55-client/files/patch-extra_yassl_taocrypt_src_integer.cpp (new) _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"