From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Joseph Mingrone Newsgroups: gmane.emacs.devel Subject: Re: FreeBSD configure error related to liblockfile Date: Tue, 20 Feb 2018 20:52:56 -0400 Message-ID: <86y3jncgev.fsf@phe.ftfl.ca> References: <86y3jrr4yp.fsf@phe.ftfl.ca> <86r2pgejik.fsf@phe.ftfl.ca> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Trace: blaine.gmane.org 1519174272 5477 195.159.176.226 (21 Feb 2018 00:51:12 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 21 Feb 2018 00:51:12 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (berkeley-unix) Cc: emacs-devel@gnu.org To: Paul Eggert Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Feb 21 01:51:08 2018 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eoIcm-000140-43 for ged-emacs-devel@m.gmane.org; Wed, 21 Feb 2018 01:51:08 +0100 Original-Received: from localhost ([::1]:58408 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eoIeo-0007jy-7j for ged-emacs-devel@m.gmane.org; Tue, 20 Feb 2018 19:53:14 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48888) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eoIed-0007jX-BO for emacs-devel@gnu.org; Tue, 20 Feb 2018 19:53:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eoIea-0002Ea-9M for emacs-devel@gnu.org; Tue, 20 Feb 2018 19:53:03 -0500 Original-Received: from mail-qt0-f175.google.com ([209.85.216.175]:47002) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eoIea-0002Di-4V for emacs-devel@gnu.org; Tue, 20 Feb 2018 19:53:00 -0500 Original-Received: by mail-qt0-f175.google.com with SMTP id u6so18832594qtg.13 for ; Tue, 20 Feb 2018 16:52:59 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=cKdZVlOwPLCpFpyo1CEL25s7AHSorYIfghR8jkMSEfg=; b=bMQWzo85F1E6NfR5w+vtsiSGQh89w4zAXKGRH03DAHr93Z2UWID6nL0ApUSHJ+LEKt SAk9OznvVQAd63YNifql875QQqTIBmEYVb1M57klWM8btdLkKxVluVsFCEyACphXLE07 YOJUPBHE4uiGZVry10j9uGApSentvC0snRUtvjbGFsoLveFElH4110EFyNhy114Je5Aw bwAyb0VM9y4MCqLFOgqFjo7hWiZNr+pin7BHlr/LiE+jdVfjuAYHlvVoqXwd2114x05I xs3Vdl4LkLegW9tdc5POabpeEYsIcDFu9CSMm0HGDdNdGiz8TtLfcdG+xFf0D6Z85It0 XqyA== X-Gm-Message-State: APf1xPBx/a9TTlTK/3gOsqMIcH8drNGrz1SBTuk0GxWo8WOZX0aUHKcI cuBszm6PF9cdIk9eiHsYhlSlcXdrzh4= X-Google-Smtp-Source: AH8x227Cd2xd8ci5GbxJ9ZtdNhU3WL9q2qlKWNXPkQTFUpG4riXV+ihsJ+JIQFy0i/VCPqUaZ2umHA== X-Received: by 10.237.32.164 with SMTP id 33mr2510089qtb.122.1519174378798; Tue, 20 Feb 2018 16:52:58 -0800 (PST) Original-Received: from phe.ftfl.ca.ftfl.ca (hlfxns017vw-47-55-140-73.dhcp-dynamic.fibreop.ns.bellaliant.net. [47.55.140.73]) by smtp.gmail.com with ESMTPSA id o12sm3738126qke.81.2018.02.20.16.52.57 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 20 Feb 2018 16:52:57 -0800 (PST) In-Reply-To: <86r2pgejik.fsf@phe.ftfl.ca> (Joseph Mingrone's message of "Mon, 19 Feb 2018 17:50:43 -0400") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 209.85.216.175 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:222951 Archived-At: --=-=-= Content-Type: text/plain Joseph Mingrone writes: > Paul Eggert writes: >> Joseph Mingrone wrote: >>> 2. We could add a dependency on GNU mailutils. >> That sounds like it's the easiest fix. These days GNU mailutils is recommended anyway, as Emacs's own movemail program retrieves POP3 email only via insecure channels. > Sounds good, I will add that dependency. However, it looks like I was mistaken. Also depending on mailutils does not fix the issue with liblockfile installed and supplying the --without-x argument to > configure. Should both mailutils and liblockfile be added as dependencies? > In any case, it still seems like there is a problem with the configure script. Shouldn't it be finding the installed maillock.h and be able to link against the lockfile shared library? > Thanks, > Joseph The liblockfile checks pass after adding LDFLAGS+=-L${LOCALBASE}/lib. Based on bug #10313, this addition to LDFLAGS feels like the right approach for the FreeBSD port/package. The confusion about GNU Mailutils fixing the problem was due to the differences between 25.3 and the master branch. In the master branch, the locking tests are wrapped in if test ! "$with_mailutils"; then ... fi Given this, I assume functionality provided by liblockfile is duplicated in mailutils. I think a sensible approach for the port/package would be to set ac_cv_prog_liblockfile=no and, as you suggest, (optionally) depend on GNU Mailutils for users that require movemail and the other functionality provided by Mailutils. Thanks again, Joseph --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKTBAEBCgB9FiEEVbCTpybDiFVxIrrVNqQMg7DW754FAlqMwuhfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDU1 QjA5M0E3MjZDMzg4NTU3MTIyQkFENTM2QTQwQzgzQjBENkVGOUUACgkQNqQMg7DW 7552mg/+LL0Qz7pGxIGXpvlQ+RcDr40x9xNJ85r62bf3Y751TLj0/xypYN487rPa ftPJD2p0IoMA8yM1RpkNHhjQ1zRJEWp67tl2NUHlwYdy5maeXEsQiGiwdAxqjRXs 1xjuVOy72k7Y/Hp4Uk+2bFezh642DAXiT/ht/f9NvCarOfYy7Uy9KKOiWTRutrsQ qhpcZTT3QG7XeYgnYShKeHhI1qxVBfp8eITv1SOp+Uw9uBTFaPHIXiseYgsXXTtN D5jpAd4bxUNkufIole4C0+CeUBG/wfE4JEKmYotbMP6GbGYWOGH+w8Byu7x+QT5K Lhuq3obucqvBlK/yv3mFEPPait8S57qzTN0C1F0bFfh4vbwI+mAhw4OtjFY7ujoq eM3JrKKlzly06awGiBEedJRQ03dDH7ar3V7i8Rn/zyG13rUOfLd6RLatDFXMo/dF WOvJ7Z1ybsKv8KfpOfBs5vR4yT4VeZsZCbjFUPvlHNJA/Ca97G1pNWkNUHNgwR81 SuVViWPjZ+rcWpnddtV1C3c0O9+2/DUvP8TBGGDeDgi8K9tlfdQMneGGF7lHOFNZ DgkK4braNDxYByRWYRjos4RRlskRTizfX1KR4WzKEkE0Ay3GHZaMu8gPVowBBG+N ez0ANindOyJkjDarIFh3gZTUNRGr18q/E1KaAOBkvA5G/dfcYaQ= =U+J5 -----END PGP SIGNATURE----- --=-=-=--