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 EB0686DE17A7 for ; Tue, 16 Jun 2015 23:39:47 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: -0.571 X-Spam-Level: X-Spam-Status: No, score=-0.571 tagged_above=-999 required=5 tests=[AWL=-0.001, 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 yGdXKCoHNmGF for ; Tue, 16 Jun 2015 23:39:45 -0700 (PDT) Received: from mail-pa0-f42.google.com (mail-pa0-f42.google.com [209.85.220.42]) by arlo.cworth.org (Postfix) with ESMTPS id B056A6DE09ED for ; Tue, 16 Jun 2015 23:39:45 -0700 (PDT) Received: by pacgb13 with SMTP id gb13so28122872pac.1 for ; Tue, 16 Jun 2015 23:39:45 -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=bLrXRUwalPPQZo5LLqzF3J5swDPFUIbyXtQYCxQ7WnY=; b=0H6zr/uZ/mDWRmewnEH3j8hH4E8oxzJBai7bX/t7XaflHq6chnfujG/dRo3uZ1f4bJ z5Er/3o9CMUGnpoIxcq6i5d1Hw9IIPzCoKyYEVS/ErLiEyUngV3WaEiypjg0Wm285+nL kSbYuWm13T3h63RF2sqYJXIxY96P2aHoCYCeH0qY3njBFYMkLUsRLeEqpLxgRe8/E4P6 HPHxH2di+eBuV3PzYTgnOegAzxEYegeooSaT9/kDgEGYkQEMPvcDQkNc9vuB5l+Vw9Yr yc9buasqkibQkNBoi0vebaR93wau3CRhFJzEkqygenyfXg/ahjs0fFr906m0PuAZFV3S /91A== X-Received: by 10.68.235.38 with SMTP id uj6mr7779729pbc.57.1434523185416; Tue, 16 Jun 2015 23:39:45 -0700 (PDT) Received: from localhost ([2601:647:4b02:71ea:f181:4b03:d450:1acd]) by mx.google.com with ESMTPSA id i5sm3475337pat.42.2015.06.16.23.39.42 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 16 Jun 2015 23:39:43 -0700 (PDT) From: Jinwoo Lee To: David Bremner , Tomi Ollila , notmuch@notmuchmail.org Subject: Re: [PATCH] lib, ruby: make use of -Wl,--no-undefined configurable In-Reply-To: <87vbem26qk.fsf@maritornes.cs.unb.ca> 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> <87vbem26qk.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 23:39:40 -0700 Message-ID: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" 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: Wed, 17 Jun 2015 06:39:48 -0000 --=-=-= Content-Type: text/plain On Tue, Jun 16, 2015 at 11:23 PM, David Bremner wrote: > At a guess, this again has to do with spaces in the pathname. Maybe this > is fixable with more quoting, but it's really independent of mac vs > gnu/linux. In this instance it looks like quoting "test_results_path" > would help. Ah, I thought the readelf error was a fatal one. I re-ran `make test' from a new directory that doesn't have spaces in its name. It gave different errors and I'm attaching the output. --=-=-= Content-Type: text/plain; charset=utf-8 Content-Disposition: inline; filename=notmuch-test.txt Content-Transfer-Encoding: quoted-printable Content-Description: Notmuch test log /Applications/Xcode.app/Contents/Developer/usr/bin/make -C .. test cd bindings/ruby && \ EXTRA_LDFLAGS=3D"" \ LIBNOTMUCH=3D"../../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 x= 86_64 which is not the architecture being linked (i386): ../../lib/libnotmu= ch.dylib Use "/Applications/Xcode.app/Contents/Developer/usr/bin/make V=3D1" to see = the verbose compile lines. CC -g -O2 test/arg-test.o CC test/arg-test CC -g -O2 test/hex-xcode.o CC test/hex-xcode CC -g -O2 test/random-corpus.o CC -g -O2 test/database-test.o CXX test/random-corpus CC -g -O2 test/parse-time.o CC test/parse-time CC -g -O2 test/smtp-dummy.o CC test/smtp-dummy CXX -g -O2 test/symbol-test.o test/symbol-test.cc:7:14: warning: unused parameter 'argc' [-Wunused-parame= ter] int main(int argc, char** argv) { ^ 1 warning generated. CXX test/symbol-test CXX -g -O2 test/make-db-version.o CXX test/make-db-version INFO: using 2 minute timeout for tests T000-basic: Testing the test framework itself. 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 PASS PATH is set to build directory FAIL notmuch is compiled with debugging symbols --- T000-basic.12.expected 2015-06-17 06:35:04.000000000 +0000 +++ T000-basic.12.output 2015-06-17 06:35:04.000000000 +0000 @@ -1 +1 @@ -1 +0 ./T000-basic.sh: line 95: readelf: command not found T010-help-test: Testing online help PASS notmuch --help PASS notmuch help PASS notmuch --version FAIL notmuch --help tag (man pages not available) test_must_fail notmuch --help tag >/dev/null PASS notmuch help tag (man pages not available) T020-compact: Testing "notmuch compact" PASS Running compact PASS Compact preserves database PASS Restoring Backup PASS Checking restored backup T030-config: Testing "notmuch config" PASS Get string value PASS Get list value PASS Set string value PASS Set string value again PASS Set list value PASS Set list value again PASS Remove key PASS Remove non-existent key PASS List all items PASS Top level --config=3DFILE option PASS Top level --config=3DFILE option changed the right file PASS Read config file through a symlink PASS Write config file through a symlink PASS Writing config file through symlink follows symlink T040-setup: Testing "notmuch setup" PASS Notmuch new without a config suggests notmuch setup PASS Create a new config interactively T050-new: Testing "notmuch new" in several variations PASS No new messages PASS Single new message PASS Multiple new messages PASS No new messages (non-empty DB) PASS New directories PASS Alternate inode order PASS Message moved in PASS Renamed message PASS Deleted message PASS Renamed directory PASS Deleted directory PASS New directory (at end of list) PASS Deleted directory (end of list) PASS New symlink to directory PASS New symlink to a file PASS Broken symlink aborts PASS New two-level directory PASS Deleted two-level directory PASS Support single-message mbox (deprecated) PASS Skip and report non-mail files PASS Ignore files and directories specified in new.ignore PASS Ignore files and directories specified in new.ignore (multiple occu= rrences) PASS Don't stop for ignored broken symlinks PASS Quiet: No new mail. PASS Quiet: new, removed and renamed messages. PASS Empty tags in new.tags are forbidden PASS Tags starting with '-' in new.tags are forbidden PASS Invalid tags set exit code PASS Xapian exception: read only files T060-count: Testing "notmuch count" for messages and threads PASS message count is the default for notmuch count PASS message count with --output=3Dmessages PASS thread count with --output=3Dthreads PASS thread count is the default for notmuch search PASS files count PASS files count for a duplicate message-id PASS count with no matching messages PASS count with no matching threads PASS message count is the default for batch count PASS batch message count PASS batch thread count PASS batch message count with input file T070-insert: Testing "notmuch insert" missing prerequisites: gdb(1) SKIP all tests in T070-insert T080-search: Testing "notmuch search" in several variations PASS Search body PASS Search by from: PASS Search by to: PASS Search by subject: PASS Search by subject (utf-8): PASS Search by id: PASS Search by tag: PASS Search by thread: PASS Search body (phrase) PASS Search by from: (address) PASS Search by from: (name) PASS Search by from: (name and address) PASS Search by from: without prefix (name and address) PASS Search by to: (address) PASS Search by to: (name) PASS Search by to: (name and adress) PASS Search by to: without prefix (name and adress) PASS Search by subject: (phrase) PASS Search for all messages ("*") PASS Search body (utf-8): PASS headers do not have adjacent term positions PASS parts have non-overlapping term positions PASS parts do not have adjacent term positions T090-search-output: Testing various settings for "notmuch search --output= =3D" PASS --output=3Dthreads PASS --output=3Dthreads --format=3Djson PASS --output=3Dmessages PASS --output=3Dmessages --duplicate=3D1 PASS --output=3Dmessages --duplicate=3D2 PASS --output=3Dmessages --duplicate=3D3 PASS --output=3Dmessages --format=3Djson PASS --output=3Dmessages --format=3Djson --duplicate=3D1 PASS --output=3Dmessages --format=3Djson --duplicate=3D2 PASS --output=3Dmessages --format=3Djson --duplicate=3D3 PASS --output=3Dfiles PASS --output=3Dfiles --duplicate=3D1 PASS --output=3Dfiles --format=3Djson PASS --output=3Dfiles --format=3Djson --duplicate=3D2 PASS --output=3Dtags PASS --output=3Dtags --format=3Djson PASS sanitize output for quoted-printable line-breaks in author and subj= ect PASS search for non-existent message prints nothing PASS search --format=3Djson for non-existent message prints proper empty= json T095-address: Testing "notmuch address" in several variants PASS --output=3Dsender PASS without --output PASS --output=3Dsender --format=3Djson PASS --output=3Drecipients PASS --output=3Dsender --output=3Drecipients PASS --output=3Dsender --output=3Dcount PASS --output=3Dcount --format=3Djson T100-search-by-folder: Testing "notmuch search" by folder: and path: (with = variations) PASS Single-world folder: specification (multiple results) PASS Top level folder PASS Two-word path to narrow results to one PASS Folder search with --output=3Dfiles PASS After removing duplicate instance of matching path PASS Folder search with --output=3Dfiles part #2 PASS After removing duplicate instance of matching path part #2 PASS After rename, old path returns nothing PASS After rename, new path returns result PASS folder: search PASS top level folder: search PASS path: search PASS top level path: search PASS recursive path: search T110-search-position-overlap-bug: Testing that notmuch does not overlap ter= m positions PASS Search for a@b.c matches PASS Search for x@y.z matches PASS Search for a@y.c must not match T120-search-insufficient-from-quoting: Testing messages with unquoted . in = name PASS Search by first name PASS Search by last name: PASS Search by address: PASS Search for all messages: T130-search-limiting: Testing "notmuch search" --offset and --limit paramet= ers PASS messages: limit does the right thing PASS messages: concatenation of limited searches PASS messages: limit larger than result set PASS messages: limit =3D 0 PASS messages: offset does the right thing PASS messages: offset =3D 0 PASS messages: negative offset PASS messages: negative offset PASS messages: negative offset combined with limit PASS messages: negative offset combined with equal limit PASS messages: negative offset combined with large limit PASS messages: negative offset larger then results PASS threads: limit does the right thing PASS threads: concatenation of limited searches PASS threads: limit larger than result set PASS threads: limit =3D 0 PASS threads: offset does the right thing PASS threads: offset =3D 0 PASS threads: negative offset PASS threads: negative offset PASS threads: negative offset combined with limit PASS threads: negative offset combined with equal limit PASS threads: negative offset combined with large limit PASS threads: negative offset larger then results T140-excludes: Testing "notmuch search, count and show" with excludes in se= veral variations PASS Search, exclude "deleted" messages from search PASS Search, exclude "deleted" messages from message search PASS Search, exclude "deleted" messages from message search --exclude=3D= false PASS Search, exclude "deleted" messages from message search (non-existen= t exclude-tag) PASS Search, exclude "deleted" messages from search, overridden PASS Search, exclude "deleted" messages from threads PASS Search, don't exclude "deleted" messages when --exclude=3Dflag spec= ified PASS Search, don't exclude "deleted" messages from search if not configu= red PASS Search, default exclusion (thread summary) PASS Search, default exclusion (messages) PASS Search, exclude=3Dtrue (thread summary) PASS Search, exclude=3Dtrue (messages) PASS Search, exclude=3Dfalse (thread summary) PASS Search, exclude=3Dfalse (messages) PASS Search, exclude=3Dflag (thread summary) PASS Search, exclude=3Dflag (messages) PASS Search, exclude=3Dall (thread summary) PASS Search, exclude=3Dall (messages) PASS Search, default exclusion: tag in query (thread summary) PASS Search, default exclusion: tag in query (messages) PASS Search, exclude=3Dtrue: tag in query (thread summary) PASS Search, exclude=3Dtrue: tag in query (messages) PASS Search, exclude=3Dfalse: tag in query (thread summary) PASS Search, exclude=3Dfalse: tag in query (messages) PASS Search, exclude=3Dflag: tag in query (thread summary) PASS Search, exclude=3Dflag: tag in query (messages) PASS Search, exclude=3Dall: tag in query (thread summary) PASS Search, exclude=3Dall: tag in query (messages) PASS Count, default exclusion (messages) PASS Count, default exclusion (threads) PASS Count, exclude=3Dtrue (messages) PASS Count, exclude=3Dtrue (threads) PASS Count, exclude=3Dfalse (messages) PASS Count, exclude=3Dfalse (threads) PASS Count, default exclusion: tag in query (messages) PASS Count, default exclusion: tag in query (threads) PASS Count, exclude=3Dtrue: tag in query (messages) PASS Count, exclude=3Dtrue: tag in query (threads) PASS Count, exclude=3Dfalse: tag in query (messages) PASS Count, exclude=3Dfalse: tag in query (threads) PASS Show, default exclusion PASS Show, default exclusion (entire-thread) PASS Show, exclude=3Dtrue PASS Show, exclude=3Dtrue (entire-thread) PASS Show, exclude=3Dfalse PASS Show, exclude=3Dfalse (entire-thread) T150-tagging: Testing "notmuch tag" PASS Adding tags PASS Removing tags PASS No tag operations PASS No query PASS Redundant tagging PASS Remove all PASS Remove all with a no-op PASS Special characters in tags PASS Tagging order PASS --batch PASS --input PASS --batch --input PASS --batch, blank lines and comments PASS --batch: checking error messages PASS --batch: tags with quotes PASS --batch: tags with punctuation and space PASS --batch: unicode tags PASS --batch: only space and % needs to be encoded. PASS --batch: unicode message-ids PASS Empty tag names PASS Tag name beginning with - PASS Xapian exception: read only files T160-json: Testing --format=3Djson output PASS Show message: json PASS Show message: json --body=3Dtrue PASS Show message: json --body=3Dfalse PASS Search message: json PASS Show message: json, utf-8 missing prerequisites: dtach(1) SKIP Show message: json, inline attachment filename PASS Search message: json, utf-8 PASS Format version: too low PASS Format version: too high T170-sexp: Testing --format=3Dsexp output PASS Show message: sexp PASS Show message: sexp --body=3Dtrue PASS Show message: sexp --body=3Dfalse PASS Search message: sexp PASS Show message: sexp, utf-8 missing prerequisites: dtach(1) SKIP Show message: sexp, inline attachment filename FAIL Search message: sexp, utf-8 --- T170-sexp.7.expected 2015-06-17 06:35:18.000000000 +0000 +++ T170-sexp.7.output 2015-06-17 06:35:18.000000000 +0000 @@ -1 +1 @@ -((:thread "0000000000000005" :timestamp 946728000 :date_relative "2000-01= -01" :matched 1 :total 1 :authors "Notmuch Test Suite" :subject "sexp-searc= h-utf8-body-s=C3=BCbj=C3=A9ct" :query ("id:msg-004@notmuch-test-suite" nil)= :tags ("inbox" "unread"))) +((:thread "0000000000000004" :timestamp 946728000 :date_relative "2000-01= -01" :matched 1 :total 1 :authors "Notmuch Test Suite" :subject "sexp-searc= h-utf8-body-s=C3=BCbj=C3=A9ct" :query ("id:msg-004@notmuch-test-suite" nil)= :tags ("inbox" "unread"))) T180-text: Testing --format=3Dtext output PASS Show message: text PASS Search message: text PASS Show message: text, utf-8 PASS Search message: text, utf-8 PASS Search message tags: text0 PASS Compare text vs. text0 for threads PASS Compare text vs. text0 for messages PASS Compare text vs. text0 for files PASS Compare text vs. text0 for tags T190-multipart: Testing output of multipart message PASS --format=3Dtext --part=3D0, full message PASS --format=3Dtext --part=3D1, message body PASS --format=3Dtext --part=3D2, multipart/mixed PASS --format=3Dtext --part=3D3, rfc822 part PASS --format=3Dtext --part=3D4, rfc822's multipart PASS --format=3Dtext --part=3D5, rfc822's html part PASS --format=3Dtext --part=3D6, rfc822's text part PASS --format=3Dtext --part=3D7, inline attachement PASS --format=3Dtext --part=3D8, plain text part PASS --format=3Dtext --part=3D9, pgp signature (unverified) PASS --format=3Dtext --part=3D8, no part, expect error PASS --format=3Djson --part=3D0, full message PASS --format=3Djson --part=3D1, message body PASS --format=3Djson --part=3D2, multipart/mixed PASS --format=3Djson --part=3D3, rfc822 part PASS --format=3Djson --part=3D4, rfc822's multipart/alternative PASS --format=3Djson --part=3D5, rfc822's html part PASS --format=3Djson --part=3D6, rfc822's text part PASS --format=3Djson --part=3D7, inline attachment PASS --format=3Djson --part=3D8, plain text part PASS --format=3Djson --part=3D9, pgp signature (unverified) PASS --format=3Djson --part=3D10, no part, expect error PASS --format=3Draw PASS --format=3Draw --part=3D0, full message PASS --format=3Draw --part=3D1, message body PASS --format=3Draw --part=3D2, multipart/mixed PASS --format=3Draw --part=3D3, rfc822 part PASS --format=3Draw --part=3D4, rfc822's multipart PASS --format=3Draw --part=3D5, rfc822's html part PASS --format=3Draw --part=3D6, rfc822's text part PASS --format=3Draw --part=3D7, inline attachment PASS --format=3Draw --part=3D8, plain text part PASS --format=3Draw --part=3D9, pgp signature (unverified) PASS --format=3Draw --part=3D10, no part, expect error PASS --format=3Dmbox PASS --format=3Dmbox --part=3D1, incompatible, expect error PASS 'notmuch reply' to a multipart message PASS 'notmuch reply' to a multipart message with json format PASS 'notmuch show --part' does not corrupt a part with CRLF pair PASS html parts excluded by default Timeout: aborting command ``./T190-multipart.sh'' with signal 9 test/notmuch-test: line 36: 32948 Killed: 9 $TEST_TIMEOUT_CMD= ./$test "$@" make[1]: *** [test] Error 137 make: *** [test] Error 2 --=-=-=--