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