From owner-freebsd-ports@freebsd.org Tue May 10 00:03:41 2016 Return-Path: Delivered-To: freebsd-ports@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 40F5DB34A9A for ; Tue, 10 May 2016 00:03:41 +0000 (UTC) (envelope-from peter@rulingia.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 27D3B1C88 for ; Tue, 10 May 2016 00:03:41 +0000 (UTC) (envelope-from peter@rulingia.com) Received: by mailman.ysv.freebsd.org (Postfix) id 231FFB34A99; Tue, 10 May 2016 00:03:41 +0000 (UTC) Delivered-To: ports@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 22BF2B34A98 for ; Tue, 10 May 2016 00:03:41 +0000 (UTC) (envelope-from peter@rulingia.com) Received: from vps.rulingia.com (vps.rulingia.com [103.243.244.15]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "rulingia.com", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A98021C87 for ; Tue, 10 May 2016 00:03:39 +0000 (UTC) (envelope-from peter@rulingia.com) Received: from server.rulingia.com (ppp59-167-167-3.static.internode.on.net [59.167.167.3]) by vps.rulingia.com (8.15.2/8.15.2) with ESMTPS id u4A03Uf3017354 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Tue, 10 May 2016 10:03:36 +1000 (AEST) (envelope-from peter@rulingia.com) X-Bogosity: Ham, spamicity=0.000000 Received: from server.rulingia.com (localhost.rulingia.com [127.0.0.1]) by server.rulingia.com (8.15.2/8.15.2) with ESMTPS id u4A03OkE015284 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Tue, 10 May 2016 10:03:24 +1000 (AEST) (envelope-from peter@server.rulingia.com) Received: (from peter@localhost) by server.rulingia.com (8.15.2/8.15.2/Submit) id u4A03O4P015283 for ports@freebsd.org; Tue, 10 May 2016 10:03:24 +1000 (AEST) (envelope-from peter) Date: Tue, 10 May 2016 10:03:24 +1000 From: Peter Jeremy To: ports@freebsd.org Subject: databases/mariadb100-client fails to compile Message-ID: <20160510000324.GC57227@server.rulingia.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="FkmkrVfFsRoUs1wW" Content-Disposition: inline X-PGP-Key: http://www.rulingia.com/keys/peter.pgp User-Agent: Mutt/1.6.0 (2016-04-01) X-Greylist: Sender succeeded STARTTLS authentication, not delayed by milter-greylist-4.4.3 (vps.rulingia.com [103.243.244.15]); Tue, 10 May 2016 10:03:36 +1000 (AEST) X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 May 2016 00:03:41 -0000 --FkmkrVfFsRoUs1wW Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable I'm unable to get databases/mariadb100-client to compile on 10-stable/amd64. It fails as follows: Scanning dependencies of target mysqlclient gmake[4]: Leaving directory '/var/obj/usr/ports/databases/mariadb100-client= /work/mariadb-10.0.25' gmake[4]: Entering directory '/var/obj/usr/ports/databases/mariadb100-clien= t/work/mariadb-10.0.25' [ 92%] Building C object libmysql/CMakeFiles/mysqlclient.dir/mysqlclient_de= pends.c.o [ 92%] Linking CXX shared library libmysqlclient.so [ 93%] Linking C static library libmysqlclient.a /usr/bin/ld: /usr/lib/libssl.a(ssl_err.o): relocation R_X86_64_32 against `= a local symbol' can not be used when making a shared object; recompile with= -fPIC /usr/lib/libssl.a: could not read symbols: Bad value c++: error: linker command failed with exit code 1 (use -v to see invocatio= n) libmysql/CMakeFiles/libmysql.dir/build.make:110: recipe for target 'libmysq= l/libmysqlclient.so.18' failed gmake[4]: *** [libmysql/libmysqlclient.so.18] Error 1 gmake[4]: Leaving directory '/var/obj/usr/ports/databases/mariadb100-client= /work/mariadb-10.0.25' Looking at the configuration output, it reports: -- OPENSSL_INCLUDE_DIR =3D /usr/include -- OPENSSL_LIBRARIES =3D /usr/lib/libssl.a -- CRYPTO_LIBRARY =3D /usr/lib/libcrypto.a -- OPENSSL_MAJOR_VERSION =3D -- SSL_LIBRARIES =3D /usr/lib/libssl.a;/usr/lib/libcrypto.a I'm not sure why it's picking the static versions of those libraries. --=20 Peter Jeremy --FkmkrVfFsRoUs1wW Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQJ8BAEBCgBmBQJXMSVLXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRFRUIyOTg2QzMwNjcxRTc0RTY1QzIyN0Ux NkE1OTdBMEU0QTIwQjM0AAoJEBall6Dkogs0zDIP/jYviftsebO7/lk9jUeHWQTk CNVHKQLgOHhwOh0DrV2ZT0yucpfOmTteCMAfDoJyoSwG43uF4hjzl7CkgZcetPeT 4ZVEMKTigqo28buhSkS98+YEmf2dxdI9vDqRq8LVLxpb+ZAfq5TwMTYTBDCLx2jE 2Vtf7viX93hmQy/e/vcsCeOfv8cD57AOfVHg/H0BjKnDMJuvFSvvfzhCFXxMfA++ EOfTVZ6WrT8RoR331k7dsz+2rQO79jD0JCXXFywPR1AoLwlGrH4NIm0XgUiKGmdx AdaFexRO0TGqX8pVQMUqdSZYLf3QUcrH2D3jTdrSUm/UGeDVpEPEY2Emhf+Zwjdg MWVON17NXqq5bMG5ftFkG4KrvQfkH46f0wzxr1sigWvUYkcMJURHDRMPXSrYyan3 F1paInUjkJJHHRKi03qOpRZIPIkjdT4cVNPU9XwsYciYP5Z9YmggNp1un1sMkLD3 cxKiJdQ1nEPgwkvMwBzM+H7BtIgVJ4mmLqeMZfhpgSdPZ7zztobh0c8OReAm54uG VTx+6XSBDRQBBpdTBP4QjNENKBp1uISrr5AcvBnqN/KvnCaANzfBJ01yNhDMrvMT vg+bY6fTJBGL0RRfxmofRRvNNKqnnvUIr+btsd033Iw3bohbuIXsL+DQygGg9k0i RXcIm2/FP1qJjVxGEl+Q =XvjR -----END PGP SIGNATURE----- --FkmkrVfFsRoUs1wW--