Re: [PATCH] lib, ruby: make use of -Wl,--no-undefined configurable
authorJinwoo Lee <jinwoo68@gmail.com>
Tue, 16 Jun 2015 23:43:34 +0000 (16:43 +1700)
committerW. Trevor King <wking@tremily.us>
Sat, 20 Aug 2016 21:49:05 +0000 (14:49 -0700)
b7/9439c2c6c96e0fe0b757c472c1924b5959810b [new file with mode: 0644]

diff --git a/b7/9439c2c6c96e0fe0b757c472c1924b5959810b b/b7/9439c2c6c96e0fe0b757c472c1924b5959810b
new file mode 100644 (file)
index 0000000..e0cb956
--- /dev/null
@@ -0,0 +1,129 @@
+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 B48876DE0243\r
+ for <notmuch@notmuchmail.org>; Tue, 16 Jun 2015 16:43:41 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at cworth.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: 0.257\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=0.257 tagged_above=-999 required=5 tests=[AWL=0.827, \r
+ DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,\r
+ FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001,\r
+ RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01,\r
+ RCVD_IN_MSPIKE_WL=-0.01, 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 IkcjnxvdwJaS for <notmuch@notmuchmail.org>;\r
+ Tue, 16 Jun 2015 16:43:39 -0700 (PDT)\r
+Received: from mail-ig0-f179.google.com (mail-ig0-f179.google.com\r
+ [209.85.213.179])\r
+ by arlo.cworth.org (Postfix) with ESMTPS id 9FEFC6DE0140\r
+ for <notmuch@notmuchmail.org>; Tue, 16 Jun 2015 16:43:39 -0700 (PDT)\r
+Received: by igbos3 with SMTP id os3so56249742igb.0\r
+ for <notmuch@notmuchmail.org>; Tue, 16 Jun 2015 16:43:37 -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=ys4SdHRPPdjBZZiAi4iOQx587aqab+kQUa/vsVbdYz4=;\r
+ b=iCJ3hvfRN5lCrRDVZ2gC2DGdREjLnl17i7h4ef1bQnv9OgRD+EExSgDGm+crD4S+78\r
+ SxbfJXFs/mBT2c+4IDzvzbQ726aVPIcrbyj5IbP0KpaW2IX0EisFLdZJ5JzWWjem3Ctw\r
+ TIQkr6OsXNNHUo8tX1HsZ4cuO7c7qMfof7Y8/X4RWmgTjVi59Fcn1MNuCo0Gmf8IYvMx\r
+ yWEv0CIBWAR0/r77kTTR4UkIdwoM7q1Ns9+uOhnJ2HJGblhWKS0S2KBokMrDr9L+ncOe\r
+ LOSL1oDBT/r4aryQvn4K+WTGe+aIJaQhoWS5Z0Kwzu5m0CO40unMpzYPaTMuzn8C989h\r
+ ApPA==\r
+X-Received: by 10.43.173.70 with SMTP id ob6mr5710929icc.45.1434498217856;\r
+ Tue, 16 Jun 2015 16:43:37 -0700 (PDT)\r
+Received: from localhost ([2620:0:1000:407c:a829:c652:7166:dc01])\r
+ by mx.google.com with ESMTPSA id a2sm2082699igx.3.2015.06.16.16.43.35\r
+ (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\r
+ Tue, 16 Jun 2015 16:43:35 -0700 (PDT)\r
+From: Jinwoo Lee <jinwoo68@gmail.com>\r
+To: Tomi Ollila <tomi.ollila@iki.fi>, notmuch@notmuchmail.org\r
+Subject: Re: [PATCH] lib, ruby: make use of -Wl,--no-undefined configurable\r
+In-Reply-To: <m2lhfjwm4x.fsf@guru.guru-group.fi>\r
+References: <1433142542-2307-3-git-send-email-david@tethera.net>\r
+ <1434261524-14139-1-git-send-email-david@tethera.net>\r
+ <yq65a8w2u7yv.fsf@jinwoo-macbookair.roam.corp.google.com>\r
+ <87r3peye4q.fsf@maritornes.cs.unb.ca>\r
+ <yq657fr6tj64.fsf@jinwoo-macbookair.roam.corp.google.com>\r
+ <87oaki3zrh.fsf@maritornes.cs.unb.ca>\r
+ <yq654mm9tyie.fsf@jinwoo-macbookair.roam.corp.google.com>\r
+ <m2bnghe3ar.fsf@guru.guru-group.fi>\r
+ <yq65wpz463rd.fsf@jinwoo-macbookair.roam.corp.google.com>\r
+ <m2lhfjwm4x.fsf@guru.guru-group.fi>\r
+User-Agent: Notmuch/0.20.1+24~gd9567dd (http://notmuchmail.org) Emacs/24.5.1\r
+ (x86_64-apple-darwin14.3.0)\r
+Date: Tue, 16 Jun 2015 16:43:34 -0700\r
+Message-ID: <yq65y4jjjk2h.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: Tue, 16 Jun 2015 23:43:41 -0000\r
+\r
+Turns out my previous error was because I was running tests within Emacs\r
+eshell, and run_emacs failed.\r
+\r
+I tried again in a terminal and it still failed but for a different\r
+reason.  I don't have readelf on my Mac.\r
+\r
+$ make test\r
+/Applications/Xcode.app/Contents/Developer/usr/bin/make -C .. test\r
+cd bindings/ruby && \\r
+               EXTRA_LDFLAGS="" \\r
+               LIBNOTMUCH="../../lib/libnotmuch.dylib" \\r
+               ruby extconf.rb --vendor\r
+creating Makefile\r
+/Applications/Xcode.app/Contents/Developer/usr/bin/make -C bindings/ruby\r
+linking shared-object notmuch.bundle\r
+ld: warning: directory not found for option '-L/usr/local/lib'\r
+ld: warning: directory not found for option '-L/usr/local/lib'\r
+ld: warning: ignoring file ../../lib/libnotmuch.dylib, file was built for x86_64 which is not the architecture being linked (i386): ../../lib/libnotmuch.dylib\r
+INFO: using 2 minute timeout for tests\r
+\r
+T000-basic: Testing the test framework itself.\r
+./test-lib-common.sh: line 43: /Users/jinwoo/Box: No such file or directory\r
+ PASS   success is reported like this\r
+ PASS   test runs if prerequisite is satisfied\r
+ PASS   tests clean up after themselves\r
+ PASS   tests clean up even after a failure\r
+ PASS   failure to clean up causes the test to fail\r
+ PASS   Ensure that test output is suppressed unless the test fails\r
+ PASS   Ensure that -v does not suppress test output\r
+ PASS   test that mail store was created\r
+ PASS   mail store should be empty\r
+ PASS   NOTMUCH_CONFIG is set and points to an existing file\r
+ FAIL   PATH is set to build directory\r
+       --- T000-basic.11.expected      2015-06-16 23:40:30.000000000 +0000\r
+       +++ T000-basic.11.output        2015-06-16 23:40:30.000000000 +0000\r
+       @@ -1 +1 @@\r
+       -/Users/jinwoo/Box Sync/personal/project/notmuch\r
+       +\r
+usage: dirname path\r
+ FAIL   notmuch is compiled with debugging symbols\r
+       --- T000-basic.12.expected      2015-06-16 23:40:30.000000000 +0000\r
+       +++ T000-basic.12.output        2015-06-16 23:40:30.000000000 +0000\r
+       @@ -1 +1 @@\r
+       -1\r
+       +0\r
+./T000-basic.sh: line 95: readelf: command not found\r
+./test-lib.sh: line 1062: $test_results_path: ambiguous redirect\r
+./test-lib.sh: line 1063: $test_results_path: ambiguous redirect\r
+./test-lib.sh: line 1064: $test_results_path: ambiguous redirect\r
+./test-lib.sh: line 1065: $test_results_path: ambiguous redirect\r
+./test-lib.sh: line 1066: $test_results_path: ambiguous redirect\r
+./test-lib.sh: line 1067: $test_results_path: ambiguous redirect\r
+make[1]: *** [test] Error 1\r
+make: *** [test] Error 2\r