ruby bindings on OS X are broken? (was Re: [ANN] New awesome vim plug-in using Ruby...
authorCharlie Allom <charlie@mediasp.com>
Mon, 23 Apr 2012 09:39:33 +0000 (10:39 +0100)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:46:39 +0000 (09:46 -0800)
88/caba2a986ef65c3325a0744fb8c3796cda28c9 [new file with mode: 0644]

diff --git a/88/caba2a986ef65c3325a0744fb8c3796cda28c9 b/88/caba2a986ef65c3325a0744fb8c3796cda28c9
new file mode 100644 (file)
index 0000000..65164b4
--- /dev/null
@@ -0,0 +1,89 @@
+Return-Path: <charlie@mediasp.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 olra.theworths.org (Postfix) with ESMTP id 2347D431FAF\r
+       for <notmuch@notmuchmail.org>; Mon, 23 Apr 2012 02:46:02 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: 0\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none]\r
+       autolearn=disabled\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+       by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+       with ESMTP id H0C3IBQG74mv for <notmuch@notmuchmail.org>;\r
+       Mon, 23 Apr 2012 02:46:01 -0700 (PDT)\r
+X-Greylist: delayed 383 seconds by postgrey-1.32 at olra;\r
+       Mon, 23 Apr 2012 02:46:01 PDT\r
+Received: from mail.playlouder.com (mail.playlouder.com [94.228.66.7])\r
+       by olra.theworths.org (Postfix) with ESMTP id 166E5431FAE\r
+       for <notmuch@notmuchmail.org>; Mon, 23 Apr 2012 02:46:01 -0700 (PDT)\r
+Received: from localhost (localhost.localdomain [127.0.0.1])\r
+       by mail.playlouder.com (Postfix) with ESMTP id 1367F52007;\r
+       Mon, 23 Apr 2012 10:39:35 +0100 (BST)\r
+X-Virus-Scanned: Debian amavisd-new at mail.playlouder.com\r
+Received: from mail.playlouder.com ([127.0.0.1])\r
+       by localhost (mail.playlouder.com [127.0.0.1]) (amavisd-new, port 10024)\r
+       with ESMTP id n8--IKJ4NaKd; Mon, 23 Apr 2012 09:39:34 +0000 (UTC)\r
+Received: from spodder.com (capslock.playlouder.com [94.228.68.132])\r
+       by mail.playlouder.com (Postfix) with ESMTPSA id 8DE0E52002;\r
+       Mon, 23 Apr 2012 10:39:34 +0100 (BST)\r
+Date: Mon, 23 Apr 2012 10:39:33 +0100\r
+From: Charlie Allom <charlie@mediasp.com>\r
+To: notmuch@notmuchmail.org\r
+Subject: ruby bindings on OS X are broken? (was Re: [ANN] New awesome vim\r
+       plug-in using Ruby bindings)\r
+Message-ID: <20120423093933.GQ954@spodder.com>\r
+References:\r
+ <CAMP44s3gNrDnsqpdiHJAhJOkM1SYKMUTNL2LUO4QEUCPiFZARA@mail.gmail.com>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain; charset=us-ascii\r
+Content-Disposition: inline\r
+In-Reply-To:\r
+ <CAMP44s3gNrDnsqpdiHJAhJOkM1SYKMUTNL2LUO4QEUCPiFZARA@mail.gmail.com>\r
+User-Agent: Mutt/1.5.21 (2010-09-15)\r
+Cc: Ali Polatel <alip@exherbo.org>\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\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: Mon, 23 Apr 2012 09:46:02 -0000\r
+\r
+Hello, Has anyone seen this on OS X?\r
+\r
+I can't see what the linker must be doing.\r
+\r
+10:36 capslock:notmuch/bindings/ruby% ruby extconf.rb\r
+checking for notmuch.h in ../../lib... yes\r
+checking for notmuch_database_create() in -lnotmuch... yes\r
+creating Makefile\r
+10:36 capslock:notmuch/bindings/ruby% make\r
+/opt/local/bin/gcc-apple-4.2 -I. -I. -I/opt/local/lib/ruby/1.8/i686-darwin11 -I. -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE  -I/opt/local/include -fno-common -pipe -O2 -arch x86_64  -fno-common -pipe -fno-common  -arch x86_64 -c database.c\r
+/opt/local/bin/gcc-apple-4.2 -I. -I. -I/opt/local/lib/ruby/1.8/i686-darwin11 -I. -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE  -I/opt/local/include -fno-common -pipe -O2 -arch x86_64  -fno-common -pipe -fno-common  -arch x86_64 -c directory.c\r
+/opt/local/bin/gcc-apple-4.2 -I. -I. -I/opt/local/lib/ruby/1.8/i686-darwin11 -I. -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE  -I/opt/local/include -fno-common -pipe -O2 -arch x86_64  -fno-common -pipe -fno-common  -arch x86_64 -c filenames.c\r
+/opt/local/bin/gcc-apple-4.2 -I. -I. -I/opt/local/lib/ruby/1.8/i686-darwin11 -I. -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE  -I/opt/local/include -fno-common -pipe -O2 -arch x86_64  -fno-common -pipe -fno-common  -arch x86_64 -c init.c\r
+/opt/local/bin/gcc-apple-4.2 -I. -I. -I/opt/local/lib/ruby/1.8/i686-darwin11 -I. -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE  -I/opt/local/include -fno-common -pipe -O2 -arch x86_64  -fno-common -pipe -fno-common  -arch x86_64 -c message.c\r
+/opt/local/bin/gcc-apple-4.2 -I. -I. -I/opt/local/lib/ruby/1.8/i686-darwin11 -I. -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE  -I/opt/local/include -fno-common -pipe -O2 -arch x86_64  -fno-common -pipe -fno-common  -arch x86_64 -c messages.c\r
+/opt/local/bin/gcc-apple-4.2 -I. -I. -I/opt/local/lib/ruby/1.8/i686-darwin11 -I. -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE  -I/opt/local/include -fno-common -pipe -O2 -arch x86_64  -fno-common -pipe -fno-common  -arch x86_64 -c query.c\r
+/opt/local/bin/gcc-apple-4.2 -I. -I. -I/opt/local/lib/ruby/1.8/i686-darwin11 -I. -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE  -I/opt/local/include -fno-common -pipe -O2 -arch x86_64  -fno-common -pipe -fno-common  -arch x86_64 -c status.c\r
+/opt/local/bin/gcc-apple-4.2 -I. -I. -I/opt/local/lib/ruby/1.8/i686-darwin11 -I. -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE  -I/opt/local/include -fno-common -pipe -O2 -arch x86_64  -fno-common -pipe -fno-common  -arch x86_64 -c tags.c\r
+/opt/local/bin/gcc-apple-4.2 -I. -I. -I/opt/local/lib/ruby/1.8/i686-darwin11 -I. -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE  -I/opt/local/include -fno-common -pipe -O2 -arch x86_64  -fno-common -pipe -fno-common  -arch x86_64 -c thread.c\r
+/opt/local/bin/gcc-apple-4.2 -I. -I. -I/opt/local/lib/ruby/1.8/i686-darwin11 -I. -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE  -I/opt/local/include -fno-common -pipe -O2 -arch x86_64  -fno-common -pipe -fno-common  -arch x86_64 -c threads.c\r
+/opt/local/bin/gcc-apple-4.2 -dynamic -bundle -undefined suppress -flat_namespace -o notmuch.bundle database.o directory.o filenames.o init.o message.o messages.o query.o status.o tags.o thread.o threads.o -L. -L/opt/local/lib -L/opt/local/lib -L. -L/opt/local/lib -arch x86_64  -arch x86_64  -lruby -lnotmuch  -lpthread -ldl -lobjc\r
+ld: duplicate symbol _notmuch_rb_cDatabase in directory.o and database.o for architecture x86_64\r
+collect2: ld returned 1 exit status\r
+make: *** [notmuch.bundle] Error 1\r
+10:37 capslock:notmuch/bindings/ruby%\r
+\r
+--\r
+ +442077294797\r
+ http://mediasp.com/\r