From owner-freebsd-current@FreeBSD.ORG Sat Oct 26 13:46:35 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id DA98DFE8 for ; Sat, 26 Oct 2013 13:46:35 +0000 (UTC) (envelope-from bryan@shatow.net) Received: from secure.xzibition.com (secure.xzibition.com [173.160.118.92]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 7C74A2E37 for ; Sat, 26 Oct 2013 13:46:35 +0000 (UTC) DomainKey-Signature: a=rsa-sha1; c=nofws; d=shatow.net; h=date:from:to :cc:subject:message-id:references:mime-version:content-type :in-reply-to; q=dns; s=sweb; b=en/Fg3qGEqY1sPqBeHm25YOuAn4PASgkY mvDknqRx9MhdMA4pnWzjZa5//3FOB+xiiV4BX+Y2CbGWEkujfwPBrnRc1WOnIBgW VI+nJHigxVAkPSjYFj5rwxwPkX/tepj7Z1HaTwcIb/2VxKGc6j/CuIpQ1yX0fGfr rs/HA13150= DKIM-Signature: v=1; a=rsa-sha256; c=simple; d=shatow.net; h=date:from :to:cc:subject:message-id:references:mime-version:content-type :in-reply-to; s=sweb; bh=w88iC3P2wYYAZEM9U3BF7Euc4KFFtQbxiqi95Yc VC/w=; b=XKLoLRyt3nhIq7AnnUaNhnW9v+OfXzf3UAlil3FY8Hl7ZlkG0NZLMVX lGNqbJDa5JzLClYq+Xwk4VS4Hp6+FcNDcDjs/s+a7D8Jv1gDWQlZrW7qWKK6h156 qZu1RmuWv350ORihddDK+8khx+TDRyesMu1QLrAGHiCPZ0m6sI/I= Received: (qmail 77233 invoked from network); 26 Oct 2013 08:39:52 -0500 Received: from unknown (HELO admin.xzibition.com) (bryan@shatow.net@173.160.118.90) by sweb.xzibition.com with ESMTPA; 26 Oct 2013 08:39:52 -0500 Date: Sat, 26 Oct 2013 08:39:50 -0500 From: Bryan Drewery To: Rainer Hurling Subject: Re: latest sbin/pkg updates seem to break HEAD Message-ID: <20131026133950.GF98118@admin.xzibition.com> References: <526B9FC7.2040005@gwdg.de> <526BA1AB.4060806@gmx.de> <526BB8C9.4@gwdg.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="Zs/RYxT/hKAHzkfQ" Content-Disposition: inline In-Reply-To: <526BB8C9.4@gwdg.de> User-Agent: Mutt/1.5.21 (2010-09-15) X-Mailman-Approved-At: Sat, 26 Oct 2013 15:43:22 +0000 Cc: Matthias Andree , freebsd-current@freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Oct 2013 13:46:35 -0000 --Zs/RYxT/hKAHzkfQ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Oct 26, 2013 at 02:42:49PM +0200, Rainer Hurling wrote: > Am 26.10.2013 13:04, schrieb Matthias Andree: > > Am 26.10.2013 12:56, schrieb Rainer Hurling: > >> After svn update my 11.0-CURRENT box to r257152, the build breaks. > >> Obviously there is something wrong with the newest patches for sbin/pkg > >> (or libcrypt). Am I the only one observing this? > >> > >> Any help is appreciated, > >> Rainer Hurling > >> > >> > >> [..snip..] > >> =3D=3D=3D> usr.sbin/pkg (all) > > ... > >> cc -O2 -pipe -I/usr/src/usr.sbin/pkg/../../contrib/libyaml/include > >> -std=3Dgnu99 -Qunused-arguments -fstack-protector -Wsystem-headers -We= rror > >> -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes > >> -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual > >> -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align > >> -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls > >> -Wold-style-definition -Wmissing-variable-declarations -Wno-pointer-si= gn > >> -Wno-empty-body -Wno-string-plus-int > >> -L/usr/obj/usr/src/tmp/usr/lib/private -rpath /usr/lib/private -o pkg > >> pkg.o dns_utils.o config.o -larchive -lelf -lfetch -lyaml -lsbuf -lssl > >> > >> /usr/obj/usr/src/tmp/usr/bin/ld: D: invalid DSO for symbol > >> `EVP_PKEY_free' definition > >> /usr/obj/usr/src/tmp/lib/libcrypto.so.7: could not read symbols: Bad v= alue > >> cc: error: linker command failed with exit code 1 (use -v to see invoc= ation) > >> *** Error code 1 > >> Stop. > >> make[4]: stopped in /usr/src/usr.sbin/pkg This should be fixed now. Sorry about that. It was compiling fine without -lcrypto for me. > >=20 > > These can happen if a library is missing, for instance, -lcrypto is > > apparently not mentioned on the linker's command line, but AFAIR the > > clang linker accepts no unresolved symbols from .so when linking > > executables, and -lssl likely needs -lcrypto. This avoids run-time > > surprises due to missing dependencies (on libcrypto, in this case). > >=20 > > Try pasting that command line with -lcrypto added after -lssl, and if > > that helps, try to debug where the -lcrypto has been or gets lost, or > > should get added. > >=20 > > HTH >=20 > Yep, adding -lcrypto seems to help. I patched usr.sbin/pkg/Makefile for i= t. >=20 > But I am wondering if nobody else has this problem? I did not change my > systems sources before. >=20 > Many thanks for your fast reply and help, > Rainer >=20 >=20 >=20 > --- Makefile.orig 2013-10-26 08:33:50.000000000 +0200 > +++ Makefile 2013-10-26 14:26:06.000000000 +0200 > @@ -7,7 +7,7 @@ > CFLAGS+=3D-I${.CURDIR}/../../contrib/libyaml/include > .PATH: ${.CURDIR}/../../contrib/libyaml/include > DPADD=3D ${LIBARCHIVE} ${LIBELF} ${LIBFETCH} ${LIBYAML} ${LIBSBUF} > -LDADD=3D -larchive -lelf -lfetch -lyaml -lsbuf -lssl > +LDADD=3D -larchive -lelf -lfetch -lyaml -lsbuf -lssl -lcrypto > USEPRIVATELIB=3D yaml >=20 > .include >=20 > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" --Zs/RYxT/hKAHzkfQ Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.21 (FreeBSD) iQJ8BAEBCgBmBQJSa8YkXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQzNkZFQkU5OTJGNTI4MERGNDgxMTM2MkE2 RTc4MkFDMDNDOUIwQ0Y5AAoJEG54KsA8mwz5FDgQAJefpXuvK5dLRk3Ko+GDK+ge bRnQupLwtCXL71MLrnuKOM/PNboWlro5gL2MM1nTy00a6vOo1xUqcAjVAxiHxArJ a/VZA+wPza38drUhcbKqhMoRSSKzvbNEH+gM8EOgX/vDtKUfvvAmrcZqXyZZaRxI 2A5UY6K3T7ET6FXmS/ZhXHIeVIJjUn9WUDmM22+avtRi/SRhq73RYoINYrOAGG6y xczvtE9QEPACYUMh5oVRQgfO/SFr99g7fXHi8g6uiuqWVEoT1CruoH0C1ghj5ZBm Geh65334//T6rnplwVqQqL1emW4fCgXvcV+LAENFyDqXToZ0KF5BgIeZYoY/JUFB DBcdqDmEDVjbCMD8383T01/LW1geYif6K1sHW8AqgbEfDPk1Ca/1rptjed0kX6pz IMwFBBsu2Y0G8u7CRU6yo281oy1ZVjtAM/d2nfS+TatwUGEeYLgTxA4TyqQyh2DA zHh3xsVCLUPTa21fYkkMlT6uvZ4ii81O5F2AGpsKmUd5+FLMdlbUeh0a20JesfuC 2Wc00MqZliWOEUpZQNx4dK88IFL/KyK9u609UeNaFL2jlaSTJWvzDg51EsBASbqr efRiN1k9fFDCr4vxdcVYXr6g5sxUiMt1U0jwnRbivzyPf8pDYVkG6hXkojLd7CdO e6hWbmjOpEVsj96zwMt+ =kYjB -----END PGP SIGNATURE----- --Zs/RYxT/hKAHzkfQ--