From owner-freebsd-ports@FreeBSD.ORG Sat Jul 5 23:27:45 2014 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id DE01FA7 for ; Sat, 5 Jul 2014 23:27:44 +0000 (UTC) Received: from mail-pd0-x229.google.com (mail-pd0-x229.google.com [IPv6:2607:f8b0:400e:c02::229]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B306F2904 for ; Sat, 5 Jul 2014 23:27:44 +0000 (UTC) Received: by mail-pd0-f169.google.com with SMTP id g10so3454740pdj.14 for ; Sat, 05 Jul 2014 16:27:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=/5ui/8G1jTlTL57AL1Z2t1koAm7CQHQeqPIC2ZXyitQ=; b=Ivy3EQDYF0AkvOWDTvs0VS07shMIpwstc+kybMAvagRnRB1VKOJu1ClPwVhS9IuBWy Zz14Cs7C5NuG/bUgLbDOPd94PIyZrgx1JZVdg7MGOWl1WkgndZvbeT7hyJzK1JcA73iU neytaF+aqRjjNqO+L721UMG8+P79bk/nUAzuDtQyxBcXbcT/wTYPP+3pvsrTskq6+wYB h2/tH2jkXm4DFgTOVmQCXMZmG/p3+AQmV+rJhV4KFRlx+BCiJm3AjeqFyEinor3qptyt g5+8VUVBEUEzm9PU7sZCxRvjYUR9E/ViKqXDZU5AIVYjx8eW3Q59PShw8OBgljrTkKpN feBA== MIME-Version: 1.0 X-Received: by 10.66.66.140 with SMTP id f12mr19259586pat.78.1404602864225; Sat, 05 Jul 2014 16:27:44 -0700 (PDT) Sender: kob6558@gmail.com Received: by 10.66.134.4 with HTTP; Sat, 5 Jul 2014 16:27:44 -0700 (PDT) In-Reply-To: <20140705225007.GD56726@home.opsec.eu> References: <20140704132332.7a09caa5@scorpio> <20140705080355.GB2586@home.opsec.eu> <20140705225007.GD56726@home.opsec.eu> Date: Sat, 5 Jul 2014 16:27:44 -0700 X-Google-Sender-Auth: -vZDX7hii_Cf-fFOyC0MoukMWjI Message-ID: Subject: Re: Bug 191256 - [PATCH] security/libgcrypt: update to 1.6.1 From: Kevin Oberman To: Kurt Jaeger Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18 Cc: jerry@seibercom.net, FreeBSD Ports X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Jul 2014 23:27:45 -0000 On Sat, Jul 5, 2014 at 3:50 PM, Kurt Jaeger wrote: > Hi! > > > > > I was just wondering if this port could please be committed. > > > > > > I tried to build it on 10.0-amd64 and it failed to compile. > > > > > > Log see http://people.freebsd.org/~pi/misc/build-libgcrypt.txt > > > You might try deleting the port and re-installing. > > I tried that, no change for the build. > > > Looks a log like it is > > building the new libgcrypt.so but linking to the old one which lacks the > > listed symbols. > > I checked /usr/local/lib for any libgcrypt, nothing was found. > > -- > pi@opsec.eu +49 171 3101372 6 years to > go ! > Hmm. I'm a bit confused now. I checked the newly linked libgcrypt.so.20 (located in src/.libs) and it seems to have all of the "missing" symbols in its symbol table, but all are undefined. I ran nm -D on the file and: U _gcry_aes_amd64_decrypt_block U _gcry_aes_amd64_encrypt_block U _gcry_blowfish_amd64_cbc_dec U _gcry_blowfish_amd64_cfb_dec U _gcry_blowfish_amd64_ctr_enc U _gcry_blowfish_amd64_decrypt_block U _gcry_blowfish_amd64_do_encrypt U _gcry_blowfish_amd64_encrypt_block U _gcry_cast5_amd64_cbc_dec U _gcry_cast5_amd64_cfb_dec U _gcry_cast5_amd64_ctr_enc U _gcry_cast5_amd64_decrypt_block U _gcry_cast5_amd64_encrypt_block U _gcry_salsa20_amd64_encrypt_blocks U _gcry_salsa20_amd64_ivsetup U _gcry_salsa20_amd64_keysetup U _gcry_serpent_sse2_cbc_dec U _gcry_serpent_sse2_cfb_dec U _gcry_serpent_sse2_ctr_enc U _gcry_sha1_transform_amd64_ssse3 U _gcry_twofish_amd64_cbc_dec U _gcry_twofish_amd64_cfb_dec U _gcry_twofish_amd64_ctr_enc U _gcry_twofish_amd64_decrypt_block U _gcry_twofish_amd64_encrypt_block Looks like this is in the maze of twisty little passages called libtool. I see cipher/cast5.c being compiled with no error using libtool. but I don't see any indication that it is being linked when libtool actually builds libgcrypt.so.20. But I don't know enough of libtool to be sure of much of anything when it gets involved. BTW, this bumps the version number of the shareable, so a note needs to be put into UPDATING to be-build all dependent ports. -- R. Kevin Oberman, Network Engineer, Retired E-mail: rkoberman@gmail.com