From owner-freebsd-ports-bugs@freebsd.org Tue Jan 30 18:53:42 2018 Return-Path: Delivered-To: freebsd-ports-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3F6BCEDBF11 for ; Tue, 30 Jan 2018 18:53:42 +0000 (UTC) (envelope-from vikas.mahajan12@gmail.com) Received: from mail-wr0-x231.google.com (mail-wr0-x231.google.com [IPv6:2a00:1450:400c:c0c::231]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 93D367B962 for ; Tue, 30 Jan 2018 18:53:41 +0000 (UTC) (envelope-from vikas.mahajan12@gmail.com) Received: by mail-wr0-x231.google.com with SMTP id f6so10688350wra.6 for ; Tue, 30 Jan 2018 10:53:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=D2d7aY5BGF+Lr8kvn3CE0kA42gGdtWnB0rOOWz+Xy2g=; b=sd1OVBBLxLFctgViRhx8J1SE/XXIKiNkW2PGYNUw2DtJQkuauYbWVQtD1YsHeGLvOi wSTL8r+ZfyIatZv8GKLPkirSoAET+jY9gS56VtmmsYqQqwFslLyMgsBjl5IadVbvAuow ekaZojaDe1Y7v1wHrvVHvnIpDTT4T/9HROFn6MiLVccH/NUgMsVe6/WrmC9zzoaGDjMD sCPCLgUYRIT+aPyKD15D4/N7MNaoQOHzoR4NEWA5OLpM8rWqbBXUh0CGq7mLV8RNllxG Vfa3otxkKWJbVH/JhEVpeCYSNImq6Ve7J5N3LojB4AVqSA+UklRFWAAnUwOlv9rwOKft XvZg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=D2d7aY5BGF+Lr8kvn3CE0kA42gGdtWnB0rOOWz+Xy2g=; b=pLbaOCXR3WFQ80f5UtUo3lP0ZN0JibJCuMW2DYYiJ+qDXjvtW+rM5CI8fNE4wycXg9 DThO5+6U1UzFlfges/3vmiRYMaVcEUtdTs/I/90Wu9/oRUSrc3weDIpqrPHSljlq3I4K jzlttVGiW53rzZEjgvqPRoQpufOqvq5TSlmaS883q+RwDXwZQWzUqdvcOBACXII1Zz9Y s7dlTKTfxOnQ2qIie7u6K7iY7YnvswkJI6TBB2ZzZ7tCV9aiy5QlYNEFXaND9Z9veoJm MLVkEVlSUTo8G+xeSsvtvfrIsFlkUuhkDXjhHGpgah356VzmY1+eQpWmqwA3VBkn8diO fn7g== X-Gm-Message-State: AKwxytfs0AUSjzSb8VGf34eY7JKxnwM+TIZcJFJbMnHXAGkb87PbKFy9 02tPQEJ37Yl/emeZlxe2idFOaSB08jfW8CLfg0pBP/fh X-Google-Smtp-Source: AH8x224HDl8Lyg/rcIIA8awMddf6MFCjpPZFrEF3FeTgPwcWHRUW+LkerSErFtwIdWjrYfm4Nd4vbqQnsbOHh6h0iVo= X-Received: by 10.223.196.216 with SMTP id o24mr12190209wrf.101.1517338419562; Tue, 30 Jan 2018 10:53:39 -0800 (PST) MIME-Version: 1.0 Received: by 10.28.57.139 with HTTP; Tue, 30 Jan 2018 10:53:39 -0800 (PST) From: Vikas Mahajan Date: Tue, 30 Jan 2018 18:53:39 +0000 Message-ID: Subject: Make failing while compiling MySQL with ssl=openssl on FreeBsd 11.1 To: freebsd-ports-bugs@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.25 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Jan 2018 18:53:42 -0000 Hi, MySql compilation (tried with Mysql 5.7 and 8) is failing when openssl is installed from ports on FreeBsd 11.1. But when I use base openssl then mysql compilation goes through. Please help. [ 13%] Building C object vio/CMakeFiles/vio.dir/viossl.c.o cd /usr/ports/databases/mysql57-client/work/.build/vio && /usr/bin/cc -DHAVE_CONFIG_H -DHAVE_LIBEVENT2 -DHAVE_OPENSSL -I/usr/ports/databases/mysql57-client/work/.build/include -I/usr/ports/databases/mysql57-client/work/mysql-5.7.21/extra/rapidjson/include -I/usr/ports/databases/mysql57-client/work/.build/libbinlogevents/include -I/usr/ports/databases/mysql57-client/work/mysql-5.7.21/libbinlogevents/export -I/usr/ports/databases/mysql57-client/work/mysql-5.7.21/include -I/usr/local/include -O2 -pipe -fstack-protector -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wformat-security -Wvla -Wwrite-strings -Wdeclaration-after-statement -O2 -pipe -fstack-protector -isystem /usr/local/include -fno-strict-aliasing -DDBUG_OFF -fPIC -o CMakeFiles/vio.dir/viossl.c.o -c /usr/ports/databases/mysql57-client/work/mysql-5.7.21/vio/viossl.c [ 13%] Building C object vio/CMakeFiles/vio.dir/viosslfactories.c.o cd /usr/ports/databases/mysql57-client/work/.build/vio && /usr/bin/cc -DHAVE_CONFIG_H -DHAVE_LIBEVENT2 -DHAVE_OPENSSL -I/usr/ports/databases/mysql57-client/work/.build/include -I/usr/ports/databases/mysql57-client/work/mysql-5.7.21/extra/rapidjson/include -I/usr/ports/databases/mysql57-client/work/.build/libbinlogevents/include -I/usr/ports/databases/mysql57-client/work/mysql-5.7.21/libbinlogevents/export -I/usr/ports/databases/mysql57-client/work/mysql-5.7.21/include -I/usr/local/include -O2 -pipe -fstack-protector -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wformat-security -Wvla -Wwrite-strings -Wdeclaration-after-statement -O2 -pipe -fstack-protector -isystem /usr/local/include -fno-strict-aliasing -DDBUG_OFF -fPIC -o CMakeFiles/vio.dir/viosslfactories.c.o -c /usr/ports/databases/mysql57-client/work/mysql-5.7.21/vio/viosslfactories.c /usr/ports/databases/mysql57-client/work/mysql-5.7.21/vio/viosslfactories.c:122:11: warning: implicit declaration of function 'DH_new' is invalid in C99 [-Wimplicit-function-declaration] if ((dh=DH_new())) ^ /usr/ports/databases/mysql57-client/work/mysql-5.7.21/vio/viosslfactories.c:122:10: warning: incompatible integer to pointer conversion assigning to 'DH *' (aka 'struct dh_st *') from 'int' [-Wint-conversion] if ((dh=DH_new())) ^~~~~~~~~ /usr/ports/databases/mysql57-client/work/mysql-5.7.21/vio/viosslfactories.c:124:7: error: incomplete definition of type 'struct dh_st' dh->p=BN_bin2bn(dh2048_p,sizeof(dh2048_p),NULL); ~~^ /usr/local/include/openssl/ossl_typ.h:140:16: note: forward declaration of 'struct dh_st' typedef struct dh_st DH; ^ /usr/ports/databases/mysql57-client/work/mysql-5.7.21/vio/viosslfactories.c:124:11: warning: implicit declaration of function 'BN_bin2bn' is invalid in C99 [-Wimplicit-function-declaration] dh->p=BN_bin2bn(dh2048_p,sizeof(dh2048_p),NULL); ^ /usr/ports/databases/mysql57-client/work/mysql-5.7.21/vio/viosslfactories.c:125:7: error: incomplete definition of type 'struct dh_st' dh->g=BN_bin2bn(dh2048_g,sizeof(dh2048_g),NULL); ~~^ /usr/local/include/openssl/ossl_typ.h:140:16: note: forward declaration of 'struct dh_st' typedef struct dh_st DH; ^ /usr/ports/databases/mysql57-client/work/mysql-5.7.21/vio/viosslfactories.c:126:13: error: incomplete definition of type 'struct dh_st' if (! dh->p || ! dh->g) ~~^ /usr/local/include/openssl/ossl_typ.h:140:16: note: forward declaration of 'struct dh_st' typedef struct dh_st DH; ^ /usr/ports/databases/mysql57-client/work/mysql-5.7.21/vio/viosslfactories.c:126:24: error: incomplete definition of type 'struct dh_st' if (! dh->p || ! dh->g) ~~^ /usr/local/include/openssl/ossl_typ.h:140:16: note: forward declaration of 'struct dh_st' typedef struct dh_st DH; ^ /usr/ports/databases/mysql57-client/work/mysql-5.7.21/vio/viosslfactories.c:128:7: warning: implicit declaration of function 'DH_free' is invalid in C99 [-Wimplicit-function-declaration] DH_free(dh); ^ /usr/ports/databases/mysql57-client/work/mysql-5.7.21/vio/viosslfactories.c:377:3: warning: implicit declaration of function 'CRYPTO_set_id_callback' is invalid in C99 [-Wimplicit-function-declaration] CRYPTO_set_id_callback(init ? openssl_id_function : NULL); ^ /usr/ports/databases/mysql57-client/work/mysql-5.7.21/vio/viosslfactories.c:398:5: warning: implicit declaration of function 'ERR_remove_state' is invalid in C99 [-Wimplicit-function-declaration] ERR_remove_state(0); ^ 6 warnings and 4 errors generated. *** [vio/CMakeFiles/vio.dir/viosslfactories.c.o] Error code 1 make[4]: stopped in /usr/ports/databases/mysql57-client/work/.build 1 error make[4]: stopped in /usr/ports/databases/mysql57-client/work/.build *** [vio/CMakeFiles/vio.dir/all] Error code 2 make[3]: stopped in /usr/ports/databases/mysql57-client/work/.build 1 error make[3]: stopped in /usr/ports/databases/mysql57-client/work/.build *** [all] Error code 2 make[2]: stopped in /usr/ports/databases/mysql57-client/work/.build 1 error make[2]: stopped in /usr/ports/databases/mysql57-client/work/.build ===> Compilation failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to the maintainer. *** Error code 1 Stop. make[1]: stopped in /usr/ports/databases/mysql57-client *** Error code 1 Stop. -- Regards Vikas Mahajan Website-: http://vikasmahajan.wordpress.com