Re: [patch v3 1/4] build: integrate building ruby bindings into notmuch build process
authorJinwoo Lee <jinwoo68@gmail.com>
Sat, 13 Jun 2015 21:34:57 +0000 (14:34 +1700)
committerW. Trevor King <wking@tremily.us>
Sat, 20 Aug 2016 21:49:03 +0000 (14:49 -0700)
70/e0de2f88f41ee3f394df6ac3abbecbf91ec153 [new file with mode: 0644]

diff --git a/70/e0de2f88f41ee3f394df6ac3abbecbf91ec153 b/70/e0de2f88f41ee3f394df6ac3abbecbf91ec153
new file mode 100644 (file)
index 0000000..0e0a279
--- /dev/null
@@ -0,0 +1,98 @@
+Return-Path: <jinwoo68@gmail.com>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+ by arlo.cworth.org (Postfix) with ESMTP id C33A46DE0AF8\r
+ for <notmuch@notmuchmail.org>; Sat, 13 Jun 2015 14:35:03 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at cworth.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.561\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.561 tagged_above=-999 required=5\r
+ tests=[AWL=-0.010, DKIM_SIGNED=0.1, DKIM_VALID=-0.1,\r
+ DKIM_VALID_AU=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25,\r
+ FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001,\r
+ SPF_PASS=-0.001] autolearn=disabled\r
+Received: from arlo.cworth.org ([127.0.0.1])\r
+ by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024)\r
+ with ESMTP id zob22fQF5gCb for <notmuch@notmuchmail.org>;\r
+ Sat, 13 Jun 2015 14:35:02 -0700 (PDT)\r
+Received: from mail-pd0-f175.google.com (mail-pd0-f175.google.com\r
+ [209.85.192.175])\r
+ by arlo.cworth.org (Postfix) with ESMTPS id 058C46DE0948\r
+ for <notmuch@notmuchmail.org>; Sat, 13 Jun 2015 14:35:02 -0700 (PDT)\r
+Received: by pdbki1 with SMTP id ki1so45622867pdb.1\r
+ for <notmuch@notmuchmail.org>; Sat, 13 Jun 2015 14:35:01 -0700 (PDT)\r
+DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;\r
+ h=from:to:subject:in-reply-to:references:user-agent:date:message-id\r
+ :mime-version:content-type;\r
+ bh=FI2p8vVXQG7PiPrUj5REqeB1aXauhXBLsrh6n8Ray7U=;\r
+ b=kQW8BS+SF+k8vG+uMeMnP/B53CVwzYBCnyMT7McZj0zF5qBOehTRlwS/AFg9WlxtD1\r
+ yyshd7CFk5gKWUuz7L1hyY/UokvEmqmM3W1nKgvbPFPXzxdMobbwaD2tq/eb1lQSrX2M\r
+ uFNpXrvz2cTkArlmXoMdAOsWicLIhrAatbh1LpMIbhQiYZGgPYRM8wHLp2reWxzWu4e8\r
+ 824buefJZEN7fZlwTduO+WzIibEk1sX7+1Sw5cFF2CDK93vLjriRDIcIMvWn16Vv7kGm\r
+ 1kBjCY3aV1fWNEx0/J/4VuNN2VcCd6q1W2FCatrFkxGRFseC+rJ0O1R51EvliVDtIwh3\r
+ 53qQ==\r
+X-Received: by 10.68.87.35 with SMTP id u3mr34586209pbz.127.1434231301754;\r
+ Sat, 13 Jun 2015 14:35:01 -0700 (PDT)\r
+Received: from localhost ([2601:647:4b02:71ea:b00c:9bdd:d6e7:4a42])\r
+ by mx.google.com with ESMTPSA id g10sm7579290pat.35.2015.06.13.14.34.58\r
+ (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\r
+ Sat, 13 Jun 2015 14:34:59 -0700 (PDT)\r
+From: Jinwoo Lee <jinwoo68@gmail.com>\r
+To: David Bremner <david@tethera.net>, notmuch@notmuchmail.org\r
+Subject: Re: [patch v3 1/4] build: integrate building ruby bindings into\r
+ notmuch build process\r
+In-Reply-To: <yq651thfnvye.fsf@jinwoo-macbookair.roam.corp.google.com>\r
+References: <1425679073-30439-5-git-send-email-david@tethera.net>\r
+ <1433142542-2307-1-git-send-email-david@tethera.net>\r
+ <1433142542-2307-2-git-send-email-david@tethera.net>\r
+ <87zj4415bu.fsf@maritornes.cs.unb.ca>\r
+ <yq65vberz8ew.fsf@jinwoo-macbookair.roam.corp.google.com>\r
+ <yq65si9vz69j.fsf@jinwoo-macbookair.roam.corp.google.com>\r
+ <yq65pp4zz617.fsf@jinwoo-macbookair.roam.corp.google.com>\r
+ <87bngj9uvv.fsf@maritornes.cs.unb.ca>\r
+ <yq654mmbnw1a.fsf@jinwoo-macbookair.roam.corp.google.com>\r
+ <yq651thfnvye.fsf@jinwoo-macbookair.roam.corp.google.com>\r
+User-Agent: Notmuch/0.20.1+21~g4e79903 (http://notmuchmail.org) Emacs/24.5.1\r
+ (x86_64-apple-darwin14.3.0)\r
+Date: Sat, 13 Jun 2015 14:34:57 -0700\r
+Message-ID: <yq65y4jnmgvy.fsf@jinwoo-macbookair.roam.corp.google.com>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.18\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+ <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+ <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch/>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+ <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Sat, 13 Jun 2015 21:35:03 -0000\r
+\r
+On Sat, Jun 13, 2015 at 02:24 PM, Jinwoo Lee <jinwoo68@gmail.com> wrote:\r
+> That error is from 'cd bindings/ruby && ruby extconf.rb --vendor' BTW.\r
+\r
+The contents of mkmf.log are below.  It shows a warning about\r
+-L/usr/local/lib and I don't have the directory /usr/local/lib on my\r
+machine.  I'm not sure if that's the cause of the error though.  I don't\r
+write Ruby and know nothing about it.\r
+\r
+"xcrun clang -o conftest -I../../lib -I/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/include/ruby-2.0.0/universal-darwin14 -I/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/include/ruby-2.0.0/ruby/backward -I/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/include/ruby-2.0.0 -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT    -g -Os -pipe -DHAVE_GCC_SYNC_BUILTINS conftest.c  -L. -L/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib -L. -L/usr/local/lib -Wl,--no-undefined   -arch x86_64 -arch i386   -lruby.2.0.0  -lpthread -ldl -lobjc "\r
+ld: warning: directory not found for option '-L/usr/local/lib'\r
+ld: unknown option: --no-undefined\r
+clang: error: linker command failed with exit code 1 (use -v to see invocation)\r
+checked program was:\r
+/* begin */\r
+1: #include "ruby.h"\r
+2: \r
+3: int main(int argc, char **argv)\r
+4: {\r
+5:   return 0;\r
+6: }\r
+/* end */\r
+\r