From: Ryan Schmidt Date: Thu, 30 Apr 2015 05:20:37 +0000 (+1900) Subject: notmuch 0.19 build fails on OS X 10.6 with gcc 4.2.1 with undefined symbols X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=d701678596f66c687338ec60be547a63c9e806df;p=notmuch-archives.git notmuch 0.19 build fails on OS X 10.6 with gcc 4.2.1 with undefined symbols --- diff --git a/49/75f3cd953fce024bbf46ef7e952612919d08bb b/49/75f3cd953fce024bbf46ef7e952612919d08bb new file mode 100644 index 000000000..f02fa96d1 --- /dev/null +++ b/49/75f3cd953fce024bbf46ef7e952612919d08bb @@ -0,0 +1,105 @@ +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 4EC5D6DE031B + for ; Wed, 29 Apr 2015 22:27:37 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at cworth.org +X-Spam-Flag: NO +X-Spam-Score: -0.721 +X-Spam-Level: +X-Spam-Status: No, score=-0.721 tagged_above=-999 required=5 + tests=[RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H4=-0.01, + RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_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 GEaNT27GfsST for ; + Wed, 29 Apr 2015 22:27:34 -0700 (PDT) +X-Greylist: delayed 412 seconds by postgrey-1.35 at arlo; + Wed, 29 Apr 2015 22:27:34 PDT +Received: from smtprelay01.ispgateway.de (smtprelay01.ispgateway.de + [80.67.31.39]) + by arlo.cworth.org (Postfix) with ESMTPS id 524FF6DE0298 + for ; Wed, 29 Apr 2015 22:27:34 -0700 (PDT) +Received: from [216.82.220.34] (helo=[192.168.2.167]) + by smtprelay01.ispgateway.de with esmtpsa (TLSv1:DHE-RSA-AES256-SHA:256) + (Exim 4.84) (envelope-from ) + id 1Yngtr-000257-LP + for notmuch@notmuchmail.org; Thu, 30 Apr 2015 07:20:39 +0200 +From: Ryan Schmidt +Content-Type: text/plain; charset=us-ascii +Content-Transfer-Encoding: quoted-printable +Subject: notmuch 0.19 build fails on OS X 10.6 with gcc 4.2.1 with undefined + symbols +Message-Id: +Date: Thu, 30 Apr 2015 00:20:37 -0500 +To: notmuch@notmuchmail.org +Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\)) +X-Mailer: Apple Mail (2.2098) +X-Df-Sender: MzY4ODE4 +X-Mailman-Approved-At: Wed, 29 Apr 2015 22:49:46 -0700 +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: Thu, 30 Apr 2015 05:27:37 -0000 + +Hello, + +I'm a developer with the MacPorts project and I discovered that notmuch = +0.19 does not build on Mac OS X 10.6 with its gcc 4.2.1 compiler. The = +errors are: + + +/usr/bin/g++-4.2 command-line-arguments.o debugger.o = +gmime-filter-reply.o hooks.o notmuch.o notmuch-compact.o = +notmuch-config.o notmuch-count.o notmuch-dump.o notmuch-insert.o = +notmuch-new.o notmuch-reply.o notmuch-restore.o notmuch-search.o = +notmuch-setup.o notmuch-show.o notmuch-tag.o notmuch-time.o = +sprinter-json.o sprinter-sexp.o sprinter-text.o query-string.o = +mime-node.o crypto.o tag-util.o -L/opt/local/lib = +-Wl,-headerpad_max_install_names -arch x86_64 -Lutil -lutil -Llib = +-lnotmuch -L/opt/local/lib -lgmime-2.6 -lgio-2.0 -lgobject-2.0 = +-lglib-2.0 -lintl -L/opt/local/lib -Wl,-rpath,/opt/local/lib -ltalloc = +-L/opt/local/lib -lz -L/opt/local/lib -lgmime-2.6 -lgio-2.0 = +-lgobject-2.0 -lglib-2.0 -lintl -L/opt/local/lib = +-Wl,-rpath,/opt/local/lib -ltalloc -L/opt/local/lib -lz = +-L/opt/local/lib -lxapian -o notmuch-shared +Undefined symbols: + "_hex_decode_inplace", referenced from: + _parse_tag_line in tag-util.o + "_gz_error_string", referenced from: + _notmuch_restore_command in notmuch-restore.o + _notmuch_restore_command in notmuch-restore.o + "_gz_getline", referenced from: + _notmuch_restore_command in notmuch-restore.o + _notmuch_restore_command in notmuch-restore.o + "_hex_encode", referenced from: + _notmuch_database_dump in notmuch-dump.o + "_talloc_strndup_named_const", referenced from: + _notmuch_restore_command in notmuch-restore.o + _notmuch_restore_command in notmuch-restore.o +ld: symbol(s) not found + + +Here is a full log, from the MacPorts project's automated build server: + += +https://build.macports.org/builders/buildports-snowleopard-x86_64/builds/3= +5355/steps/compile/logs/stdio + + +I have tried to understand what's happening here but I'm not a C = +programmer and I'm not succeeding. The build succeeds on OS X 10.7, = +10.8, 10.9 and 10.10 with the clang compiler. + +Please let me know if you need additional information! +