From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: NaCl support for Emacs (was: GnuTLS for W32) Date: Tue, 10 Jan 2012 05:01:22 -0500 Message-ID: References: <87hb0b3yoe.fsf@lifelogs.com> <6ED011D5-E185-44C6-BB31-A445A4E5F83A@gmail.com> <87wr976otx.fsf@lifelogs.com> <87ipkq6yy5.fsf@lifelogs.com> <87boqi6tzz.fsf@linux-hvfx.site> <87ehve3ul8.fsf@lifelogs.com> <87lipl22xm.fsf@lifelogs.com> <87boqh20ha.fsf@lifelogs.com> <871urc46c9.fsf@uwakimon.sk.tsukuba.ac.jp> <739bsoysp.fsf@news.eternal-september.org> <87ty47r5yt.fsf@lifelogs.com> <87k452p5u3.fsf@lifelogs.com> <87liphne9e.fsf_-_@lifelogs.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1326189707 18090 80.91.229.12 (10 Jan 2012 10:01:47 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 10 Jan 2012 10:01:47 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jan 10 11:01:39 2012 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RkYWN-0007Lm-SL for ged-emacs-devel@m.gmane.org; Tue, 10 Jan 2012 11:01:36 +0100 Original-Received: from localhost ([::1]:55952 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RkYWN-00069F-BR for ged-emacs-devel@m.gmane.org; Tue, 10 Jan 2012 05:01:35 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:42441) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RkYWG-00068s-7S for emacs-devel@gnu.org; Tue, 10 Jan 2012 05:01:33 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RkYWB-0000gK-3z for emacs-devel@gnu.org; Tue, 10 Jan 2012 05:01:28 -0500 Original-Received: from fencepost.gnu.org ([140.186.70.10]:38666) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RkYWB-0000gG-0b for emacs-devel@gnu.org; Tue, 10 Jan 2012 05:01:23 -0500 Original-Received: from eliz by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1RkYWA-0007l4-TE for emacs-devel@gnu.org; Tue, 10 Jan 2012 05:01:22 -0500 In-reply-to: <87liphne9e.fsf_-_@lifelogs.com> (message from Ted Zlatanov on Mon, 09 Jan 2012 09:26:21 -0500) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.10 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 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-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:147556 Archived-At: > From: Ted Zlatanov > Date: Mon, 09 Jan 2012 09:26:21 -0500 > > I'm interested in bringing in support for the NaCl cryptographic library > for Emacs, after 24.1 is out. There is info on NaCl here: > > http://nacl.cr.yp.to/index.html Call me weird or old-fashioned, but that library's build procedure looks odd, to say the least. It's as if Make and Autoconf never existed: the entire build is done by a series of shell scripts, all of them called `do', which have specific knowledge about several platforms hardcoded into them (do the developers really intend to maintain all this mess?). On top of that, the top-level `do' modifies PATH and LD_LIBRAY_PATH (what? why??) as it sees fit, and redirects all its output to a log file, so you basically run blind, like in bad old DOS days (can you say "tail -f"?). Also, the scripts run all kinds of non-standard tools and compiler switches, and although they seem to ignore the resulting errors, how would J.R. Hacker become confident that the build succeeded and she can use the results? E.g., what do you get out of this snippet of the build log: === Tue Jan 10 03:28:17 EST 2012 === checking gcc -m32 -fomit-frame-pointer /usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.4.3/libgcc.a when searching for -lgcc /usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.4.3/libgcc.a when searching for -lgcc /usr/bin/ld: cannot find -lgcc collect2: ld returned 1 exit status Is it good? is it bad? can I trust the results? Finally, there's no Makefile anywhere in sight, and no installation script that I could find. Bye-bye, "make install-strip", hello manual installation. Sorry, but I wouldn't touch such "software" with a 3-mile stick. Not for Emacs, anyway.